/* ============================================
   The Recipe Ledger - Stylesheet
   ============================================ */

:root {
  --bg: #FDF6EC;
  --text: #2C1810;
  --accent: #C4563A;
  --accent-sage: #6B7F5E;
  --card-surface: #FFFDF8;
  --muted: #7A6B5D;
  --border: #E8DDD0;
  --shadow: rgba(44, 24, 16, 0.08);
  --shadow-hover: rgba(44, 24, 16, 0.15);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
}

/* ---- Reset & Base ---- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(196, 86, 58, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(107, 127, 94, 0.04) 0%, transparent 50%);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
}

/* ---- Site Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  padding: var(--space-lg) var(--space-lg) 0;
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--space-md);
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.site-title:hover {
  opacity: 0.8;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent);
}

/* ---- Header Search (Pagefind) ---- */

.header-search {
  flex: 1;
  max-width: 18rem;
  margin: 0 var(--space-lg);
  position: relative;
}

/* Reset Pagefind defaults */
.header-search .pagefind-ui {
  --pagefind-ui-scale: 1;
  --pagefind-ui-primary: var(--accent);
  --pagefind-ui-text: var(--text);
  --pagefind-ui-background: var(--card-surface);
  --pagefind-ui-border: var(--border);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 0.5rem;
  --pagefind-ui-font: var(--font-body);
  font-family: var(--font-body);
}

/* Form container */
.header-search .pagefind-ui__form {
  position: relative;
  margin: 0;
  padding: 0;
}

/* Hide the default wrapper padding */
.header-search .pagefind-ui__form::before {
  display: none;
}

/* Search input */
.header-search .pagefind-ui__search-input {
  width: 100%;
  padding: 0.5rem 2.25rem 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--card-surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search .pagefind-ui__search-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.header-search .pagefind-ui__search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 86, 58, 0.1);
}

/* Hide the magnifying glass button */
.header-search .pagefind-ui__search-btn {
  display: none;
}

/* Clear button */
.header-search .pagefind-ui__search-clear {
  position: absolute;
  top: 50%;
  right: 0.625rem;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  background: var(--muted);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s;
}

.header-search .pagefind-ui__search-clear:hover {
  opacity: 0.8;
}

.header-search .pagefind-ui__search-clear::before {
  content: '×';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1;
}

/* Results dropdown */
.header-search .pagefind-ui__drawer {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--card-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.15);
  max-height: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Hide stuff we don't need */
.header-search .pagefind-ui__result-thumb,
.header-search .pagefind-ui__result-image,
.header-search .pagefind-ui__filter-panel,
.header-search .pagefind-ui__result-tags {
  display: none !important;
}

/* Results list */
.header-search .pagefind-ui__results {
  padding: 0.5rem;
  list-style: none;
  margin: 0;
}

/* Individual result */
.header-search .pagefind-ui__result {
  margin: 0;
  padding: 0;
}

.header-search .pagefind-ui__result-inner {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.header-search .pagefind-ui__result-inner:hover {
  background: rgba(196, 86, 58, 0.06);
}

/* Result title */
.header-search .pagefind-ui__result-title {
  margin: 0 0 0.125rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.header-search .pagefind-ui__result-link {
  color: var(--text);
  text-decoration: none;
}

.header-search .pagefind-ui__result-link:hover {
  color: var(--accent);
}

/* Result excerpt */
.header-search .pagefind-ui__result-excerpt {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.header-search .pagefind-ui__result-excerpt mark {
  background: rgba(196, 86, 58, 0.15);
  color: inherit;
  padding: 0.1em 0.2em;
  border-radius: 2px;
}

/* Message (no results, loading) */
.header-search .pagefind-ui__message {
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Hide sub-results */
.header-search .pagefind-ui__result-nested {
  display: none;
}

.header-accent {
  max-width: 72rem;
  margin: 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-sage), transparent);
  border-radius: 1px;
}

/* ---- Main Content ---- */

.site-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

/* ---- Hero ---- */

.hero {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  font-style: italic;
  max-width: 30rem;
  margin: 0 auto;
}

/* ---- Index Layout (Sidebar + Content) ---- */

.index-layout {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* ---- Tag Sidebar (TOC) ---- */

.tag-sidebar {
  position: sticky;
  top: 7.5rem;
  max-height: calc(100vh - 8.5rem);
  overflow-y: auto;
}

.tag-toc {
  padding: var(--space-md);
  background: var(--card-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px var(--shadow);
}

.tag-toc-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border);
}

.tag-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.tag-toc-link {
  display: block;
  padding: 0.375rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--text);
  text-transform: capitalize;
  border-radius: 0.375rem;
  transition: background 0.15s, color 0.15s;
}

.tag-toc-link:hover {
  background: rgba(196, 86, 58, 0.08);
  color: var(--accent);
}

/* Hide sidebar on mobile */
@media (max-width: 900px) {
  .index-layout {
    grid-template-columns: 1fr;
  }
  
  .tag-sidebar {
    display: none;
  }
}

/* ---- Index Content ---- */

.index-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* ---- Tag Sections ---- */

.tag-section {
  scroll-margin-top: 6rem;
}

.tag-section-header {
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.tag-section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.tag-section-title {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--text);
}

.tag-section-title a {
  transition: color 0.2s;
}

.tag-section-title a:hover {
  color: var(--accent);
}

/* ---- Recipe Grid ---- */

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: var(--space-lg);
}

