/* Faraji Marijani guides (Nov 2026). Uses the site tokens from site.css. */
.fg-hero h1 { max-width: 22ch; }
.fg-hero .hero__sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.fg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 64px);
             padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.fg-article { min-width: 0; max-width: 760px; }
.fg-figure { margin: 0 0 28px; }
.fg-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 10px; }

.fg-answer { background: var(--mist); border-left: 4px solid var(--slate); border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 0 0 32px; }
.fg-answer__label, .fg-toc__label { font: 700 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.fg-answer p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--slate-deep); }

.fg-prose { font-size: 17px; line-height: 1.75; color: #24363d; }
.fg-prose > * + * { margin-top: 1.05em; }
.fg-prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 2.6vw, 34px); line-height: 1.15; color: var(--slate-deep); margin: 1.9em 0 .55em; scroll-margin-top: 96px; }
.fg-prose h3 { font-family: var(--sans); font-weight: 700; font-size: 18.5px; line-height: 1.35; color: var(--slate-deep); margin: 1.5em 0 .4em; }
.fg-prose ul, .fg-prose ol { padding-left: 1.3em; }
.fg-prose li + li { margin-top: .4em; }
.fg-prose a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
.fg-prose strong { color: var(--slate-deep); }
.fg-prose h2#key-takeaways + ul { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px 20px 42px; }
.fg-prose h2#frequently-asked-questions ~ h3 { border-top: 1px solid var(--line); padding-top: 1.1em; margin-top: 1.1em; }
.fg-prose h2#sources ~ ul { font-size: 14px; line-height: 1.6; }
.fg-table { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.fg-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.fg-table th, .fg-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fg-table th { background: var(--mist); font-weight: 700; color: var(--slate-deep); white-space: nowrap; }
.fg-table tr:last-child td { border-bottom: 0; }

.fg-endcta { margin-top: 48px; padding: 32px; background: var(--slate); color: #fff; border-radius: 12px; }
.fg-endcta h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 8px; color: #fff; }
.fg-endcta p { margin: 0 0 20px; color: rgba(255,255,255,.88); }

.fg-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.fg-toc, .fg-sidecta { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.fg-toc ol { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.fg-toc li + li { margin-top: 8px; }
.fg-toc a { color: var(--slate-deep); text-decoration: none; }
.fg-toc a:hover { color: var(--slate); text-decoration: underline; }
.fg-sidecta p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.fg-block { width: 100%; justify-content: center; }
.fg-sidecta__wa { display: block; margin-top: 10px; font-size: 13px; text-align: center; color: var(--muted); }

.fg-related__h { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); color: var(--slate-deep); margin: 0 0 28px; }
.fg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--slate-deep); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.fg-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6, 66, 83, .12); }
.fg-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.fg-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fg-card__cat { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.fg-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; margin: 0; }
.fg-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.fg-card__more { font-size: 12.5px; font-weight: 600; color: var(--slate); }
.fg-also { margin: 36px 0 0; font-size: 15px; color: var(--muted); }
.fg-also a { color: var(--slate); text-decoration: underline; }

@media (max-width: 1000px) {
    .fg-layout { grid-template-columns: 1fr; }
    .fg-side { position: static; }
    .fg-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .fg-grid { grid-template-columns: 1fr; }
    .fg-prose { font-size: 16.5px; }
    .fg-endcta { padding: 24px 20px; }
}
