/* Template Info - Página de Información */
.archive-title {
    font-size: 36px;
    margin: 0;
    font-weight: 400;
}


.info-title {
    font-family: 'Museo Sans', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-style: 500;
    font-size: 30px;
    line-height: 76px;
    letter-spacing: 0%;
    vertical-align: middle;

}

.info-content {
    background: #FFFFFF;
    position: relative;
    width: 100%;
    min-height: 328px;
    padding: 50px 122px 70px;
    gap: 70px;
}

.info-content .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.info-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1B59;
    position: relative;
    padding: 32px 0 20px 0;
}

.titulo-chile-aprende::before {
    content: "";
    display: block;
    height: 12px;
    width: 348px;
    position: absolute;
    top: 0;
    background: linear-gradient(90.04deg, #B7049A 15.87%, #EE039E 58.02%, #FF687A 99.97%);
}

.text-col-1 {
    padding: 0% 0% 0% 0%;
}

.titulo-2 {
    font-weight: 400 !important;
    font-style: 500 !important;
    font-size: 38px !important;
    line-height: 46px !important;
    letter-spacing: 0% !important;
    padding: 0px 0 20px 0 !important;

}

.titulo-3 {
    font-weight: 400;
    font-style: 500;
    font-size: 38px !important;
    line-height: 46px !important;
    letter-spacing: 0%;
    padding: 0% 0% 5% 20%;
}

.parrafo-2 {
    font-weight: 400;
    font-style: 500;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0%;
    padding-top: 20px;
}

.caja2-chile-aprende {
    gap: 20px;
}

.caja2-chile-aprende img {}

.wp-block-media-text {
    box-sizing: border-box;
    direction: ltr;
    display: grid;
    grid-template-columns: 47% 1fr;
    /* igual que el inline, mejor aquí */
    grid-template-rows: auto;
    align-items: start;
    /* los ítems del grid se alinean arriba */
}

.wp-block-media-text {
    box-sizing: border-box;
    direction: ltr;
    display: grid;
    grid-template-columns: 47% 1fr;
    /* igual que el inline, mejor aquí */
    grid-template-rows: auto;
    align-items: start;
    /* los ítems del grid se alinean arriba */
}

.wp-block-media-text.is-stacked-on-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.wp-block-media-text__content {
    /* padding: 0% 5% 0% 27% !important; */
}

.wp-block-media-text>.wp-block-media-text__content {
    direction: ltr;
    grid-column: 2;
    grid-row: 1;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: start;
    padding: 0 0 !important;
    width: 50%;
}

.wp-block-media-text>.wp-block-media-text__media {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    width: 468px;
}

.info-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #40495A;
}

.info-content img {
    max-width: 100%;
    height: auto;
}

.text-col-1 {}

/* BG2 Section */
.info-bg2 {
    width: 100%;
    /*max-width: 1440px;
    height: 328px;*/
    margin: 0 auto;
    background: #EBEBFF;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 121px 122px;
}

.info-bg2-trama {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: auto;
    max-height: 328px;
    object-fit: contain;
    object-position: right center;
    pointer-events: none;
    z-index: 1;
    margin-top: 33px;
}

/* Ocultar imagen mobile en desktop */
.info-bg2-trama--mobile {
    display: none !important;
}

.info-bg2-text {
    width: 45%;
    max-width: 500px;
    padding: 0;
    margin: 0;
    opacity: 1;
    font-family: 'Museo Sans', -apple-system, Roboto, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 56px;
    letter-spacing: 0%;
    color: #71048C;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* FAQ Section */
.info-faq {
    background: #FFFFFF;
    margin-bottom: 70px;
}

.info-faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Museo Sans', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 400;
    font-style: Regular;
    color: #40495A;
    margin-bottom: 50px;
    padding-top: 42px;
    position: relative;
    text-align: left;
    line-height: 46px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.section-title::before {
    content: "";
    display: block;
    height: 12px;
    width: 348px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90.04deg, #B7049A 15.87%, #EE039E 58.02%, #FF687A 99.97%);
}

.faq-tabs {
    display: flex;
    gap: 200px;
    margin-bottom: 0;
    border-bottom: 1px solid #E5E5E5;
    justify-content: center;
}

.faq-tab-title {

    width: 100%;
    justify-content: space-between;
    angle: 0 deg;
    opacity: 1;
    padding-bottom: 30px;
    display: inline-flex;
}

.faq-question-title {
    font-weight: 400;
    font-style: 500;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #40495A;
    text-align: left;
    padding-top: 10px;
}

.faq-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Museo Sans', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #40495A;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -1px;
}

.faq-tab.active {
    color: #B7049A;
    border-bottom-color: #B7049A;
    font-weight: 500;
}

.faq-tab:hover {
    color: #B7049A;
}

.faq-content {
    margin-top: 30px;
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
}

.faq-items {
    gap: 0;
    max-width: 1196px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #7F90AF;
    /* gris 300 */
    border-radius: 3px;
    overflow: hidden;
    /* redondeo limpio en las esquinas */
    background: #F7F7F7;
    /* fondo claro como la maqueta */
}

.faq-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #7F90AF;
}

.faq-item:first-child {
    border-top: none;
}


.faq-question {
    width: 100%;
    padding: 18px 30px;
    background: #F7F7F7;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: "Museo Sans", -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
    color: #40495A;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #B7049A;
}

.faq-item.active .faq-question {
    color: #71048C;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 30px;
    color: #71048C;
}

.faq-question svg {
    flex-shrink: 0;
    color: #B7049A;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: max-height 0.25s ease-out, padding 0.25s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 30px;
    color: #71048C;
}

.faq-item.is-open .faq-question {
    color: #71048C;
}


.faq-answer p {
    font-family: 'Museo Sans', -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    color: #40495A;
    margin: 0;
}

.faq-cta {
    margin-top: 40px;
    text-align: right;
}


/* Responsive */
@media (max-width: 768px) {
    .info-title {
        font-size: 32px;
    }

    .info-content {
        padding: 50px 30px 30px;
    }

    .info-faq {
        padding: 30px 30px;
    }

    .info-content .container {
        padding: 0px;
    }

    .section-title {
        font-size: 28px;
    }

    .faq-tabs {
        flex-direction: column;
    }

    .faq-tab {
        border-bottom: 1px solid #E0E0E0;
        font-size: 16px;
        height: 55px;
        gap: 30px
    }

    .faq-tab.active {
        border-left: 3px solid #B7049A;
        border-bottom: 1px solid #E0E0E0;
    }

    .faq-tab {}

    /* Responsive info-bg2 */
    .info-bg2 {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
    }

    .info-bg2-text {
        font-size: 30px !important;
        line-height: 42px !important;
        width: 100% !important;
    }

    /* Ocultar imagen desktop en mobile */
    .info-bg2-trama--desktop {
        display: none !important;
    }

    /* Mostrar imagen mobile */
    .info-bg2-trama--mobile {
        display: block !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 428px !important;
        height: auto !important;
        margin-top: 20px !important;
    }
}