.box-link-container ul li:first-child {
    min-height: auto !important;
}

.mega-menu__columns.list .mega-menu__category.active,
.mega-menu__columns .box-link-container.active {
    border: 1px solid var(--Color-Primary-Purple-Purple-400, #9a5ff5);
    background: var(--Color-Primary-Purple-Purple-100, #f2ebfe);
    transition: all 0.5s ease;
    cursor: pointer;
}

.mega-menu__item:hover {
    border-radius: 10px;
    border-top: 1px solid var(--Color-Primary-Black-and-gray-Gray-1, #d9d9d9);
    border-bottom: 1px solid var(--Color-Primary-Black-and-gray-Gray-1, #d9d9d9);
    background: #fff;
    cursor: pointer;
}

.mega-menu__item:hover .mega-menu-link {
    color: #3b3a3a;
}

.section-news .news-card {
    box-shadow: none;
    border-radius: 8px;
}

.section-news .news-card__image {
    filter: grayscale(100%);
    transition: filter 0.5s ease-in-out;
    transform: scale(1);
    border-radius: 8px;
    height: 270px;
}

.section-news .news-card:hover .news-card__image,
.section-news .notice-card:hover .news-card__image {
    filter: grayscale(0%);
    transition: filter 0.5s ease-in-out;
    transform: scale(0.95);
}

.footer__subscribe p {
    display: flex;
    align-items: start;
}

.footer__top-row form .footer__subscribe_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.wpcf7 {
    width: 100%;
}

.footer__top-row .wpcf7-response-output {
    display: none !important;
}

.news-card {
    cursor: pointer;
}

.mr-10 {
    margin-right: 10px;
}

footer .footer__contact-btn {
    justify-content: center;
    margin-bottom: 10px;
}

.footer__subscribe_container .wpcf7-not-valid-tip {
    font-family: var(--roboto);
    padding: 5px 5px;
    font-size: 16px;
}


@media (max-width: 768px) {
    .footer__top-row form .footer__subscribe_container {
        flex-direction: column;
    }

    .news__link {
        font-size: 16px;
    }

    .financial-stats__divider {
        visibility: hidden
    }

    .banner__title {
        font-size: 25px;
        line-height: 110%;
    }

    .banner__description {
        font-size: 14px;
    }

    .banner-slider .carousel-control-next,
    .banner-slider .carousel-control-prev {
        display: none !important;
    }

    .toggle-container {
        min-width: auto !important;
    }

    .info-modal__options {
        grid-template-columns: auto;
    }

    .dcv-card__btnDocument {
        gap: 5px;
    }

    .modal-body.modal-info__content {
        padding: 5px !important;
    }

    .modal-body.modal-info__content .nav-tabs .nav-item button,
    .modal-info__item-title,
    .modal-info__content-descp {
        font-size: 14px !important;
        line-height: 112% !important;
        padding: 5px !important;
    }

    .modal-info__content-title {
        font-size: 24px !important;
    }

    .modal-content.modal-info .modal-header {
        padding: 10px 15px 0 15px !important;
        height: calc(48px + 0px) !important;
    }

    .modal-content.modal-info .modal-header .btn-close {
        width: 36px !important;
        height: 36px !important;
    }

    .search-modal__categories {
        flex-direction: column;
    }

    .search-modal__content {
        padding: 32px 20px !important;
    }

    .top-banner__title {
        font-size: 24px !important;
    }

    .top-banner__description {
        display: none !important;
    }

    .comercial-banner__description {
        display: none !important;
    }

    .contact-form__group input {
        width: 100% !important;
    }

    .contact-form__row {
        flex-direction: column;
    }

    .scroll-indicator {
        display: none;
    }

    #closeWrapper {
        display: none;
    }

    .floating-search {
        bottom: 20px;
    }

    .dcv-card__button:hover {
        color: white;
        border: 1px solid #fff;
        background: #1a1a1a;
    }

    .table-results__content {
        height: auto !important;
    }

    .wp-pagenavi {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .support-search-banner {
        padding: 0px 20px;
    }

}

.banner-button {
    display: inline-flex;
    background: #FFFFFF;
    color: #672CC2;
    border-radius: var(--S-M, 16px);
    border: 1px solid var(--Buttons-Terteary-Default-stroke, #672CC2);
    padding: 10px 20px;
    text-decoration: none;
    font-family: var(--manrope);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%;
}

.img-icon-help-center {
    width: 68px;
    height: 68px;
}

.help-center__search-box {
    position: relative;
    width: 100%;
}

#help-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    /* Oculto por defecto */
    z-index: 900;
    max-height: 300px;
    overflow-y: auto;
}

#help-results-page-center {
    position: absolute;
    z-index: 999;
    max-width: 670px;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    max-height: 250px;
    overflow-y: auto;
    top: 153px;
}

.help-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    text-align: start;
}

.help-item:last-child {
    border-bottom: none;
}

.help-item:hover {
    background: #f5f5f5;
}

.help-item a {
    text-decoration: none;
    color: #333;
}

.help-item p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.dcv-sidebar__accordion-body a {
    margin: 8px 0px;
}

.custody {
    display: flex;
    align-items: center;
}

.service-card__label {
    z-index: 98;
}

.button-modal-download {
    font-family: var(--manrope);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

.banner__image_container {
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-slider-news {
    width: 574px;
    height: 256px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.custom-pagination {
    font-family: var(--roboto);
    color: #5F6C73;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 9px 10px !important;
    border-radius: 5px;
}

.toggle-btn {
    text-align: center;
}

.content-section__text * {
    font-family: var(--manrope);
}

.content-section__text p {
    padding-bottom: 5px;
}

.template-regulations-generic {
    min-height: 280px
}

.button-detail-notice a {
    display: flex;
    min-height: 48px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: var(--S-M, 16px);
    border: 1px solid var(--Color-Primary-Purple-Purple-600, #672cc2);
    background: var(--Buttons-Primary-Default-fill, #8137f2);
    color: var(--Buttons-Terteary-Default-text, #fff);
    font-family: var(--manrope);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%;
}

.news-card__content .news-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-icon-help-center {
    width: 64px;
    height: 64px;
}

.faq-section__tab {
    padding: 12px 5px;
}

.img-icon-category {
    width: 24px;
    height: 24px;
}

.customer-info-box__text p {
    color: var(--text-header-secondary, #2d2d2d);
    font-family: var(--manrope);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 175%;
}

/*Estilos formulario de contacto comercial*/
.contact-form__group span>textarea {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wpcf7-list-item-label {
    padding-left: 10px;
    padding-right: 10px;
}

.contact-form__group input {
    margin-bottom: 0;
}

.contact-form-container-button-section p {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}


.custom-pagination {
    margin: 0;
}

.wp-pagenavi {
    margin: 42px 0;
}

.custom-pagination__select {
    margin: 32px 5px;
}

.custom-badge {
    justify-content: center;
}

#help-results-btn {
    width: 100%;
    position: absolute;
    background: white;
    max-height: 225px;
    overflow-y: auto;
}

.info-modal__option {
    color: black;
    text-align: start !important;
}

.gob-accordion__content {
    width: 100%;
}

.btn-custom-generic {
    background: #fff;
    color: #672CC2;
    transition: all 0.5s ease;
    padding: 10px 15px 10px 15px;

}

.btn-custom-generic:hover {
    background: #fff;
    color: #672CC2;
    transition: all 0.5s ease;
}

.btn-custom-generic svg path {
    stroke: #672CC2;
}

.contact-form__contact-info p {
    width: 100%;
}

.floating-search.hidden {
    display: none;
}

.modal-info__button-download {
    width: 130px;
}

#noticias .section-news .news-card__image {
    filter: none !important;
}

.gptw-video {
    display: inline-block;
    cursor: pointer;
}

.gptw-video .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    /* Ajusta el tamaño según necesites */
    height: 60px;
    opacity: 0.9;
}

.gptw-video .play-icon img {
    width: 100%;
    height: auto;
}

#modalVideo .modal-info__content {
    padding: 15px 48px 32px 48px;
}

.single-accordion-header {
    border-radius: 8px;
}

.category-title {
    text-transform: uppercase !important;
    font-weight: 400 !important;
    font-size: 20px !important;
}

.mySwiper2 .news-card__image {
    filter: grayscale(100%);
}

.mySwiper2 .news-card__content {
    display: flex;
    justify-content: space-between;
}

.mySwiper2 .news-card__content .news-card__title {
    min-height: 60px;
}

.mySwiper2 .news-card__content svg {
    min-width: 18px;
}

.faq-section__content {
    max-width: 900px !important;
}

.bg-news-services {
    background-color: #F7F7F8;
}

.footer__links li a {
    text-decoration: underline !important;
}

.mw-300 {
    max-width: 280px;
}

.w-130 {
    width: 130px;
}

.footer__links li a {
    cursor: pointer;
}

.wp-block-button__link {
    text-decoration: none;
    padding: 8px 16px;
    transition: 0.3s;
    border-radius: var(--S-M, 16px);
    border: 1px solid var(--Color-Primary-Purple-Purple-600, #672cc2) !important;
    background: var(--Buttons-Primary-Default-fill, #8137f2) !important;
    color: var(--Buttons-Terteary-Default-text, #fff) !important;
    font-family: var(--manrope) !important;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 145%;
    margin: 10px 0px;
}

.ml-5 {
    margin-left: 5px;
}

.customer-info-box__text a {
    display: inline !important;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)) !important;
}

.faq-accordion__icon {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .fieldset_wrapper .wpcf7-list-item {
        display: flex;
        justify-content: space-between;
        margin: 0px;
    }

    .fieldset_wrapper .wpcf7-list-item .wpcf7-list-item-label {
        padding: 0px 10px 0px 0px;
    }

    .module-card__title {
        margin-right: 0px
    }

    .px-0-mobile {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .px-1-mobile {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .contact-banner__info {
        flex-direction: column;
    }

    .module-card__button {
        font-size: 16px !important;
    }

    .top-banner {
        min-height: 150px !important;
        padding: 25px 16px !important;
    }

    .gob-slider__card img {
        height: auto !important;
    }

    .gob-accordion__container-text {
        display: none;
    }

    .mw-300 {
        width: 100% !important;
    }

    .boletin-banner__title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        white-space: normal;
    }

    .custom-pagination #select-per-page {
        display: none;
    }

    .custom-pagination {
        justify-content: center;
    }
}

.wpcf7-validates-as-phonetext.phone-number {
    max-width: 330px
}

.grecaptcha-badge {
    display: none;
}

.help-center__card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.module-card__title {
    margin-right: 20px
}

.custom-select-size-with-filters {
    min-width: 200px !important;
    max-width: 220px !important;
}

.custom-select-size {
    min-width: 150px !important;
    max-width: 170px !important;
}

.clear-filter-button {
    min-width: 120px;
    font-family: var(--manrope);
    font-weight: 400;
    font-size: 16px;
    color: #8137F2;
}

@media (max-width: 768px) {
    .fieldset_wrapper .wpcf7-list-item {
        display: flex;
        justify-content: space-between;
        margin: 0px;
    }

    .fieldset_wrapper .wpcf7-list-item .wpcf7-list-item-label {
        padding: 0px 10px 0px 0px;
    }
}

.wpcf7-validates-as-phonetext.phone-number {
    max-width: 330px
}

.grecaptcha-badge {
    display: none;
}

.full-width-title {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.contact-form .wpcf7-response-output {
    display: none;
}

.content-section__text a {
    color: #0693e3 !important;
}

.navbar__link:hover,
.current-menu-item a {
    font-weight: bold;
}

.sost-news .news-card__title {
    font-size: 18px;
}

.sost-news .news-card__description {
    font-size: 16px;
}

.content-section__text {
    font-family: var(--manrope);
}

.content-section__text h1,
.content-section__text h2,
.content-section__text h3,
.content-section__text h4,
.content-section__text h5,
.content-section__text h6 {
    font-size: 22px;
    line-height: normal;
}

.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dcv-card__accordion-body a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.galeria-miniaturas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.galeria-miniaturas img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border-radius: 2px;
    display: block;
}

.miniatura-con-lupa {
    position: relative;
    overflow: hidden;
}

.miniatura-con-lupa .lupa-icono {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.miniatura-con-lupa:hover .lupa-icono {
    opacity: 0.8;
}

.qmn_pagination {
    padding: 10px !important;
}

.qsm-section .qsm-btn,
.qsm-section .qmn_quiz_container .qmn_btn {
    border: 1px solid var(--Color-Primary-Purple-Purple-600, #672cc2) !important;
    background: var(--Buttons-Primary-Default-fill, #8137f2) !important;
    color: var(--Buttons-Terteary-Default-text, #fff) !important;
}

.qsm-section .qsm-btn:hover,
.qsm-section .qmn_quiz_container .qmn_btn:hover {
    border: 1px solid var(--Color-Primary-Purple-Purple-600, #672cc2) !important;
    background: var(--Buttons-Primary-Default-fill, #8137f2) !important;
    color: var(--Buttons-Terteary-Default-text, #fff) !important;
    opacity: 0.9 !important;
    transition: opacity 0.3s ease !important;
}

.quiz_section {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.qmn_radio_horizontal_answers {
    display: flex !important;
    justify-content: space-around !important;
}

.form-switch {
    padding: 0px;
}

.form-switch p {
    font-size: 14px;
}

.form-switch .wpcf7-list-item {
    margin: 0px;
}

.form-switch a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)) !important;
    text-decoration: underline !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important;
}