/*
Theme Name: SC Theme
Theme URI: https://myschoolconnected.com
Author: School Connected
Description: School Connected marketing site and blog (approved homepage mockup, brand kit tokens). Mobile first, self-hosted fonts, no jQuery, no third-party requests. Organization fundraiser pages are rendered by the School Connected Fundraiser Pages plugin.
Version: 1.2.4
Requires at least: 6.2
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: sc-theme
*/

/* ---------------------------------------------------------------------
 * Fonts (self-hosted from @fontsource, SIL Open Font License; see
 * assets/fonts/OFL-*.txt). font-display: swap. Anton is for flyers only
 * and is not loaded on the web.
 * ------------------------------------------------------------------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------------
 * Brand tokens (design/brand/tokens.json, light theme).
 * ------------------------------------------------------------------- */
:root {
	--navy: #203972;
	--red: #e5283c;          /* logo red: large display words only */
	--red-action: #d21f33;   /* buttons and small red text */
	--on-red: #ffffff;
	--yellow: #ffc72c;
	--on-yellow: #203972;
	--ink: #14213f;
	--ink-muted: #4b5670;
	--surface: #ffffff;
	--surface-alt: #f4f6fa;
	--navy-tint: #e6ebf5;
	--hairline: #d5dbe7;
	--focus: #203972;
	--footer: #203972;
	--on-footer: #ffffff;
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--shadow-card: 0 1px 2px rgba(20, 33, 63, 0.06), 0 8px 24px rgba(20, 33, 63, 0.08);
	--display: "Archivo", "Arial Black", Arial, sans-serif;
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font: 400 16px/26px var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; }

p { margin: 0 0 1em; }

a { color: var(--navy); text-underline-offset: 3px; }

a:hover { color: var(--ink); }

img, svg { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.sc-footer :focus-visible, .sc-find :focus-visible { outline-color: var(--yellow); }

.sc-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); color: var(--navy); padding: 10px 14px; border-radius: var(--radius-md); font-weight: 700; }

.sc-skip:focus { left: 16px; }

.sc-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sc-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

@media (min-width: 720px) { :root { --gutter: 24px; } }

/* Type styles */
.sc-display { font: 800 38px/42px var(--display); letter-spacing: -0.02em; }
.sc-h1 { font: 800 32px/38px var(--display); letter-spacing: -0.015em; }
.sc-h2 { font: 800 28px/34px var(--display); letter-spacing: -0.015em; }
.sc-h3 { font: 700 20px/26px var(--display); }
.sc-lead { font-size: 18px; line-height: 28px; }
.sc-small { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.sc-eyebrow { font: 700 13px/16px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-action); }
.sc-eyebrow-muted { color: var(--ink-muted); }

@media (min-width: 900px) {
	.sc-display { font-size: 56px; line-height: 60px; }
	.sc-h1 { font-size: 40px; line-height: 46px; }
	.sc-h2 { font-size: 40px; line-height: 46px; }
	.sc-h3 { font-size: 22px; line-height: 28px; }
}

.sc-red-word { color: var(--red); }

