/* ------------------------------------------------------------------
   Free-Printable-Calendar.com — site stylesheet
   Design: draft A "Clear". Brand #004B98.
   Typography: DM Serif Display (headings) + Manrope (everything else),
   the two faces already used in the logo.
   ------------------------------------------------------------------ */

/* ---- tokens ---- */
:root {
  --brand:        #004B98;
  --brand-dark:   #003570;
  --brand-deep:   #00294F;
  --tint:         #E3EDF8;
  --tint-soft:    #F6F9FD;
  --tint-line:    #E6EDF6;
  --ink:          #10233B;
  --ink-2:        #28394E;
  --ink-3:        #3C4C61;
  --muted:        #56687E;
  --line:         #DCE6F2;
  --gold:         #B0780A;
  --white:        #FFFFFF;
  --radius:       12px;
  --wrap:         1240px;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-wrap: balance;
}
p { margin: 0 0 18px; text-wrap: pretty; max-width: 70ch; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  background: var(--brand); color: #fff; padding: 12px 20px;
  border-radius: 0 0 8px 8px; font-weight: 700; transition: top .15s;
}
.skip:focus { top: 0; color: #fff; text-decoration: none; }

/* ---- header ---- */
.top { background: #fff; border-bottom: 1px solid var(--tint-line); }
.top-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px 0;
}
.brand-link { display: inline-flex; position: relative; text-decoration: none; }
/* 'Since 2015' sits under the words of the logo (they start at 19% of the logo width) */
.brand-since { position: absolute; left: 19%; top: 40px; font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: 0.08em; color: #4A5D78; white-space: nowrap; }
.brand-link img { width: 300px; height: 48px; }
.top-r { display: flex; align-items: center; gap: 16px; }
.srch {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid #CFDDEC; border-radius: 999px;
  padding: 0 20px; min-height: 52px; min-width: 260px; background: #fff;
}
.srch input {
  border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--ink); width: 100%;
}
.srch input::placeholder { color: var(--muted); }
.burger {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1.5px solid #CFDDEC;
  border-radius: 10px; color: var(--brand); background: #fff; cursor: pointer;
}

/* ---- primary nav ---- */
.bar { background: var(--brand); }
.bar ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bar a {
  display: block; color: #fff; font-weight: 600; font-size: 17px;
  padding: 17px 20px; border-radius: 8px 8px 0 0;
}
.bar a:hover { background: var(--brand-dark); text-decoration: none; color: #fff; }
.bar a[aria-current="page"] { background: #fff; color: var(--brand-dark); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 50; display: none;
  background: rgba(4, 22, 42, .55);
}
.drawer[data-open="true"] { display: block; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(340px, 88vw);
  background: #fff; padding: 18px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
}
.drawer-close {
  align-self: flex-end; width: 48px; height: 48px; border: 1.5px solid #CFDDEC;
  border-radius: 10px; background: #fff; color: var(--brand); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer-panel a {
  display: flex; align-items: center; min-height: 52px;
  padding: 0 14px; border-radius: 8px;
  font-weight: 700; font-size: 18px; color: var(--ink);
}
.drawer-panel a:hover { background: var(--tint-soft); text-decoration: none; }
.drawer-panel a[aria-current="page"] { background: var(--tint); color: var(--brand-dark); }
.drawer-panel hr { border: 0; border-top: 1px solid var(--tint-line); margin: 10px 0; width: 100%; }

/* ---- ad slots: reserved boxes, invisible until a unit is dropped in ---- */
.ad { display: flex; flex-direction: column; overflow: hidden; }
/* "Advertisement" above every slot, so the ad does not pass for our own menu or content */
.ad-label { display: block; font-size: 14px; line-height: 1.2; font-weight: 500; color: #6B7A8C; text-align: left; margin: 0 0 6px; }
/* no label over a slot that Google left empty */
.ad:has(ins[data-ad-status="unfilled"]) .ad-label { visibility: hidden; }
.ad-in { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-width: 0; }
.ad-lead   { min-height: 100px; margin: 22px 0; }
.ad-inline { min-height: 260px; margin: 12px 0 36px; }
.ad-rail   { min-height: 600px; }
.ad-in > ins { display: block; width: 100%; }
/* The live ad code sits inside its own <div>. In a flex box that div would shrink to
   zero width and AdSense then has no room ("No slot size for availableWidth=0"). */
.ad-in > div { flex: 1 1 100%; width: 100%; min-width: 0; text-align: center; }

/* ---- hero ---- */
.hero {
  background: var(--tint-soft);
  border-bottom: 1px solid var(--tint-line);
  padding: 44px 0 36px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 14px; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-3); margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 22px; border-radius: 10px;
  font-weight: 700; font-size: 17px; border: 2px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn svg { flex-shrink: 0; }
.btn-p { background: var(--brand); color: #fff; }
.btn-p:hover { background: var(--brand-dark); color: #fff; }
.btn-s { background: #fff; color: var(--brand); border-color: #B9CFE6; }
.btn-s:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-w { width: 100%; }

/* ---- month rail ---- */
.rail { padding: 26px 0 4px; }
.rail h2 {
  font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border-radius: 999px; background: #EDF3FA; color: var(--brand-dark);
  font-weight: 700; font-size: 17px; border: 1.5px solid #DAE6F3;
}
.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

/* ---- page shell ---- */
.cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px; padding: 34px 0 56px; align-items: start;
}
section { margin: 0 0 48px; }
.sec-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-bottom: 2px solid var(--tint-line); padding-bottom: 12px; margin-bottom: 26px;
}
.sec-h h2 { font-size: clamp(25px, 3vw, 34px); }
.sec-h a {
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 17px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}

/* ---- cards ---- */
.grid3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; align-items: start;
}
.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card:hover { border-color: #9EBDDC; box-shadow: 0 6px 22px rgba(0, 75, 152, .10); }
.thumb {
  background: var(--tint-soft); border-bottom: 1px solid var(--tint-line);
  padding: 16px; display: flex; align-items: center; justify-content: center;
}
.thumb img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.card-b { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-b h3 {
  font-family: Manrope, sans-serif; font-weight: 800;
  font-size: 19px; line-height: 1.3; color: var(--ink);
}
.card-b h3 a { color: inherit; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 14px; font-weight: 700; color: var(--ink-3);
  background: #EDF3FA; border-radius: 6px; padding: 4px 10px;
}
.card-a { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; }
.card-a .btn { flex-grow: 1; min-height: 48px; font-size: 16px; padding: 0 14px; }

/* ---- month blocks ---- */
.mblock { margin-bottom: 38px; }
.mblock-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mblock-h h3 { font-size: clamp(21px, 2.4vw, 26px); color: var(--brand-dark); }
.mblock-h a {
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}

/* ---- sidebar ---- */
.side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 20px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.box-h { background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; padding: 14px 18px; }
.box ul { list-style: none; margin: 0; padding: 6px 0; }
.box li a {
  display: flex; align-items: center; min-height: 48px; padding: 6px 18px;
  font-size: 17px; font-weight: 600; border-bottom: 1px solid #F0F5FA;
}
.box li:last-child a { border-bottom: 0; }
.box li a:hover { background: var(--tint-soft); text-decoration: none; }
.tip { background: var(--tint-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tip h2 { font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.tip p { font-size: 17px; color: var(--ink-3); margin: 0; }

/* ---- prose ---- */
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 16px; }
.prose h3 { font-size: clamp(20px, 2.2vw, 24px); margin: 28px 0 10px; color: var(--brand-dark); }
.prose p { font-size: 18px; color: var(--ink-2); }
.prose ul { font-size: 18px; color: var(--ink-2); padding-left: 22px; margin: 0 0 18px; max-width: 70ch; }
.prose li { margin-bottom: 8px; }

/* ---- reviews ---- */
.rev { background: var(--tint-soft); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.rev-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.score { font-family: "DM Serif Display", Georgia, serif; font-size: 34px; line-height: 1; }
.rev-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.quote { background: #fff; border: 1px solid #E1EAF4; border-radius: 10px; padding: 18px; }
.quote p { font-size: 17px; margin: 0 0 10px; color: var(--ink-2); }
.quote cite { font-size: 15px; font-weight: 700; color: var(--muted); font-style: normal; }

/* ---- breadcrumb + month page ---- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 18px 0 0; font-size: 17px; color: var(--muted);
  list-style: none; margin: 0;
}
.crumb li { display: flex; align-items: center; gap: 8px; }
.crumb a { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.page-h { padding: 8px 0 26px; }
.page-h h1 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; margin-bottom: 12px; }
.page-h p { font-size: clamp(17px, 1.7vw, 19px); color: var(--ink-3); margin: 0; }
.preview {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px; align-items: start; margin-bottom: 44px;
}
.pv-img { background: var(--tint-soft); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.pv-img img { aspect-ratio: 1600 / 1131; object-fit: contain; width: 100%; }
.pv-img.is-portrait img { aspect-ratio: 1131 / 1600; }
.dl { border: 2px solid var(--brand); border-radius: 14px; overflow: hidden; }
.dl h2 { background: var(--brand); color: #fff; padding: 16px 20px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 19px; }
.dl-b { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.dl-note { font-size: 16px; color: var(--muted); margin: 0; }

/* segmented filter */
.segs {
  display: flex; gap: 8px; background: #EDF3FA; border-radius: 12px;
  padding: 6px; margin-bottom: 22px; width: fit-content;
}
.seg {
  min-height: 46px; display: inline-flex; align-items: center; padding: 0 22px;
  border: 0; background: transparent; border-radius: 8px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 17px; color: var(--ink-3);
}
.seg[aria-pressed="true"] { background: #fff; color: var(--brand-dark); box-shadow: 0 1px 3px rgba(16, 35, 59, .14); }

/* prev / next */
.pager {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 2px solid var(--tint-line); border-bottom: 2px solid var(--tint-line);
  padding: 20px 0; margin-bottom: 44px;
}
.pager a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; min-height: 48px; }
.pager b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 24px; }

/* ---- footer ---- */
footer { background: var(--brand-deep); color: #C6D8EA; padding: 48px 0 30px; margin-top: 20px; }
.f-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid #0C426F;
}
footer h2 {
  font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: #8FB4D6; margin: 0 0 16px;
}
.f-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.f-list { display: flex; flex-direction: column; }
footer a { color: #DFEDF9; font-size: 17px; display: inline-flex; align-items: center; min-height: 44px; }
footer a:hover { color: #fff; }
.f-bot { padding-top: 22px; font-size: 16px; color: #8FB4D6; }
.f-bot p { max-width: none; margin: 0 0 8px; }

/* ---- cookie notice ---- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 2px solid var(--brand);
  box-shadow: 0 -4px 20px rgba(16, 35, 59, .14); padding: 16px 0;
}
.cookie[hidden] { display: none; }
.cookie-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie p { margin: 0; font-size: 17px; flex-grow: 1; }
.cookie .btn { min-height: 48px; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .preview { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .ad-rail { min-height: 280px; }
}
@media (max-width: 900px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .top-in { padding: 14px 0; }
  .brand-link img { width: 236px; height: 38px; }
  .brand-since { top: 31px; font-size: 10px; }
  .srch { display: none; }
  .burger { display: inline-flex; }
  .bar { display: none; }
  .hero { padding: 28px 0 26px; }
  .hero-cta .btn { flex-grow: 1; }
  .sec-h { flex-direction: column; align-items: flex-start; gap: 6px; }
  .grid3, .rev-g { grid-template-columns: minmax(0, 1fr); }
  .ad-lead { min-height: 100px; }
  .ad-inline { min-height: 250px; }
  .f-top { grid-template-columns: 1fr; gap: 28px; }
  .f-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pager { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
  .segs { width: 100%; }
  .seg { flex-grow: 1; justify-content: center; padding: 0 10px; }
  .cookie-in { gap: 12px; }
  .cookie .btn { width: 100%; }
}

/* ---- print: just the calendar ---- */
@media print {
  .top, .bar, .ad, .side, footer, .cookie, .pager, .segs, .skip, .rail, .hero-cta, .drawer { display: none !important; }
  body { font-size: 12pt; }
  .cols, .preview { grid-template-columns: 1fr; gap: 0; }
  .pv-img { border: 0; padding: 0; background: none; }
  a[href]::after { content: ""; }
}

/* ==================================================================
   Additions for the month hub (22 Nov 2026)
   All layouts on one page, facts, holiday table, FAQ, comments.
   ================================================================== */
:root {
  --warm:      #C2410C;   /* download buttons */
  --warm-dark: #9A3412;
}
html { scroll-behavior: smooth; }
section[id], nav[id] { scroll-margin-top: 16px; }
.small, small { font-size: 16px; color: var(--muted); }

/* header without the search box */
.top-in { min-height: 88px; }

/* download button */
.btn-d { background: var(--warm); color: #fff; }
.btn-d:hover { background: var(--warm-dark); color: #fff; }

/* heading block */
.page-h { padding: 8px 0 18px; }
.byline { font-size: 16px; color: var(--muted); margin: 12px 0 0; }
.byline a { font-weight: 600; }
.crumb li[aria-current] { color: var(--ink-3); font-weight: 600; }

/* four quick facts */
.quick {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--tint-soft); overflow: hidden;
}
.quick > div { padding: 14px 18px; border-left: 1px solid var(--line); }
.quick > div:first-child { border-left: 0; }
.quick dt { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quick dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.35; }
.quick dd span { font-weight: 600; color: var(--ink-3); }

/* ad slots: the reserved heights */
.ad-lead   { min-height: 100px; margin: 18px 0 6px; }
.ad-inline { min-height: 280px; margin: 0 0 44px; }
.ad-rail   { min-height: 600px; }
.ad-ph {
  display: flex; align-items: center; justify-content: center; width: 100%; align-self: stretch;
  border: 2px dashed #B9CFE6; border-radius: 10px; background: #F3F7FC;
  color: var(--muted); font-size: 15px; font-weight: 700;
}

/* layout tiles */
.tiles { display: grid; gap: 24px; align-items: stretch; }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { scroll-margin-top: 16px; }
.tile .thumb { position: relative; padding: 14px; cursor: zoom-in; }
.tile .thumb img { width: 100%; height: auto; aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
.zoom-hint {
  position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16, 35, 59, .82); color: #fff; font-size: 14px; font-weight: 700;
  padding: 6px 10px; border-radius: 8px;
}
.tile .cap { font-size: 17px; color: var(--ink-3); margin: 0; }
.tile .card-a .btn { min-height: 52px; font-size: 17px; }
.tile .more {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  font-weight: 700; font-size: 16px;
}
.terms-note { font-size: 16px; color: var(--muted); margin: 18px 0 0; max-width: none; }
section { margin: 0 0 44px; }

/* facts table */
.facts { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); font-size: 18px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 13px 18px; border-bottom: 1px solid var(--tint-line); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 34%; background: var(--tint-soft); font-weight: 700; color: var(--ink-2); }
.facts td { color: var(--ink); }

/* holiday table */
.table-scroll { overflow-x: auto; margin: 0 0 14px; }
.days { width: 100%; border-collapse: collapse; font-size: 18px; min-width: 520px; }
.days th, .days td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--tint-line); }
.days thead th { background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; }
.days tbody tr:nth-child(even) { background: var(--tint-soft); }
.days small { color: var(--muted); }
.pill { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EDF3FA; color: var(--ink-3); white-space: nowrap; }
.pill-f { background: var(--brand); color: #fff; }

/* print steps and FAQ */
.steps { font-size: 18px; color: var(--ink-2); padding-left: 24px; margin: 0 0 18px; max-width: 70ch; }
.steps li { margin-bottom: 10px; }
.faq h3 { font-family: Manrope, sans-serif; font-weight: 800; font-size: 20px; color: var(--ink); margin: 24px 0 6px; }
.faq h3:first-child { margin-top: 0; }

/* current month in chips and sidebar */
.chip.is-current { background: var(--brand); color: #fff; border-color: var(--brand); }
.box li a[aria-current="page"] { background: var(--tint); color: var(--brand-dark); font-weight: 800; }
.side { position: static; }
.rail { padding: 0 0 40px; }

/* ratings and comments (markup comes from the existing comment system) */
.feedback { border: 1px solid var(--line); border-radius: 14px; background: var(--tint-soft); padding: 24px; }
.feedback .rating-container, .feedback .comment-container { max-width: none !important; box-shadow: none !important; margin: 0 0 18px !important; }
.feedback .stars span { font-size: 34px; cursor: pointer; padding: 0 3px; }
.feedback .comment-box { background: #fff; border: 1px solid #E1EAF4; border-radius: 10px; padding: 14px 16px; text-align: left; }
.feedback input[type="text"], .feedback textarea { font: inherit !important; font-size: 17px !important; min-height: 48px; }
.feedback .button, .feedback button[type="submit"] { min-height: 48px; padding: 0 22px; font: inherit; font-weight: 700; border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer; }
.feedback.is-staging form, .feedback.is-staging .stars, .feedback.is-staging .reply-btn { pointer-events: none; opacity: .55; }
.staging-note { font-size: 15px; font-weight: 700; color: var(--warm-dark); background: #FFF4EC; border: 1px solid #F3C9AE; border-radius: 8px; padding: 8px 12px; max-width: none; }

/* enlarged preview */
.zoom-dlg { border: 0; border-radius: 14px; padding: 0; width: min(1100px, 96vw); max-height: 94vh; box-shadow: 0 20px 60px rgba(4, 22, 42, .45); }
.zoom-dlg::backdrop { background: rgba(4, 22, 42, .7); }
.zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.zoom-bar b { font-size: 19px; }
.zoom-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.zoom-actions .btn { min-height: 46px; padding: 0 16px; font-size: 16px; }
.zoom-dlg img { width: 100%; height: auto; max-height: calc(94vh - 76px); object-fit: contain; background: #fff; }

@media (max-width: 1100px) {
  .ad-rail { min-height: 280px; }
}
@media (max-width: 900px) {
  .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick > div:nth-child(3) { border-left: 0; }
  .quick > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .top-in { min-height: 0; }
  .tiles-2, .tiles-3 { grid-template-columns: minmax(0, 1fr); }
  .ad-lead { min-height: 100px; }
  .ad-inline { min-height: 280px; }
  .facts th { width: 42%; }
  .facts th, .facts td { padding: 11px 12px; font-size: 17px; }
  .feedback { padding: 16px; }
  .zoom-hint { display: none; }
}
@media print {
  .zoom-dlg, .tile .card-a, .zoom-hint, .feedback, .burger { display: none !important; }
}

/* ==================================================================
   The editor: type into the day boxes, then print (22 Nov 2026)
   ================================================================== */
.ed-jump {
  display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 12px 16px;
  background: var(--tint-soft); border: 1px solid var(--line); border-radius: var(--radius); font-size: 18px;
}
.ed-jump svg { color: var(--brand); flex-shrink: 0; }
.ed-sec { margin-top: 34px; }
.ed-lead { margin: 6px 0 14px; font-size: 18px; color: var(--ink-3, #3A4C63); }
.ed { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 16px; }
.ed-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 14px; }
.ed-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; color: var(--muted); }
.ed-bar input[type=text], .ed-bar select {
  min-height: 48px; padding: 0 12px; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  border: 1px solid #B9CFE6; border-radius: 8px; background: #fff;
}
.ed-bar input[type=text] { width: 290px; max-width: 100%; }
.ed-bar .ed-check { flex-direction: row; align-items: center; gap: 8px; min-height: 48px; font-size: 17px; color: var(--ink); }
.ed-bar .ed-check input { width: 22px; height: 22px; }
.ed-btns { display: flex; gap: 10px; margin-left: auto; }
.ed-btns .btn { min-height: 48px; }
.ed-sheet { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ed-title { font-family: "DM Serif Display", Georgia, serif; font-size: 28px; text-align: center; padding: 10px 8px; color: var(--ink); overflow-wrap: anywhere; }
.ed-has-sub .ed-title { padding-bottom: 0; }
.ed-sub { text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); padding: 2px 8px 10px; }
.ed-sub[hidden] { display: none; }
.ed-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ed-picker .ed-grid { min-height: 620px; grid-template-rows: auto; grid-auto-rows: 1fr; }
.ed-dow { background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; text-align: center; padding: 8px 2px; overflow: hidden; text-overflow: ellipsis; }
.ed-cell { min-height: 96px; padding: 4px 6px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.ed-cell:nth-child(7n) { border-right: 0; }
.ed-empty { background: var(--tint-soft); }
.ed-num { font-weight: 800; font-size: 17px; color: var(--ink); }
.ed-wd { display: none; }
.ed-hd { font-size: 13px; line-height: 1.25; font-weight: 700; color: var(--warm-dark); overflow-wrap: anywhere; }
.ed-cell textarea {
  flex: 1 1 auto; width: 100%; min-height: 44px; margin-top: 2px; padding: 2px 3px; resize: none; overflow: hidden;
  border: 1px dashed transparent; border-radius: 4px; background: transparent;
  font: inherit; font-size: 15px; line-height: 1.3; color: var(--ink);
}
.ed-cell textarea:hover { border-color: #B9CFE6; }
.ed-cell textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; background: #fff; }
.ed-foot { display: none; }
.ed-note, .ed-hub { margin: 10px 0 0; }
.ed-fill { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 700; }
.ed-off { margin: 20px 0; padding: 14px; min-height: 60px; border: 2px dashed #B9CFE6; border-radius: 8px; color: var(--muted); font-size: 15px; }
#fpc-print-root { display: none; }

@media (max-width: 760px) {
  .ed { padding: 12px; }
  .ed-btns { margin-left: 0; width: 100%; }
  .ed-btns .btn { flex: 1 1 0; }
  .ed-bar label { flex: 1 1 100%; }
  .ed-bar input[type=text] { width: 100%; }
  .ed-grid { grid-template-columns: 1fr; }
  .ed-picker .ed-grid { min-height: 0; grid-auto-rows: auto; }
  .ed-dow, .ed-empty { display: none; }
  .ed-cell { min-height: 0; border-right: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 10px; }
  .ed-wd { display: inline; font-weight: 600; color: var(--muted); }
  .ed-num { flex: 0 0 76px; }
  .ed-hd { flex: 1 1 auto; font-size: 14px; }
  .ed-cell textarea { flex: 1 1 100%; min-height: 44px; font-size: 16px; border-color: #D5E1EF; }
}

@media print {
  .ed-bar, .ed-note, .ed-hub, .ed-jump, .ed-fill, .ed-off { display: none !important; }
  html.ed-printing body > *:not(#fpc-print-root) { display: none !important; }
  html.ed-printing, html.ed-printing body { margin: 0; padding: 0; background: #fff; }
  html.ed-printing #fpc-print-root { display: block; }
  #fpc-print-root .ed-sheet { border: 0; border-radius: 0; }
  #fpc-print-root .ed-title { font-size: 26pt; padding: 0 0 0.12in; height: 0.55in; overflow: hidden; }
  #fpc-print-root .ed-has-sub .ed-title { height: 0.45in; padding: 0; }
  #fpc-print-root .ed-sub { font-size: 12pt; color: #000; padding: 0 0 0.08in; height: 0.3in; overflow: hidden; }
  #fpc-print-root .ed-has-sub .ed-grid { height: 6.3in; }
  #fpc-print-root .ed-grid { height: 6.5in; min-height: 0; align-content: stretch; border: 1px solid #000; border-right: 0; border-bottom: 0; }
  #fpc-print-root .ed-dow { background: #fff; color: #000; border-right: 1px solid #000; border-bottom: 1px solid #000; font-size: 11pt; padding: 4px 2px; }
  #fpc-print-root .ed-cell { display: block; min-height: 0; overflow: hidden; border-right: 1px solid #000; border-bottom: 1px solid #000; padding: 3px 5px; }
  #fpc-print-root .ed-cell:nth-child(7n) { border-right: 1px solid #000; }
  #fpc-print-root .ed-empty { background: #fff; }
  #fpc-print-root .ed-num { display: block; font-size: 13pt; color: #000; }
  #fpc-print-root .ed-wd { display: none; }
  #fpc-print-root .ed-hd { display: block; font-size: 8pt; color: #000; font-weight: 600; }
  #fpc-print-root .ed-text { font-size: 9.5pt; line-height: 1.2; white-space: pre-wrap; overflow-wrap: anywhere; color: #000; }
  #fpc-print-root .ed-text-s { font-size: 7.5pt; line-height: 1.15; }
  #fpc-print-root .ed-foot { display: block; text-align: right; font-size: 8pt; color: #444; padding-top: 0.06in; }
}
@media print {
  #fpc-print-root .ed-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  #fpc-print-root .ed-dow { display: block; }
  #fpc-print-root .ed-empty { display: block; }
}

/* Pinterest button in the enlarged preview */
.btn-pin { background: #E60023; border-color: #E60023; color: #fff; }
.btn-pin:hover { background: #AD081B; border-color: #AD081B; color: #fff; }
.btn-pin[hidden] { display: none; }

/* ==================================================================
   Ratings and comments, new design (22 Nov 2026)
   ================================================================== */
.cmx { border: 1px solid var(--line); border-radius: 14px; background: var(--tint-soft); padding: 24px; }
.cmx-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cmx-avg { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmx-avg-t { font-weight: 700; font-size: 18px; }
.stars-show { position: relative; display: inline-block; font-size: 26px; line-height: 1; letter-spacing: 2px; color: #C9D6E6; white-space: nowrap; }
.stars-show::before { content: "\2605\2605\2605\2605\2605"; }
.stars-show > span { position: absolute; left: 0; top: 0; overflow: hidden; color: #E08A00; white-space: nowrap; }
.stars-show > span::before { content: "\2605\2605\2605\2605\2605"; }
.cmx-stars { border: 0; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; min-width: 0; }
.cmx-stars legend { float: left; padding: 0; font-weight: 700; font-size: 17px; line-height: 42px; margin-right: 12px; }
.cmx-stars-in { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.cmx-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cmx-stars label { cursor: pointer; font-size: 34px; line-height: 1; color: #C9D6E6; padding: 4px 3px; }
.cmx-stars label::before { content: "\2605"; }
.cmx-stars label:hover, .cmx-stars label:hover ~ label, .cmx-stars input:checked ~ label { color: #E08A00; }
.cmx-stars input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.cmx-rate-msg { flex: 1 1 100%; margin: 0; font-weight: 700; font-size: 16px; min-height: 0; }
.cmx-rate-msg:empty, .cmx-msg:empty { display: none; }
.cmx-form { margin-top: 20px; display: grid; gap: 6px; max-width: 720px; }
.cmx-form h3 { font-size: 24px; margin-bottom: 4px; }
.cmx-form label { font-weight: 700; font-size: 16px; margin-top: 8px; }
.cmx-form input[type=text], .cmx-form textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 17px; color: var(--ink);
  border: 1px solid #B9CFE6; border-radius: 8px; background: #fff;
}
.cmx-form input[type=text] { min-height: 48px; max-width: 360px; }
.cmx-form textarea { min-height: 110px; resize: vertical; }
.cmx-form .btn { justify-self: start; margin-top: 12px; min-height: 48px; }
.cmx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cmx-note { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.cmx-msg { margin: 6px 0 0; font-weight: 700; font-size: 16px; }
.cmx .is-ok { color: #1B7F3B; }
.cmx .is-err { color: #B42318; }
.cmx-replying { margin: 0; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; }
.cmx-replying button, .cm-reply { border: 0; background: none; padding: 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--brand); cursor: pointer; text-decoration: underline; }
.cmx-count { font-size: 24px; margin: 28px 0 12px; }
.cm-list, .cm-kids { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cm { background: #fff; border: 1px solid #E1EAF4; border-radius: 10px; padding: 14px 16px; }
.cm p { margin: 6px 0 8px; max-width: none; overflow-wrap: anywhere; }
.cm-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cm-h time { font-size: 15px; color: var(--muted); }
.cm-badge { font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 999px; padding: 2px 10px; }
.cm-kids { margin: 10px 0 0 22px; }
.cm-kids .cm { background: var(--tint-soft); }
.cm-site { border-color: #B9CFE6; }
.cm-more { margin-top: 12px; }
.cm-more > summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 10px 0; }
.cm-more[open] > summary { display: none; }
.cmx-none { margin: 22px 0 0; color: var(--muted); }
.cmx.is-staging .cmx-form, .cmx.is-staging .cmx-stars, .cmx.is-staging .cm-reply { pointer-events: none; opacity: .55; }
@media (max-width: 760px) { .cmx { padding: 16px; } .cm-kids { margin-left: 12px; } .cmx-stars label { font-size: 38px; } }
@media print { .cmx { display: none !important; } }

/* ==================================================================
   SFB bar: bookmark or rate prompt, bottom of the window, no pop-up (22 Nov 2026)
   ================================================================== */
.sfb {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 14px; width: min(680px, calc(100% - 24px));
  padding: 12px 14px 12px 18px; background: var(--ink); color: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 30, 60, .28); font-size: 17px; line-height: 1.4;
}
.sfb[hidden] { display: none; }
.sfb-t { margin: 0; flex: 1 1 auto; max-width: none; }
.sfb-t[hidden] { display: none; }
.sfb-t kbd { font: inherit; font-weight: 800; background: rgba(255,255,255,.16); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.sfb a { color: #fff; font-weight: 700; text-decoration: underline; }
.sfb-x { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.sfb-x:hover { background: rgba(255,255,255,.28); }
@media (max-width: 760px) { .sfb { bottom: 8px; font-size: 16px; padding: 10px 10px 10px 14px; } }
@media print { .sfb { display: none !important; } }

/* ---- yearly and holiday pages (23 Nov 2026) ---- */
.sec-lead { margin: -4px 0 16px; color: var(--ink-3); }
.mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mcard {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint-soft); color: var(--ink);
}
.mcard:hover { border-color: var(--brand); background: #fff; text-decoration: none; color: var(--ink); }
.mcard b { font-size: 18px; color: var(--brand-dark); }
.mcard span { font-size: 15px; color: var(--ink-3); }
.mcard small { font-size: 14px; color: var(--muted); line-height: 1.4; }
.days.cmp th[scope="row"] { font-weight: 700; text-align: left; white-space: nowrap; }
.days.cmp td { white-space: nowrap; }
.muted { color: var(--muted); }
@media (max-width: 900px) { .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mcard { padding: 12px; } }
@media print { .mgrid { display: none; } }
.days td:first-child { white-space: nowrap; }
.days thead a { color: #fff; text-decoration: underline; }
.tiles-3:has(> .tile:only-child) { grid-template-columns: minmax(0, 340px); }

/* ---- homepage, site pages, 404/410 (23 Nov 2026) ---- */
.hcard .thumb img { aspect-ratio: auto; }
.hcard h3 a { color: inherit; }
.ycards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ycard {
  display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}
.ycard:hover { border-color: var(--brand); text-decoration: none; color: var(--ink); }
.ycard-pic { display: flex; align-items: center; justify-content: center; height: 170px; background: var(--tint-soft); border-radius: 8px; overflow: hidden; margin-bottom: 4px; }
.ycard-pic img { max-height: 160px; width: auto; max-width: 100%; }
.ycard b { font-size: 17px; color: var(--brand-dark); }
.ycard span { font-size: 15px; color: var(--ink-3); line-height: 1.4; }
.home-ed {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px;
  border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line);
}
.home-ed h2 { margin: 0 0 6px; }
.home-ed p { margin: 0; color: var(--ink-2); }
.home-ed .btn { flex: none; }
.sp-body h2 { margin-top: 28px; }
.sp-body h2:first-child { margin-top: 0; }
.err-main { padding: 28px 0 40px; }
.err-main .chips { margin: 8px 0 32px; }
@media (max-width: 900px) { .ycards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .home-ed { flex-direction: column; align-items: flex-start; padding: 18px; } .ycard-pic { height: 130px; } .ycard-pic img { max-height: 120px; } }
