/* ==========================================================
   1page · Public Design System
   Vintage-editorial, mobile-first, keine externen Deps.
   ========================================================== */

/* ---- Design Tokens ---- */
:root {
  --bg:         #f8f5ef;
  --surface:    #ffffff;
  --surface-2:  #f0ece3;
  --primary:    #1a4a6b;
  --primary-dk: #0f2f45;
  --primary-lt: #e6f1f7;
  --accent:     #c9940a;
  --accent-lt:  #fdf5dc;
  --text:       #29231e;
  --text-2:     #5c5448;
  --text-3:     #9b9186;
  --border:     #e2dbd0;
  --border-2:   #ccc5b8;
  --r-sm:       6px;
  --r:          12px;
  --r-lg:       20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 18px rgba(0,0,0,.09), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 14px 36px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --ease:       .2s cubic-bezier(.4,0,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #121212;
    --surface:    #1e1e1e;
    --surface-2:  #2a2a2a;
    --primary:    #82b6d9;
    --primary-dk: #b3d4eb;
    --primary-lt: #1f3647;
    --accent:     #c9940a;
    --accent-lt:  #42340e;
    --text:       #e0e0e0;
    --text-2:     #a0a0a0;
    --text-3:     #6b6b6b;
    --border:     #333333;
    --border-2:   #444444;
  }
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.site-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.site-main {
  flex: 1 0 auto;
  width: 100%;
  padding-bottom: 4rem;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--text);
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  background: linear-gradient(135deg, #0f2f45 0%, #1a4a6b 60%, #1d6678 100%);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 24px rgba(0,0,0,.22);
  width: 100%;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem;
}
.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: 1.3rem;
  text-decoration: none; color: #fff;
  letter-spacing: .02em;
  display: flex; align-items: center; gap: .55rem;
}
.brand-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.brand span { color: rgba(255,255,255,.5); font-weight: 400; font-size: .95rem; }
.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav a {
  text-decoration: none; color: rgba(255,255,255,.78);
  font-weight: 500; font-size: .9rem;
  padding: .45rem .9rem;
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.14); }

/* ========================================================
   HERO
   ======================================================== */
.hero {
  background: linear-gradient(150deg, #0f2f45 0%, #1a4a6b 40%, #156370 100%);
  color: #fff;
  padding: 4.5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Wave divider at bottom */
.hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 64px;
  background: var(--bg);
  clip-path: ellipse(58% 100% at 50% 100%);
}
/* Ambient glow */
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.055) 0%, transparent 65%);
  pointer-events: none;
}
/* Second glow bottom-left */
.hero-bg-circle {
  position: absolute; bottom: 20px; left: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,148,10,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  padding: .35rem 1.05rem;
  border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: rgba(255,255,255,.8);
  font-weight: 400;
  display: block;
  font-size: .8em;
  margin-top: .25em;
  letter-spacing: 0;
}
.hero-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(201,148,10,.2));
  border-radius: 3px; margin: 0 0 1.1rem;
}
.hero p {
  margin: 0; color: rgba(255,255,255,.72);
  max-width: 52ch; font-size: 1.07rem; line-height: 1.8;
}
.hero p strong { color: rgba(255,255,255,.95); font-weight: 600; }
.hero-stats {
  display: flex; gap: 2.75rem; margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  width: fit-content;
}
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem; font-weight: 700; line-height: 1; color: #fff;
}
.stat-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .11em;
  color: rgba(255,255,255,.4);
}

/* ========================================================
   PLACES BAR
   ======================================================== */
.places-bar { padding: 2rem 0 .5rem; }
.places-bar-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-3); margin-bottom: .65rem;
}
.places-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: .42rem 1.05rem;
  font-size: .87rem; font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.chip:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  box-shadow: 0 5px 16px rgba(26,74,107,.28);
  transform: translateY(-2px);
}
.chip-icon { font-size: .9rem; }

