html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.site-header {
    background: #fff;
    margin-bottom: 40px;
}

.site-logo {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
}

.site-subtitle {
    margin-top: 12px;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.main-menu a {
    color: #111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.main-menu a:hover {
    text-decoration: underline;
}

.language-selector {
    display: flex;
    gap: 8px;
    margin-left: 24px;
    flex-shrink: 0;
}

.language-selector a {
    min-width: 42px;
    height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0b5d91;
    border-radius: 18px;
    background: #fff;
    color: #0b5d91;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.language-selector a:hover {
    background: #eef6fb;
    color: #07466e;
    border-color: #07466e;
}

.language-selector a.active {
    background: #0b5d91;
    color: #fff;
    border-color: #0b5d91;
}

/* ========================================
   NAVEGACIÓN CABECERA
======================================== */

.header-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 16px;
}

.header-menu-wrapper {
    flex: 1;
    min-width: 0;
}

.mobile-menu-toggle {
    display: none;
}


/* ========================================
   CABECERA MÓVIL
======================================== */

@media (max-width: 768px) {

    .site-header {
        margin-bottom: 24px;
    }

    .site-header .text-center.py-4 {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .site-logo {
        font-size: 34px;
    }

    .site-subtitle {
        margin-top: 8px;
        font-size: 11px;
        letter-spacing: 2px;
    }


    .header-nav-row {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 14px;
        align-items: center;
        padding-bottom: 14px;
    }


    /* BOTÓN MENÚ */

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        height: 36px;
        padding: 0 12px;
        border: 1.5px solid #0b5d91;
        border-radius: 18px;
        background: #fff;
        color: #0b5d91;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .mobile-menu-toggle:hover {
        background: #eef6fb;
    }

    .mobile-menu-icon {
        font-size: 17px;
        line-height: 1;
    }


    /* IDIOMAS */

    .language-selector {
        justify-self: end;
        margin-left: 0;
        gap: 6px;
    }

    .language-selector a {
        min-width: 36px;
        height: 34px;
        padding: 0 9px;
        font-size: 12px;
    }


    /* MENÚ DESPLEGABLE */

    .header-menu-wrapper {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    .header-menu-wrapper.open {
        display: block;
    }

    .main-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin-top: 3px;
        border-top: 1px solid #ddd;
    }

    .main-menu a {
        display: block;
        width: 100%;
        padding: 11px 4px;
        border-bottom: 1px solid #ededed;
        font-size: 15px;
        font-weight: 600;
    }

    .main-menu a:hover {
        color: #0b5d91;
        text-decoration: none;
    }
}


@media (max-width: 992px) {

    .main-menu {
        gap: 12px;
    }

    .site-logo {
        font-size: 40px;
    }
}



/* ==============================
   PORTADA
============================== */

.home-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px 60px;
}
.site-header .container {
    max-width: 1280px;
}
.latest-section {
    width: 100%;
}

.section-heading {
    border-bottom: 3px solid #111;
    margin-bottom: 22px;
}

    .section-heading h1 {
        display: inline-block;
        margin: 0 0 -3px 0;
        padding-bottom: 10px;
        border-bottom: 3px solid #0b6fa4;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .3px;
    }


/* NOTICIAS PRINCIPALES */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.featured-card {
    position: relative;
    overflow: hidden;
}

.featured-image-link {
    display: block;
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #222;
    text-decoration: none;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.025);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.82) 100% );
}

.featured-content {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    color: #fff;
}

.featured-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.featured-content h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;
}


/* NOTICIAS SECUNDARIAS */

.secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.secondary-card {
    border-top: 1px solid #d9d9d9;
    padding-top: 14px;
}

.secondary-image-link {
    display: block;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #eee;
}

.secondary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.secondary-card:hover .secondary-image {
    transform: scale(1.025);
}

.secondary-content {
    padding-top: 12px;
}

.secondary-category {
    color: #0b6fa4;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.secondary-content h3 {
    margin: 7px 0 8px;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 750;
}

.secondary-content h3 a {
    color: #111;
    text-decoration: none;
}