/* ---- Recipe Card ---- */

.recipe-card {
  background: var(--card-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 3px var(--shadow);
  animation: fadeInUp 0.5s ease both;
}

.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-hover);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.card-description {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.card-tag-pill {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: capitalize;
  padding: 0.2em 0.6em;
  border-radius: 1rem;
  background: rgba(107, 127, 94, 0.12);
  color: var(--accent-sage);
  letter-spacing: 0.02em;
}

.card-tag-pill:nth-child(3n+1) {
  background: rgba(196, 86, 58, 0.1);
  color: var(--accent);
}

.card-tag-pill:nth-child(3n+2) {
  background: rgba(107, 127, 94, 0.12);
  color: var(--accent-sage);
}

.card-tag-pill:nth-child(3n) {
  background: rgba(122, 107, 93, 0.12);
  color: var(--muted);
}

/* ---- Tag Page ---- */

.tag-page {
  padding-bottom: var(--space-xl);
}

.tag-page-header {
  margin-bottom: var(--space-xl);
}

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

.tag-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  text-transform: capitalize;
  color: var(--text);
}

/* ---- Tag Pills (linked) ---- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.tag-pill {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
  padding: 0.3em 0.85em;
  border-radius: 1rem;
  background: rgba(196, 86, 58, 0.1);
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}

.tag-pill:hover {
  background: var(--accent);
  color: #fff;
}

.tag-pill:nth-child(2n) {
  background: rgba(107, 127, 94, 0.12);
  color: var(--accent-sage);
}

.tag-pill:nth-child(2n):hover {
  background: var(--accent-sage);
  color: #fff;
}

/* ---- Recipe Detail Page ---- */

.recipe-page {
  max-width: 48rem;
  margin: 0 auto;
}

.recipe-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--border);
}

.recipe-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.recipe-description {
  font-size: 1.125rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* ---- Recipe Content (Markdown) ---- */

.recipe-content h1 {
  display: none;
}

.recipe-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--text);
}

.recipe-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
  color: var(--text);
}

.recipe-content p {
  margin-bottom: var(--space-md);
}

.recipe-content strong {
  font-weight: 600;
}

.recipe-content em {
  font-style: italic;
}

.recipe-content ul,
.recipe-content ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.recipe-content li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.recipe-content ul li {
  list-style: none;
  position: relative;
  padding-left: 0.25rem;
}

.recipe-content ul li::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* Checkbox-style ingredient lists */
.recipe-content input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--border);
  border-radius: 3px;
  margin-right: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.recipe-content input[type="checkbox"]:checked {
  background: var(--accent-sage);
  border-color: var(--accent-sage);
}

.recipe-content input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: -1px;
  left: 2px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Override bullet for checkbox list items */
.recipe-content li:has(input[type="checkbox"])::before {
  display: none;
}

.recipe-content ol li {
  padding-left: 0.25rem;
}

.recipe-content ol li::marker {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
}

.recipe-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: var(--space-lg) 0;
}

.recipe-content aside {
  background: rgba(107, 127, 94, 0.08);
  border-left: 3px solid var(--accent-sage);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  font-size: 0.95rem;
}

.recipe-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-md);
  color: var(--muted);
  font-style: italic;
  margin: var(--space-md) 0;
}

/* GitHub-style alert callouts */
.alert {
  border-radius: 0.5rem;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.alert-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}

.alert p:last-child {
  margin-bottom: 0;
}

.alert ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.alert li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.alert li::marker {
  color: inherit;
  opacity: 0.5;
}

