/**
 * Estilos del sitio.
 * Organizados por componentes y puntos de ruptura.
 */

/* Estilos generales y tipografía */

h1 {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    color: #003876;
}

hr.separator {
    border-top: 3px solid #BCD1EC;
    margin-top: 0;
}

p.subtitle {
    color: white !important;
}

.info-icon {
    width: 24px;
    height: 24px;
}

.container-bordered {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.5rem;
}

.container-bordered p {
    word-break: break-word;
    overflow-wrap: break-word;
}

.title-ogtic-blue {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    color: #003876;
}

.text-ogtic-blue {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    color: #003876;
}

.paragraph-standar-color {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #374151;
}

@media screen and (max-width: 767px) {
    .col-md {
        margin-bottom: 20px;
    }

    .entry-content {
        padding-top: 10px;
    }
}


/* Encabezado y barra superior */

.header-light .topbar {
    background: #ffff;
    border-bottom: 0.5px solid rgba(204, 204, 204, 0.4);
}

header {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.07);
}

.topbar {
    height: 82px;
    display: flex;
    align-items: center;
}

.header-light .topbar-right > .search-bar,
.header-light .topbar-right > .menu-grid {
    margin-left: 30px;
    margin-right: 30px;
    position: relative;
}

.search-bar input::placeholder {
    font-size: 15px;
    color: #9ca3af;
}

.header-light .topbar-right .search-bar:after {
    background-color: #D3D3D3;
    content: "";
    display: block;
    height: 45px;
    right: -30px;
    position: absolute;
    top: -2px;
    width: 1px;
}

.search-bar button i {
    font-weight: bold;
}

.search-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: none !important;
}

.topbar .logo-icon img {
    height: 70px;
}

@media screen and (max-width: 767px) {
    #searchMain {
        visibility: hidden;
        width: 1px !important;
    }

    .logo-icon img {
        width: 100%;
        height: 40px;
    }

    .topbar {
        height: 72px;
    }

    .header-light .topbar-right > *,
    .header-light .topbar-right > .search-bar {
        margin-left: 14px;
        margin-right: 14px;
        position: relative;
    }

    .header-light .topbar {
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.07);
    }

    .header-light .topbar-right .search-bar:after {
        background-color: #D3D3D3;
        content: "";
        display: block;
        height: 45px;
        right: -14px;
        position: absolute;
        top: -2px;
        width: 1px;
    }
}


/* Menú principal y navegación */

.menu-grid .dropdown-menu {
    inset: 0px 0px auto auto !important;
    transform: translate3d(0, 40.8px, 0px) !important;
    width: 350px;
    padding: 0;
}

.menu-grid .dropdown-menu h3 {
    font-size: 16px;
    font-family: "Roboto";
    color: #003670;
    font-weight: 700;
}

.menu-grid .dropdown-menu h4 {
    font-size: 14px;
    font-family: "Roboto";
    font-weight: 500;
    color: #003670;
}

.menu-grid .dropdown-menu h5 {
    color: #003670;
    font-family: "Roboto";
    font-size: 10px;
    font-weight: 700;
    line-height: 11px;
}

.menu-grid .dropdown-menu .dropdown-items > .row {
    margin-bottom: 20px;
}

.list-submenu .group-submenu ul li.active {
    cursor: pointer;
}

.menu-grid-title i {
    font-size: 18px;
    color: #EE2A24;
    cursor: pointer;
}

.menu-grid-content > a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    padding: 15px;
}

.menu-grid-content .menu-item:hover {
    background-color: #eff7ff;
    border-radius: 5px;
}

.menu-item a {
    text-decoration: none;
}

.menu-grid-content .menu-item img {
    height: 60px;
}

.menu-grid-content .menu-item:hover .rounded-circle {
    border: 2px solid #4baaff;
}

.menu-grid-content .menu-item:hover a::before {
    content: "";
    height: 60px;
    width: 60px;
    position: absolute;
    background-color: rgb(75, 170, 255, 0.5);
    border-radius: 50%;
}

.menu-grid-content > a i {
    font-size: 18px;
    color: #0087FF;
}

.menu-grid-content hr {
    margin: 0;
    margin-bottom: 1rem;
}

.rounded-circle {
    border: 2px solid #E5E5E5;
}

