/* TempleYatri — Royal Maroon theme
   Maroon + burnished gold on warm ivory. Playfair Display (display) + DM Sans (text). */

/* Self-hosted fonts (SIL Open Font License), variable weights, latin + latin-ext subsets */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/dmsans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/dmsans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(/assets/fonts/playfair-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(/assets/fonts/playfair-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/playfair-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #221915;
  --ink-soft: #4b3e38;
  --muted: #85756c;
  --ivory: #fbf8f3;
  --paper: #ffffff;
  --sand: #f5ede2;
  --sand-deep: #eadbc6;
  --line: #e9dccb;
  --maroon: #4a1220;
  --maroon-2: #64202f;
  --maroon-dark: #2c0a12;
  --gold: #b0873b;
  --gold-soft: #e3c27e;
  --saffron: #c05319;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(34, 25, 21, .06);
  --shadow: 0 2px 6px rgba(34, 25, 21, .05), 0 18px 40px -18px rgba(34, 25, 21, .28);
  --wrap: 1240px;
  --read: 740px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink);
  background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-2); text-decoration-color: rgba(176, 135, 59, .55); text-underline-offset: 3px; }
a:hover { color: var(--saffron); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.16; color: var(--ink); letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.15em; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--maroon); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--maroon-dark); color: rgba(245, 230, 205, .78); font-size: .78rem; letter-spacing: .02em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: rgba(245, 230, 205, .9); text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px -20px rgba(34, 25, 21, .5);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark .lm-bg { fill: var(--maroon); }
.brand-mark .lm-g { fill: var(--gold-soft); }
.brand-mark .lm-g2 { fill: var(--gold); }
.brand-mark .lm-s { stroke: var(--gold-soft); fill: none; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 9px 15px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--maroon); background: var(--sand); }
.nav .nav-search { display: inline-flex; align-items: center; gap: 6px; }
.nav .nav-search svg { width: 17px; height: 17px; }
.nav .btn { margin-left: 10px; }
.menu-btn, .search-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.menu-btn svg, .search-btn svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #c9a253, #a57c33); color: #fff; box-shadow: 0 8px 20px -10px rgba(165, 124, 51, .8); }
.btn-gold:hover { color: #fff; background: linear-gradient(135deg, #b8913f, #946d2a); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-dark { background: var(--maroon); color: #fff; }
.btn-dark:hover { background: var(--maroon-2); color: #fff; }
.nav .btn-dark { color: #fff; padding: 11px 22px; }
.nav .btn-dark:hover { background: var(--maroon-2); color: #fff; }

/* ---------- Photo heroes (home, listings, articles) ---------- */
.hero, .page-hero, .article-hero { position: relative; isolation: isolate; overflow: hidden; color: #f6ecdc; background: var(--maroon-dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.article-hero.hero-plain { background:
  radial-gradient(ellipse 60% 80% at 88% 0%, rgba(176, 135, 59, .30), transparent 70%),
  radial-gradient(ellipse 50% 70% at 0% 100%, rgba(122, 32, 52, .55), transparent 70%),
  linear-gradient(135deg, #3a0e19 0%, var(--maroon-dark) 100%); }
.article-hero.hero-plain::after { background: none; }
.article-hero.hero-plain .wrap { min-height: clamp(280px, 32vw, 400px); }
.hero::after, .page-hero::after, .article-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::after { background: linear-gradient(90deg, rgba(30, 7, 12, .92) 0%, rgba(44, 10, 18, .72) 45%, rgba(44, 10, 18, .2) 100%), linear-gradient(0deg, rgba(30, 7, 12, .55), transparent 40%); }
.page-hero::after, .article-hero::after { background: linear-gradient(180deg, rgba(30, 7, 12, .55) 0%, rgba(30, 7, 12, .78) 60%, rgba(30, 7, 12, .92) 100%); }
.hero .wrap { padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 9vw, 120px); }
.hero h1 { color: #fff; max-width: 14ch; font-weight: 500; }
.hero h1 em, .article-hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: rgba(246, 236, 220, .86); max-width: 54ch; margin-bottom: 30px; }
.hero .eyebrow, .page-hero .eyebrow, .article-hero .eyebrow { color: var(--gold-soft); }

.hero-search {
  display: flex; align-items: center; gap: 10px; max-width: 620px; padding: 8px 8px 8px 20px;
  background: #fff; border-radius: 999px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.hero-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; padding: 10px 0; }
.hero-search input::placeholder { color: #a39389; }
.hero-search .btn { padding: 12px 24px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .86rem; }
.quick span { color: rgba(246, 236, 220, .7); margin-right: 4px; }
.quick a { color: #fff; text-decoration: none; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.quick a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.page-hero .wrap { padding: 26px 0 64px; }
.page-hero h1 { color: #fff; margin: 0 0 12px; font-weight: 500; }
.page-hero p { color: rgba(246, 236, 220, .85); max-width: 62ch; margin: 0; }
.page-hero .eyebrow { margin-top: 44px; }
.page-hero .hero-search { margin-top: 26px; }

.article-hero .wrap { padding: 26px 0 56px; min-height: clamp(340px, 42vw, 520px); display: flex; flex-direction: column; justify-content: flex-end; }
.article-hero .eyebrow { margin-top: auto; }
.article-hero h1 { color: #fff; max-width: 22ch; font-weight: 500; margin-bottom: 16px; }
.article-hero .sub { color: rgba(246, 236, 220, .86); max-width: 62ch; font-size: 1.08rem; margin-bottom: 18px; }
.article-hero .meta { color: rgba(246, 236, 220, .75); }
.article-hero .meta b { color: #fff; }

.crumbs { font-size: .8rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.hero .crumbs, .page-hero .crumbs, .article-hero .crumbs { color: rgba(246, 236, 220, .7); }
.page-hero .crumbs a, .article-hero .crumbs a { color: rgba(246, 236, 220, .85); text-decoration: none; }
.page-hero .crumbs a:hover, .article-hero .crumbs a:hover { color: var(--gold-soft); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .84rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-alt { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { color: var(--muted); max-width: 46ch; margin: 10px 0 0; }
.link-arrow { font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--maroon); white-space: nowrap; }
.link-arrow::after { content: " \2192"; color: var(--gold); transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

.grid { display: grid; gap: 26px; }
.grid-dest { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Destination cards */
.dest {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; padding: 24px; border-radius: var(--radius); text-decoration: none; color: #fff;
  background: var(--maroon-2); box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s;
}
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.dest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(44, 10, 18, 0) 35%, rgba(44, 10, 18, .92) 100%); }
.dest:hover { transform: translateY(-4px); color: #fff; }
.dest:hover img { transform: scale(1.06); }
.dest small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.dest h3 { color: #fff; font-size: 1.45rem; margin: 6px 0 0; font-weight: 500; text-transform: capitalize; }
.dest-more { font-size: .82rem; font-weight: 600; margin-top: 10px; color: rgba(255, 255, 255, .8); opacity: 0; transform: translateY(6px); transition: .3s; }
.dest:hover .dest-more { opacity: 1; transform: none; }

/* Deity photo tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat-tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 13 / 9;
  padding: 16px 18px; border-radius: var(--radius); text-decoration: none; color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.3;
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(44, 10, 18, .05) 20%, rgba(44, 10, 18, .85) 100%); }
.cat-tile:hover { color: #fff; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile span { border-left: 2px solid var(--gold-soft); padding-left: 10px; }

/* Post cards */
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.card-label span { color: var(--muted); letter-spacing: .06em; font-weight: 500; }
.card-body h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--maroon-2); }
.card-body p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 18px; }
.card-body .link-arrow { margin-top: auto; }

.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.card-big .card-media { aspect-ratio: 16 / 11; }
.card-big .card-body { padding: 28px 30px 30px; }
.card-big h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.grid-compact { grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-compact .card-body { padding: 16px 18px 18px; }
.grid-compact .card-body h3 { font-size: 1.08rem; }
.grid-compact .card-body p, .grid-compact .link-arrow { display: none; }

/* Home: Latest from the journal — lead photo story + numbered list, both columns the same height */
.journal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.journal-lead {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); min-height: 520px;
  display: flex; align-items: flex-end; background: var(--maroon-dark); box-shadow: var(--shadow);
}
.journal-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.journal-lead::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 7, 12, 0) 30%, rgba(30, 7, 12, .55) 55%, rgba(30, 7, 12, .94) 100%); }
.journal-lead:hover img { transform: scale(1.04); }
.journal-lead-body { padding: 36px 38px 34px; color: rgba(246, 236, 220, .88); }
.journal-lead .card-label { color: var(--gold-soft); }
.journal-lead .card-label span { color: rgba(246, 236, 220, .7); }
.journal-lead h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 500; margin: 0 0 12px; }
.journal-lead h3 a { color: #fff; text-decoration: none; }
.journal-lead h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.journal-lead p { margin: 0 0 18px; font-size: .98rem; max-width: 52ch; }
.journal-lead .link-arrow { color: var(--gold-soft); }

.journal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; counter-reset: j; }
.journal-list li { flex: 1; display: flex; counter-increment: j; border-bottom: 1px solid var(--line); }
.journal-list li:first-child { border-top: 1px solid var(--line); }
.journal-row { flex: 1; display: grid; grid-template-columns: 30px 112px 1fr; gap: 18px; align-items: center; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.journal-row::before { content: counter(j, decimal-leading-zero); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--gold); }
.journal-row img { width: 112px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); transition: transform .4s; }
.journal-row-body { display: flex; flex-direction: column; min-width: 0; }
.journal-row .card-label { margin: 0 0 4px; font-size: .64rem; }
.journal-row strong { font-family: var(--serif); font-size: 1.14rem; font-weight: 600; line-height: 1.3; transition: color .2s; }
.journal-row time { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.journal-row:hover strong { color: var(--maroon-2); }
.journal-row:hover img { transform: scale(1.04); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(40px, 6vw, 72px);
  background: radial-gradient(700px 300px at 100% 0%, rgba(227, 194, 126, .22), transparent 60%), linear-gradient(130deg, var(--maroon), var(--maroon-dark));
  color: #f6ecdc; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin: 0 0 10px; font-weight: 500; }
.cta p { margin: 0; color: rgba(246, 236, 220, .8); }
.cta .eyebrow { color: var(--gold-soft); }
.cta .actions { justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Article ---------- */
.layout { display: grid; grid-template-columns: minmax(0, var(--read)) 300px; gap: 64px; justify-content: space-between; align-items: start; padding: 56px 0 24px; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.toc { font-size: .88rem; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.toc summary { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: t; max-height: 50vh; overflow: auto; }
.toc li { counter-increment: t; padding: 8px 0; border-top: 1px solid var(--sand); display: flex; gap: 10px; }
.toc li::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); color: var(--gold); font-weight: 600; }
.toc a { color: var(--ink-soft); text-decoration: none; line-height: 1.45; }
.toc a:hover { color: var(--saffron); }
.side-cta { padding: 26px 24px; border-radius: var(--radius); color: #f6ecdc; background: linear-gradient(150deg, var(--maroon), var(--maroon-dark)); }
.side-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.side-cta p { font-size: .9rem; color: rgba(246, 236, 220, .8); margin-bottom: 18px; }
.side-cta .eyebrow { color: var(--gold-soft); margin-bottom: 10px; }
.side-cta .btn { width: 100%; }

.answer { margin: 0 0 40px; padding: 26px 28px; border-radius: var(--radius); background: var(--sand); border-left: 3px solid var(--gold); }
.prose .answer h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; padding: 0; border: 0; font-weight: 700; }
.answer ul { padding-left: 1.1em; margin: 0; }
.answer li { margin: 0 0 8px; }
.answer li::marker { color: var(--gold); }

.prose { font-size: 1.07rem; color: #2c2420; }
.prose h2 { margin-top: 1.9em; }
.prose h2::after { content: ""; display: block; width: 44px; height: 2px; background: var(--gold); margin-top: 14px; }
.prose h3 { margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose img { border-radius: var(--radius-sm); margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: -1em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; font-style: italic; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--sand); font-weight: 700; }
.prose a { font-weight: 600; }
.prose ul.link-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.prose ul.link-list li { margin: 0; }
.prose ul.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 14px 18px;
  border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-size: .95rem; line-height: 1.4; transition: border-color .2s, transform .2s;
}
.prose ul.link-list a::after { content: "\2192"; color: var(--gold); flex: none; }
.prose ul.link-list a:hover { border-color: var(--gold); transform: translateY(-2px); }

.faq { margin-top: 2.4em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--sans); font-size: 1.5rem; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--ink-soft); }

.article-foot { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; font-size: .82rem; font-weight: 600; }
.tag:hover { border-color: var(--gold); color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.share a { padding: 7px 16px; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-weight: 600; }
.share a:hover { background: var(--maroon); color: #fff; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.author-mark { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--gold-soft); font-family: var(--serif); font-weight: 600; }
.author-box p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.author-box .author-name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }

/* ---------- Listings / search ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 16px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--ink); }
.pager a:hover { border-color: var(--gold); }
.pager span { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.search-count { color: var(--muted); margin-bottom: 20px; }
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.results a { display: block; height: 100%; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.results a:hover { border-color: var(--gold); }
.results span { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: rgba(246, 236, 220, .72); padding: 76px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 44px; }
.site-footer .brand-name { color: #fff; }
.site-footer h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: 6px 0 18px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { color: rgba(246, 236, 220, .82); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer p { max-width: 36ch; margin-top: 18px; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(227, 194, 126, .18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { padding: 9px 11px; }
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding-top: 36px; }
  .sidebar { position: static; order: -1; margin-bottom: 28px; }
  .side-cta { display: none; }
  .toc:not([open]) ol { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .journal { grid-template-columns: 1fr; gap: 26px; }
  .journal-lead { min-height: 440px; }
  .grid-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) { .toc summary { pointer-events: none; } }
@media (max-width: 900px) {
  .topbar { display: none; }
  .menu-btn, .search-btn { display: inline-flex; }
  .site-header .wrap { gap: 10px; }
  .brand { margin-right: auto; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 22px; box-shadow: 0 24px 30px -20px rgba(0, 0, 0, .25); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--sand); font-size: 1rem; }
  .nav a:hover { background: none; }
  .nav .nav-search { display: none; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; border-radius: 999px; }
  .cta { grid-template-columns: 1fr; }
  .cta .actions { justify-self: start; }
  .hero::after { background: linear-gradient(180deg, rgba(30, 7, 12, .55) 0%, rgba(30, 7, 12, .85) 70%, rgba(30, 7, 12, .95) 100%); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .site-header .wrap { height: 66px; }
  .nav { top: 66px; }
  .brand-name { font-size: 1.38rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-search { padding: 6px 6px 6px 16px; }
  .hero-search .btn { padding: 11px 16px; }
  .grid { gap: 16px; }
  .grid-dest { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dest { padding: 16px; }
  .dest h3 { font-size: 1.15rem; }
  .dest-more { display: none; }
  .grid-posts, .grid-compact, .results { grid-template-columns: 1fr; }
  .grid-compact .card { flex-direction: row; }
  .grid-compact .card-media { width: 38%; flex: none; aspect-ratio: auto; }
  .journal-lead { min-height: 400px; }
  .journal-lead-body { padding: 24px 22px 22px; }
  .journal-row { grid-template-columns: 88px 1fr; gap: 14px; padding: 12px 0; }
  .journal-row::before { display: none; }
  .journal-row img { width: 88px; height: 70px; }
  .journal-row strong { font-size: 1.02rem; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { font-size: .88rem; padding: 12px; }
  .answer { padding: 22px; }
  .prose { font-size: 1.03rem; }
  .article-hero .wrap { min-height: 360px; padding-bottom: 40px; }
  .author-box { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .site-footer, .sidebar, .cta, .share { display: none; } body { background: #fff; } }
