/* ==========================================================
   Mango Resorts & Spa - custom additions (SEO sections +
   responsive fixes). Loaded after style.css / responsive.css
========================================================== */

/* ---------- Intro text under page headers ---------- */
.mango-intro {
    max-width: 920px;
    margin: 0 auto 60px;
    text-align: center;
}

.mango-intro .section-title {
    margin-bottom: 22px;
}

.mango-intro__text {
    font-size: 17px;
    line-height: 30px;
    margin: 0 0 14px;
}

.mango-intro__text:last-child {
    margin-bottom: 0;
}

.mango-intro__text a {
    color: var(--hotelux-base);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- FAQ (theme accordion with h3 questions) ---------- */
.faq-page.mango-faq {
    padding: 100px 0 110px;
    background-color: #f7f5f2;
}

.mango-faq .section-title {
    margin-bottom: 40px;
}

.faq-page__single .faq-one-accrodion .accrodion-title h3.mango-faq__q {
    margin: 0;
    padding-right: 56px;
    font-size: 19px;
    font-weight: 600;
    line-height: 30px;
    color: var(--hotelux-black);
    position: relative;
    transition: all 500ms ease;
}

.faq-page__single .faq-one-accrodion .accrodion-title h3.mango-faq__q::before {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 700;
    font-size: 17px;
    color: var(--hotelux-white);
    position: absolute;
    top: 50%;
    right: 0;
    line-height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
    transition: all 500ms ease;
    width: 40px;
    height: 40px;
    background-color: rgba(var(--hotelux-base-rgb), 1);
}

.faq-page__single .faq-one-accrodion .accrodion.active .accrodion-title h3.mango-faq__q::before {
    content: "\f107";
    background-color: var(--hotelux-black);
}

/* ---------- Visually hidden (screen readers / SEO helpers) ---------- */
.mango-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---------- Responsive ---------- */
iframe {
    max-width: 100%;
}

@media (max-width: 991px) {
    .faq-page.mango-faq {
        padding: 70px 0 80px;
    }

    .mango-intro {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .mango-intro__text {
        font-size: 16px;
        line-height: 28px;
        text-align: left;
    }

    .faq-page__single .faq-one-accrodion .accrodion-title {
        padding: 18px 18px;
    }

    .faq-page__single .faq-one-accrodion .accrodion-title h3.mango-faq__q {
        font-size: 16px;
        line-height: 24px;
        padding-right: 48px;
    }

    .faq-page__single .faq-one-accrodion .accrodion-title h3.mango-faq__q::before {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .faq-page__single .faq-one-accrodion .accrodion-content {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ---------- Privacy policy / terms pages ---------- */
.mango-legal {
    padding: 100px 0 110px;
}

.mango-legal__content h2 {
    font-size: 24px;
    line-height: 1.35;
    margin: 36px 0 12px;
    color: var(--hotelux-black);
}

.mango-legal__content p,
.mango-legal__content li {
    font-size: 16px;
    line-height: 28px;
}

.mango-legal__content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.mango-legal__content li {
    list-style: disc;
    margin-bottom: 6px;
}

.mango-legal__content a {
    color: var(--hotelux-base);
    text-decoration: underline;
}

.mango-legal__updated {
    font-size: 14px !important;
    color: #8a7a6e;
}

@media (max-width: 767px) {
    .mango-legal {
        padding: 60px 0 70px;
    }

    .mango-legal__content h2 {
        font-size: 20px;
    }
}

/* Justified paragraphs leave big word gaps on phones */
@media (max-width: 767px) {
    .about-two__text[style*="justify"] {
        text-align: left !important;
    }
}