/* Buttons */
.sc-btn { display: inline-block; font: 700 16px/20px var(--sans); text-decoration: none; padding: 14px 24px; border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer; text-align: center; }
.sc-btn-red { background: var(--red-action); color: var(--on-red); }
.sc-btn-red:hover { background: #b81a2c; color: var(--on-red); }
.sc-btn-outline { background: var(--surface); color: var(--navy); border-color: var(--navy); }
.sc-btn-outline:hover { background: var(--navy-tint); color: var(--navy); }
.sc-btn-yellow { background: var(--yellow); color: var(--on-yellow); }
.sc-btn-lg { font-size: 17px; padding: 16px 28px; }
.sc-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.sc-pill { display: inline-block; background: var(--yellow); color: var(--on-yellow); font: 700 14px/18px var(--sans); padding: 8px 14px; border-radius: 999px; }

/* ---------------------------------------------------------------------
 * Header and navigation (no JavaScript needed; details/summary)
 * ------------------------------------------------------------------- */
.sc-header { background: var(--surface); border-bottom: 1px solid var(--hairline); position: relative; z-index: 20; }
.sc-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.sc-logo { display: flex; align-items: center; flex: none; }
.sc-logo img { height: 40px; width: auto; display: block; }
.sc-nav { display: none; }
.sc-header-actions { display: none; }
.sc-menu { position: relative; }
.sc-menu > summary { list-style: none; cursor: pointer; font: 700 15px/20px var(--sans); color: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius-md); padding: 8px 14px; }
.sc-menu > summary::-webkit-details-marker { display: none; }
.sc-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 12px; display: flex; flex-direction: column; }
.sc-menu-panel a { padding: 10px 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.sc-menu-panel a:hover { background: var(--surface-alt); }
.sc-menu-panel .sc-menu-sub { padding-left: 20px; font-weight: 400; }
.sc-menu-panel .sc-btn { margin-top: 8px; color: var(--on-red); }

@media (min-width: 1080px) {
	.sc-logo img { height: 48px; }
	.sc-header-in { padding-top: 16px; padding-bottom: 16px; }
	.sc-menu { display: none; }
	.sc-nav { display: flex; align-items: center; gap: 24px; font: 600 15px/20px var(--sans); }
	.sc-nav > a, .sc-drop > summary { color: var(--ink); text-decoration: none; }
	.sc-nav > a:hover, .sc-drop > summary:hover { color: var(--navy); text-decoration: underline; }
	.sc-header-actions { display: flex; align-items: center; gap: 12px; }
	.sc-header-actions .sc-find-link { font: 700 15px/20px var(--sans); color: var(--navy); text-decoration: none; padding: 12px 8px; }
	.sc-header-actions .sc-btn { font-size: 15px; padding: 12px 20px; }
}

.sc-drop { position: relative; }
.sc-drop > summary { list-style: none; cursor: pointer; }
.sc-drop > summary::-webkit-details-marker { display: none; }
.sc-drop > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sc-drop-panel { position: absolute; left: -12px; top: calc(100% + 12px); min-width: 230px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 8px; display: flex; flex-direction: column; }
.sc-drop-panel a { padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); font-weight: 600; }
.sc-drop-panel a:hover { background: var(--surface-alt); color: var(--navy); }

/* ---------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------- */
.sc-section { padding: 48px 0; }
.sc-alt { background: var(--surface-alt); }
.sc-tint { background: var(--navy-tint); }
.sc-section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 32px; }
.sc-section-head p { margin: 0; }
@media (min-width: 900px) { .sc-section { padding: 88px 0; } }

/* Hero */
.sc-hero { padding: 40px 0 48px; }
.sc-hero-grid { display: grid; gap: 40px; align-items: center; }
.sc-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.sc-hero-copy p { margin: 0; }
.sc-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sc-hero-copy .sc-lead { max-width: 540px; }
@media (min-width: 900px) {
	.sc-hero { padding: 72px 0 88px; }
	.sc-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
	.sc-hero-copy { gap: 24px; }
}