.secondary-content h3 a:hover {
    text-decoration: underline;
}

.secondary-content p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.45;
}

/* ==============================
   BLOQUES DE SECCIONES
============================== */

.home-category-section {
    margin-top: 40px;
}

.home-category-heading {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 3px solid #111;
}

.home-category-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 110px;
    height: 3px;
    background: #0b5d91;
}

.home-category-heading h2 {
    margin: 0;
    color: #0b5d91;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-category-heading a {
    padding-bottom: 2px;
    color: #0b5d91;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.home-category-heading a:hover {
    text-decoration: underline;
}

.home-category-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 35px;
}


/* PRINCIPAL */

.category-main-image {
    display: block;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #eee;
}

    .category-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.category-main:hover .category-main-image img {
    transform: scale(1.02);
}

.category-main h3 {
    margin: 14px 0 9px;
    font-size: 27px;
    line-height: 1.12;
    font-weight: 800;
}

.category-main h3 a {
    color: #111;
    text-decoration: none;
}

.category-main h3 a:hover {
    text-decoration: underline;
}

.category-main p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}


/* SECUNDARIAS */

.category-secondary-list {
    display: flex;
    flex-direction: column;
}

.category-secondary {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 17px;
    padding: 15px 0;
    border-bottom: 1px solid #d7d7d7;
}

    .category-secondary:first-child {
        padding-top: 0;
    }

.category-secondary-image {
    display: block;
    height: 105px;
    overflow: hidden;
    background: #eee;
}

.category-secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.category-secondary:hover .category-secondary-image img {
    transform: scale(1.03);
}

.category-secondary h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.17;
    font-weight: 750;
}

.category-secondary h3 a {
    color: #111;
    text-decoration: none;
}

.category-secondary h3 a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image-link {
        height: 280px;
    }

    .featured-content h2 {
        font-size: 23px;
    }

    .secondary-grid {
        grid-template-columns: 1fr;
    }

    .secondary-card {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 15px;
    }

    .secondary-image-link {
        height: 110px;
    }

    .secondary-content {
        padding-top: 0;
    }

    .secondary-content p {
        display: none;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .category-main-image {
        height: 260px;
    }

    .category-main h3 {
        font-size: 23px;
    }

    .category-secondary {
        grid-template-columns: 130px 1fr;
    }

    .category-secondary-image {
        height: 90px;
    }
}

/* ========================================
   PÁGINA DE SECCIÓN
======================================== */

.section-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px 70px;
}


/* CABECERA */

.section-page-heading {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 11px;
    border-bottom: 3px solid #111;
}

    .section-page-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 130px;
        height: 3px;
        background: #0b5d91;
    }

    .section-page-heading h1 {
        margin: 0;
        color: #0b5d91;
        font-size: 30px;
        line-height: 1;
        font-weight: 800;
        text-transform: uppercase;
    }


/* ========================================
   DESTACADAS
======================================== */

.section-featured-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 32px;
    margin-bottom: 45px;
}


/* PRINCIPAL */

.section-main-image {
    display: block;
    width: 100%;
    height: 410px;
    overflow: hidden;
    background: #eee;
}

    .section-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.section-main-story:hover .section-main-image img {
    transform: scale(1.02);
}

.section-main-story h2 {
    margin: 16px 0 10px;
    font-size: 32px;
    line-height: 1.08;
    font-weight: 800;
}

    .section-main-story h2 a {
        color: #111;
        text-decoration: none;
    }

        .section-main-story h2 a:hover {
            text-decoration: underline;
        }

.section-main-summary {
    margin: 0 0 11px;
    color: #4f4f4f;
    font-size: 16px;
    line-height: 1.5;
}


/* DESTACADAS LATERALES */

.section-side-stories {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

.section-side-story {
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 20px;
}

.section-side-image {
    display: block;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #eee;
}

    .section-side-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.section-side-story:hover .section-side-image img {
    transform: scale(1.025);
}

.section-side-story h3 {
    margin: 12px 0 7px;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}

    .section-side-story h3 a {
        color: #111;
        text-decoration: none;
    }

        .section-side-story h3 a:hover {
            text-decoration: underline;
        }

.section-side-story p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}