/* ========================================================
   SECTION HEADING
   ======================================================== */
.section-heading {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 0 .5rem;
}
.section-heading h2 {
  margin: 0; font-size: 1.15rem; font-weight: 700;
  color: var(--primary-dk); white-space: nowrap; letter-spacing: .01em;
}
.section-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border-2), transparent);
}

/* ========================================================
   CARD GRID
   ======================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  padding: .75rem 0 3.5rem;
}
.card {
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column;
}
/* Top accent line */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--ease);
  z-index: 1;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-img-wrap { 
  position: relative; overflow: hidden; background: var(--surface-2); 
  aspect-ratio: 4/3; 
  display: flex; align-items: center; justify-content: center;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.card:hover .card-img-wrap img { transform: scale(1.07); }
.card-era {
  position: absolute; bottom: .65rem; left: .65rem;
  background: rgba(15,47,69,.78);
  backdrop-filter: blur(8px);
  color: #fff; padding: .22rem .7rem;
  border-radius: 100px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.card .meta { padding: 1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.meta-place {
  display: inline-block;
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); margin-bottom: .4rem;
}
.card h3 {
  margin: 0 0 auto;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; font-weight: 600;
  line-height: 1.35; color: var(--text);
}
.card p { margin: .35rem 0 0; color: var(--text-2); font-size: .84rem; }
.card .price {
  position: absolute;
  top: .65rem;
  right: .65rem;
  font-weight: 700; font-size: .88rem;
  color: var(--primary-dk);
  background: var(--accent);
  padding: .22rem .65rem;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  margin: 0;
}

/* ========================================================
   POSTCARD DETAIL
   ======================================================== */
.postcard-detail {
  display: grid;
  gap: 3rem;
  padding: 2rem 0;
}
@media (min-width: 900px) {
  .postcard-detail { grid-template-columns: 1fr 380px; align-items: start; }
}

.postcard-detail figure {
  margin: 0; background: var(--surface-2); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  position: sticky; top: 100px;
}
.postcard-detail figure img { width: 100%; height: auto; display: block; }

.postcard-detail .info { flex: 1; min-width: 0; }
.breadcrumbs {
  font-size: .85rem; color: var(--text-3);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }

.postcard-detail h1 { margin: 0 0 .5rem; font-size: 2.2rem; }

.info-meta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem;
  margin-top: 2rem;
}
.info-meta dl {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.5rem;
  margin: 0; font-size: .9rem;
}
.info-meta dt { font-weight: 600; color: var(--text-2); }
.info-meta dd { margin: 0; color: var(--text); }

.description { margin-top: 2rem; color: var(--text-2); line-height: 1.7; }

.buy {
  background: var(--primary-lt);
  border: 1px solid var(--primary);
  border-radius: var(--r);
  padding: 1.75rem;
  margin-top: 2.5rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.buy h3 { margin: 0 0 .5rem; font-size: 1.35rem; color: var(--text); }
.buy p { margin: 0 0 1.5rem; font-size: .9rem; color: var(--text-2); line-height: 1.5; }
.buy-includes {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(26, 74, 107, 0.14);
  border-radius: var(--r-sm);
  padding: .95rem 1rem;
  margin: -.2rem 0 1.25rem;
}
.buy-includes-label {
  margin: 0 0 .65rem !important;
  font-size: .76rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--primary) !important;
}
.buy-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.buy-spec {
  display: inline-flex;
  align-items: center;
  padding: .32rem .7rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(26, 74, 107, 0.14);
  color: var(--text);
  font-size: .84rem;
  font-weight: 600;
}
.buy .form-group { margin-bottom: 1.5rem; }
.buy label {
  display: block; font-weight: 600; font-size: .9rem; color: var(--text); margin-bottom: .4rem;
}
.buy input[type="email"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.buy input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 107, 0.15);
}
.buy-action {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.price-big {
  font-size: 1.75rem; font-weight: 700; color: var(--text); margin: 0 !important;
  font-family: 'Playfair Display', Georgia, serif;
}
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font-family: inherit; font-weight: 600; border: none;
  transition: all var(--ease);
  border-radius: var(--r-sm);
}
.btn-primary {
  background: var(--primary); color: #fff;
  padding: .65rem 1.2rem; font-size: .95rem;
}
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.05rem; flex: 1; }

