.faq {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg);
}

.faq__header {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.faq__title {
    color: var(--color-primary);
    font-size: calc(2.5rem + 0.6vw);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.faq__divider {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto var(--space-sm) 0; /* top: 0, right: 0, bottom: var(--space-sm), left: 0 */
}

.faq__subtitle {
    color: var(--color-text);
    font-size: calc(var(--font-size-base) * 0.85);
    font-weight: 200 !important;
}

.faq__accordion {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Section heading for grouped FAQs */
.faq__section-heading {
    margin: 24px 0 16px 0;
    color: #000;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.faq__item {
    /* border: 1px solid #eee; */
    border: none;
    border-radius: 0;
    margin-bottom: 24px;
    margin-left: 20px;
    overflow: visible;
    background: #F4F4F4;
    box-shadow: none;
    transition: box-shadow 0.2s, background 0.2s;
    padding-left: 0;
    padding-right: 0;
}

.faq__item:last-child {
    margin-bottom: 0;
}

.faq__question {
    width: 100%;
    padding: 20px 28px 20px 28px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    transition: color 0.2s cubic-bezier(.4,0,.2,1), transform 0.2s cubic-bezier(.4,0,.2,1);
    box-shadow: none;
}

.faq__question:not([aria-expanded="true"]):hover,
.faq__question:not([aria-expanded="true"]):focus {
    color: #E5383B;
    transform: translateX(6px);
    background: transparent;
    box-shadow: none;
}

.faq__question[aria-expanded="true"] {
    background: #F4F4F4;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.04);
    color: #000;
    border-radius: 0;
    border: none;
}

.faq__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.faq__answer {
    padding: 0 28px 0 28px;
    background-color: #F4F4F4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #282828;
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq__answer[aria-hidden="false"] {
    padding: 0 28px 20px 28px;
    max-height: 500px;
    color: #282828;
}

.faq__answer p {
    margin: 0;
    color: #282828;
    font-size: 0.8rem !important;
    line-height: 1.6;
    font-weight: 200 !important;
}

/* List styles inside answers */
.faq__answer ul {
    margin: 0;
    padding-left: 1.25rem;
}

.faq__answer li {
    color: #282828;
    font-size: 0.8rem !important;
    line-height: 1.6;
    font-weight: 200 !important;
    margin: 4px 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .faq__question, .faq__answer, .faq__answer[aria-hidden="false"] {
        padding-left: 16px;
        padding-right: 16px;
    }
    .faq__section-heading {
        font-size: 1.9 rem;
    }
}

@media (max-width: 768px) {
    .faq__question, .faq__answer, .faq__answer[aria-hidden="false"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    .faq__question {
        font-size: 1rem;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .faq__answer p {
        font-size: 0.95rem;
    }
    .faq__icon {
        min-width: 20px;
        height: 20px;
        margin-left: 8px;
    }
    .faq__section-heading {
        font-size: 1.7 rem;
    }
}

@media (max-width: 480px) {
    .faq__title {
        font-size: calc(1.5rem + 0.3vw);
    }

    .faq__divider {
        max-width: 150px;
    }
}

/* Large Screen Styles */
@media (min-width: 1440px) {
    .faq__accordion {
        max-width: 1200px;
    }
}

@media (min-width: 1600px) {
    .faq__accordion {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .faq__accordion {
        max-width: 1700px;
    }
}

@media (min-width: 2560px) {
    .faq__accordion {
        max-width: 2100px;
    }
} 