/* ==========================================================================
   Next Payday — Production Stylesheet
   Mobile-first · Minimal · Fast · Polished
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-primary: #1a73e8;
  --color-primary-hover: #1557b0;
  --color-primary-light: #e8f0fe;
  --color-primary-dark: #174ea6;
  --color-text: #202124;
  --color-text-secondary: #5f6368;
  --color-bg: #ffffff;
  --color-surface: #f1f3f4;
  --color-border: #e0e0e0;
  --color-success: #1e8e3e;
  --color-success-bg: #e6f4ea;
  --color-warning: #d93025;
  --color-warning-bg: #fce8e6;
  --color-accent: #e37400;
  --color-accent-bg: #fef7e0;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --max-width: 840px;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(60,64,67,.1), 0 1px 3px rgba(60,64,67,.08);
  --shadow-md: 0 1px 3px rgba(60,64,67,.15), 0 4px 8px 3px rgba(60,64,67,.1);
  --shadow-lg: 0 8px 24px rgba(60,64,67,.15);
  --transition: .2s ease;
}

/* ==========================================================================
   1. Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { color: var(--color-text); line-height: 1.3; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 12px; }
h2 { font-size: clamp(1.2rem, 3vw, 1.4rem); margin-bottom: 12px; }
h3 { font-size: 1rem; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   2. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

main {
  background: var(--color-bg);
  min-height: 60vh;
}

.main-content {
  padding: 24px 0 48px;
}

/* ==========================================================================
   3. Header / Nav
   ========================================================================== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,.92);
}

.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.site-logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; opacity: .85; }

/* Desktop nav — compact pill style */
.main-nav ul {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 5px 10px;
  border-radius: 16px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-primary-light);
  text-decoration: none;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}
.nav-toggle .hamburger {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--transition);
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: absolute;
  left: 0;
  transition: transform var(--transition);
}
.nav-toggle .hamburger::before { top: -5px; }
.nav-toggle .hamburger::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-5px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .main-nav a {
    display: block;
    padding: 12px 20px;
    font-size: .875rem;
    border-radius: 0;
  }
  .main-nav a:hover { background: var(--color-surface); }
}

/* ==========================================================================
   4. Setup Bar (Homepage)
   ========================================================================== */
.setup-bar {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-bottom: 1px solid #d2e3fc;
  padding: 14px 0;
}

.setup-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.setup-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.setup-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.setup-row select,
.setup-row input[type="date"],
.setup-row input[type="number"] {
  font-size: .8125rem;
  padding: 6px 10px;
  border: 1px solid #d2e3fc;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .setup-bar {
    position: sticky;
    top: 52px;
    z-index: 50;
  }
}

@media (max-width: 479px) {
  .setup-form { flex-direction: column; align-items: stretch; }
  .setup-row { flex-direction: column; align-items: stretch; }
  .setup-row label { flex-direction: column; align-items: flex-start; gap: 4px; }
  .setup-row select,
  .setup-row input[type="date"],
  .setup-row input[type="number"] { width: 100%; }
}

/* ==========================================================================
   5. Countdown Hero
   ========================================================================== */
.countdown-hero {
  text-align: center;
  padding: 48px 16px 36px;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.countdown-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: inline-block;
  padding: 3px 12px;
  background: var(--color-primary-light);
  border-radius: 12px;
}

.countdown-date {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.countdown-days {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, #4285f4 50%, #34a853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  padding-bottom: 4px;
  margin-bottom: 2px;
  letter-spacing: -.03em;
}

.countdown-warning {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-warning);
  background: var(--color-warning-bg);
  border-radius: 20px;
  border: 1px solid rgba(217,48,37,.12);
}
.countdown-warning[hidden] { display: none; }

/* ==========================================================================
   6. Quick Stats
   ========================================================================== */
.quick-stats {
  padding: 0 0 28px;
  margin-top: -8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.stat-value {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: .6875rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 599px) {
  .stats-grid { grid-template-columns: 1fr; gap: 8px; }
  .stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-align: left;
  }
  .stat-value { order: 2; font-size: 1rem; }
  .stat-label { order: 1; font-size: .75rem; text-transform: none; letter-spacing: 0; }
}

