/* Four-Day School Week Resource Center — shared styles */
* { box-sizing: border-box; }
/* Smooth scrolling only for in-page interaction — keeps load-time anchor jumps instant and reliable */
html:focus-within { scroll-behavior: smooth; }
/* Keep anchored sections clear of the sticky header */
[id] { scroll-margin-top: 92px; }
body { margin: 0; background: #FBFAF8; font-family: 'Libre Franklin', sans-serif; color: #1a1416; }
a { color: inherit; text-decoration: none; }
.serif { font-family: 'Newsreader', serif; font-weight: 500; }
.lnk { transition: color .15s ease; }
.lnk:hover { color: #EB002B !important; }
.card { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.09); }
.wrap { max-width: 1280px; margin: 0 auto; background: #FBFAF8; }

/* Masthead */
.masthead { display:flex; align-items:center; justify-content:space-between; padding:20px 56px; border-bottom:1px solid #ECE7E2; position:sticky; top:0; background:rgba(251,250,248,0.92); backdrop-filter:blur(8px); z-index:20; }
.masthead .logo-box { width:38px; height:38px; background:#5E0009; border-radius:7px; display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Newsreader',serif; font-weight:600; font-size:22px; line-height:1; }
.masthead .site-name { font-weight:700; font-size:14px; letter-spacing:0.06em; color:#1a1416; line-height:1.15; }
.masthead .site-sub { font-size:11px; letter-spacing:0.18em; color:#9a8f8f; }
.nav-links { display:flex; align-items:center; gap:20px; font-size:13.5px; font-weight:500; color:#3a3335; }
.nav-links .btn { background:#5E0009; color:#fff; padding:9px 16px; border-radius:5px; font-weight:600; }
.nav-links a.active { color:#5E0009; font-weight:700; }

/* Page hero (subpages) */
.page-hero { padding: 58px 56px 40px; border-bottom:1px solid #ECE7E2; }
.page-hero .kicker { font-size:12.5px; font-weight:700; letter-spacing:0.16em; color:#EB002B; margin-bottom:14px; }
.page-hero h1 { font-family:'Newsreader',serif; font-weight:500; font-size:44px; line-height:1.08; letter-spacing:-0.01em; margin:0 0 16px; }
.page-hero p.lede { font-size:17px; line-height:1.6; color:#4a4245; max-width:760px; margin:0; }

/* Sections */
.section { padding: 54px 56px; }
.section.sand { background:#F4EFEA; border-top:1px solid #ECE7E2; border-bottom:1px solid #ECE7E2; }
.section h2 { font-family:'Newsreader',serif; font-weight:500; font-size:30px; margin:0 0 10px; }
.section .kicker { font-size:12.5px; font-weight:700; letter-spacing:0.14em; color:#0093B2; margin-bottom:12px; }
.section p, .section li { font-size:15px; line-height:1.65; color:#3a3335; }

/* Resource list rows */
.res-list { display:grid; gap:14px; margin-top:24px; }
.res-row { display:flex; gap:18px; align-items:flex-start; border:1px solid #ECE7E2; border-radius:10px; padding:20px 22px; background:#fff; }
.res-row .glyph { width:42px; height:42px; flex:0 0 auto; background:#F4EFEA; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#5E0009; font-weight:700; font-size:17px; }
.res-row .t { font-weight:700; font-size:15.5px; color:#1a1416; margin-bottom:3px; }
.res-row .d { font-size:13.5px; color:#7a726f; line-height:1.5; }

/* Citation list */
.cite-list { display:grid; gap:0; margin-top:8px; }
.cite { border-top:1px solid #ECE7E2; padding:18px 0; }
.cite .meta { font-size:12.5px; font-weight:700; letter-spacing:0.08em; color:#0093B2; margin-bottom:6px; text-transform:uppercase; }
.cite .title { font-family:'Newsreader',serif; font-size:19px; line-height:1.35; color:#1a1416; }
.cite .note { font-size:13.5px; color:#7a726f; margin-top:6px; line-height:1.55; }

/* Video cards */
.vid-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:26px; }
.vid-card { display:block; }
.vid-card .thumb { position:relative; height:170px; border-radius:8px; overflow:hidden; background:#1a1416; margin-bottom:14px; }
.vid-card .thumb img { width:100%; height:100%; object-fit:cover; opacity:0.9; }
.vid-card .play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:50px; height:50px; background:rgba(94,0,9,0.92); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; }
.vid-card .t { font-weight:700; font-size:16px; }
.vid-card .d { font-size:13.5px; color:#7a726f; margin-top:4px; line-height:1.5; }

/* Callout box */
.callout { background:#fff; border:1px solid #ECE7E2; border-left:4px solid #5E0009; border-radius:8px; padding:22px 26px; margin-top:22px; font-size:14.5px; line-height:1.65; color:#4a4245; }

/* Numbered tips */
.tips { counter-reset: tip; display:grid; gap:16px; margin-top:24px; padding:0; list-style:none; }
.tips li { counter-increment: tip; display:flex; gap:18px; background:#fff; border:1px solid #ECE7E2; border-radius:10px; padding:20px 24px; }
.tips li::before { content: counter(tip); font-family:'Newsreader',serif; font-size:24px; font-weight:600; color:#5E0009; line-height:1; flex:0 0 auto; }

/* Timeline (world page) */
.timeline { display:grid; gap:0; margin-top:20px; }
.tl-item { display:flex; gap:22px; border-top:1px solid #ECE7E2; padding:18px 0; }
.tl-item .yr { font-family:'Newsreader',serif; font-size:22px; font-weight:600; color:#5E0009; flex:0 0 74px; line-height:1.2; }
.tl-item .tx { font-size:15px; line-height:1.65; color:#3a3335; }

/* Footer */
footer { background:#1a1416; color:#9a8f8f; padding:36px 56px; display:flex; align-items:center; justify-content:space-between; font-size:13px; flex-wrap:wrap; gap:14px; }
footer a { color:#BFCED6; }

/* Contact band */
.contact-band { padding:56px; background:#F4EFEA; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }

.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display:none !important; }
  .grid-2, .grid-3, .hero-grid, .news-grid, .sb-grid, .vid-grid, .explore-grid { grid-template-columns:1fr !important; display:grid !important; }
  .hero-media { min-height:240px !important; }
  .masthead, .section, .page-hero, .contact-band, footer { padding-left:24px !important; padding-right:24px !important; }
  h1.hero { font-size:40px !important; }
  .page-hero h1 { font-size:34px; }
}
@media (max-width: 620px) {
  .stats-band { grid-template-columns:1fr !important; }
}
