/**
 * "Questions & answers" sections (GPSC\Page_Faqs): Home (GPS FAQ widget),
 * About and Contact. Self-contained tokens so it works inside Elementor and
 * the plugin templates alike.
 */

.gps-faqs {
    --gps-faqs-navy: #13254d;
    --gps-faqs-blue: #0B52AC;
    --gps-faqs-ink: #1b2436;
    --gps-faqs-muted: #5b6880;
    --gps-faqs-line: #dde3ec;
    --gps-faqs-bronze: #8a6d38;
    box-sizing: border-box;
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 20px;
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--gps-faqs-ink);
}

.gps-faqs *,
.gps-faqs *::before,
.gps-faqs *::after {
    box-sizing: border-box;
}

.gps-faqs .gps-faqs__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gps-faqs-bronze);
}

.gps-faqs .gps-faqs__title {
    margin: 0 0 18px;
    font-family: inherit;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gps-faqs-navy);
}

.gps-faqs .gps-faqs__list {
    display: grid;
    gap: 10px;
}

.gps-faqs .gps-faqs__item {
    padding: 0 22px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 var(--gps-faqs-line), 0 10px 24px -22px rgba(18, 38, 74, .55);
}

.gps-faqs .gps-faqs__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gps-faqs-navy);
    cursor: pointer;
    list-style: none;
}

.gps-faqs .gps-faqs__item summary::-webkit-details-marker { display: none; }

.gps-faqs .gps-faqs__item summary::after {
    content: "+";
    flex: none;
    font-size: 22px;
    font-weight: 600;
    color: var(--gps-faqs-blue);
}

.gps-faqs .gps-faqs__item[open] summary::after { content: "–"; }

.gps-faqs .gps-faqs__item summary:focus-visible {
    outline: 2px solid var(--gps-faqs-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.gps-faqs .gps-faqs__item p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--gps-faqs-ink);
}

/* inside the About / Contact templates the page already sets the width */
.gps-faqs.gps-faqs--in-page {
    max-width: none;
    padding-inline: 0;
}
