/* Stonewall Equity Guides 1.0.0 (28 Oct 2026). Oxblood #501511, ink #1f1512, muted #6b5c55, rule #e3d8cc, surface #f3ece3.
   Page spacing (--swe-space) and the headline font belong to Stonewall Equity Home; this file only uses them. */

/* ---------- Guides hub (page 6) ---------- */
.swe-hub{--swe-gap:clamp(24px,3vw,40px)}
.swe-hub>*{margin-block:0!important}
.swe-hub .swe-hub-sec{margin-top:var(--swe-space,clamp(56px,7vw,104px))!important;padding-top:clamp(28px,3vw,40px);border-top:1px solid #e3d8cc}

/* Hero: text left, photo right; both columns start at the same top line. */
.swe-hub-hero{margin:0!important}
.swe-hub-hero>*{margin-block:0!important;max-width:none!important}
.swe-hub-hero .swe-eyebrow{margin-bottom:14px!important}
.swe-hub-hero h1{font-size:clamp(2.4rem,5vw,4rem);font-weight:600;line-height:1.04;letter-spacing:-.02em;margin-bottom:clamp(20px,2.4vw,28px)!important}
.swe-hub-hero .swe-lede{font-size:1.15rem;line-height:1.55;color:#1f1512;max-width:36rem}
.swe-hub-hero .swe-hub-count{margin-top:22px!important;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#501511}
.swe-hub-hero .wp-block-image{margin:0 0 clamp(20px,2.4vw,28px)!important;overflow:hidden;border-radius:6px}
.swe-hub-hero .wp-block-image img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;object-position:50% 25%;border-radius:6px}

/* Section head: title and one-line description, same rhythm in every section. */
.swe-hub-head{margin:0 0 clamp(24px,3vw,36px)!important}
.swe-hub-head>*{margin:0!important}
.swe-hub-head h2{font-size:clamp(1.6rem,2.6vw,2.1rem);font-weight:600;line-height:1.15}
.swe-hub-head p{margin-top:8px!important;color:#6b5c55;font-size:1rem;max-width:40rem}

/* Card grid. Each card spans five shared rows (photo, topic, title, blurb, status),
   so every title and every blurb in a row starts on the same line. */
.swe-hub-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--swe-gap);row-gap:clamp(40px,4vw,56px);margin:0!important}
.swe-hub-grid>*{margin:0!important;max-width:none!important}
.swe-gcard{display:grid!important;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;align-content:start}
.swe-gcard>*{margin:0!important;max-width:none!important}
.swe-gcard .wp-block-image{margin:0 0 16px!important;overflow:hidden;border-radius:6px;background:#f3ece3}
.swe-gcard .wp-block-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 25%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.swe-gcard.is-live .wp-block-image a:hover img,.swe-gcard.is-live .wp-block-image a:focus-visible img{transform:scale(1.03)}
.swe-gcard .swe-gcard-tag{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#501511;margin-bottom:8px!important}
.swe-gcard h3{font-size:1.3rem;font-weight:600;line-height:1.22;margin-bottom:14px!important}
.swe-gcard h3 a{color:#1f1512;text-decoration:none}
.swe-gcard h3 a:hover{color:#501511}
.swe-gcard .swe-gcard-blurb{font-size:.98rem;line-height:1.55;color:#6b5c55}
.swe-gcard .swe-gcard-status{margin-top:14px!important;font-size:.85rem;font-weight:600}
.swe-gcard .swe-gcard-status a{color:#501511;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.swe-gcard.is-soon .swe-gcard-status{color:#6b5c55;font-weight:500}
.swe-gcard.is-soon h3{color:#1f1512}
@media (max-width:900px){.swe-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
  .swe-hub-grid{grid-template-columns:minmax(0,1fr);row-gap:40px}

}

/* ---------- Guide pages (template "SWE guide") ---------- */
/* Masthead, same as the tool pages: title, then a full-width 3:1 photo anchored
   toward the top so faces stay in frame, then the summary and byline. */
.swe-article .swe-masthead .swe-crumb{margin-bottom:16px!important}
.swe-article .swe-masthead .wp-block-post-title{margin-bottom:clamp(20px,2.4vw,28px)!important}
.swe-article .swe-masthead .wp-block-post-featured-image{margin:0 0 clamp(20px,2.4vw,28px)!important;overflow:hidden;border-radius:6px;aspect-ratio:3/1!important;width:100%;max-width:1120px}
.swe-article .swe-masthead .wp-block-post-featured-image img{aspect-ratio:3/1!important;width:100%;height:100%!important;object-fit:cover;object-position:50% 25%;border-radius:6px}
.swe-article .swe-masthead .wp-block-post-excerpt{margin-bottom:18px!important}
.swe-article .swe-masthead .wp-block-post-excerpt__excerpt{margin:0!important}
.swe-article .swe-masthead{padding-bottom:clamp(40px,5vw,72px)!important}

/* Bottom of the guide: no extra gap of our own, so the space above the footer
   is the same site-wide page gap used on every page. */
.swe-article .swe-layout{margin-bottom:0!important}
.swe-article .swe-about{margin-top:40px!important;padding-top:24px!important}
.swe-article .swe-about>:last-child{margin-bottom:0!important}

/* Superscript citations: small oxblood numbers that jump to the source list. */
.swe-body sup,.swe-fig-l sup{font-size:.68em;line-height:0;vertical-align:super;margin-left:1px}
.swe-body sup a,.swe-fig-l sup a{color:#501511!important;text-decoration:none!important;font-weight:600}
.swe-body sup a:hover{text-decoration:underline!important}

/* Sources: one numbered list at the end of every guide. */
.swe-article .swe-sources{margin-top:48px!important;padding-top:28px;border-top:1px solid #e3d8cc}
.swe-article .swe-sources h3{font-family:'Manrope',sans-serif!important;font-size:.74rem!important;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#501511;margin:0 0 14px!important;scroll-margin-top:24px}
.swe-article .swe-sources ol{margin:0;padding-left:1.5rem;font-size:.86rem;line-height:1.55;color:#6b5c55}
.swe-article .swe-sources li{margin:0 0 8px;padding-left:4px}
.swe-article .swe-sources li::marker{color:#501511;font-weight:600}
.swe-article .swe-sources a{color:#1f1512;text-decoration:underline;text-decoration-color:rgba(80,21,17,.35);text-underline-offset:3px}

/* Tables: first column left, every other column right, headers aligned with their
   columns, one row height. Numbers line up on tabular figures. */
.swe-body .wp-block-table{margin:24px 0 28px!important;overflow-x:auto}
.swe-body .wp-block-table table{width:100%;border-collapse:collapse;border:0;font-size:.95rem;font-variant-numeric:tabular-nums lining-nums;table-layout:auto}
.swe-body .wp-block-table thead,.swe-body .wp-block-table tfoot{border:0}
.swe-body .wp-block-table th,.swe-body .wp-block-table td{border:0!important;border-bottom:1px solid #e3d8cc!important;padding:7px 0 7px 18px!important;height:38px;line-height:1.35;vertical-align:middle!important;text-align:right!important}
.swe-body .wp-block-table th:first-child,.swe-body .wp-block-table td:first-child{text-align:left!important;padding-left:0!important}
.swe-body .wp-block-table thead th{height:auto;padding-top:0!important;padding-bottom:8px!important;vertical-align:bottom!important;font-family:'Manrope',sans-serif;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:#501511;border-bottom:2px solid #501511!important}
.swe-body .wp-block-table tfoot td{font-weight:700;color:#1f1512;border-top:2px solid #1f1512!important;border-bottom:0!important}
.swe-body .wp-block-table figcaption,.swe-body .wp-block-table .wp-element-caption{text-align:left;font-size:.82rem;line-height:1.45;color:#6b5c55;margin:10px 0 0}
@media (min-width:782px){.swe-body .wp-block-table:not(.swe-table-text) th:not(:first-child),.swe-body .wp-block-table:not(.swe-table-text) td:not(:first-child){white-space:nowrap}}
/* First column takes the spare width so its labels sit on one line and rows stay short;
   figure columns shrink to their content. Wordy tables give the label column 40%. */
@media (min-width:782px){
.swe-body .wp-block-table:not(.swe-table-text) th:not(:first-child),.swe-body .wp-block-table:not(.swe-table-text) td:not(:first-child){width:1%}
.swe-body .wp-block-table th:first-child,.swe-body .wp-block-table td:first-child{min-width:14rem}
.swe-body .swe-table-text th:first-child,.swe-body .swe-table-text td:first-child{width:40%}
}
.swe-worked .wp-block-table{margin-bottom:18px!important}

/* Side panel call to action on guides. */
.swe-side-cta .swe-side-cta-kicker{font-size:.7rem!important;letter-spacing:.14em;text-transform:uppercase;color:#e9c9bf!important;font-weight:600!important;margin:0 0 6px!important}

/* Lining figures: Playfair Display defaults to old-style numerals. Headings keep the
   theme's lining setting; table figures are lining and tabular so columns line up. */
.swe-article h1,.swe-article h2,.swe-article h3,.swe-article h4,.swe-hub h1,.swe-hub h2,.swe-hub h3,.swe-hub-count{font-variant-numeric:lining-nums}
.swe-article table,.swe-article table th,.swe-article table td{font-variant-numeric:lining-nums tabular-nums}

/* Second accent, lemon (Tomek 2026-10-28): only the key-figure highlighter and the takeaway box. Never lemon text on cream. */
.swe-body .swe-figs .swe-fig-n{background:linear-gradient(transparent 60%,var(--swe-accent-2,#FFD84D) 60%,var(--swe-accent-2,#FFD84D) 92%,transparent 92%)!important;width:fit-content;color:#1f1512!important}
.swe-body .swe-takeaway{background:var(--swe-accent-2,#FFD84D)!important;color:#1f1512!important;border-color:transparent!important}
.swe-body .swe-takeaway p,.swe-body .swe-takeaway .swe-takeaway-label{color:#1f1512!important}

/* Lemon round 2 (Tomek 2026-10-28 17:15, picks A, H, I). A: the same bar under every section headline (Tomek asked for consistency 17:27). H: note boxes. I: table header rule. */
.swe-body h2.wp-block-heading::after,.swe-hub .swe-hub-head h2::after{content:"";display:block;width:56px;height:5px;border-radius:2px;background:var(--swe-accent-2,#FFD84D);margin-top:16px}
.swe-body .swe-note{border:0!important;border-left:4px solid var(--swe-accent-2,#FFD84D)!important;background:#fff5c9!important;color:#1f1512!important}
.swe-body .swe-note p:not(.swe-eyebrow),.swe-body .swe-note li{color:#1f1512!important}
.swe-body .wp-block-table thead th{border-bottom:3px solid var(--swe-accent-2,#FFD84D)!important}
