.guide-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(203, 194, 155, .22);
    border-radius: 18px;
    background:
        linear-gradient(140deg, rgba(17, 23, 17, .95), rgba(36, 44, 33, .82)),
        radial-gradient(circle at 15% 20%, rgba(163, 174, 113, .2), transparent 35%),
        radial-gradient(circle at 85% 18%, rgba(148, 163, 168, .14), transparent 30%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.guide-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.3rem 1.5rem 2rem;
    text-align: center;
}

.guide-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    padding: .3rem .75rem;
    border: 1px solid rgba(203, 194, 155, .35);
    border-radius: 999px;
    background: rgba(203, 194, 155, .08);
    color: #f6f1da;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.guide-hero h1 {
    margin: 0 0 .55rem;
    color: var(--khaki);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.guide-hero-text {
    max-width: 720px;
    margin: 0 auto 1rem;
    color: var(--text);
    line-height: 1.7;
}

.guide-fallback {
    max-width: 720px;
    margin: 0 auto 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(148, 163, 168, .25);
    border-radius: 12px;
    background: rgba(148, 163, 168, .1);
    color: #e6edf0;
    line-height: 1.6;
}

.guide-toc-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem .3rem;
}

.guide-toc-inline a {
    color: var(--olive-soft);
    text-decoration: none;
    font-size: .84rem;
    padding: .35rem .65rem;
    border-radius: 8px;
    transition: background .15s, color .15s;
}

.guide-toc-inline a:hover {
    background: rgba(203, 194, 155, .1);
    color: #f3eccf;
}

.guide-toc-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(203, 194, 155, .28);
}

.guide-section {
    margin-bottom: 2.4rem;
    padding-top: .35rem;
}

.guide-section h2 {
    margin: 0 0 1rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid rgba(203, 194, 155, .16);
    color: var(--khaki);
    font-size: 1.35rem;
}

.guide-section h3 {
    margin: 1.2rem 0 .45rem;
    color: #f3eccf;
    font-size: 1.02rem;
}

.guide-section h4 {
    margin: 0 0 .45rem;
    color: #f3eccf;
    font-size: .94rem;
}

.guide-section p {
    margin: 0 0 .75rem;
    color: var(--text);
    line-height: 1.7;
}

.guide-entry-grid,
.guide-outcome-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-entry-card,
.guide-outcome-card {
    display: block;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(185, 192, 177, .2);
    border-radius: 14px;
    background: rgba(14, 18, 14, .46);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.guide-entry-card {
    color: inherit;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

.guide-entry-card:hover {
    border-color: rgba(203, 194, 155, .34);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.guide-entry-kicker {
    display: inline-block;
    margin-bottom: .4rem;
    color: rgba(203, 194, 155, .64);
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.guide-entry-card strong {
    display: block;
    margin-bottom: .35rem;
    color: #f3eccf;
    font-size: .98rem;
}

.guide-entry-card small,
.guide-outcome-card p {
    color: var(--muted);
    line-height: 1.55;
}

.guide-list {
    margin: 0 0 .8rem;
    padding-left: 1.2rem;
}

.guide-list li {
    margin-bottom: .42rem;
    color: var(--text);
    line-height: 1.65;
}

.guide-note {
    padding: .9rem 1rem;
    border-left: 3px solid var(--olive-soft);
    border-radius: 10px;
    background: rgba(163, 174, 113, .09);
}

.guide-table {
    width: 100%;
    margin: .85rem 0 1rem;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid rgba(185, 192, 177, .18);
    border-radius: 14px;
}

.guide-table th,
.guide-table td {
    padding: .8rem .9rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(185, 192, 177, .1);
}

.guide-table th {
    color: rgba(203, 194, 155, .72);
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(14, 18, 14, .72);
}

.guide-table td {
    color: var(--text);
    background: rgba(14, 18, 14, .4);
    line-height: 1.6;
}

.guide-faq-item {
    margin-bottom: .75rem;
    border: 1px solid rgba(185, 192, 177, .2);
    border-radius: 12px;
    background: rgba(14, 18, 14, .44);
    overflow: hidden;
}

.guide-faq-item summary {
    cursor: pointer;
    padding: .9rem 1rem;
    color: #f3eccf;
    font-weight: 700;
    list-style: none;
}

.guide-faq-item summary::-webkit-details-marker {
    display: none;
}

.guide-faq-item[open] summary {
    border-bottom: 1px solid rgba(185, 192, 177, .1);
}

.guide-faq-item p {
    margin: 0;
    padding: .9rem 1rem 1rem;
}

@media (max-width: 800px) {
    .guide-hero-inner {
        padding: 2rem 1rem 1.6rem;
    }

    .guide-entry-grid,
    .guide-outcome-grid {
        grid-template-columns: 1fr;
    }

    .guide-table,
    .guide-table thead,
    .guide-table tbody,
    .guide-table tr,
    .guide-table th,
    .guide-table td {
        display: block;
        width: 100%;
    }

    .guide-table thead {
        display: none;
    }

    .guide-table tr {
        border-bottom: 1px solid rgba(185, 192, 177, .12);
    }

    .guide-table td {
        border-bottom: none;
    }
}