/* Hero visual: phone showing a fundraiser page, flyer behind (decorative). */
.sc-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.sc-visual-tint { position: absolute; right: 4%; top: 8px; width: 78%; max-width: 380px; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--navy-tint); }
.sc-flyer-mini { position: absolute; left: 0; bottom: 8px; width: 170px; transform: rotate(-6deg); background: var(--navy); border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 8px; z-index: 1; }
.sc-flyer-mini img { width: 90px; align-self: flex-end; }
.sc-flyer-mini .sc-poster { font: 400 24px/24px "Archivo", Impact, sans-serif; font-weight: 800; color: #fff; text-transform: uppercase; }
.sc-flyer-mini .sc-flyer-line { font-size: 11px; line-height: 15px; color: #fff; }
.sc-flyer-mini .sc-flyer-qr { display: flex; gap: 8px; align-items: center; font-size: 10px; line-height: 13px; font-weight: 700; color: var(--yellow); }
.sc-qr-tile { background: #fff; border-radius: 8px; padding: 5px; display: inline-flex; flex: none; }
.sc-qr-tile svg { display: block; width: 48px; height: 48px; }
.sc-phone { position: relative; z-index: 2; width: 250px; height: 500px; border: 10px solid var(--ink); border-radius: 40px; background: #fff; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; margin-left: 60px; }
.sc-phone-top { background: #1b5e3b; padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.sc-phone-top .sc-phone-row { display: flex; justify-content: space-between; align-items: center; }
.sc-phone-badge { width: 38px; height: 38px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; }
.sc-phone-top img { height: 24px; width: auto; }
.sc-phone-name { font: 800 19px/23px var(--display); }
.sc-phone-sub { font-size: 11px; line-height: 15px; }
.sc-phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sc-phone-h { font: 800 16px/20px var(--display); color: var(--navy); }
.sc-phone-p { font-size: 11px; line-height: 16px; color: var(--ink-muted); }
.sc-phone-label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.sc-phone-input { border: 1px solid var(--ink-muted); border-radius: var(--radius-sm); height: 36px; }
.sc-phone-btn { background: var(--red-action); color: #fff; border-radius: var(--radius-md); padding: 10px; font-weight: 700; font-size: 13px; text-align: center; }
.sc-phone-results { background: var(--surface-alt); border-radius: var(--radius-md); padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 700; color: var(--navy); }
.sc-bar { height: 8px; border-radius: 999px; background: var(--hairline); }
.sc-phone-foot { margin-top: auto; padding: 10px 16px; font-size: 10px; color: var(--ink-muted); border-top: 1px solid var(--hairline); }
@media (min-width: 900px) {
	.sc-visual { min-height: 560px; }
	.sc-phone { width: 290px; height: 580px; margin-left: 0; }
	.sc-flyer-mini { width: 210px; left: 4%; bottom: 20px; padding: 18px; }
	.sc-flyer-mini .sc-poster { font-size: 30px; line-height: 30px; }
}

/* Find band */
.sc-find { background: var(--navy); color: #fff; }
.sc-find-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.sc-find h2 { color: #fff; }
.sc-find p { margin: 6px 0 0; max-width: 460px; }
.sc-find-form { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 320px; max-width: 560px; }
.sc-find-form input { flex: 1 1 220px; min-width: 0; border: 0; border-radius: var(--radius-md); padding: 16px; font: 400 16px/20px var(--sans); }
.sc-find-form button { border: 0; font-size: 16px; padding: 16px 28px; }

/* Steps */
.sc-steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.sc-step { background: var(--navy-tint); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sc-step-n { width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: #fff; font: 800 22px/48px var(--display); text-align: center; }
.sc-step-n.is-red { background: var(--red-action); }
.sc-step p { margin: 0; }
@media (min-width: 720px) { .sc-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1080px) { .sc-steps.is-4 { grid-template-columns: repeat(4, 1fr); } .sc-steps.is-3 { grid-template-columns: repeat(3, 1fr); } .sc-step { padding: 28px; } }

/* Why */
.sc-why-grid { display: grid; gap: 32px; align-items: start; }
.sc-why-copy { display: flex; flex-direction: column; gap: 16px; }
.sc-why-copy p { margin: 0; }
.sc-art { border-radius: var(--radius-lg); background: var(--navy-tint); overflow: hidden; }
.sc-art svg { display: block; width: 100%; height: auto; }
.sc-cards { display: grid; gap: 16px; }
.sc-card { background: var(--surface); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-card); }
.sc-alt .sc-card { box-shadow: var(--shadow-card); }
.sc-card p { margin: 0; font-size: 15px; line-height: 24px; }
.sc-card svg { width: 28px; height: 28px; }
@media (min-width: 720px) { .sc-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 900px) { .sc-why-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Who */
.sc-who { display: grid; gap: 16px; }
.sc-who a { text-decoration: none; background: var(--navy-tint); color: var(--navy); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.sc-who a:first-child { background: var(--navy); color: #fff; }
.sc-who a:first-child .sc-who-sub { color: #fff; }
.sc-who .sc-who-t { font: 700 20px/26px var(--display); }
.sc-who .sc-who-sub { font-size: 14px; line-height: 20px; color: var(--ink); }
.sc-who a:hover .sc-who-t { text-decoration: underline; }
@media (min-width: 600px) { .sc-who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .sc-who { grid-template-columns: repeat(5, 1fr); } }

/* Flyer kit */
.sc-flyers { display: grid; gap: 24px; }
.sc-flyer { border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.sc-flyer .sc-poster { font: 800 34px/36px var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.sc-flyer .sc-flyer-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.sc-flyer-navy { background: var(--navy); color: #fff; }
.sc-flyer-navy .sc-eyebrow { color: var(--yellow); }
.sc-flyer-yellow { background: var(--yellow); color: var(--navy); }
.sc-flyer-yellow .sc-eyebrow { color: var(--navy); }
.sc-flyer-white { background: var(--surface); color: var(--navy); border: 2px solid var(--navy); }
.sc-flyer-white .sc-flyer-text { color: var(--ink); }
@media (min-width: 900px) { .sc-flyers { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.sc-faq { max-width: 880px; }
.sc-faq details { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
.sc-faq summary { cursor: pointer; font: 700 18px/24px var(--display); color: var(--navy); list-style: none; position: relative; padding-right: 32px; }
.sc-faq summary::-webkit-details-marker { display: none; }
.sc-faq summary::after { content: ""; position: absolute; right: 6px; top: 6px; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.sc-faq details[open] summary::after { transform: rotate(-135deg); top: 10px; }
.sc-faq details p { margin: 12px 0 0; }
.sc-faq h2 + details { margin-top: 8px; }
.sc-faq-group + .sc-faq-group { margin-top: 48px; }
@media (min-width: 900px) { .sc-faq summary { font-size: 20px; line-height: 26px; } }

/* CTA band */
.sc-cta { background: var(--navy-tint); }
.sc-cta-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.sc-cta-in > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.sc-cta-in p { margin: 0; }
@media (min-width: 900px) { .sc-cta-in { padding-top: 72px; padding-bottom: 72px; } }

/* ---------------------------------------------------------------------
 * Inner pages
 * ------------------------------------------------------------------- */
.sc-page-hero { background: var(--surface-alt); padding: 40px 0; }
.sc-page-hero .sc-container { display: flex; flex-direction: column; gap: 16px; max-width: var(--wrap); }
.sc-page-hero p { margin: 0; max-width: 680px; }
@media (min-width: 900px) { .sc-page-hero { padding: 64px 0; } }
.sc-two { display: grid; gap: 32px; }
@media (min-width: 900px) { .sc-two { grid-template-columns: 1.2fr 0.8fr; gap: 48px; } }
.sc-list { margin: 0; padding-left: 1.2em; }
.sc-list li { margin-bottom: 8px; }
.sc-panel { background: var(--navy-tint); border-radius: var(--radius-lg); padding: 24px; }
.sc-panel h2, .sc-panel h3 { margin-bottom: 12px; }
.sc-prose { max-width: 720px; }
.sc-prose h2 { font: 700 24px/30px var(--display); margin: 1.6em 0 0.5em; }
.sc-prose h3 { font: 700 20px/26px var(--display); margin: 1.4em 0 0.4em; }
.sc-prose ul, .sc-prose ol { padding-left: 1.3em; }
.sc-prose img { border-radius: var(--radius-md); }
.sc-legal { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 64px; line-height: 1.75; }
.sc-legal h1 { font: 800 32px/38px var(--display); margin-bottom: 0.6em; }
.sc-legal h2 { font: 700 22px/28px var(--display); margin: 1.8em 0 0.5em; }

/* Forms. Spacing: label to input 6px, field to field 20px, section to section 36px.
   Error and help lines exist only when they have text, so an empty one takes no space. */
.sc-form { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.sc-form fieldset { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 20px; }
.sc-form legend { font: 700 20px/26px var(--display); color: var(--navy); margin-bottom: 12px; }
.sc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* Side by side only inside a row. (A 180px flex-basis on every field became a 180px HEIGHT in the
   vertical form, leaving about 126px of blank space under each input: fixed in Pass 5.3.) */
.sc-row > .sc-field { flex: 1 1 180px; justify-content: flex-end; } /* Inputs line up even when a neighbor label wraps. */
.sc-field label { font: 700 13px/16px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.sc-field .sc-req, .sc-field .sc-opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.sc-field input, .sc-field select, .sc-field textarea { width: 100%; font: 400 16px/22px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--ink-muted); border-radius: var(--radius-sm); padding: 12px; }
.sc-field.has-err input, .sc-field.has-err select, .sc-field.has-err textarea { border-color: var(--red-action); border-width: 2px; }
.sc-field-err { color: var(--red-action); font-size: 14px; line-height: 20px; margin: 0; font-weight: 600; }
.sc-help { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin: 0; }
.sc-row { display: flex; flex-wrap: wrap; gap: 20px; }
.sc-check label { font: 400 16px/24px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.sc-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.sc-form button { align-self: flex-start; }
.sc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sc-alert { border-radius: var(--radius-md); padding: 16px; margin-bottom: 20px; }
.sc-alert-ok { background: #edfaef; border: 1px solid #007017; }
.sc-alert-err { background: #fdecee; border: 1px solid var(--red-action); }

/* Find results */
.sc-results { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 720px; }
.sc-results a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--hairline); border-radius: var(--radius-md); text-decoration: none; color: var(--ink); }
.sc-results a:hover { border-color: var(--navy); background: var(--surface-alt); }
.sc-results strong { font: 700 18px/24px var(--display); color: var(--navy); }
.sc-search { display: flex; flex-wrap: wrap; gap: 12px; max-width: 720px; }
.sc-search input { flex: 1 1 240px; min-width: 0; border: 1px solid var(--ink-muted); border-radius: var(--radius-md); padding: 14px 16px; font: 400 16px/20px var(--sans); }

/* Blog */
.sc-cat-grid { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.sc-cat-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--navy-tint); border-radius: var(--radius-md); text-decoration: none; color: var(--navy); font-weight: 700; }
.sc-cat-grid a:hover { background: var(--hairline); }
.sc-cat-grid .sc-count { font-weight: 400; color: var(--ink-muted); white-space: nowrap; }
@media (min-width: 720px) { .sc-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .sc-cat-grid { grid-template-columns: repeat(3, 1fr); } }
.sc-posts { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.sc-post-card { display: flex; flex-direction: column; gap: 8px; }
.sc-post-card h3 a { text-decoration: none; }
@media (min-width: 900px) { .sc-posts { grid-template-columns: repeat(3, 1fr); } }
.sc-crumbs { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-bottom: 16px; }
.sc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--hairline); }
.sc-byline { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.sc-article { padding: 32px 0 48px; }
.sc-article .sc-h1 { margin-bottom: 12px; }
.sc-end-cta { margin-top: 48px; background: var(--navy-tint); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* 404 */
.sc-404 { text-align: center; padding: 12vh 0; max-width: 640px; margin: 0 auto; }
.sc-404 p { color: var(--ink-muted); }
.sc-404 .sc-btns { justify-content: center; }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------- */
.sc-footer { background: var(--footer); color: var(--on-footer); }
.sc-footer-in { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.sc-footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.sc-footer-logo { height: 52px; width: auto; }
.sc-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; font-size: 15px; }
.sc-footer a { color: var(--on-footer); text-decoration: none; }
.sc-footer a:hover { text-decoration: underline; color: var(--on-footer); }
.sc-footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sc-footer-legal { border-top: 1px solid #2c3d69; padding-top: 20px; font-size: 14px; line-height: 20px; }
.sc-footer-legal a { text-decoration: underline; }
.sc-sep { margin: 0 0.45em; opacity: 0.7; }
@media (min-width: 900px) { .sc-footer nav { grid-template-columns: repeat(3, minmax(0, auto)); } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.sc-footer-legal p { margin: 0; }