.rounded-circle:hover {
    border: 2px solid #4baaff;
}

.menu-grid-content > a.collapsed i {
    transition: 0.2s;
    transform: rotate(-90deg);
    animation-fill-mode: forwards;
}

.dropdown-toggle::after {
    content: none;
}

.list-submenu .group-submenu ul li a[data-bs-toggle|="collapse"] {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
}

.list-submenu .group-submenu ul li a[data-bs-toggle|="collapse"] i {
    color: #595959;
    font-size: 20px;
    margin-top: -4px;
    text-decoration: none;
    display: inline-block;
}

.list-submenu .group-submenu ul li.active a {
    display: flex;
    justify-content: space-between;
}

.main-menu .dropdown-menu {
    padding: 0;
}

.dropdown-list a+a {
    margin-top: 0;
}

.main-menu .dropdown-item {
    color: #003670;
    font-size: 14px;
    padding: 10px 10px;
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
}

.main-menu .dropdown-item:hover {
    background-color: #eff7ff;
}

.list-submenu .group-submenu ul li.active i {
    color: #595959;
    font-size: 20px;
    margin-top: -4px;
    text-decoration: none;
    display: none;
}

.list-submenu .group-submenu ul li a[data-bs-toggle|="collapse"] i:hover {
    text-decoration: none;
    display: inline-block;
}

.list-submenu .group-submenu div.collapse,
.list-submenu .group-submenu div.collapsing {
    margin-left: 30px;
    margin-top: 10px;
}

.list-submenu .group-submenu ul li a[aria-expanded|="true"] i {
    transform: rotate(180deg);
    text-decoration: none;
}

.hamburger-menu {
    display: none;
}

.menu-dropdown > .dropdown-toggle::after,
.menu-grid > .dropdown-toggle::after {
    display: none;
}

@media screen and (min-width: 768px) {
    .menu-grid-content .menu-item {
        padding-top: 10px;
        padding-bottom: 20px;
        margin-right: 8px;
        margin-left: 8px;
    }

    .main-menu {
        height: 56px;
    }

    .menu-dropdown .dropdown-menu {
        border: none;
        box-shadow: 2px 2px 4px #9c9b9bcf;
    }

    .menu-grid-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 14px 12px;
        height: 47px;
        background: #F8F8F8;
        box-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);
    }

    .menu-grid .dropdown-menu .menu-grid-content {
        padding: 25px;
    }

    .menu-grid-title i.ri-arrow-right-s-line {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .main-menu .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        padding: 0;
    }

    .main-menu .menu-dropdown .dropdown-menu {
        padding-left: 20px;
    }

    .main-menu .menu-dropdown .menu-item.show {
        color: #EE2A24;
    }

    .hamburger-menu {
        display: block;
    }

    .main-menu {
        height: 100%;
    }

    .main-menu-cont .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .main-menu-cont .menu .menu-item {
        font-weight: 500;
        font-size: 14px;
        padding: 20px 10px;
        margin-right: 0;
        justify-content: space-between;
    }

    .menu-grid {
        padding: 0 10px;
    }

    .menu-grid > a.dropdown-toggle > img {
        height: 20px;
        margin: 20px 0;
    }

    .menu-grid .dropdown-menu {
        border: none;
        position: static !important;
        transform: none !important;
        padding: 25px 0 0;
        width: 100%;
    }

    .menu-grid > a.dropdown-toggle {
        display: flex;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
    }

    .menu-grid > a.dropdown-toggle h3 {
        align-self: center;
        color: #003670;
        margin-left: 7px;
    }

    .group-submenu-title {
        display: none;
    }

    .list-submenu {
        border-right: none;
    }

    .list-submenu .group-submenu ul li.active {
        border: none;
        background-color: #eef5ff;
    }

    .list-submenu .group-submenu {
        margin-bottom: 0;
        margin-top: 20px;
    }

    .list-submenu .group-submenu.second {
        padding-right: 0 !important;
    }

    .list-submenu .group-submenu ul li {
        padding: 15px 15px;
        color: #003876;
    }

    .list-submenu .group-submenu > ul > li > a,
    .list-submenu .group-submenu > ul > li.active > a {
        font-weight: 600;
        color: #003876;
    }

    .list-submenu .group-submenu > ul > li a {
        color: #003876;
    }

    .list-submenu .group-submenu ul li.active i,
    .list-submenu .group-submenu ul li a[data-bs-toggle|="collapse"] i {
        color: #003876;
        display: block;
    }

    .list-submenu .group-submenu ul li.active:after {
        content: none;
    }

    .list-submenu .group-submenu div.collapse,
    .list-submenu .group-submenu div.collapsing {
        margin-left: 0px;
        margin-top: 10px;
    }

    div.list-submenu .group-submenu.second {
        display: none;
    }

    .menu-grid-title i.ri-close-circle-line {
        display: none;
    }

    .menu-grid a {
        text-decoration: none;
    }

    .menu-grid > a:hover {
        background-color: #f8f9fa;
    }

    .menu-grid h3 {
        width: 100%;
        display: flex;
        justify-content: space-between;
        text-decoration: none;
        align-items: center;
    }

    .menu-grid h3 i {
        font-size: 18px;
    }

    .list-submenu {
        padding: 0;
    }

    .menu-grid > a.show i {
        transition: 0.2s;
        transform: rotate(90deg);
    }

    .menu-dropdown > a i {
        font-size: 18px;
        transition: 0.2s;
        transform: rotate(-90deg);
    }

    .menu-dropdown > a.show i {
        transition: 0.2s;
        transform: none;
    }
}