/* ========================================================
   BUTTONS
   ======================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .72rem 1.5rem;
  border-radius: var(--r-sm);
  border: none; cursor: pointer;
  font: 600 .9rem/1 inherit;
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(26,74,107,.32), 0 1px 2px rgba(0,0,0,.1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #154060 0%, #09202e 100%);
  box-shadow: 0 7px 22px rgba(26,74,107,.38);
  transform: translateY(-2px); color: #fff;
}
.btn-primary:active { transform: translateY(0); }
.btn-link { background: transparent; color: var(--primary); }
.linkish {
  background: none; border: 0; color: var(--primary); cursor: pointer;
  padding: 0; font: inherit; text-decoration: underline;
}
.linkish.danger { color: #b32020; }

/* ========================================================
   COMMENTS
   ======================================================== */
.comments {
  padding: 2.5rem 0 1.5rem;
  border-top: 2px solid var(--border);
  margin-top: 1rem;
}
.comments h2 { margin-top: 0; font-size: 1.4rem; }
.comment-list {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.comment {
  background: var(--surface); border-radius: var(--r);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.comment header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: .5rem;
}
.comment header strong { font-size: .95rem; }
.comment header time { color: var(--text-3); font-size: .78rem; }
.comment p { margin: 0 0 .45rem; font-size: .92rem; color: var(--text-2); }
.report { display: inline; }
.new-comment {
  background: var(--surface);
  padding: 1.6rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.new-comment label {
  display: block; margin-bottom: 1rem;
  font-size: .9rem; font-weight: 500; color: var(--text-2);
}
.new-comment input, .new-comment textarea {
  display: block; width: 100%;
  padding: .65rem .9rem; margin-top: .35rem;
  border: 1.5px solid var(--border-2); border-radius: var(--r-sm);
  font: inherit; background: #fff; transition: border-color var(--ease);
  resize: vertical;
}
.new-comment input:focus, .new-comment textarea:focus {
  border-color: var(--primary); outline: none;
  box-shadow: 0 0 0 3px rgba(26,74,107,.12);
}

/* ========================================================
   FLASH
   ======================================================== */
.flash {
  padding: .9rem 1.15rem; border-radius: var(--r-sm);
  margin: 1rem 0; font-weight: 500; font-size: .92rem;
  display: flex; align-items: center; gap: .6rem;
}
.flash-ok  { background: #edf8f1; color: #165a34; border: 1.5px solid #a6dfbb; }
.flash-err { background: #fdf2f2; color: #8b1c1c; border: 1.5px solid #e8b4b4; }

/* ========================================================
   LEGAL PAGE
   ======================================================== */
.legal-page {
  padding: 2rem 0 1rem;
}
.legal-hero {
  max-width: 54rem;
  margin-bottom: 1.5rem;
}
.legal-kicker {
  margin: 0 0 .7rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
}
.legal-page h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.legal-intro {
  margin: 0;
  color: var(--text-2);
  max-width: 44rem;
}
.legal-alert {
  background: var(--accent-lt);
  border: 1px solid rgba(201,148,10,.35);
  color: var(--text);
  border-radius: var(--r);
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  max-width: 54rem;
}
.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.legal-card h2 {
  margin: 0 0 1.2rem;
  font-size: 1.35rem;
}
.legal-card p {
  margin: 0;
  color: var(--text-2);
}
.legal-list {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.legal-list dt {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--text-3);
}
.legal-list dd {
  margin: .2rem 0 0;
  color: var(--text);
  font-size: .98rem;
}

/* ========================================================
   404 PAGE
   ======================================================== */
.not-found {
  padding: 2.5rem 0 1rem;
}
.not-found-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  background:
    radial-gradient(circle at top right, rgba(201,148,10,.16), transparent 28%),
    linear-gradient(145deg, #0f2f45 0%, #1a4a6b 55%, #145467 100%);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}
.not-found-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.06), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.08), transparent 25%);
  pointer-events: none;
}
.not-found-mark,
.not-found-copy {
  position: relative;
  z-index: 1;
}
.not-found-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .35rem;
  width: fit-content;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.not-found-mark-code {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.05em;
}
.not-found-mark-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.66);
}
.not-found-kicker {
  margin: 0 0 .8rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68) !important;
}
.not-found-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  color: #fff;
}
.not-found-text {
  margin: 0;
  max-width: 36rem;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.6rem;
}
.not-found-actions .btn-link {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
}
.not-found-actions .btn-link:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
}
.not-found-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.not-found-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.2rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.not-found-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(26,74,107,.28);
}
.not-found-card-label {
  display: inline-block;
  margin-bottom: .55rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--primary);
}
.not-found-card strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--text);
}
.not-found-card p {
  margin: .45rem 0 0;
  color: var(--text-2);
  font-size: .92rem;
}

