/* Guides — article pages. Loads after style.css and only adds what articles need. */
.g-hero { background: linear-gradient(160deg, var(--olive-deep), var(--olive-ink)); color: var(--cream); padding: clamp(46px, 6vw, 84px) 0 clamp(34px, 4vw, 54px); }
.g-hero .eyebrow { color: var(--gold-light); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 .5rem; }
.g-hero h1 { color: var(--cream); font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22ch; margin: 0 0 .5rem; }
.g-hero p.lede { color: rgba(244,240,228,.84); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6; max-width: 58ch; margin: 0; }
.g-meta { color: rgba(244,240,228,.6); font-size: .8rem; margin: 1rem 0 0; }
.crumb { font-size: .8rem; margin: 0 0 1.2rem; color: rgba(244,240,228,.6); }
.crumb a { color: var(--gold-light); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.g-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 4vw, 60px); align-items: start; padding: clamp(36px, 4.5vw, 62px) 0; }
@media (max-width: 900px) { .g-wrap { grid-template-columns: 1fr; } .g-side { order: -1; } }

.prose { max-width: 68ch; color: var(--text); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.1rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin: 1.5rem 0 .4rem; }
.prose p { line-height: 1.75; margin: 0 0 1rem; }
.prose ul, .prose ol { line-height: 1.75; margin: 0 0 1.1rem; padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { font-weight: 500; color: var(--olive-ink); }
.prose a { color: var(--olive); }

.g-table { width: 100%; border-collapse: collapse; margin: 0 0 1.3rem; font-size: .93rem; }
.g-table th, .g-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--cream-2); }
.g-table th { font-family: var(--body); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.g-table td:last-child { white-space: nowrap; font-weight: 500; color: var(--olive-ink); }

.callout { background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 1.05rem 1.2rem; margin: 1.4rem 0; box-shadow: var(--shadow); }
.callout p { margin: 0; font-size: .93rem; line-height: 1.65; }
.callout p + p { margin-top: .6rem; }
.callout strong { display: block; font-family: var(--title); font-size: 1.1rem; font-weight: 600; margin-bottom: .25rem; color: var(--olive-ink); }

.g-side { position: sticky; top: calc(var(--barh, 0px) + 88px); }
.g-side .box { background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.g-side h4 { font-family: var(--body); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 0 0 .6rem; font-weight: 500; }
.g-side ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; line-height: 1.6; }
.g-side ol a { color: var(--text); text-decoration: none; }
.g-side ol a:hover { color: var(--olive); text-decoration: underline; }
.g-side .box p { font-size: .88rem; line-height: 1.6; margin: 0 0 .8rem; color: var(--muted); }
@media (max-width: 900px) { .g-side { position: static; } .g-side ol { columns: 2 180px; } }

.g-cta { background: var(--olive-deep); color: var(--cream); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); margin: 2.4rem 0 0; text-align: center; }
.g-cta h3 { color: var(--cream); font-size: 1.6rem; margin: 0 0 .4rem; }
.g-cta p { color: rgba(244,240,228,.82); margin: 0 0 1.1rem; font-size: .95rem; }

.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.g-card { background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.g-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(43,51,22,.16); }
.g-card .tag { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); font-weight: 500; }
.g-card h3 { font-size: 1.3rem; line-height: 1.2; margin: .3rem 0 .5rem; }
.g-card p { font-size: .9rem; line-height: 1.6; color: var(--muted); margin: 0 0 .9rem; flex: 1; }
.g-card .more { font-size: .84rem; font-weight: 500; color: var(--olive); }
.g-next { border-top: 1px solid var(--cream-2); margin-top: 2.6rem; padding-top: 1.6rem; }
.g-next h4 { font-family: var(--body); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 0 0 .8rem; font-weight: 500; }