@media screen and (max-width: 428px) {
    .list-submenu .group-submenu {
        display: block;
    }
}


/* Banner */

.banner_content.bg-blue-ligth {
    background-color: white;
}

.banner_content h2 {
    font-size: 26px;
}

.banner_content p {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

@media screen and (max-width: 767px) {
    .banner {
        flex-direction: column;
        padding: 0;
    }

    .banner_content.bg-blue-ligth {
        width: 100%;
        padding: 10%;
    }

    .banner > img {
        width: 100%;
        height: auto;
    }
}


/* Migas de pan */

.breadcrumbs {
    padding: 50px 0;
}

.breadcrumbs h1 {
    font-weight: 500;
    margin-top: 14px;
}

.breadcrumbs .path a {
    color: #003670;
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-links a {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb-separator {
    display: inline-block;
    margin: 0 6px;
    text-decoration: none;
}


/* Tarjetas y listados */

p.card-text {
    font-size: 20px;
    color: black;
    font-weight: 400;
    line-height: 19px;
}

a.card-link {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #003876 !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    flex: 1;
}

.list-group .list-group-item.active {
    background-color: #003876;
    border-color: #003876;
}

.list-group-item {
    border: none;
    border-left: 3px solid transparent;
}

.list-group-item.active {
    background-color: #003876;
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Carrusel */

#carouselImageInterval .carousel-control-prev,
#carouselImageInterval .carousel-control-next {
    width: 6%;
    height: 100%;
    padding: 0;
    background: transparent !important;
    border: none;
    opacity: 0.75;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

#carouselImageInterval .carousel-control-prev-icon,
#carouselImageInterval .carousel-control-next-icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0 !important;
    background-color: transparent !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: brightness(0) !important;
    transition: transform 0.3s ease;
}

#carouselImageInterval .carousel-control-prev:hover,
#carouselImageInterval .carousel-control-next:hover {
    opacity: 1;
}

#carouselImageInterval .carousel-control-prev:hover .carousel-control-prev-icon,
#carouselImageInterval .carousel-control-next:hover .carousel-control-next-icon {
    background-color: transparent !important;
    transform: scale(1.08);
}

#carouselImageInterval .carousel-control-prev:focus-visible,
#carouselImageInterval .carousel-control-next:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

#carouselImageInterval .carousel-indicators {
    margin-bottom: 1rem;
    gap: 0.35rem;
}

#carouselImageInterval .carousel-indicators button {
    width: 28px;
    height: 4px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#carouselImageInterval .carousel-indicators button.active {
    opacity: 1;
}

