/* Edu Archives Worksheets — a calm, educational, publisher-quality look */
:root {
  --ink: #1f2440;
  --ink-soft: #4a5068;
  --muted: #7a8097;
  --paper: #faf8f3;
  --white: #ffffff;
  --line: #e4e0d6;
  --line-strong: #cfc9bb;

  --accent: #2f6b4f;         /* forest green */
  --accent-deep: #24573f;
  --accent-soft: #e6efe9;
  --gold: #c9973a;
  --gold-soft: #f6efdf;

  /* muted category tints */
  --green: #2f6b4f;  --green-soft: #e6efe9;  --green-deep: #24573f;
  --orange: #b9683a; --orange-soft: #f6eae1; --orange-deep: #9a5530;
  --blue: #3a5f8f;   --blue-soft: #e5ecf4;   --blue-deep: #2d4c73;
  --pink: #a4536b;   --pink-soft: #f4e6ea;   --pink-deep: #86435a;
  --purple: #5e5a9a; --purple-soft: #e9e8f3; --purple-deep: #4b477d;
  --yellow: #b7912f; --yellow-soft: #f6efdf; --yellow-deep: #927324;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 8px 28px rgba(31, 36, 64, .08);
  --shadow-sm: 0 2px 10px rgba(31, 36, 64, .06);
  --font-head: "Fraunces", "Iowan Old Style", "Charter", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.005em; font-variation-settings: "opsz" 72, "SOFT" 30; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-family: var(--font-body); font-weight: 600; margin-top: 1.4em; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; line-height: 1.6; }
.eyebrow { font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1em; }
code { background: var(--gold-soft); padding: .1em .4em; border-radius: 4px; font-size: .92em; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
.brand-text span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); font-weight: 500; padding: 8px 11px; border-radius: 6px; font-size: .92rem; }
.nav a:hover { color: var(--ink); background: var(--white); text-decoration: none; }
.nav-picks { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; border: 1px solid var(--line-strong); color: var(--ink) !important; }
.nav-picks svg { width: 16px; height: 16px; color: transparent; }
.picks-count[hidden] { display: none; }
.picks-count { background: var(--accent); color: #fff; border-radius: 999px; font-size: .7rem; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: var(--white); border-radius: 8px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 12px; font-size: 1rem; }
  .nav-picks { margin: 8px 0 0; justify-content: center; }
}

/* ---------- buttons + chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; padding: 11px 20px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-decoration: none !important; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-fun { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-fun:hover { background: #2c3358; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { font-size: 1.02rem; padding: 14px 24px; }
.btn-sm { font-size: .86rem; padding: 8px 14px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.btn[aria-pressed="true"] svg { color: var(--accent); }
.chip { display: inline-flex; align-items: center; font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--white); color: var(--ink-soft); border: 1px solid var(--line); text-decoration: none !important; line-height: 1.5; }
.chip-soft { background: var(--white); }
.chip-green { background: var(--green-soft); color: var(--green-deep); border-color: transparent; }
.chip-orange { background: var(--orange-soft); color: var(--orange-deep); border-color: transparent; }
.chip-blue { background: var(--blue-soft); color: var(--blue-deep); border-color: transparent; }
.chip-pink { background: var(--pink-soft); color: var(--pink-deep); border-color: transparent; }
.chip-purple { background: var(--purple-soft); color: var(--purple-deep); border-color: transparent; }
.chip-yellow { background: var(--yellow-soft); color: var(--yellow-deep); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* ---------- sections */
.section { padding: 64px 0; }
.section-tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 30px; display: flex; flex-direction: column; gap: 4px; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; max-width: 62ch; margin: 0; }

/* ---------- hero */
.hero { position: relative; padding: 64px 0 56px; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-covers { display: none; } }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-covers { position: relative; height: 420px; }
.hero-covers img { position: absolute; width: 230px; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 20px 40px rgba(31, 36, 64, .16); background: #fff; transition: transform .4s; }
.hero-covers img:nth-child(1) { left: 0; top: 60px; transform: rotate(-6deg); z-index: 1; }
.hero-covers img:nth-child(2) { left: 120px; top: 20px; transform: rotate(0deg); z-index: 3; }
.hero-covers img:nth-child(3) { left: 240px; top: 70px; transform: rotate(6deg); z-index: 2; }
.hero-covers:hover img { transform: rotate(0); }
.search { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px 6px 6px 16px; margin: 0 0 18px; max-width: 560px; box-shadow: var(--shadow-sm); }
.search:focus-within { border-color: var(--ink); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; font: inherit; font-size: 1rem; min-width: 0; outline: none; background: transparent; color: var(--ink); }
.search-inline { margin: 22px 0 14px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-soft); font-size: .92rem; }
.stats strong { font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; margin-right: 5px; font-weight: 600; }

