/* =====================================
   INTECOBA - TARJETAS DE NOTICIAS
   ===================================== */

.com-content-category-blog .article-list .article {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-list .article {
    padding: 0 !important;
}

.article-list .article-introtext {
    display: none !important;
}

/* Imágenes uniformes */
.com-content-category-blog .article-intro-image {
    float: none !important;
    margin: 0 !important;
    width: 100%;
  padding: 0px;
}

.com-content-category-blog .article-intro-image img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/* Contenido */
.com-content-category-blog .article-body {
    padding: 10px;
}

/* Títulos */
.com-content-category-blog .article-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.com-content-category-blog .article-header h2 a {
    color: #0B2F63;
    text-decoration: none;
    font-weight: 600;
}

/* Efecto al pasar el cursor */
.com-content-category-blog .article-list .article:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(11, 47, 99, 0.12);
}

/* Separación entre tarjetas */
.com-content-category-blog .article-list .row {
    row-gap: 25px;
}

/* Móviles */
@media (max-width: 575px) {
    .com-content-category-blog .article-intro-image img {
        height: 220px;
    }
}

/* Encabezado de Noticias */

.com-content-category-blog > h1 {
    color: #0B2F63;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 3px solid #E31B23;
}

/* =====================================
   MÁS VISTOS - INTECOBA
   ===================================== */

/* Contenedor */
.mas-vistos-intecoba {
    background: #EDF3FA;
    border: 1px solid #E2E8F0;
    border-radius: 10px !important;
    padding: 22px 25px;
}

/* Título */
.mas-vistos-intecoba .sp-module-title {
    color: #0B2F63;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #B8C7D9;
    position: relative;
}

.mas-vistos-intecoba .sp-module-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 75px;
    height: 4px;
    background: #E31B23;
    border-radius: 3px;
}

#sp-left .mas-vistos-intecoba .sp-module-title,
#sp-right .mas-vistos-intecoba .sp-module-title {
    border-bottom: 1px solid #B8C7D9 !important;
}

/* Lista de artículos */
.mas-vistos-intecoba .mod-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mas-vistos-intecoba .mod-articles li:last-child {
    border-bottom: none;
}

/* Enlaces: tres columnas alineadas */
.mas-vistos-intecoba .mod-articles li a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 14px;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    box-sizing: border-box;
    color: #0B2F63;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
    border-bottom: 1px solid #B8C7D9;
}

/* Icono de documento */
.mas-vistos-intecoba .mod-articles li a::before {
    content: "\f15c";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 19px;
    color: #0B2F63;
}

/* Flecha al extremo derecho */
.mas-vistos-intecoba .mod-articles li a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: #0B2F63;
    justify-self: end;
}

/* Efecto hover */
.mas-vistos-intecoba .mod-articles li a:hover,
.mas-vistos-intecoba .mod-articles li a:hover::before,
.mas-vistos-intecoba .mod-articles li a:hover::after {
    color: #E31B23;
}

