/* =========================================================
   English FAN
   FAQ Page
   Dedicated Responsive Styles
========================================================= */

:root {
    --englishfan-blue: #0B10F5;
    --englishfan-blue-dark: #080CB8;
    --englishfan-blue-soft: #EEF0FF;

    --englishfan-red: #F11414;
    --englishfan-red-dark: #C90D0D;
    --englishfan-red-soft: #FFF0F0;

    --englishfan-text: #172033;
    --englishfan-muted: #687083;
    --englishfan-border: #E8EAF2;
    --englishfan-white: #FFFFFF;

    --englishfan-shadow:
        0 10px 35px rgba(20, 25, 70, 0.08);
}

/* =========================================================
   FAQ HERO
========================================================= */

.ef-faq-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #0b0f25;
    line-height: 1;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.ef-faq-hero__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    max-width: none;

    display: block;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}


/* =========================================================
   OVERLAY
========================================================= */

.ef-faq-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(11, 15, 46, .68),
            rgba(11, 15, 46, .35),
            rgba(11, 15, 46, .68)
        );
}


/* =========================================================
   CONTENT CONTAINER
========================================================= */

.ef-faq-hero .container {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   CONTENT
========================================================= */

.ef-faq-hero__content {
    width: 100%;

    text-align: center;

    color: #fff;

    margin-top: 5px;
}


/* =========================================================
   LABEL
========================================================= */

.ef-faq-hero__label {
    display: inline-block;

    margin-bottom: 14px;
    padding: 8px 18px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;

    background: rgba(255, 255, 255, .10);

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    backdrop-filter: blur(6px);
}


/* =========================================================
   TITLE
========================================================= */

.ef-faq-hero__content h1 {
    margin: 0 0 15px;

    color: #fff;

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.3;

    text-shadow: 0 5px 25px rgba(0, 0, 0, .25);
}


/* =========================================================
   SUBTITLE
========================================================= */

.ef-faq-hero__subtitle {
    max-width: 650px;

    margin: 0 auto 20px;

    color: rgba(255, 255, 255, .88);

    font-size: 15px;
    font-weight: 500;

    line-height: 1.9;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.ef-faq-hero__breadcrumb {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0;
    margin: 0;

    list-style: none;

    color: rgba(255, 255, 255, .78);

    font-size: 14px;
    font-weight: 600;
}


.ef-faq-hero__breadcrumb li {
    display: flex;
    align-items: center;
}


.ef-faq-hero__breadcrumb a {
    color: #fff;

    text-decoration: none;

    transition: .25s ease;
}


.ef-faq-hero__breadcrumb a:hover {
    color: #ff3045;
}


.ef-faq-hero__breadcrumb i {
    color: rgba(255, 255, 255, .65);

    font-size: 17px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .ef-faq-hero {
        height: 320px;
    }

    .ef-faq-hero__label {
        margin-bottom: 10px;
        padding: 7px 15px;

        font-size: 13px;
    }

    .ef-faq-hero__content h1 {
        font-size: 42px;

        margin-bottom: 10px;
    }

    .ef-faq-hero__subtitle {
        max-width: 560px;

        margin-bottom: 15px;

        font-size: 14px;
    }

    .ef-faq-hero__breadcrumb {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ef-faq-hero {
        height: 280px;
    }

    .ef-faq-hero__label {
        margin-bottom: 7px;
        padding: 6px 13px;

        font-size: 11px;
    }

    .ef-faq-hero__content h1 {
        font-size: 34px;

        margin-bottom: 8px;
    }

    .ef-faq-hero__subtitle {
        max-width: 90%;

        margin-bottom: 10px;

        font-size: 12px;
        line-height: 1.7;
    }

    .ef-faq-hero__breadcrumb {
        gap: 6px;

        font-size: 11px;
    }

    .ef-faq-hero__breadcrumb i {
        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ef-faq-hero {
        height: 250px;
    }

    .ef-faq-hero__content h1 {
        font-size: 30px;
    }

    .ef-faq-hero__subtitle {
        font-size: 10px;

        max-width: 94%;
    }

    .ef-faq-hero__breadcrumb {
        font-size: 10px;
    }
}

/* =========================================================
   Main FAQ Section
========================================================= */

.englishfan-faq-section {
    padding-top: 90px;
    padding-bottom: 100px;

    background: #fff;
}

.englishfan-faq {
    width: 100%;
}


/* =========================================================
   FAQ Header
========================================================= */

.englishfan-faq-header {
    margin-bottom: 38px;
}

.englishfan-faq-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--englishfan-red);

    font-size: 14px;
    font-weight: 700;
}

.englishfan-faq-header h2 {
    margin-bottom: 8px;

    color: var(--englishfan-text);

    font-size: 30px;
    font-weight: 700;

    line-height: 1.7;
}

.englishfan-faq-header p {
    margin-bottom: 24px;

    color: var(--englishfan-muted);

    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   Search
========================================================= */

.englishfan-faq-search {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    max-width: 620px;

    height: 58px;

    margin: 0 auto;

    background: #fff;

    border: 1px solid var(--englishfan-border);

    border-radius: 30px;

    box-shadow:
        0 10px 30px rgba(15, 20, 70, 0.07);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.englishfan-faq-search:focus-within {
    border-color: rgba(11, 16, 245, 0.35);

    box-shadow:
        0 12px 35px rgba(11, 16, 245, 0.12);
}

.englishfan-faq-search > i {
    flex: 0 0 auto;

    margin-right: 20px;
    margin-left: 10px;

    color: var(--englishfan-blue);

    font-size: 21px;
}

.englishfan-faq-search input {
    width: 100%;
    height: 100%;

    padding: 0 12px;

    background: transparent;

    border: 0;
    outline: 0;

    color: var(--englishfan-text);

    font-family: inherit;

    font-size: 13px;
}

.englishfan-faq-search input::placeholder {
    color: #9BA1B1;
}


/* Search Clear */

.englishfan-faq-search button {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    margin-left: 10px;
    margin-right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: var(--englishfan-red-soft);

    color: var(--englishfan-red);

    border-radius: 50%;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: scale(0.8);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.englishfan-faq-search button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.englishfan-faq-search button:hover {
    background: var(--englishfan-red);
    color: #fff;
}


/* Search Result */

.englishfan-faq-result {
    min-height: 22px;

    margin-top: 10px;

    color: var(--englishfan-blue);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   FAQ List
========================================================= */

.englishfan-faq-list {
    margin-top: 10px;
}


/* =========================================================
   FAQ Card
========================================================= */

.englishfan-faq-card {
    position: relative;

    margin-bottom: 14px;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--englishfan-border) !important;

    border-radius: 14px !important;

    box-shadow:
        0 5px 20px rgba(20, 25, 70, 0.045);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.englishfan-faq-card:hover {
    border-color: rgba(11, 16, 245, 0.22) !important;

    box-shadow:
        0 10px 28px rgba(20, 25, 70, 0.08);

    transform: translateY(-1px);
}


/* =========================================================
   FAQ Button
========================================================= */

.englishfan-faq-button {
    position: relative;

    display: flex !important;
    align-items: center;

    width: 100%;

    min-height: 68px;

    padding: 16px 22px 16px 60px !important;

    background: #fff !important;

    border: 0 !important;

    box-shadow: none !important;

    color: var(--englishfan-text) !important;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.9;

    text-align: right;
}

.englishfan-faq-button:not(.collapsed) {
    background: var(--englishfan-blue-soft) !important;

    color: var(--englishfan-blue) !important;
}

.englishfan-faq-button::after {
    display: none !important;
}


/* Question */

.englishfan-faq-question {
    display: block;

    width: 100%;
}


/* =========================================================
   Plus / Minus Icon
========================================================= */

.englishfan-faq-arrow {
    position: absolute;

    left: 20px;
    top: 50%;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: var(--englishfan-blue-soft);

    color: var(--englishfan-blue);

    border-radius: 50%;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.englishfan-faq-arrow i {
    font-size: 18px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.englishfan-faq-button:not(.collapsed) .englishfan-faq-arrow {
    background: var(--englishfan-red);

    color: #fff;

    transform: translateY(-50%) rotate(45deg);
}


/* =========================================================
   Answer
========================================================= */

.englishfan-faq-answer {
    padding: 0 22px 24px !important;

    background: var(--englishfan-blue-soft);

    border-top: 1px solid rgba(11, 16, 245, 0.08);
}

.englishfan-faq-answer p {
    margin: 0;

    padding-top: 18px;

    color: #596176;

    font-size: 13px;

    line-height: 2.25;

    text-align: right;
}


/* =========================================================
   Hidden Search Items
========================================================= */

.faq-item-hidden {
    display: none !important;
}


/* =========================================================
   No Result
========================================================= */

.englishfan-faq-no-result {
    display: none;

    padding: 45px 20px;

    margin-top: 15px;

    text-align: center;

    background: #FAFAFC;

    border: 1px solid var(--englishfan-border);

    border-radius: 16px;
}

.englishfan-faq-no-result.is-visible {
    display: block;
}

.englishfan-faq-no-result-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--englishfan-red-soft);

    color: var(--englishfan-red);

    border-radius: 50%;

    font-size: 25px;
}

.englishfan-faq-no-result h3 {
    margin-bottom: 7px;

    color: var(--englishfan-text);

    font-size: 18px;
}

.englishfan-faq-no-result p {
    margin: 0;

    color: var(--englishfan-muted);

    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .englishfan-faq-section {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .englishfan-faq-header h2 {
        font-size: 28px;
    }

    .englishfan-faq-button {
        min-height: 64px;

        font-size: 13.5px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    /* Breadcrumb */

    .breadcrumb-wrap {
        min-height: 205px;
    }

    .breadcrumb-wrap .breadcrumb-title {
        padding-top: 20px;
    }

    .breadcrumb-wrap .breadcrumb-title h2 {
        font-size: 25px;

        line-height: 1.7;
    }

    .breadcrumb-wrap .faq-subtitle {
        padding: 0 15px;

        font-size: 12px;

        line-height: 2;
    }

    .breadcrumb-wrap .breadcrumb-menu {
        font-size: 12px;
    }


    /* Main */

    .englishfan-faq-section {
        padding-top: 52px;
        padding-bottom: 55px;
    }


    /* Header */

    .englishfan-faq-header {
        margin-bottom: 28px;
    }

    .englishfan-faq-label {
        font-size: 12px;
    }

    .englishfan-faq-header h2 {
        margin-bottom: 8px;

        font-size: 22px;

        line-height: 1.8;
    }

    .englishfan-faq-header p {
        padding: 0 10px;

        font-size: 12.5px;

        line-height: 2;
    }


    /* Search */

    .englishfan-faq-search {
        height: 52px;

        border-radius: 26px;
    }

    .englishfan-faq-search > i {
        margin-right: 15px;

        font-size: 19px;
    }

    .englishfan-faq-search input {
        padding: 0 8px;

        font-size: 12px;
    }

    .englishfan-faq-search input::placeholder {
        font-size: 11px;
    }

    .englishfan-faq-search button {
        margin-left: 7px;
        margin-right: 6px;
    }


    /* Cards */

    .englishfan-faq-card {
        margin-bottom: 11px;

        border-radius: 13px !important;
    }

    .englishfan-faq-button {
        min-height: 62px;

        padding: 14px 17px 14px 55px !important;

        font-size: 12.5px;

        line-height: 2;
    }


    /* Arrow */

    .englishfan-faq-arrow {
        left: 15px;

        width: 30px;
        height: 30px;
    }

    .englishfan-faq-arrow i {
        font-size: 17px;
    }


    /* Answer */

    .englishfan-faq-answer {
        padding: 0 17px 19px !important;
    }

    .englishfan-faq-answer p {
        padding-top: 15px;

        font-size: 12px;

        line-height: 2.2;
    }


    /* Search result */

    .englishfan-faq-result {
        font-size: 11px;
    }


    /* No result */

    .englishfan-faq-no-result {
        padding: 35px 15px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 375px) {

    .englishfan-faq-header h2 {
        font-size: 20px;
    }

    .englishfan-faq-button {
        padding-right: 14px !important;
        padding-left: 52px !important;

        font-size: 12px;
    }

    .englishfan-faq-answer {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .englishfan-faq-search input {
        font-size: 11px;
    }

}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .englishfan-faq-card,
    .englishfan-faq-search,
    .englishfan-faq-arrow,
    .englishfan-faq-arrow i,
    .englishfan-faq-search button {
        transition: none !important;
    }

    .englishfan-faq-card:hover {
        transform: none;
    }

}