/* ---------- category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.cat-card { display: grid; grid-template-columns: 52px 1fr 22px; align-items: start; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.cat-card:hover { text-decoration: none; border-color: var(--line-strong); box-shadow: var(--shadow); }
.cat-icon { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; padding: 11px; color: var(--ink); }
.cat-icon svg { width: 100%; height: 100%; }
.cat-body { display: flex; flex-direction: column; gap: 4px; }
.cat-body strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.cat-body span { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.cat-body em { font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.cat-arrow { color: var(--muted); margin-top: 4px; }
.cat-arrow svg { width: 20px; }
.cat-green .cat-icon { background: var(--green-soft); color: var(--green-deep); }
.cat-orange .cat-icon { background: var(--orange-soft); color: var(--orange-deep); }
.cat-blue .cat-icon { background: var(--blue-soft); color: var(--blue-deep); }
.cat-pink .cat-icon { background: var(--pink-soft); color: var(--pink-deep); }
.cat-purple .cat-icon { background: var(--purple-soft); color: var(--purple-deep); }

/* ---------- worksheet cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card.is-hidden { display: none; }
.card-cover { position: relative; display: block; padding: 22px 26px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-cover img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; border: 1px solid var(--line); border-bottom: 0; border-radius: 3px 3px 0 0; box-shadow: 0 -4px 20px rgba(31, 36, 64, .08); }
.card-cover.is-landscape img { aspect-ratio: 297 / 210; }
.card-tag { position: absolute; left: 12px; top: 12px; font-weight: 600; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; background: var(--white); color: var(--ink-soft); padding: 4px 9px; border-radius: 4px; border: 1px solid var(--line); z-index: 1; }
.accent-green .card-cover { background: var(--green-soft); }
.accent-orange .card-cover { background: var(--orange-soft); }
.accent-blue .card-cover { background: var(--blue-soft); }
.accent-pink .card-cover { background: var(--pink-soft); }
.accent-purple .card-cover { background: var(--purple-soft); }
.accent-yellow .card-cover { background: var(--yellow-soft); }
.pick-btn { position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; color: transparent; transition: border-color .15s; }
.pick-btn svg { width: 18px; height: 18px; }
.pick-btn:hover { border-color: var(--ink); }
.pick-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .chip { align-self: flex-start; }
.card-body h3 { margin: 2px 0 0; font-size: 1.2rem; }
.card-body h3 a { color: var(--ink); }
.card-body p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; flex: 1; }
.card-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta svg { width: 14px; height: 14px; }
.card-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card-actions .btn { flex: 1; }

/* ---------- series rail */
.rail { list-style: none; padding: 0 0 12px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail-step { scroll-snap-align: start; }
.rail-step a { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 18px 16px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); height: 100%; position: relative; transition: box-shadow .2s, border-color .2s; }
.rail-step a:hover { text-decoration: none; box-shadow: var(--shadow); border-color: var(--line-strong); }
.rail-step img { width: 100%; max-width: 150px; border: 1px solid var(--line); border-radius: 3px; align-self: center; margin: 6px 0 4px; }
.rail-num { font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.rail-num::before { content: "Book "; }
.rail-step strong { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; }
.rail-step span:not(.rail-num) { font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- steps / how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; display: block; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.step-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.step-icon svg { width: 24px; height: 24px; }
.steps-vertical { grid-template-columns: 1fr; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.skill-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skill-cloud li { font-weight: 500; font-size: .86rem; padding: 7px 12px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }

/* ---------- faq */
.faq { max-width: 760px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex: none; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* ---------- page heads + listings */
.page-head { padding: 32px 0 30px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-head-row { display: flex; align-items: flex-start; gap: 18px; }
.page-head h1 { margin-bottom: .25em; }
.page-head .lead { margin-bottom: 0; }
.page-icon { width: 60px; height: 60px; flex: none; border-radius: 12px; padding: 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); margin-top: 6px; }
.tint-green .page-icon { background: var(--green-soft); color: var(--green-deep); border-color: transparent; }
.tint-orange .page-icon { background: var(--orange-soft); color: var(--orange-deep); border-color: transparent; }
.tint-blue .page-icon { background: var(--blue-soft); color: var(--blue-deep); border-color: transparent; }
.tint-pink .page-icon { background: var(--pink-soft); color: var(--pink-deep); border-color: transparent; }
.tint-purple .page-icon { background: var(--purple-soft); color: var(--purple-deep); border-color: transparent; }
.tint-yellow .page-icon { background: var(--yellow-soft); color: var(--yellow-deep); border-color: transparent; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter { cursor: pointer; padding: 7px 14px; border-radius: 6px; text-transform: none; letter-spacing: 0; font-size: .88rem; }
.chip-filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.results-line { color: var(--muted); font-weight: 500; font-size: .9rem; margin-bottom: 18px; }
.empty { text-align: center; padding: 48px 20px; color: var(--ink-soft); }
.big-doodle { display: inline-block; width: 72px; margin: 0 auto 14px; color: var(--muted); }

/* ---------- resource page */
.resource-head { padding-bottom: 44px; }
.resource-hero { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 44px; align-items: start; }
@media (max-width: 760px) { .resource-hero { grid-template-columns: 1fr; } .resource-cover { max-width: 280px; } }
.resource-cover img { border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 16px 36px rgba(31, 36, 64, .14); }
.resource-cover.is-landscape { max-width: 100%; }
.kid-line { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.25rem; color: var(--accent); margin-bottom: .5em; }
.facts { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .92rem; }
.facts svg { width: 18px; height: 18px; color: var(--accent); }
.facts b { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pick-btn-text svg { width: 18px; height: 18px; color: transparent; }
.pick-btn-text[aria-pressed="true"] svg { color: var(--accent); }
.skills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.skills-label { font-weight: 600; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.resource-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
@media (max-width: 960px) { .resource-grid { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin: 16px 0 44px; }
.gallery-item { padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); cursor: zoom-in; overflow: hidden; transition: border-color .2s, box-shadow .2s; text-align: left; }
.gallery-item:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; }
.gallery-item.is-landscape img { aspect-ratio: 297 / 210; }
.gallery-item span { display: block; padding: 6px 10px; font-size: .74rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); letter-spacing: .03em; }
.inside { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.inside li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); align-items: baseline; font-size: .95rem; }
.inside li:last-child { border-bottom: 0; }
.inside b { color: var(--accent); font-size: .82rem; font-weight: 600; letter-spacing: .03em; }
.inside-plain li, .inside li.no-range { grid-template-columns: 1fr; }
.notes-box { margin-top: 40px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 26px 30px; }
.notes-box h2 { font-size: 1.5rem; }
.notes-box ul { padding-left: 20px; color: var(--ink-soft); }
.notes-box li { margin-bottom: 7px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.side-card h3 { font-size: 1.1rem; margin-bottom: .8em; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-soft); font-size: .93rem; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.side-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: .92rem; }
.side-link svg { width: 15px; }
.mini-rail { list-style: none; padding: 0; margin: 0 0 16px; }
.mini-rail li a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; color: var(--ink-soft); font-size: .92rem; }
.mini-rail li a:hover { background: var(--paper); text-decoration: none; }
.mini-rail span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .74rem; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); flex: none; }
.mini-rail .is-current a { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.mini-rail .is-current span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(31, 36, 64, .9); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 4px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox button { position: absolute; background: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); background: #fff; padding: 6px 14px; border-radius: 6px; font-weight: 600; font-size: .85rem; }

/* ---------- prose pages */
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.7em; font-size: 1.6rem; }
.prose ul, .prose ol.numbered { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; font-size: .93rem; margin: 10px 0 24px; }
.table th, .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--paper); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.cta-box { margin-top: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.cta-box h3 { font-size: 1.45rem; }
.picks-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.picks-toolbar .results-line { margin: 0; }

/* ---------- footer */
.site-footer { background: var(--ink); color: #c9ccdd; padding: 52px 0 24px; margin-top: 48px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: #9fb8a8; }
.site-footer .brand-mark { color: #fff; }
.site-footer p { color: #aeb2c8; font-size: .93rem; margin-top: 16px; max-width: 46ch; }
.site-footer .fine { font-size: .8rem; color: #868ba8; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer a { color: #d7dae8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #868ba8; }

/* ---------- toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 500; font-size: .92rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 95; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .site-footer, .pick-btn, .cta-row, .toast { display: none !important; } body { background: #fff; } }

/* ======================================================================
   v2: Worksheets & Printables layout — video hero, photo tiles, carousel, tabs,
   filter sidebar, sticky download bar, reveal animations
   ====================================================================== */
.brand-text span { order: 0; }
.brand-text strong { order: 1; font-size: 1.15rem; }
.section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--accent); background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.text-link svg { width: 16px; height: 16px; }

/* hero with video */
.hero-video { position: relative; min-height: 580px; display: flex; align-items: center; background: var(--ink); color: #fff; border-bottom: 0; padding: 0; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 36, 64, .92) 0%, rgba(31, 36, 64, .78) 40%, rgba(31, 36, 64, .28) 100%); }
.hero-video .hero-inner { display: block; position: relative; padding: 84px 0 72px; }
.hero-copy { max-width: 640px; }
.hero-video h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.hero-video .lead { color: rgba(255, 255, 255, .86); }
.hero-video .eyebrow { color: #b9d6c6; }
.search-hero { position: relative; max-width: 640px; border-color: transparent; box-shadow: 0 14px 40px rgba(0, 0, 0, .25); padding: 8px 8px 8px 18px; }
.search-hero input { font-size: 1.05rem; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 30; overflow: hidden; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 14px; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.is-active { background: var(--paper); text-decoration: none; }
.suggest img { width: 30px; height: 42px; object-fit: cover; object-position: top; border-radius: 3px; border: 1px solid var(--line); }
.suggest small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; color: rgba(255, 255, 255, .7); margin: 14px 0 26px; }
.quick-links a { color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 4px 12px; font-weight: 500; }
.quick-links a:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.hero-video .stats { color: rgba(255, 255, 255, .8); }
.hero-video .stats strong { color: #fff; }
@media (max-width: 720px) { .hero-video { min-height: 0; } .hero-video .hero-inner { padding: 56px 0 48px; } .hero-shade { background: linear-gradient(180deg, rgba(31, 36, 64, .9), rgba(31, 36, 64, .82)); } .search-hero .btn { padding: 11px 14px; } }

/* category photo tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .25s, border-color .25s, transform .25s; }
.tile:nth-child(1), .tile:nth-child(2) { grid-column: span 3; }
.tile:hover { text-decoration: none; box-shadow: var(--shadow); border-color: var(--line-strong); transform: translateY(-3px); }
.tile-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.tile:nth-child(1) .tile-media, .tile:nth-child(2) .tile-media { aspect-ratio: 16 / 8; }
.tile-media img, .tile-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s; }
.tile-media video { opacity: 0; }
.tile.is-playing .tile-media video { opacity: 1; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.tile-kicker { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tile-body strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.tile-blurb { color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }
.tile-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--accent); margin-top: 6px; }
.tile-link svg { width: 16px; height: 16px; transition: transform .2s; }
.tile:hover .tile-link svg { transform: translateX(3px); }
.tiles-compact .tile, .tiles-compact .tile:nth-child(1), .tiles-compact .tile:nth-child(2) { grid-column: span 2; }
.tiles-compact .tile-media, .tiles-compact .tile:nth-child(-n+2) .tile-media { aspect-ratio: 16 / 9; }
.tiles-compact .tile-blurb { display: none; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } .tile, .tile:nth-child(1), .tile:nth-child(2), .tiles-compact .tile { grid-column: span 1; } .tile:nth-child(1) .tile-media, .tile:nth-child(2) .tile-media { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* carousel */
.carousel { overflow: hidden; margin: 0 -6px; padding: 6px; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 268px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.car-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* tabs */
.tablist { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
[role="tab"] { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink-soft); margin-bottom: -1px; white-space: nowrap; }
[role="tab"][aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
[role="tab"] span { display: inline-block; margin-left: 8px; font-size: .72rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: var(--muted); font-weight: 600; }
.tab-intro { color: var(--ink-soft); margin-bottom: 18px; max-width: 70ch; }

/* how it works */
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
.how-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper); box-shadow: var(--shadow); }
.how-media video, .how-media img { width: 100%; height: 100%; object-fit: cover; }
.steps-list { grid-template-columns: 1fr; gap: 12px; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; }
.steps-list strong { margin: 2px 0 4px; font-size: 1.1rem; }
.steps-list .step-icon { flex: none; }

/* dark band */
.section-dark { background: var(--ink); color: #e6e8f2; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #c9ccdd; }
.eyebrow-light { color: #b9d6c6; }
.ticks-light li { color: #d7dae8; border-color: rgba(255, 255, 255, .12); }
.ticks-light svg { color: #9fd1b4; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--paper); }
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

/* listing with filter sidebar */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 86px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filters-head h2 { font-size: 1.1rem; margin: 0; }
.filters .search-inline { margin: 10px 0 14px; box-shadow: none; padding: 4px 6px 4px 12px; }
.filters .search-inline input { font-size: .92rem; }
.filter-group { border: 0; padding: 12px 0; margin: 0; border-top: 1px solid var(--line); }
.filter-group legend { font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 5px 0; cursor: pointer; color: var(--ink-soft); clear: both; }
.filter-group label:hover { color: var(--ink); }
.filter-group input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.filter-group em { font-style: normal; margin-left: auto; color: var(--muted); font-size: .78rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.dot-green { background: var(--green); } .dot-orange { background: var(--orange); } .dot-blue { background: var(--blue); } .dot-pink { background: var(--pink); } .dot-purple { background: var(--purple); }
.listing-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.listing-toolbar .results-line { margin: 0; flex: 1; }
.filters-toggle { display: none; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.sort select { font: inherit; font-size: .9rem; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.chip-active { cursor: pointer; background: var(--accent-soft); color: var(--accent-deep); border-color: transparent; text-transform: none; letter-spacing: 0; font-size: .82rem; gap: 6px; }
.grid-listing { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(88vw, 340px); z-index: 80; transform: translateX(-105%); transition: transform .25s; overflow-y: auto; border-radius: 0; box-shadow: var(--shadow); top: 0; }
  .filters.is-open { transform: none; }
  body.filters-open::after { content: ""; position: fixed; inset: 0; background: rgba(31, 36, 64, .4); z-index: 70; }
}

/* sticky download bar */
.sticky-bar { position: fixed; left: 0; right: 0; top: 70px; z-index: 40; background: rgba(250, 248, 243, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .25s; }
.sticky-bar.is-on { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.sticky-inner img { width: 36px; border-radius: 3px; border: 1px solid var(--line); }
.sticky-inner div { flex: 1; min-width: 0; line-height: 1.2; }
.sticky-inner strong { display: block; font-family: var(--font-head); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-inner span { font-size: .78rem; color: var(--muted); }
@media (max-width: 600px) { .sticky-inner span { display: none; } }

/* reveal */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

.filters-head-actions { display: flex; align-items: center; gap: 12px; }
.filters-done { display: none; }
@media (max-width: 900px) { .filters-done { display: inline-flex; } }

/* hub pages + age links */
.hub-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hub-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.hub-link:hover { text-decoration: none; border-color: var(--line-strong); box-shadow: var(--shadow); }
.hub-link strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.hub-link span { font-size: .85rem; color: var(--muted); }
.hub-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-nav a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.hub-nav a:hover { background: var(--white); text-decoration: none; }
.hub-page .faq { max-width: none; }

/* brand mark */
.brand-mark { width: 44px; height: 44px; }
.site-footer .brand-mark { filter: brightness(0) invert(1); opacity: .9; }

/* tighter nav now there are more links */
.nav a { padding: 8px 9px; font-size: .88rem; }
.nav-picks { margin-left: 4px; }
@media (max-width: 1120px) and (min-width: 901px) { .nav a[href="/worksheets/"] { display: none; } }

.brand-text strong { font-size: 1.05rem; white-space: nowrap; }

.nav a { font-size: .86rem; padding: 8px 8px; }

/* new collections: teal tint + 7-tile layout */
:root { --teal: #2f7f8a; --teal-soft: #e3f0f1; --teal-deep: #23636c; }
.chip-teal { background: var(--teal-soft); color: var(--teal-deep); border-color: transparent; }
.accent-teal .card-cover { background: var(--teal-soft); }
.tint-teal .page-icon { background: var(--teal-soft); color: var(--teal-deep); border-color: transparent; }
.cat-teal .cat-icon { background: var(--teal-soft); color: var(--teal-deep); }
.cat-yellow .cat-icon { background: var(--yellow-soft); color: var(--yellow-deep); }
.dot-teal { background: var(--teal); } .dot-yellow { background: var(--yellow); }
.tile:nth-child(n+6) { grid-column: span 3; }
.tile:nth-child(n+6) .tile-media { aspect-ratio: 16 / 8; }
@media (max-width: 900px) { .tile:nth-child(n+6) { grid-column: span 1; } .tile:nth-child(n+6) .tile-media { aspect-ratio: 16 / 9; } }
.tiles-compact .tile:nth-child(n+6) { grid-column: span 2; }
.tiles-compact .tile:nth-child(n+6) .tile-media { aspect-ratio: 16 / 9; }
.rail { grid-auto-columns: minmax(180px, 1fr); }

/* Browse dropdown */
.nav a { font-size: .92rem; padding: 8px 11px; }
.nav-dd { position: relative; }
.nav-dd-btn { font: inherit; font-size: .92rem; font-weight: 500; color: var(--ink-soft); background: none; border: 0; padding: 8px 11px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { color: var(--ink); background: var(--white); }
.nav-dd-menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 300px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; }
.nav-dd.is-open .nav-dd-menu, .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd-menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 6px; font-size: .92rem; color: var(--ink); }
.nav-dd-menu a:last-child { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; font-weight: 600; }
.nav-dd-menu em { font-style: normal; color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) {
  .nav-dd-btn { display: none; }
  .nav-dd-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0; min-width: 0; background: transparent; }
  .nav-dd-menu a { padding: 12px 12px; }
}

.cat-orange .cat-icon { background: var(--orange-soft); color: var(--orange-deep); }
.cat-blue .cat-icon { background: var(--blue-soft); color: var(--blue-deep); }

.collection-about { padding-top: 8px; }
.collection-about .faq { max-width: none; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Elementor: pages built visually keep the house style ---------- */
html.js body.elementor-editor-active .reveal { opacity: 1; transform: none; }
.elementor-widget-eaw-hero, .elementor-widget-eaw-page-head { width: 100%; }
.e-con.section-dark .section-head p { color: #c9ccdd; max-width: none; }
.elementor-widget-image.photo-card img { display: block; width: 100%; }
.elementor-widget-text-editor.prose > .elementor-widget-container > :first-child, .elementor-widget-text-editor.prose > :first-child { margin-top: 0; }
.elementor-widget-eaw-tiles.prose { max-width: 740px; }
[hidden] { display: none !important; }

/* Elementor layouts: book page, header/footer builder, forms */
header#masthead { position: sticky !important; top: 0; z-index: 50 !important; }
body.admin-bar header#masthead { top: 32px; }
#masthead .site-header { position: static; }
.eaw-flush > :first-child { margin-top: 0; }
.eaw-flush > .side-card:last-child { margin-bottom: 0; }
.elementor-widget[class*="elementor-widget-eaw-book-"]:empty { display: none; }
.eaw-form .wpforms-container { margin: 0; }
.eaw-form .wpforms-form input[type=text], .eaw-form .wpforms-form input[type=email], .eaw-form .wpforms-form textarea { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); font: inherit; padding: 11px 14px; height: auto; max-width: 100%; }
.eaw-form .wpforms-form .wpforms-field-label { font-weight: 600; color: var(--ink); }
.eaw-form .wpforms-form button[type=submit] { background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 8px; font: inherit; font-weight: 600; padding: 12px 24px; height: auto; cursor: pointer; }
.eaw-form .wpforms-form button[type=submit]:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.eaw-form .wpforms-container { --wpforms-button-background-color: #2f6b4f; --wpforms-button-border-color: #2f6b4f; --wpforms-button-text-color: #fff; --wpforms-field-border-radius: 8px; --wpforms-button-border-radius: 8px; --wpforms-label-color: #1f2440; --wpforms-field-background-color: #fff; }
.eaw-form .wpforms-container .wpforms-form button[type=submit].wpforms-submit { background-color: #2f6b4f !important; border-color: #2f6b4f !important; color: #fff !important; }
/* ten collections: the last three share a row instead of leaving one tile alone */
.tiles:not(.tiles-compact) .tile:nth-child(n+8):nth-last-child(-n+3), .tiles:not(.tiles-compact) .tile:nth-child(n+8):nth-last-child(-n+3) ~ .tile { grid-column: span 2; }
.tiles:not(.tiles-compact) .tile:nth-child(n+8):nth-last-child(-n+3) .tile-media, .tiles:not(.tiles-compact) .tile:nth-child(n+8):nth-last-child(-n+3) ~ .tile .tile-media { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .tiles .tile:nth-child(n+8):nth-last-child(-n+3) { grid-column: span 1; } }