.alert-tip {
  background: rgba(107, 127, 94, 0.08);
  border-left: 3px solid var(--accent-sage);
}

.alert-tip .alert-title {
  color: var(--accent-sage);
}

.alert-note {
  background: rgba(80, 120, 180, 0.08);
  border-left: 3px solid #5078B4;
}

.alert-note .alert-title {
  color: #5078B4;
}

.alert-important {
  background: rgba(140, 80, 160, 0.08);
  border-left: 3px solid #8C50A0;
}

.alert-important .alert-title {
  color: #8C50A0;
}

.alert-warning {
  background: rgba(196, 150, 50, 0.08);
  border-left: 3px solid #B8910A;
}

.alert-warning .alert-title {
  color: #B8910A;
}

.alert-caution {
  background: rgba(196, 86, 58, 0.08);
  border-left: 3px solid var(--accent);
}

.alert-caution .alert-title {
  color: var(--accent);
}

/* ---- Footer ---- */

.site-footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.site-footer::before {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--border);
  margin: 0 auto var(--space-lg);
  border-radius: 1px;
}

/* ---- Animation ---- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .site-header {
    padding: var(--space-md) var(--space-md) 0;
  }

  .site-main {
    padding: var(--space-lg) var(--space-md);
  }

  .hero {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .recipe-card {
    padding: var(--space-md);
  }

  .index-content {
    gap: var(--space-xl);
  }
}

@media (min-width: 1200px) {
  .recipe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Holiday Pages - Travel Journal Style
   ============================================ */

:root {
  --hol-ocean: #2B5F75;
  --hol-sienna: #C97B3A;
  --hol-forest: #3D7B60;
  --hol-antique: #D4C5B0;
  --hol-ocean-light: rgba(43, 95, 117, 0.08);
  --hol-sienna-light: rgba(201, 123, 58, 0.10);
  --hol-forest-light: rgba(61, 123, 96, 0.08);
}

/* ---- Nav Separator ---- */

.site-nav .nav-sep {
  color: var(--border);
  margin: 0 0.4em;
  font-weight: 300;
  user-select: none;
}

/* ---- Holiday Page Layout ---- */

.holiday-page {
  max-width: 56rem;
  margin: 0 auto;
}

/* ---- Holiday Header ---- */

.holiday-header {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}

.holiday-header::before {
  content: '';
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%232B5F75' stroke-width='1.5'%3E%3Ccircle cx='50' cy='50' r='38'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%232B5F75'/%3E%3Cline x1='50' y1='8' x2='50' y2='25'/%3E%3Cline x1='50' y1='75' x2='50' y2='92'/%3E%3Cline x1='8' y1='50' x2='25' y2='50'/%3E%3Cline x1='75' y1='50' x2='92' y2='50'/%3E%3Cline x1='20' y1='20' x2='30' y2='30'/%3E%3Cline x1='70' y1='70' x2='80' y2='80'/%3E%3Cline x1='80' y1='20' x2='70' y2='30'/%3E%3Cline x1='30' y1='70' x2='20' y2='80'/%3E%3Cpolygon points='50,5 46,18 54,18' fill='%232B5F75' stroke='none'/%3E%3Ctext x='50' y='18' text-anchor='middle' font-size='9' font-family='serif' fill='%232B5F75' stroke='none'%3EN%3C/text%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.holiday-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--hol-ocean);
  margin-bottom: var(--space-xs);
}

.holiday-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  font-style: italic;
}

/* ---- Destination Badge ---- */

.destination-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--space-sm);
  padding: 0.3em 1em;
  background: var(--hol-forest-light);
  color: var(--hol-forest);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2rem;
}

.destination-badge::before {
  content: '';
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233D7B60'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---- Dotted Divider ---- */

.holiday-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--hol-ocean);
  margin: var(--space-xl) 0 var(--space-md);
  padding-top: var(--space-md);
  position: relative;
}

.holiday-content h2::before {
  content: '\25C8';
  margin-right: 0.4em;
  color: var(--hol-sienna);
  font-size: 0.7em;
  vertical-align: middle;
}

.holiday-content h2::after {
  content: '';
  display: block;
  margin-top: var(--space-xs);
  border-bottom: 2px dotted var(--hol-antique);
}

.holiday-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: var(--space-lg) 0 var(--space-sm);
}

.holiday-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin: var(--space-md) 0 var(--space-sm);
}

.holiday-content p {
  margin-bottom: var(--space-md);
}

.holiday-content ul,
.holiday-content ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.holiday-content li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.holiday-content ul li {
  list-style: none;
  position: relative;
  padding-left: 0.25rem;
}