/* ==========================================================================
   7. Year Calendar
   ========================================================================== */
.year-calendar {
  padding-bottom: 28px;
}

.year-calendar > .container > h2 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary-light);
}

.calendar-grid {
  display: grid;
  gap: 12px;
}

.month-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.month-block:hover {
  box-shadow: var(--shadow-sm);
}

.month-block h3 {
  padding: 10px 14px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.month-block.three-paycheck {
  border-color: var(--color-success);
  border-left: 3px solid var(--color-success);
}
.month-block.three-paycheck h3 {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.badge-three-paycheck {
  font-size: .625rem;
  font-weight: 700;
  color: var(--color-bg);
  background: var(--color-success);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.payday-list { padding: 2px 0; }

.payday-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 14px;
  font-size: .8125rem;
  border-bottom: 1px solid #f5f5f5;
  transition: background var(--transition);
}
.payday-item:last-child { border-bottom: none; }
.payday-item:hover { background: #fafbfc; }

.payday-date { font-weight: 500; }

.no-paydays {
  padding: 14px;
  color: var(--color-text-secondary);
  font-size: .8125rem;
  font-style: italic;
}

/* Note badges inside calendar items */
.holiday-note,
.weekend-note {
  font-size: .6875rem;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.holiday-note {
  color: var(--color-warning);
  background: var(--color-warning-bg);
}
.weekend-note {
  color: var(--color-accent);
  background: var(--color-accent-bg);
}

li.holiday-warning { background: #fff8f7; }
li.weekend-adjusted { background: #fffdf5; }

@media (min-width: 600px) {
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   8. Tables (SEO pages)
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.payday-table, table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8125rem;
}

thead th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
}
tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: var(--color-primary-light); }

tbody tr.three-paycheck td,
tbody tr.three-paycheck-month td { background: var(--color-success-bg); }
tbody tr.holiday-conflict td { background: var(--color-warning-bg); }
tbody tr.near-holiday td { background: var(--color-accent-bg); }

.table-footnote,
.calendar-info {
  font-size: .8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.three-paycheck-highlight,
.five-payday-highlight {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-success);
  padding: 10px 14px;
  background: var(--color-success-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-success);
  margin-bottom: 16px;
}

.budget-info {
  margin-top: 24px;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  font-size: .875rem;
}
.budget-info h3 { margin-bottom: 8px; }
.budget-info ul { padding-left: 20px; margin-top: 8px; }
.budget-info li { list-style: disc; margin-bottom: 4px; color: var(--color-text-secondary); }

@media (max-width: 479px) {
  thead th, tbody td { padding: 8px 6px; }
}

/* ==========================================================================
   9. FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 32px 0;
  background: var(--color-surface);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Override for when faq-section is inside a .container */
.container > .faq-section { margin: 0; padding-left: 0; padding-right: 0; background: transparent; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-weight: 500;
  font-size: .875rem;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  margin-left: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: 50%;
  transition: all var(--transition);
}
.faq-item[open] summary::after {
  content: "\2212";
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.faq-item summary:hover { background: #fafbfc; }

.faq-item p,
.faq-item .faq-answer {
  padding: 0 16px 16px;
  color: var(--color-text-secondary);
  font-size: .8125rem;
  line-height: 1.7;
}

/* ==========================================================================
   10. Ad Slots (ID-targeted for CLS prevention)
   ========================================================================== */
#ad-slot-top,
#ad-slot-mid,
#ad-slot-bottom {
  background: var(--color-surface);
  text-align: center;
  overflow: hidden;
  margin: 16px auto;
  border-radius: var(--radius-sm);
  width: 100%;
}

/* Hide empty ad slots — remove dashed border, show nothing */
#ad-slot-top:empty,
#ad-slot-mid:empty,
#ad-slot-bottom:empty {
  /* Keep min-height for CLS, but hide visual noise */
  background: transparent;
}

/* Mobile-first (< 728px) */
#ad-slot-top    { min-height: 50px;  max-width: 320px; }
#ad-slot-mid    { min-height: 250px; max-width: 300px; }
#ad-slot-bottom { min-height: 250px; max-width: 300px; }

/* Desktop (≥ 728px) */
@media (min-width: 728px) {
  #ad-slot-top    { min-height: 90px;  max-width: 728px; }
  #ad-slot-mid    { min-height: 60px;  max-width: 468px; }
  #ad-slot-bottom { min-height: 280px; max-width: 336px; }
}

/* ==========================================================================
   11. Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #292a2d;
  color: #e8eaed;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: .8125rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-banner p { flex: 1 1 300px; margin: 0; line-height: 1.5; }
.cookie-banner a { color: #8ab4f8; }

.cookie-banner .btn-accept,
.cookie-banner .btn-decline {
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.cookie-banner .btn-accept { background: var(--color-primary); color: #fff; }
.cookie-banner .btn-accept:hover { background: var(--color-primary-hover); }
.cookie-banner .btn-decline { background: transparent; color: #e8eaed; border: 1px solid #5f6368; }
.cookie-banner .btn-decline:hover { background: rgba(255,255,255,.08); }
.cookie-banner.hidden { display: none; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  font-size: .75rem;
  color: var(--color-text-secondary);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-text-secondary);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-primary); text-decoration: none; }

.copyright { color: var(--color-text-secondary); }

@media (max-width: 479px) {
  .site-footer .container { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   13. Utility Classes
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ==========================================================================
   14. Form Elements
   ========================================================================== */
select,
input[type="text"],
input[type="date"],
input[type="number"],
input[type="email"],
textarea {
  font-family: var(--font-stack);
  font-size: .8125rem;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%235f6368' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-stack);
  font-size: .8125rem;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(26,115,232,.3);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 2px 6px rgba(26,115,232,.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: var(--color-primary-light); border-color: #d2e3fc; }

button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   15. Breadcrumb
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--color-text-secondary);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .separator { margin: 0 2px; }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

/* ==========================================================================
   16. Related Pages
   ========================================================================== */
.related-pages {
  padding: 28px 0;
}
.related-pages h2 { margin-bottom: 14px; }

.related-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.related-links li a {
  display: block;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-primary);
  font-weight: 500;
  font-size: .875rem;
  transition: all var(--transition);
}
.related-links li a:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transform: translateY(-1px);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.related-card {
  display: block;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition);
}
.related-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transform: translateY(-1px);
}
.related-card-title { font-weight: 600; color: var(--color-primary); margin-bottom: 2px; font-size: .875rem; }
.related-card-desc { font-size: .75rem; color: var(--color-text-secondary); }

@media (min-width: 480px) {
  .related-links, .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .related-links, .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   17. Content pages (privacy, about, contact)
   ========================================================================== */
.content-page { padding: 24px 0 48px; }
.content-page h1 { margin-bottom: 24px; }
.content-page h2 { margin-top: 32px; }
.content-page p { color: var(--color-text-secondary); font-size: .875rem; }
.content-page ul, .content-page ol { margin: 0 0 16px 20px; }
.content-page li { list-style: disc; margin-bottom: 4px; color: var(--color-text-secondary); font-size: .875rem; }
.content-page a { text-decoration: underline; }

/* ==========================================================================
   18. SEO page intro content
   ========================================================================== */
.seo-intro { padding: 24px 0 0; }
.seo-intro p { color: var(--color-text-secondary); font-size: .875rem; line-height: 1.7; }

[data-page-type] { padding-bottom: 16px; }

/* ==========================================================================
   19. Print Styles
   ========================================================================== */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .site-header, .nav-toggle, .main-nav,
  .cookie-banner, .setup-bar,
  #ad-slot-top, #ad-slot-mid, #ad-slot-bottom,
  .related-pages, .site-footer { display: none !important; }
  .container { max-width: 100%; padding: 0; }
  main { background: #fff; }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: .75rem;
    color: #555 !important;
  }
  table, .month-block { page-break-inside: avoid; }
  .month-block { border: 1px solid #ccc !important; }
}