#carouselImageInterval .carousel-indicators button:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    #carouselImageInterval .carousel-control-prev,
    #carouselImageInterval .carousel-control-next {
        width: 12%;
    }

    #carouselImageInterval .carousel-control-prev-icon,
    #carouselImageInterval .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
        padding: 0 !important;
    }

    #carouselImageInterval .carousel-indicators {
        margin-bottom: 0.65rem;
        gap: 0.25rem;
    }

    #carouselImageInterval .carousel-indicators button {
        width: 20px;
        height: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #carouselImageInterval .carousel-control-prev,
    #carouselImageInterval .carousel-control-next,
    #carouselImageInterval .carousel-control-prev-icon,
    #carouselImageInterval .carousel-control-next-icon,
    #carouselImageInterval .carousel-indicators button {
        transition: none;
    }
}


/* Resultados y búsqueda */

.results-header {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
}

.search-term {
    color: #0d6efd;
}

.results-form .form-control,
.results-form .form-select {
    height: 34px;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.results-form .btn {
    height: 34px;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

.search-input {
    width: 200px;
}

.tipo-select {
    width: 150px;
}

@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: stretch;
    }

    .results-form {
        width: 100%;
        flex-wrap: wrap;
    }

    .search-input,
    .tipo-select {
        width: 100%;
    }
}


/* Apartado de servicios */

.service-archive .service-results-form {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
}

.service-archive .service-results-form .search-input {
    width: 230px;
    min-width: 0;
}

.service-archive .service-results-form .tipo-select {
    width: 210px;
    min-width: 0;
    max-width: 100%;
    padding-right: 2.75rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background-position: right 0.75rem center;
}

.service-archive .service-results-form .btn {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .service-archive .results-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    .service-archive .results-header > div:first-child {
        width: 100%;
        text-align: left;
    }

    .service-archive .service-results-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        flex-wrap: nowrap;
        gap: 0.75rem !important;
    }

    .service-archive .service-results-form .search-input,
    .service-archive .service-results-form .tipo-select,
    .service-archive .service-results-form .btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 44px;
    }

    .service-archive .service-results-form .btn {
        font-weight: 600;
    }
}


/* Menú lateral de servicios */

.service-sidebar .list-group {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 35, 75, 0.04);
}

.service-sidebar .list-group-item {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background-color: transparent;
}

.service-sidebar .list-group-item:last-child {
    border-bottom: 0;
}

.service-sidebar .list-group-item > a {
    display: block;
    padding: 14px 16px;
    color: #003876;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.service-sidebar .list-group-item:not(.active) > a:hover {
    background-color: #f0f5fb;
    color: #002b5c;
}

.service-sidebar .list-group-item.active {
    background-color: #003876;
    border-bottom-color: #e2e8f0;
}

.service-sidebar .list-group-item.active > a {
    color: #fff;
    font-weight: 600;
}

.service-sidebar .list-group-item > a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -3px;
}