/* ========================================
   LISTADO
======================================== */

.section-news-list {
    border-top: 3px solid #111;
}

.section-list-story {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 24px;
    padding: 25px 0;
    border-bottom: 1px solid #d8d8d8;
}

.section-list-image {
    display: block;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #eee;
}

    .section-list-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.section-list-story:hover .section-list-image img {
    transform: scale(1.025);
}

.section-list-content h2 {
    margin: 0 0 9px;
    font-size: 25px;
    line-height: 1.13;
    font-weight: 800;
}

    .section-list-content h2 a {
        color: #111;
        text-decoration: none;
    }

        .section-list-content h2 a:hover {
            text-decoration: underline;
        }

.section-list-content p {
    margin: 0 0 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.45;
}

.section-story-meta {
    color: #777;
    font-size: 12px;
}


/* ========================================
   RESPONSIVE SECCIÓN
======================================== */

@media (max-width: 900px) {

    .section-featured-grid {
        grid-template-columns: 1fr;
    }

    .section-side-stories {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 768px) {

    .section-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-page-heading h1 {
        font-size: 25px;
    }

    .section-main-image {
        height: 280px;
    }

    .section-main-story h2 {
        font-size: 25px;
    }

    .section-side-stories {
        grid-template-columns: 1fr;
    }

    .section-side-image {
        height: 220px;
    }

    .section-list-story {
        grid-template-columns: 130px 1fr;
        gap: 15px;
        padding: 18px 0;
    }

    .section-list-image {
        height: 95px;
    }

    .section-list-content h2 {
        font-size: 18px;
    }

    .section-list-content p {
        display: none;
    }

    .section-story-meta {
        font-size: 11px;
    }
}


/* ========================================
   PÁGINA DE NOTICIA
======================================== */

.article-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px 80px;
}

.article-wrapper {
    max-width: 920px;
    margin: 0 auto;
}

.article-section {
    margin-bottom: 16px;
    padding-bottom: 9px;
    border-bottom: 1px solid #d8d8d8;
}

.article-section a {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    color: #0b5d91;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
}

.article-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 65px;
    height: 3px;
    background: #0b5d91;
}

.article-section a:hover {
    text-decoration: none;
}

.article-title {
    margin: 0 0 16px;
    color: #111;
    font-size: 46px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.article-summary {
    margin-bottom: 18px;
    color: #3f3f3f;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 400;
}

.article-meta {
    margin-top: 4px;
    margin-bottom: 26px;
    color: #777;
    font-size: 13px;
}

.article-meta strong {
    color: #444;
    font-weight: 700;
}

.article-main-image {
    margin: 0 0 32px;
}

.article-main-image img {
    display: block;
    width: 100%;
    height: auto;
}

.article-body {
    width: 100%;
    max-width: 100%;
    color: #222;
    font-size: 18px;
    line-height: 1.72;
}

.article-body p {
    margin: 0 0 24px;
}

.article-body h2 {
    margin: 38px 0 16px;
    color: #111;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 800;
}

.article-body h3 {
    margin: 30px 0 14px;
    color: #111;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.article-body a {
    color: #0b5d91;
    text-decoration: underline;
}

.article-body strong {
    font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .article-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article-title {
        font-size: 34px;
        line-height: 1.08;
    }

    .article-summary {
        font-size: 18px;
    }

    .article-body {
        font-size: 17px;
        line-height: 1.65;
    }

    .article-body h2 {
        font-size: 25px;
    }
}


/* ========================================
   NOTICIAS RELACIONADAS
======================================== */

.related-news {
    max-width: 920px;
    margin: 55px auto 0;
}

.related-news-heading {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 3px solid #111;
}

    .related-news-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 110px;
        height: 3px;
        background: #0b5d91;
    }

    .related-news-heading h2 {
        margin: 0;
        color: #0b5d91;
        font-size: 24px;
        line-height: 1;
        font-weight: 800;
        text-transform: uppercase;
    }

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.related-news-card {
    min-width: 0;
}

