/* ==========================================
   FAQ PAGE SPECIFIC STYLES
   ========================================== */

/* Page Header */
.page-header {
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../img/onu.jpg');
    background-size: auto 85%;
    background-position: center 35%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 20px 100px;
    text-align: center;
    color: var(--white);
}

.page-header .info {
    padding: 175px 20px 100px;
}

.page-header h1 {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid var(--theme-5);
}

.faq-item:first-child {
    border-top: 1px solid var(--theme-5);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-0);
    line-height: 1.5;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--theme-1);
}

.faq-question[aria-expanded="true"] {
    color: var(--theme-1);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--theme-1);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer-content {
    padding: 0 4px 22px;
}

.faq-answer-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--theme-2);
    margin: 0;
}

/* ==========================================
   FAQ PAGE RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .page-header {
        padding: 150px 20px 80px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center 20%;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 130px 15px 70px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center 20%;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px 4px;
    }
}

/* ==========================================
   FAQ CHANNELS LIST (Q2)
   ========================================== */

.faq-channels {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.faq-channels li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--text-color, #333);
}

.faq-channels a {
    color: #b40000;
    text-decoration: none;
}

.faq-channels a:hover {
    text-decoration: underline;
}

/* ==========================================
   FAQ DISCLAIMER
   ========================================== */

.faq-disclaimer {
    margin-top: 50px;
    padding: 32px 36px;
    background-color: #f8f4f0;
    border-left: 4px solid #b40000;
    border-radius: 4px;
}

.faq-disclaimer-title {
    font-size: 18px;
    font-weight: 700;
    color: #b40000;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.faq-disclaimer p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px 0;
}

.faq-disclaimer p:last-of-type {
    margin-bottom: 0;
}

.faq-disclaimer-team {
    margin-top: 16px !important;
    font-weight: 600;
    color: #333 !important;
}

@media (max-width: 599px) {
    .faq-disclaimer {
        padding: 24px 20px;
    }

    .faq-disclaimer-title {
        font-size: 16px;
    }
}

/* ==========================================
   RTL SUPPORT
   ========================================== */

[dir="rtl"] .faq-question {
    text-align: right;
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-answer-content p {
    text-align: right;
}

[dir="rtl"] .faq-disclaimer {
    border-left: none;
    border-right: 4px solid #b40000;
}

[dir="rtl"] .faq-channels li {
    text-align: right;
}
