/* =========================================
   ROK Core FAQ Accordion
========================================= */

.rok-faq-section {
    width: 100%;
    padding: 34px 20px 30px;
    background: #F5F9FF;
    box-sizing: border-box;
}

.rok-faq-section *,
.rok-faq-section *::before,
.rok-faq-section *::after {
    box-sizing: border-box;
}

.rok-faq-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */

.rok-faq-header {
    text-align: center;
    margin: 0 auto 22px;
}

.rok-faq-eyebrow {
    margin: 0 0 8px;
    color: #1477F8;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.rok-faq-heading {
    margin: 0 0 8px;
    color: #10234B;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.1px;
}

.rok-faq-highlight {
    color: #FF710A;
}

.rok-faq-description {
    margin: 0 auto 24px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ grid */

.rok-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 10px;
    align-items: start;
}

/* Individual FAQ card */

.rok-faq-item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #E1EAF6;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(16, 35, 75, 0.035);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.rok-faq-item:hover,
.rok-faq-item.is-open {
    border-color: #D1E2FA;
    box-shadow: 0 4px 12px rgba(16, 35, 75, 0.06);
}

.rok-faq-item-heading {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

/* Clickable question */

.rok-faq-item-heading .rok-faq-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    border: 0;
    margin: 0;
    background: transparent;
    color: #10234B;
    text-align: left;
    cursor: pointer;
    font: inherit;
    line-height: 1.4;
}

.rok-faq-item-heading .rok-faq-trigger:focus-visible {
    outline: 2px solid #1477F8;
    outline-offset: -3px;
    border-radius: 7px;
}
.rok-faq-item-heading .rok-faq-trigger:hover, .rok-faq-item-heading .rok-faq-trigger:focus {
	background-color: #fff;
}
.rok-faq-question {
    color: #10234B;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

/* Chevron */

.rok-faq-chevron {
    display: inline-flex;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    color: #1477F8;
    transition: transform 0.25s ease;
}

.rok-faq-chevron svg {
    display: block;
    width: 15px;
    height: 15px;
}

.rok-faq-item.is-open .rok-faq-chevron {
    transform: rotate(180deg);
}

/* Answer */

.rok-faq-panel[hidden] {
    display: none !important;
}

.rok-faq-answer {
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
}

.rok-faq-answer-inner {
    padding: 0 16px 16px;
}

.rok-faq-answer-inner > :first-child {
    margin-top: 0;
}

.rok-faq-answer-inner > :last-child {
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 767px) {
    .rok-faq-section {
        padding: 28px 16px;
    }

    .rok-faq-heading {
        font-size: clamp(25px, 7vw, 32px);
        letter-spacing: -0.5px;
    }

    .rok-faq-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .rok-faq-grid {
        grid-template-columns: 1fr !important;
        row-gap: 9px;
    }

    .rok-faq-trigger {
        padding: 13px 14px;
    }

    .rok-faq-question {
        font-size: 13px;
    }
}