/*
 * Ajustes responsive para la portada de Preguntas Frecuentes.
 */

.faq-page-hero .faq-page-hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

.faq-page-hero .faq-page-hero-badge {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 480px) {
    .faq-page-hero.faq-page-hero.faq-page-hero[style*="height: 700px"] {
        min-height: 34rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center !important;
    }

    .faq-page-hero .container {
        display: flex;
        justify-content: center;
    }

    .faq-page-hero .faq-page-hero-content {
        margin-bottom: 0 !important;
        max-width: 20.25rem;
    }

    .faq-page-hero .faq-page-hero-badge {
        display: table !important;
        width: auto;
    }

    .faq-page-hero h1 {
        margin-bottom: 1.15rem !important;
    }

    .faq-page-hero p {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        margin-left: auto;
        margin-right: auto;
        max-width: 18.75rem !important;
    }

    .faq-page-hero .faq-page-hero-links {
        column-gap: 0.65rem !important;
        row-gap: 0.85rem !important;
        margin-top: 1.25rem !important;
        margin-left: auto;
        margin-right: auto;
        max-width: 19.25rem;
    }

    .faq-page-hero .faq-page-hero-links .btn {
        padding-left: 1.05rem !important;
        padding-right: 1.05rem !important;
    }
}

@media (max-width: 320px) {
    .faq-page-hero .faq-page-hero-content {
        max-width: 18.25rem;
    }

    .faq-page-hero .faq-page-hero-links {
        max-width: 17.75rem;
    }

    .faq-page-hero .faq-page-hero-links .btn {
        padding-left: 0.95rem !important;
        padding-right: 0.95rem !important;
    }
}

@media (max-width: 1024px) and (max-height: 430px) {
    .faq-page-hero .container {
        transform: translateY(calc(var(--site-header-height-mobile) / 2)) !important;
    }
}

@media (max-width: 768px) {
    .faq-page-hero {
        height: auto !important;
        min-height: 36rem;
        padding-top: 6.5rem !important;
        padding-bottom: 3rem;
    }

    .faq-page-hero h1 {
        font-size: clamp(2.5rem, 9vw, 3.5rem);
    }

    .faq-button {
        padding: 1.25rem !important;
    }

    .faq-content {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}
