/*
 * FAQ Page — Styles
 */

:root {
    --faq-green:      #495037;
    --faq-gold:       #c9b97a;
    --faq-cream:      #faf8f5;
    --faq-white:      #ffffff;
    --faq-text:       #3a3228;
    --faq-text-mid:   #6b5f50;
    --faq-text-muted: #9a8c6e;
    --faq-border:     #e0d8cc;
    --faq-px:         80px;
}

/* ── Wrapper breakout ────────────────────────────── */
.faq-page-template .entry-content {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

.faq-page {
    background: var(--faq-cream);
    color: var(--faq-text);
    width: 100%;
    max-width: none;
}

.faq-eyebrow {
    display: block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faq-text-muted);
    margin-bottom: 16px;
}

/* ── Hero ────────────────────────────────────────── */
.faq-hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 520px;
    width: 100%;
}

.faq-hero__text {
    background: var(--faq-white);
    padding: 80px var(--faq-px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.faq-hero__heading {
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 22px;
}

.faq-hero__body p {
    color: var(--faq-text-mid);
    line-height: 1.85;
    margin-bottom: 14px;
}

.faq-hero__media {
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 16 / 9;
}

.faq-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.faq-accordion {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── FAQ item ────────────────────────────────────── */
.faq-item {
    border-bottom: 0.5px solid var(--faq-border);
}

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

.faq-item__trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 36px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    cursor: pointer;
    text-align: left;
}

.faq-item__question {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--faq-text);
    line-height: 1.4;
    flex: 1;
    font-size: 1.4em;
}

/* ── Icon — animated plus/minus ──────────────────── */
.faq-item__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: var(--faq-green);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Horizontal bar */
.faq-item__icon::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical bar — rotates to 0 when open */
.faq-item__icon::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item--open .faq-item__icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* ── Answer body ─────────────────────────────────── */
.faq-item__body {
    overflow: hidden;
}

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

.faq-item__answer {
    padding: 4px 0 40px;
    color: var(--faq-text-mid);
    line-height: 1.85;
    max-width: 900px;
}

.faq-item__answer p {
    margin-bottom: 14px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ──────────────────────────────────── */
@media ( max-width: 900px ) {
    :root { --faq-px: 40px; }
}

@media ( max-width: 768px ) {
    :root { --faq-px: 20px; }
    .faq-hero { grid-template-columns: 1fr; }
    .faq-hero__media { aspect-ratio: 4 / 3; }
    .faq-hero__text { padding: 48px 20px; }
    .faq-section { padding: 48px 20px; }
    .faq-item__trigger { padding: 20px 0; }
}