@media (max-width: 767.98px) {
    .service-sidebar .list-group-item > a {
        padding: 12px 14px;
        font-size: 0.9375rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-sidebar .list-group-item > a {
        transition: none;
    }
}


/* Pie de página, logos y certificaciones */

div.certifications {
    display: flex;
    justify-content: space-between;
}

.footer-light {
    border-top: 1px solid #d3d3d3;
}

.nortic-seals img {
    height: 100px;
    width: 100px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logo-wrapper img {
    height: 86px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-title {
    color: #003836;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 0.6rem;
}

.footer-menu-list a {
    color: #003836;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-menu-list a:hover {
    color: #003836;
    text-decoration: underline;
}

.footer-menu-list span {
    color: #003836;
    display: block;
}

.follow-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.follow-icons img {
    display: block;
    width: 16px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Footer en pantallas grandes */

@media screen and (min-width: 1200px) {
    .footer-light .container {
        max-width: 1330px;
    }
}

@media screen and (min-width: 1201px) {
    .footer-light .footer-top .logo-cont img {
        max-width: none;
    }

    .footer-light .footer-top .logo-cont::after {
        right: 90px;
    }
}

@media screen and (min-width: 768px) {
    footer .footer-nortic a {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    footer .footer-nortic a {
        display: flex;
        justify-content: space-between;
        color: #003876;
        font-weight: 500;
        margin-bottom: 20px;
        text-decoration: none;
    }

    footer .footer-nortic {
        padding: 0;
    }

    footer .footer-nortic a {
        padding: 22px 0;
        margin-bottom: 0;
    }

    footer .footer-nortic .certifications {
        margin-bottom: 20px;
    }

    .footer-bottom {
        height: 128px;
    }

    .footer-light .footer-bottom-cont {
        padding: 14px 0;
    }

    .footer-light .footer-top .footer-menu-list li span,
    .footer-light .footer-top .footer-menu-list li a {
        font-size: 12px;
        line-height: 15px;
    }

    .footer-nortic {
        border-bottom: none;
    }

    .footer-light .footer-top .footer-title {
        margin-bottom: 10px;
    }

    .footer-light .footer-top {
        padding: 0 0 26px;
        height: 380px;
    }

    .footer-light .footer-top .footer-menu-list li:not(:last-child) {
        margin-bottom: 6px;
    }

    .footer-light .footer-top .logo-cont::after {
        content: none;
    }
}

@media (max-width: 768px) {
    .logo-wrapper {
        gap: 20px;
    }

    .logo-wrapper img {
        height: 70px;
    }
}

@media (max-width: 576px) {
    .logo-wrapper {
        gap: 15px;
        justify-content: flex-start;
    }

    .logo-wrapper img {
        height: 42px;
    }
}


/* Formulario de contacto */

.wpcf7 label {
    color: #003775;
    font-weight: 500;
}

.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;
}

.wpcf7-form input.wpcf7-text,
.wpcf7-form input.wpcf7-email {
    border-radius: 8px !important;
    border: 1px solid #ced4da;
    padding: 10px;
}

.wpcf7-form-control.wpcf7-textarea {
    border-radius: 1px;
    border: 1px solid #ced4da;
    padding: 10px;
    height: 150px;
    min-height: 150px;
    resize: none;
}

.wpcf7-submit {
    background-color: #003775;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    width: 200px !important;
}


/* Comentarios y valoraciones */

#comments {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 0.5rem;
}

#comments h2.comments-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.comment-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.comment-list li {
    border: 2px solid #dee2e6;
    padding: 0.75rem;
    margin: 0 0 0.75rem;
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.comment-list li p strong {
    font-weight: 600;
    margin-right: 0.5rem;
}

.comment-list li p span {
    font-size: 0.85rem;
    color: #6c757d;
}

.comment-list li .comment-rating {
    margin: 0.15rem 0 0.35rem;
    font-size: 1rem;
    color: #ffc107;
}

.comment-list li p:last-of-type {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 0.2rem;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-rating {
    margin-bottom: 1rem;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-rating select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-rating select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.comment-form-rating label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #212529;
}

.form-submit input {
    background-color: #0d6efd;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.form-submit input:hover {
    background-color: #0b5ed7;
}

.comment-list .reply a {
    font-size: 0.8rem;
    color: #0d6efd;
    text-decoration: none;
}

.comment-list .reply a:hover {
    text-decoration: underline;
}

.post-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #212529;
}

.action-toolbar .btn {
    text-transform: none;
    border-radius: 6px;
    font-weight: 500;
}

.action-toolbar .btn i {
    font-size: 1rem;
}

.comment-email-error {
    display: block;
    margin-top: 6px;
    color: #dc3545;
    font-size: 14px;
}

#email.is-invalid {
    border-color: #dc3545;
}


/* Paginación */

.numeric-pagination,
.comments-pagination {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.numeric-pagination > ul.page-numbers,
.comments-pagination > ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.numeric-pagination > ul.page-numbers li,
.comments-pagination > ul.page-numbers li {
    margin: 0;
}

.numeric-pagination .page-numbers a,
.numeric-pagination .page-numbers span,
.comments-pagination .page-numbers a,
.comments-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.numeric-pagination .page-numbers a:hover,
.numeric-pagination .page-numbers a:focus,
.comments-pagination .page-numbers a:hover,
.comments-pagination .page-numbers a:focus {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.numeric-pagination .page-numbers .current,
.comments-pagination .page-numbers .current {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    pointer-events: none;
}

@media (max-width: 576px) {
    .numeric-pagination > ul.page-numbers,
    .comments-pagination > ul.page-numbers {
        flex-wrap: nowrap;
        gap: 0.2rem;
    }

    .numeric-pagination .page-numbers a,
    .numeric-pagination .page-numbers span,
    .comments-pagination .page-numbers a,
    .comments-pagination .page-numbers span {
        min-width: 32px;
        min-height: 38px;
        padding: 0.35rem 0.45rem;
        font-size: 0.875rem;
    }
}