.holiday-content ul li::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hol-sienna);
  opacity: 0.6;
}

.holiday-content ol li {
  padding-left: 0.25rem;
}

.holiday-content ol li::marker {
  color: var(--hol-ocean);
  font-weight: 600;
  font-family: var(--font-display);
}

.holiday-content a {
  color: var(--hol-ocean);
  text-decoration: underline;
  text-decoration-color: var(--hol-antique);
  text-underline-offset: 0.15em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.holiday-content a:hover {
  color: var(--hol-sienna);
  text-decoration-color: var(--hol-sienna);
}

.holiday-content blockquote {
  border-left: 3px solid var(--hol-ocean);
  padding-left: var(--space-md);
  color: var(--muted);
  font-style: italic;
  margin: var(--space-md) 0;
}

.holiday-content hr {
  border: none;
  height: 0;
  border-bottom: 2px dotted var(--hol-antique);
  margin: var(--space-lg) 0;
}

.holiday-content strong {
  font-weight: 600;
}

.holiday-content em {
  font-style: italic;
}

/* ---- Holiday Tables ---- */

.holiday-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.9rem;
  border: 1px solid var(--hol-antique);
  border-radius: 0.5rem;
  overflow: hidden;
}

.holiday-content thead th {
  background: var(--hol-ocean);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--hol-antique);
}

.holiday-content tbody td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--hol-antique);
  vertical-align: top;
}

.holiday-content tbody tr:last-child td {
  border-bottom: none;
}

.holiday-content tbody tr:nth-child(even) {
  background: var(--hol-ocean-light);
}

.holiday-content tbody tr:hover {
  background: var(--hol-sienna-light);
}

/* ---- Holiday Back Navigation ---- */

.holiday-nav {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 2px dotted var(--hol-antique);
}

.holiday-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.875rem;
  color: var(--hol-ocean);
  font-weight: 500;
  transition: color 0.2s;
}

.holiday-nav a:hover {
  color: var(--hol-sienna);
}

.holiday-nav a::before {
  content: '\2190';
}

/* ---- Holiday Grid (Index Page) ---- */

.holiday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.holiday-card {
  background: var(--card-surface);
  border: 1px solid var(--hol-antique);
  border-radius: 0.75rem;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px var(--shadow);
  text-decoration: none;
  color: inherit;
}

.holiday-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-hover);
  border-color: var(--hol-ocean);
}

.holiday-card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.holiday-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hol-ocean);
}

.holiday-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.holiday-card-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.2em 0.65em;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 1rem;
  background: var(--hol-forest-light);
  color: var(--hol-forest);
}

/* ---- Holiday Hub Intro ---- */

.holiday-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* ---- Holiday Quick Facts ---- */

.holiday-facts {
  margin: var(--space-lg) 0;
}

.holiday-facts table {
  width: auto;
  min-width: 20rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border: 1px solid var(--hol-antique);
  border-radius: 0.5rem;
  overflow: hidden;
}

.holiday-facts th {
  background: var(--hol-ocean);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 0.6rem 1rem;
  text-align: left;
}

.holiday-facts td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--hol-antique);
}

.holiday-facts tr:last-child td {
  border-bottom: none;
}

.holiday-facts tr:nth-child(even) {
  background: var(--hol-ocean-light);
}

/* ---- Map Container ---- */

.map-container {
  margin: var(--space-md) 0 var(--space-lg);
  border: 2px solid var(--hol-antique);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--card-surface);
}

.trip-map-iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
}

/* ---- Holiday Responsive ---- */

@media (max-width: 640px) {
  .holiday-header {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .holiday-header::before {
    width: 2rem;
    height: 2rem;
  }

  .holiday-content h2::before {
    display: none;
  }

  .holiday-grid {
    grid-template-columns: 1fr;
  }

  .holiday-content table {
    font-size: 0.8rem;
  }

  .holiday-content thead th {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }

  .holiday-content tbody td {
    padding: 0.4rem 0.6rem;
  }

  .holiday-facts table {
    width: 100%;
    min-width: 0;
  }

  .trip-map-iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .holiday-header::before {
    display: none;
  }

  .holiday-content table {
    font-size: 0.75rem;
  }

  .holiday-content thead th,
  .holiday-content tbody td {
    padding: 0.35rem 0.5rem;
  }
}

/* ---- Holiday Table Scroll Wrapper ---- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0 var(--space-lg);
}

.table-scroll table {
  margin: 0;
}
