/* ===== GUIDE & FAQ PAGES ===== */

/* ── Shared Hero ──────────────────────────────────────────────────────── */
.guide-hero,
.faq-hero {
    padding: 140px 0 50px;
    background: linear-gradient(135deg, var(--light-green, #e8f5e9) 0%, #f0f9f4 100%);
    border-bottom: 1px solid var(--neutral-border, #e0e8e3);
}

.guide-hero-content,
.faq-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guide-hero h1,
.faq-hero h1 {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.guide-hero h1::after,
.faq-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green, #1a5d3e), #4caf7d);
    border-radius: 2px;
}

.guide-hero .lead,
.faq-hero .lead {
    font-size: 1.2rem;
    color: var(--neutral-dark, #1a2c24);
    margin-bottom: 1rem;
}

.faq-sub {
    font-size: 1.05rem;
    color: var(--neutral-medium, #5a7266);
    max-width: 700px;
    margin: 0.5rem auto 0;
    line-height: 1.7;
}

/* ── Shared Content Area ─────────────────────────────────────────────── */
.guide-content,
.faq-content {
    padding: 60px 0 80px;
    background: #fff;
}

.container-narrow {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Guide Cards ─────────────────────────────────────────────────────── */
.guide-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-border, #e0e8e3);
    margin-bottom: 2.5rem;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.guide-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.guide-card .card-header {
    background: var(--neutral-light, #f8faf9);
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--neutral-border, #e0e8e3);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.guide-card .card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green, #1a5d3e);
}

.guide-card .card-body {
    padding: 2rem;
}

.step-number {
    background: var(--primary-green, #1a5d3e);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-format {
    background: var(--light-green, #e8f5e9);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-green, #1a5d3e);
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 8px;
}

.info-note {
    background: #fef9e6;
    border-left: 4px solid #f5b042;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: var(--neutral-dark, #1a2c24);
}

.info-note i {
    margin-right: 6px;
    color: #e6900a;
}

.guide-image {
    margin: 1.5rem 0 0.5rem;
    text-align: center;
    background: #f9fbf9;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--neutral-border, #e0e8e3);
}

.guide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.image-caption {
    font-size: 0.85rem;
    color: var(--neutral-medium, #5a7266);
    margin-top: 8px;
    font-style: italic;
}

/* ── FAQ Sections & Cards ────────────────────────────────────────────── */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green, #1a5d3e);
    border-left: 4px solid #4caf7d;
    padding-left: 1rem;
}

.faq-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-border, #e0e8e3);
    margin-bottom: 1.2rem;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: var(--neutral-light, #f8faf9);
    padding: 1.2rem 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--neutral-dark, #1a2c24);
    transition: background 0.2s;
    user-select: none;
    gap: 12px;
}

.faq-question:hover {
    background: #f0f6f2;
}

.faq-question i {
    color: var(--primary-green, #1a5d3e);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.25s;
    background: white;
}

.faq-answer.show {
    padding: 1.2rem 1.8rem 1.8rem;
    max-height: 700px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer li {
    color: var(--neutral-medium, #5a7266);
}

.faq-answer ul {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ── Summary / Highlight Boxes ───────────────────────────────────────── */
.summary-box {
    background: var(--primary-green, #1a5d3e);
    color: white;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    margin-top: 2.5rem;
    text-align: center;
}

.summary-box p,
.summary-box strong {
    color: white;
    margin-bottom: 0.8rem;
}

.summary-box hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.guide-last-update {
    text-align: center;
    font-size: 0.9rem;
    color: var(--neutral-medium, #5a7266);
    margin-top: 1.5rem;
    font-style: italic;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .guide-hero,
    .faq-hero {
        padding: 120px 0 40px;
    }

    .guide-card .card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem;
    }

    .guide-card .card-body {
        padding: 1.25rem;
    }

    .faq-question {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .faq-answer.show {
        padding: 1rem 1.2rem 1.2rem;
    }

    .faq-section h2 {
        font-size: 1.5rem;
    }

    .summary-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .guide-card .card-header h3 {
        font-size: 1.25rem;
    }
}