.related-news-image {
    display: block;
    width: 100%;
    height: 135px;
    overflow: hidden;
    background: #eee;
}

    .related-news-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.related-news-card:hover .related-news-image img {
    transform: scale(1.025);
}

.related-news-content {
    padding-top: 11px;
}

    .related-news-content h3 {
        margin: 0;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 800;
    }

        .related-news-content h3 a {
            color: #111;
            text-decoration: none;
        }

            .related-news-content h3 a:hover {
                text-decoration: underline;
            }


/* RESPONSIVE */

@media (max-width: 900px) {

    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-news-image {
        height: 180px;
    }
}

@media (max-width: 600px) {

    .related-news {
        margin-top: 40px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .related-news-card {
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 15px;
    }

    .related-news-image {
        height: 90px;
    }

    .related-news-content {
        padding-top: 0;
    }

    .related-news-content h3 {
        font-size: 17px;
    }
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    margin-top: 60px;
    background: #174f86;
    color: #fff;
}

.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 20px 36px;
    text-align: center;
}

.site-footer-company {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.site-footer-legal {
    max-width: 900px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.site-footer-director {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.4;
}

.site-footer-contact {
    margin-top: 17px;
}

.site-footer-contact a {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer-contact a:hover {
    text-decoration: underline;
}


/* RESPONSIVE FOOTER */

@media (max-width: 768px) {

    .site-footer {
        margin-top: 40px;
    }

    .site-footer-inner {
        padding: 28px 18px 30px;
    }

    .site-footer-company {
        font-size: 18px;
    }

    .site-footer-legal {
        font-size: 12px;
    }
}

/* ========================================
   LOGIN IMPORTADOR
======================================== */

.login-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.login-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #111;
}

.login-subtitle {
    margin: 0 0 24px;
    color: #666;
    font-size: 14px;
}

.login-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #fbeaea;
    border: 1px solid #e1b2b2;
    color: #8a1f1f;
    font-size: 14px;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.login-field input {
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    border: 1px solid #cfcfcf;
    font-size: 15px;
}

.login-field input:focus {
    outline: none;
    border-color: #0b5d91;
}

.login-button {
    width: 100%;
    height: 44px;
    border: 0;
    background: #0b5d91;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.login-button:hover {
    background: #07466e;
}



/* ========================================
   PÁGINAS DE ERROR
======================================== */

.error-page {
    max-width: 760px;
    margin: 70px auto 100px;
    padding: 20px;
    text-align: center;
}

.error-code {
    color: #0b5d91;
    font-size: 100px;
    line-height: 1;
    font-weight: 800;
}

.error-page h1 {
    margin: 18px 0 12px;
    color: #111;
    font-size: 34px;
    font-weight: 800;
}

.error-page p {
    max-width: 600px;
    margin: 0 auto 28px;
    color: #666;
    font-size: 17px;
    line-height: 1.5;
}

.error-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 22px;
    background: #0b5d91;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.error-home-link:hover {
    background: #07466e;
    color: #fff;
}


/* ========================================
   PAGINACIÓN DE SECCIONES
======================================== */

.section-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 45px 0 60px;
    padding-top: 25px;
    border-top: 1px solid #e1e1e1;
}

.pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.pagination-pages a,
.pagination-pages .active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d5d5d5;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pagination-pages a:hover {
    border-color: #0b5d91;
    color: #0b5d91;
}

.pagination-pages .active {
    border-color: #0b5d91;
    background: #0b5d91;
    color: #fff;
}

.pagination-dots {
    padding: 0 3px;
    color: #777;
}

.pagination-direction {
    color: #0b5d91;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pagination-direction:hover {
    text-decoration: underline;
}


/* MÓVIL */

@media (max-width: 600px) {

    .section-pagination {
        gap: 10px;
        margin-top: 35px;
    }

    .pagination-pages {
        gap: 4px;
    }

    .pagination-pages a,
    .pagination-pages .active {
        min-width: 32px;
        height: 34px;
        padding: 0 7px;
        font-size: 13px;
    }

    .pagination-direction {
        font-size: 13px;
    }
}