/* ========================================================
   PAGINATION
   ======================================================== */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .65rem; padding: 3rem 0;
}
.pagination a, .pagination .current {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: .95rem; font-weight: 600; text-decoration: none;
  transition: all var(--ease);
}
.pagination a {
  color: var(--text-2); background: transparent;
  border: 1px solid var(--border-2);
}
.pagination a:hover {
  background: var(--surface-2); color: var(--primary-dk);
  border-color: var(--border); box-shadow: var(--shadow-sm); transform: translateY(-2px);
}
.pagination .current {
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  box-shadow: 0 4px 10px rgba(26, 74, 107, 0.2);
}
.pagination .pg-arrow { background: transparent; border: 1px solid var(--border-2); color: var(--text-2); }
.pagination .pg-arrow:hover { background: var(--surface-2); color: var(--primary); border-color: var(--primary); }

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: linear-gradient(135deg, #0f2f45 0%, #1a4a6b 100%);
  color: rgba(255,255,255,.5);
  padding: 2.5rem 0 2rem;
  font-size: .88rem;
  margin-top: auto;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.25rem;
}
.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem; font-weight: 700; color: #fff;
}
.footer-brand small {
  display: block; font-family: inherit; font-style: normal;
  font-weight: 400; font-size: .73rem;
  color: rgba(255,255,255,.3); margin-top: .2rem;
}
.site-footer a { color: rgba(255,255,255,.58); transition: color var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0; }

/* ========================================================
   UTILITY
   ======================================================== */
.empty {
  grid-column: 1 / -1; text-align: center;
  color: var(--text-3); padding: 5rem 1rem;
  font-size: 1rem;
}
.hidden { display: none !important; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 680px) {
  .hero { padding: 2.75rem 0 5.5rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero-stats { gap: 1.75rem; margin-top: 1.75rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .main-nav a { padding: .38rem .65rem; font-size: .83rem; }
  .postcard-detail { padding: 1.5rem 0; }
  .legal-card { padding: 1.15rem; }
  .not-found { padding-top: 1.5rem; }
  .not-found-shell { padding: 1.4rem; }
  .not-found-mark { padding: .85rem 1rem; }
  .not-found-card { padding: 1rem; }
}

@media (min-width: 720px) {
  .legal-list {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem 1.4rem;
    align-items: start;
  }
  .legal-list dt {
    margin-top: .1rem;
  }
  .legal-list dd {
    margin: 0;
  }
}

@media (min-width: 860px) {
  .not-found-shell {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    align-items: center;
    padding: 2.6rem;
  }
  .not-found-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
