/* GHome FAQ */
.ghm-faq-section {
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 48px max(16px, env(safe-area-inset-left)) 58px max(16px, env(safe-area-inset-right));
    color: #111827;
    background: #ffffff;
    box-sizing: border-box;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .ghm-faq-section {
        overflow-x: hidden;
    }
}

@supports (width: 100dvw) {
    .ghm-faq-section {
        width: 100dvw;
        max-width: 100dvw;
        margin-left: calc(50% - 50dvw);
        margin-right: calc(50% - 50dvw);
    }
}

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

.ghm-faq-section__inner {
    width: 100%;
    max-width: min(100%, var(--ghm-faq-max-width, 1500px));
    margin: 0 auto;
}

.ghm-faq-section__header {
    width: 100%;
    max-width: min(100%, var(--ghm-faq-max-width, 1500px));
    margin: 0 auto 18px;
    text-align: center;
}

.ghm-faq-section__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(20px, 1.45vw, 24px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
}

.ghm-faq-section__subtitle {
    max-width: 680px;
    margin: 10px auto 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.ghm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.ghm-faq-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #eceff3;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    opacity: 0;
    transform: translateY(10px);
    animation: ghm-faq-item-rise 420ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: calc(var(--ghm-faq-item-index, 0) * 38ms);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.ghm-faq-item:hover,
.ghm-faq-item:focus-within {
    border-color: #dde3ea;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.ghm-faq-item.is-open {
    border-color: #dbe2ea;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.ghm-faq-item__heading {
    margin: 0;
    padding: 0;
}

.ghm-faq-item__button {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    width: 100%;
    min-height: 52px;
    padding: 0 28px 0 18px;
    color: #1f2937;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    text-align: left !important;
    text-transform: none !important;
    transition: color 180ms ease, background-color 180ms ease, transform 120ms ease;
    appearance: none;
}

.ghm-faq-item__button:hover,
.ghm-faq-item__button:focus {
    color: #0f172a;
    background: #fbfcfe;
    outline: none;
}

.ghm-faq-item__button:active {
    transform: scale(0.998);
}

.ghm-faq-item__button:focus-visible {
    outline: 3px solid rgba(225, 29, 72, 0.18);
    outline-offset: -3px;
}

.ghm-faq-item__chevron {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-right: 12px;
    align-items: center;
    justify-content: center;
    opacity: 0.62;
    transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 180ms ease;
}

.ghm-faq-item__chevron::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
}

.ghm-faq-item.is-open .ghm-faq-item__chevron {
    color: #e11d48;
    opacity: 1;
    transform: rotate(-180deg);
}

.ghm-faq-item__question {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 600;
    line-height: 1.45;
    text-align: left !important;
    text-transform: none !important;
}

.ghm-faq-item.is-open .ghm-faq-item__question {
    color: #0f172a;
}

.ghm-faq-item__panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 180ms ease;
    will-change: max-height;
}

.ghm-faq-item.is-open .ghm-faq-item__panel {
    opacity: 1;
}

.ghm-faq-item__content {
    padding: 0 30px 20px 48px;
    color: #475569;
    font-size: 14px;
    line-height: 1.72;
}

.ghm-faq-item__content > :first-child {
    margin-top: 0;
}

.ghm-faq-item__content > :last-child {
    margin-bottom: 0;
}

.ghm-faq-item__content a {
    color: #e11d48;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ghm-faq-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.ghm-faq-section__more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px 5px;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease, transform 180ms ease;
}

.ghm-faq-section__more::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #e11d48;
    transform: scaleX(0.82);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.ghm-faq-section__more:hover,
.ghm-faq-section__more:focus {
    color: #e11d48;
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.ghm-faq-section__more:hover::after,
.ghm-faq-section__more:focus::after {
    transform: scaleX(1);
}

@keyframes ghm-faq-item-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ghm-faq-section {
        padding-top: 38px;
        padding-bottom: 48px;
    }

    .ghm-faq-section__header {
        margin-bottom: 16px;
    }

    .ghm-faq-item__button {
        min-height: 50px;
        padding-right: 18px;
        padding-left: 14px;
    }

    .ghm-faq-item__chevron {
        margin-right: 10px;
    }

    .ghm-faq-item__content {
        padding-right: 20px;
        padding-left: 42px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ghm-faq-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ghm-faq-list {
        gap: 9px;
    }

    .ghm-faq-item__button {
        align-items: flex-start;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .ghm-faq-item__chevron {
        margin-top: 1px;
    }

    .ghm-faq-item__content {
        padding: 0 18px 18px 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghm-faq-item,
    .ghm-faq-item__button,
    .ghm-faq-item__chevron,
    .ghm-faq-item__panel,
    .ghm-faq-section__more,
    .ghm-faq-section__more::after {
        animation: none !important;
        transition: none !important;
    }

    .ghm-faq-item {
        opacity: 1;
        transform: none;
    }
}


/* v2.5.43: keep FAQ rows aligned to the left and use the same 1500px content width as other homepage modules. */
.ghm-faq-section__inner,
.ghm-faq-section__header {
    max-width: min(100%, var(--ghm-faq-max-width, 1500px));
}

.ghm-faq-item__button,
.ghm-faq-item__button.button,
.ghm-faq-item__button[type="button"] {
    display: flex !important;
    justify-content: flex-start !important;
    text-align: left !important;
    text-transform: none !important;
}

.ghm-faq-item__question {
    flex: 1 1 auto;
    text-align: left !important;
    text-transform: none !important;
}



/* v2.5.52: lock FAQ content width to exactly 1500px on desktop. */
.ghm-faq-section__inner,
.ghm-faq-section__header,
.ghm-faq-list {
    max-width: min(100%, 1500px);
}
