/* ===========================================================
   AthensPortal — premium city guide UI
   Warm white · charcoal · deep Aegean · olive · terracotta
   =========================================================== */

:root {
  --bg: #faf7f2;
  --bg-warm: #f3eee5;
  --paper: #ffffff;
  --ink: #1b1a18;
  --ink-2: #34312d;
  --muted: #6b655c;
  --line: #e7e0d5;
  --line-2: #d6ccbc;

  --aegean: #135b73;
  --aegean-deep: #0d4256;
  --aegean-tint: #e7f0f4;
  --olive: #4e5c34;
  --olive-tint: #edf0e3;
  --terra: #b1502c;
  --terra-deep: #96411f;
  --sun: #c4862c;
  --dark: #141a1d;

  --radius: 8px;
  --radius-sm: 6px;
  --shadow-1: 0 1px 2px rgba(27, 26, 24, .04), 0 6px 18px rgba(27, 26, 24, .035);
  --shadow-2: 0 2px 6px rgba(27, 26, 24, .06), 0 14px 34px rgba(27, 26, 24, .07);

  --max: 1200px;
  --narrow: 720px;
  --header-h: 74px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Hoefler Text", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: 200ms cubic-bezier(.2, .6, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--aegean-deep); text-underline-offset: .15em; }
a:hover { color: var(--aegean); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--aegean); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -.005em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem .9rem; border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, var(--narrow)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--olive);
  margin-bottom: .7rem;
}
.eyebrow-link { color: inherit; text-decoration: none; }
.eyebrow-link:hover { color: var(--aegean-deep); }
.lead { color: var(--ink-2); font-size: 1.06rem; line-height: 1.6; max-width: 40rem; }
.meta { color: var(--muted); font-size: .78rem; font-weight: 500; }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 247, 242, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
  overflow: visible;
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(27, 26, 24, .06); }
.header-bar {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: var(--header-h);
  overflow: visible;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 10px; color: #f6f1e8;
  background: linear-gradient(158deg, #0f4a5e 0%, #135b73 55%, #3f5a3c 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text small { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.site-nav { display: none; margin-inline: auto; overflow: visible; }
.nav-list {
  display: flex; align-items: center; gap: .15rem 1rem;
  list-style: none; margin: 0; padding: 0;
  overflow: visible;
}
.nav-item { position: relative; overflow: visible; }
.nav-row { display: inline-flex; align-items: center; gap: .15rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  color: var(--ink-2); text-decoration: none; font-size: .905rem; font-weight: 500;
  padding: .55rem 0; white-space: nowrap; transition: color var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-item:hover > .nav-row .nav-link::after,
.nav-item.is-open > .nav-row .nav-link::after { transform: scaleX(1); }
.nav-caret { display: block; flex-shrink: 0; opacity: .55; transition: transform .18s ease; }
.nav-sub-toggle {
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; padding: 0;
  background: transparent; border: 0; color: var(--ink-2); cursor: pointer; border-radius: 4px;
}
.nav-sub-toggle:hover { color: var(--ink); background: rgba(27, 26, 24, .06); }
.nav-item.is-open > .nav-row .nav-caret,
.nav-item:hover > .nav-row .nav-caret { opacity: .95; transform: rotate(180deg); }

/* Alt menü: varsayılan gizli */
.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: -.5rem;
  z-index: 2000;
  min-width: 16rem;
  padding-top: .55rem;
}
.nav-panel-list {
  list-style: none; margin: 0; padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(27, 26, 24, .14);
}
.nav-panel-list a {
  display: block; padding: .55rem .75rem; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.35;
  transition: background var(--ease), color var(--ease);
}
.nav-panel-list a:hover { background: var(--aegean-tint); color: var(--aegean-deep); }
.nav-panel.is-wide { min-width: 30rem; }
.nav-panel.is-wide .nav-panel-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 .2rem;
}

/* Açık alt menü — breakpoint bağımsız (tık / JS hover) */
.nav-item.has-children.is-open > .nav-panel {
  display: block;
}

.header-tools { display: flex; align-items: center; gap: .45rem; margin-inline-start: auto; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink-2); text-decoration: none;
  transition: border-color var(--ease), color var(--ease);
}
.icon-btn:hover { border-color: var(--line-2); color: var(--aegean-deep); }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer;
  height: 40px; padding: 0 .65rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); font-size: .82rem; font-weight: 600; color: var(--ink-2);
  transition: border-color var(--ease);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--line-2); }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 120;
  list-style: none; padding: .4rem; margin: 0; min-width: 11.5rem;
  max-height: 18rem; overflow: auto;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
}
[dir="rtl"] .lang-switch ul { right: auto; left: 0; }
.lang-switch a {
  display: block; padding: .45rem .6rem; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-size: .875rem;
  transition: background var(--ease);
}
.lang-switch a:hover, .lang-switch a[aria-current="true"] { background: var(--bg-warm); color: var(--ink); }

.header-tools .header-contact { display: none; }

.nav-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars i { display: block; width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px; }

/* Mobil menü paneli */
body.nav-open { overflow: hidden; }
.nav-mobile-contact { display: none; }
.site-nav.is-open {
  display: block; position: absolute; inset-inline: 0; top: var(--header-h);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: .25rem 1rem 1.1rem; margin: 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.site-nav.is-open .nav-list { display: block; }
.site-nav.is-open .nav-item {
  border-bottom: 1px solid var(--line);
}
.site-nav.is-open .nav-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%;
}
.site-nav.is-open .nav-link {
  padding: .85rem .1rem; font-size: .98rem; font-weight: 600;
}
.site-nav.is-open .nav-link::after { display: none; }
.site-nav.is-open .nav-sub-toggle {
  width: 44px; height: 44px;
}
.site-nav.is-open .nav-item.is-open > .nav-row .nav-caret { transform: rotate(180deg); }
.site-nav.is-open .nav-panel {
  position: static;
  left: auto;
  right: auto;
  min-width: 0;
  width: 100%;
  padding-top: 0;
  z-index: auto;
}
.site-nav.is-open .nav-panel.is-wide .nav-panel-list {
  display: block;
  grid-template-columns: none;
}
.site-nav.is-open .nav-item.is-open > .nav-panel { display: block; }
.site-nav.is-open .nav-panel-list {
  list-style: none; margin: 0; padding: 0 0 .7rem;
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
}
.site-nav.is-open .nav-panel-list a {
  display: block; padding: .5rem .1rem .5rem .9rem;
  color: var(--muted); text-decoration: none; font-size: .91rem;
  border-inline-start: 2px solid var(--line);
}
.site-nav.is-open .nav-panel-list a:hover { color: var(--aegean-deep); border-color: var(--aegean); background: transparent; }
.site-nav.is-open .nav-mobile-contact { display: block; border-bottom: 0; margin-top: .9rem; }
.site-nav.is-open .nav-mobile-contact .nav-link {
  display: block; text-align: center; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: .75rem 1rem; color: var(--ink);
}

@media (min-width: 1020px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .header-tools .header-contact { display: inline-flex; }
  .header-tools { margin-inline-start: 0; }

  /* Hover ile alt menü (ok tıklaması da .is-open ile çalışır) */
  .nav-item.has-children:hover > .nav-panel,
  .nav-item.has-children:focus-within > .nav-panel {
    display: block;
  }
  .nav-item:nth-last-child(-n+3) > .nav-panel {
    left: auto;
    right: -.5rem;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 600; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.btn-sm { padding: .55rem .85rem; font-size: .87rem; }
.btn-primary { background: var(--aegean); color: #fff; }
.btn-primary:hover { background: var(--aegean-deep); color: #fff; }
.btn-accent { background: var(--terra); color: #fff; }
.btn-accent:hover { background: var(--terra-deep); color: #fff; }
.btn-outline { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--aegean); color: var(--aegean-deep); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--aegean); color: var(--aegean-deep); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }

.card-link {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--aegean-deep); font-size: .875rem; font-weight: 600;
}
.card-link::after { content: "→"; transition: transform var(--ease); }
.text-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--aegean-deep); font-size: .92rem; font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.text-link::after { content: "→"; transition: transform var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.text-link.on-dark { color: #e9dcc4; }
.text-link.on-dark:hover { color: #fff; }

/* ——— Chips / tags ——— */
.chip {
  display: inline-flex; align-items: center; padding: .26rem .58rem;
  border-radius: 100px; font-size: .72rem; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper); color: var(--ink-2); border: 1px solid var(--line);
}
.chip-accent { background: var(--aegean-tint); border-color: transparent; color: var(--aegean-deep); }
.chip-quiet { background: transparent; border-color: var(--line-2); color: var(--muted); }
.chip-light {
  background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .34);
  color: #fff; backdrop-filter: blur(4px);
}
.tag {
  display: inline-flex; padding: .2rem .5rem; border-radius: 100px;
  border: 1px solid var(--line); color: var(--muted); font-size: .73rem; font-weight: 600;
}
.tag-solid { background: var(--aegean-tint); border-color: transparent; color: var(--aegean-deep); }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.meta-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }

/* ——— Media fallback: textured stone panel with architectural motif ———
   Gerçek görsel yoksa (assets/images/*) bu panel devreye girer. */
.media-fill {
  --fill-a: #efe8dc;
  --fill-b: #ddd3c3;
  --fill-ink: rgba(27, 26, 24, .16);
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(168deg, var(--fill-a) 0%, var(--fill-b) 100%);
}
/* ince kolon ritmi + kemer motifi */
.media-fill::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 22px, var(--fill-ink) 22px 23px),
    radial-gradient(58% 46% at 50% 96%, rgba(255, 255, 255, .5) 0 40%, transparent 41%);
  background-size: 100% 100%, 100% 100%;
  opacity: .55;
}
/* üstten aydınlatma, alttan hafif vignette */
.media-fill::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, transparent 46%),
    radial-gradient(120% 80% at 50% 120%, rgba(27, 26, 24, .2), transparent 60%);
}
.media-fill-label {
  position: relative; z-index: 2;
  font-family: var(--serif); font-size: .92rem; letter-spacing: .06em;
  color: rgba(27, 26, 24, .42); padding: 0 1rem; text-align: center;
}

.media-fill.tone-stone  { --fill-a: #efe7db; --fill-b: #d9cebd; }
.media-fill.tone-aegean { --fill-a: #e4eaee; --fill-b: #c3d2d9; --fill-ink: rgba(13, 66, 86, .16); }
.media-fill.tone-olive  { --fill-a: #e9ebdd; --fill-b: #ccd2ba; --fill-ink: rgba(46, 56, 30, .16); }
.media-fill.tone-sun    { --fill-a: #f2e8d8; --fill-b: #e0cbab; --fill-ink: rgba(120, 74, 26, .15); }
.media-fill.tone-ink {
  --fill-a: #202a2f; --fill-b: #161e22; --fill-ink: rgba(255, 255, 255, .1);
}
.media-fill.tone-ink::before {
  background-image:
    repeating-linear-gradient(90deg, transparent 0 22px, var(--fill-ink) 22px 23px),
    radial-gradient(58% 46% at 50% 96%, rgba(255, 255, 255, .1) 0 40%, transparent 41%);
  opacity: .8;
}
.media-fill.tone-ink::after {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, transparent 45%),
    radial-gradient(120% 80% at 50% 120%, rgba(0, 0, 0, .35), transparent 60%);
}
.media-fill.tone-ink .media-fill-label { color: rgba(255, 255, 255, .5); }

/* ——— Sections ——— */
.section { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.section-warm { background: var(--bg-warm); border-block: 1px solid var(--line); }
.section-dark {
  background:
    radial-gradient(900px 400px at 12% 0%, rgba(19, 91, 115, .35), transparent 60%),
    var(--dark);
  color: #ece5da;
}
.section-dark h2, .section-dark h3 { color: #fbf7f1; }

.section-head { margin-bottom: 1.6rem; max-width: 44rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.2; margin-bottom: .45rem; }
.section-head p { color: var(--muted); font-size: 1rem; }
.section-head.is-split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap; max-width: none;
}
.section-head.is-split > div { max-width: 44rem; }
.section-head.on-dark p { color: rgba(236, 229, 218, .72); }

/* ——— Hero ——— */
.hero { padding: clamp(1.5rem, 4vw, 2.75rem) 0 0; }
.hero-inner { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); align-items: center; }
.hero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 3.05rem);
  line-height: 1.1; margin-bottom: .85rem; max-width: 19ch;
}
.hero-copy .lead { margin-bottom: 1.5rem; }

.searchbar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: .4rem .4rem .4rem .9rem; box-shadow: var(--shadow-1);
  max-width: 32rem;
}
.searchbar:focus-within { border-color: var(--aegean); box-shadow: 0 0 0 3px rgba(19, 91, 115, .14); }
.searchbar-icon { display: grid; place-items: center; color: var(--muted); }
.searchbar input {
  border: 0; background: transparent; padding: .6rem 0; font: inherit; color: var(--ink);
  min-width: 0; width: 100%;
}
.searchbar input:focus { outline: none; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; list-style: none;
  margin-top: 1.25rem; color: var(--muted); font-size: .855rem;
}
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--olive);
}

.hero-figure { position: relative; margin: 0; }
.hero-figure-main {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--bg-warm);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  text-decoration: none; color: inherit;
}
.hero-figure-main > img { width: 100%; height: 100%; object-fit: cover; }
a.hero-figure-main:hover .hero-caption strong {
  text-decoration: underline; text-underline-offset: .15em;
}
.hero-caption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: .3rem;
  padding: 3.5rem 1.15rem 1.15rem;
  background: linear-gradient(transparent, rgba(15, 20, 23, .82));
  color: #fff;
}
.hero-caption strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.hero-caption-text { font-size: .875rem; color: rgba(255, 255, 255, .82); max-width: 32ch; }
.badge {
  display: inline-flex; padding: .24rem .55rem; margin-bottom: .15rem;
  border-radius: 100px; background: var(--terra); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.hero-figure-mini { display: none; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.02fr .98fr; }
  .hero-figure-main { aspect-ratio: 5 / 4; }
  .hero-figure-mini {
    display: block; position: absolute; top: 1rem; right: 1rem; z-index: 3;
    width: 148px; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: var(--radius-sm); border: 2px solid rgba(255, 255, 255, .75);
    box-shadow: var(--shadow-2);
    text-decoration: none; color: inherit;
  }
  .hero-figure-mini > img { width: 100%; height: 100%; object-fit: cover; }
  .hero-mini-label {
    position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
    padding: 1.1rem .5rem .35rem; text-align: center;
    background: linear-gradient(transparent, rgba(15, 20, 23, .8));
    color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  }
}

/* ——— Trip planner strip ——— */
.planner {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 1fr);
  gap: 1px; margin-top: clamp(1.5rem, 3vw, 2.25rem);
  overflow-x: auto; scrollbar-width: none;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-1);
}
.planner::-webkit-scrollbar { display: none; }
.planner-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem 1rem; background: var(--paper);
  text-decoration: none; color: var(--ink);
  transition: background var(--ease);
}
.planner-item:hover { background: var(--aegean-tint); color: var(--aegean-deep); }
.planner-icon { display: grid; place-items: center; color: var(--aegean); flex-shrink: 0; }
.planner-item:hover .planner-icon { color: var(--aegean-deep); }
.planner-text { display: flex; flex-direction: column; min-width: 0; }
.planner-text strong { font-size: .91rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.planner-text small { font-size: .77rem; color: var(--muted); }
.planner-item:hover .planner-text small { color: var(--aegean); }

@media (min-width: 1020px) {
  .planner { grid-auto-columns: 1fr; overflow: visible; }
}

/* ——— Essentials (3 big cards) ——— */
.essentials { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .essentials { grid-template-columns: repeat(3, 1fr); } }

.essential {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-1); transition: box-shadow var(--ease), border-color var(--ease);
}
.essential:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); color: inherit; }
.essential:hover .card-link::after { transform: translateX(3px); }
.essential-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-warm); }
@media (min-width: 720px) { .essential-media { aspect-ratio: 4 / 3; } }
.essential-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.essential:hover .essential-media > img { transform: scale(1.03); }
.essential-media .chip { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.essential-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.15rem 1.2rem 1.3rem; flex: 1; }
.essential-body h3 { font-size: 1.22rem; line-height: 1.28; }
.essential-body p { color: var(--muted); font-size: .93rem; flex: 1; }

/* ——— Areas (editorial grid) ——— */
.areas { display: grid; gap: .9rem; grid-template-columns: 1fr; }
.area {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); text-decoration: none; color: #fff;
  min-height: 190px; background: var(--ink);
  box-shadow: var(--shadow-1); transition: box-shadow var(--ease);
}
.area > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.area:hover { box-shadow: var(--shadow-2); color: #fff; }
.area:hover > img { transform: scale(1.04); }
.area::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14, 18, 21, .84) 0%, rgba(14, 18, 21, .28) 45%, rgba(14, 18, 21, .05) 100%);
}
/* görsel yoksa dokulu panel üzerinde beyaz metin için daha güçlü perde */
.area .media-fill::after {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, transparent 38%),
    linear-gradient(0deg, rgba(18, 23, 26, .5) 0%, transparent 72%);
}
.area-overlay {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  gap: .4rem; height: 100%; justify-content: flex-end; padding: 1.05rem 1.1rem 1.15rem;
}
.area-overlay h3 { color: #fff; font-size: 1.2rem; line-height: 1.25; }
.area-overlay p { color: rgba(255, 255, 255, .84); font-size: .875rem; }
.area-lead { min-height: 300px; }
.area-lead .area-overlay h3 { font-size: 1.75rem; }
.area-lead .area-overlay p { font-size: .95rem; max-width: 38ch; }

@media (min-width: 700px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .area-lead { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .areas { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 196px; }
  .area { min-height: 0; }
  .area-lead { grid-column: span 2; grid-row: span 2; }
}

/* ——— Editorial guides (lead + list) ——— */
.editorial { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .editorial { grid-template-columns: 1.32fr 1fr; gap: 1.75rem; } }

.lead-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-1);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.lead-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); color: inherit; }
.lead-card:hover .card-link::after { transform: translateX(3px); }
.lead-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-warm); }
.lead-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease); }
.lead-card:hover .lead-media > img { transform: scale(1.03); }
.lead-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.35rem 1.4rem; }
.lead-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.24; }
.lead-body p { color: var(--muted); font-size: .97rem; }

.guide-list { list-style: none; display: flex; flex-direction: column; }
.guide-list li + li { border-top: 1px solid var(--line); }
.guide-row {
  display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center;
  padding: .95rem 0; text-decoration: none; color: inherit;
}
.guide-row:hover { color: inherit; }
.guide-row:hover strong { color: var(--aegean-deep); }
.guide-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: var(--bg-warm);
  border: 1px solid var(--line);
}
.guide-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.guide-row-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.guide-row-body strong {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600; line-height: 1.32;
  transition: color var(--ease);
}
.guide-row-body small { color: var(--muted); font-size: .845rem; line-height: 1.45; }
.guide-list li:first-child .guide-row { padding-top: 0; }

/* ——— Tours (dark band) ——— */
.tours { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tours { grid-template-columns: repeat(3, 1fr); } }

.tour {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); text-decoration: none; color: #ece5da;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.tour:hover {
  border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08);
  transform: translateY(-2px); color: #fff;
}
.tour-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1c262b; }
.tour-media > img { width: 100%; height: 100%; object-fit: cover; }
.tour-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.15rem 1.2rem; flex: 1; }
.tour-body h3 { font-size: 1.14rem; line-height: 1.3; }
.tour-body p { color: rgba(236, 229, 218, .76); font-size: .9rem; flex: 1; }
.tour-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .1);
}
.tour-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: rgba(236, 229, 218, .66); font-size: .8rem; }
.tour-price { color: #f0d9a8; font-weight: 700; font-size: .92rem; }
.tour-cta { color: #e9dcc4; font-weight: 600; font-size: .86rem; }

/* ——— Practical ——— */
.practical { list-style: none; display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .practical { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .practical { grid-template-columns: repeat(5, 1fr); } }
.practical a {
  display: flex; align-items: flex-start; gap: .7rem; height: 100%;
  padding: .95rem 1rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.practical a:hover { border-color: var(--aegean); box-shadow: var(--shadow-1); color: inherit; }
.practical-icon {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
  border-radius: var(--radius-sm); background: var(--olive-tint); color: var(--olive);
}
.practical strong { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.practical small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: .15rem; }

/* ——— Brief / newsletter ——— */
.brief { padding: clamp(2.2rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--line); background: var(--bg-warm); }
.brief-inner { display: grid; gap: 1.5rem; align-items: center; }
.brief-copy h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.2; margin-bottom: .5rem; }
.brief-copy p { color: var(--muted); max-width: 38rem; }
.brief-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.brief-form input {
  width: 100%; padding: .8rem .95rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.brief-form input:focus { outline: none; border-color: var(--aegean); box-shadow: 0 0 0 3px rgba(19, 91, 115, .14); }
.brief-note { margin-top: .6rem; color: var(--muted); font-size: .8rem; }
@media (min-width: 880px) {
  .brief-inner { grid-template-columns: 1.25fr .75fr; gap: 2.5rem; }
}
@media (max-width: 480px) { .brief-row { grid-template-columns: 1fr; } }

/* ——— Footer ——— */
.site-footer { background: #15191b; color: #cfc8bd; padding: clamp(2.2rem, 5vw, 3rem) 0 1.4rem; }
.footer-top { display: grid; gap: 1.85rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.25rem; } }
.brand-footer { color: #f7f2ea; margin-bottom: .75rem; }
.brand-footer strong { font-family: var(--serif); font-size: 1.18rem; }
.brand-footer .brand-mark { width: 36px; height: 36px; }
.footer-brand-block p { color: rgba(207, 200, 189, .74); font-size: .92rem; max-width: 30rem; }
.footer-heading {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(233, 220, 196, .82); margin-bottom: .85rem;
}
.footer-links, .footer-langs { list-style: none; }
.footer-links a, .footer-langs a {
  display: inline-block; padding: .3rem 0; color: rgba(207, 200, 189, .86);
  text-decoration: none; font-size: .92rem; transition: color var(--ease);
}
.footer-links a:hover, .footer-langs a:hover { color: #fff; }
.footer-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: rgba(207, 200, 189, .55); font-size: .84rem;
}

/* ===========================================================
   Inner pages (listing / detail / category / search / contact)
   =========================================================== */

.page-hero { padding: clamp(1.75rem, 4vw, 2.5rem) 0 .5rem; }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.18; margin-bottom: .6rem; }
.page-hero .lead { margin-bottom: 1.25rem; }

.hero-search { display: grid; grid-template-columns: 1fr auto; gap: .5rem; max-width: 32rem; margin-bottom: 1rem; }
.hero-search-sm { max-width: 27rem; }
.hero-search-field {
  display: flex; align-items: center; gap: .55rem; padding: 0 .9rem;
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); color: var(--muted);
}
.hero-search-field:focus-within { border-color: var(--aegean); box-shadow: 0 0 0 3px rgba(19, 91, 115, .14); }
.hero-search-field input {
  width: 100%; border: 0; background: transparent; padding: .8rem 0; font: inherit; color: var(--ink);
}
.hero-search-field input:focus { outline: none; }
@media (max-width: 520px) { .hero-search { grid-template-columns: 1fr; } }

.pill-scroll {
  display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pill-scroll::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto; padding: .45rem .8rem; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none; font-size: .855rem; font-weight: 500;
  transition: border-color var(--ease), color var(--ease);
}
.pill:hover, .pill.is-active { border-color: var(--aegean); color: var(--aegean-deep); }
.filter-scroll { margin-top: .35rem; }

.guide-grid { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }

.guide-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-1);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.guide-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); color: inherit; }
.guide-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-warm); }
.guide-media > img { width: 100%; height: 100%; object-fit: cover; }
.guide-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.05rem 1.1rem 1.2rem; flex: 1; }
.guide-body h2, .guide-body h3 { font-size: 1.14rem; line-height: 1.3; }
.guide-body p { color: var(--muted); font-size: .91rem; flex: 1; }

.tour-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tour-grid { grid-template-columns: repeat(4, 1fr); } }
.tour-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-1);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.tour-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); color: inherit; }
.tour-card .tour-media { aspect-ratio: 4 / 3; background: var(--bg-warm); }
.tour-card .tour-body { padding: .95rem 1rem 1.1rem; }
.tour-card .tour-body h2, .tour-card .tour-body h3 { color: var(--ink); font-size: 1.04rem; }
.tour-card .tour-body p { color: var(--muted); }
.section-dark .tour-card { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }
.section-dark .tour-card .tour-body h3 { color: #fbf7f1; }
.section-dark .tour-card .tour-body p { color: rgba(236, 229, 218, .72); }

.soft-note {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  padding: 1.25rem 1.35rem; max-width: 36rem; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
}
.soft-note strong { font-family: var(--serif); font-size: 1.15rem; }
.soft-note p { opacity: .82; }
.soft-note-light { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-1); }
.soft-note-light p { color: var(--muted); opacity: 1; }

.pager { display: flex; justify-content: center; gap: .6rem; margin-top: 2rem; }

.detail { padding: 1.5rem 0 2.25rem; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  color: var(--muted); font-size: .855rem; margin-bottom: 1.15rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--aegean); }
.detail-head { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin-bottom: 1.25rem; }
.detail-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.16; }
.detail-hero {
  position: relative; margin: 0 0 1.75rem; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-warm);
}
.detail-hero > img { width: 100%; height: 100%; object-fit: cover; }
.detail-block { margin: 2rem 0; }
.detail-block h2 { font-size: 1.4rem; margin-bottom: .8rem; }
.highlight-list { list-style: none; display: grid; gap: .5rem; }
.highlight-list li { position: relative; padding-inline-start: 1.4rem; color: var(--ink-2); }
.highlight-list li::before {
  content: ""; position: absolute; inset-inline-start: .2rem; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--olive);
}
.gallery-grid { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.faq-list details {
  padding: .85rem 1.05rem; margin-bottom: .55rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list details[open] summary { margin-bottom: .5rem; }

.practical-inline { margin-top: 1.25rem; }

/* ---------- Blog / sayfa içeriği (CMS HTML) ---------- */
.prose {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.75;
  overflow-wrap: break-word;
}
.prose-narrow { max-width: 46rem; }

.prose > * + * { margin-top: 1.05rem; }
.prose > :first-child { margin-top: 0; }

.prose p { margin: 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose em, .prose i { font-style: italic; }
.prose u { text-underline-offset: .18em; }
.prose mark {
  background: color-mix(in srgb, var(--sun) 28%, transparent);
  color: var(--ink);
  padding: .05em .2em;
  border-radius: 2px;
}
.prose small { font-size: .88em; color: var(--muted); }
.prose sub, .prose sup { font-size: .75em; line-height: 0; }

.prose a {
  color: var(--aegean-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.prose a:hover { color: var(--aegean); }

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: var(--ink);
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + .75rem);
}
.prose h1 { font-size: clamp(1.55rem, 2.8vw, 1.9rem); margin-top: 2.1rem; }
.prose h2 { font-size: clamp(1.32rem, 2.4vw, 1.55rem); margin-top: 2.15rem; }
.prose h3 { font-size: 1.18rem; margin-top: 1.7rem; }
.prose h4 { font-size: 1.05rem; margin-top: 1.45rem; font-family: var(--sans); font-weight: 700; }
.prose h5, .prose h6 {
  font-size: .95rem; margin-top: 1.3rem;
  font-family: var(--sans); font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; color: var(--olive);
}
.prose h1 + *, .prose h2 + *, .prose h3 + *, .prose h4 + *, .prose h5 + *, .prose h6 + * {
  margin-top: .7rem;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-inline-start: 1.4rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: .4rem; padding-inline-start: .15rem; }
.prose li::marker { color: var(--olive); }
.prose li > ul,
.prose li > ol { margin-top: .35rem; margin-bottom: .2rem; }
.prose ul ul { list-style: circle; }
.prose ul ul ul { list-style: square; }

.prose blockquote {
  margin: 1.5rem 0;
  padding: .85rem 1.1rem .85rem 1.15rem;
  border-inline-start: 3px solid var(--olive);
  background: var(--olive-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
}
.prose blockquote p + p { margin-top: .65rem; }
.prose blockquote cite {
  display: block;
  margin-top: .55rem;
  font-family: var(--sans);
  font-size: .88rem;
  font-style: normal;
  color: var(--muted);
}

.prose hr {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.prose img,
.prose video,
.prose iframe {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-warm);
}
.prose figure {
  margin: 1.5rem 0;
}
.prose figure img { width: 100%; border: 1px solid var(--line); }
.prose figcaption {
  margin-top: .55rem;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.prose code,
.prose kbd,
.prose samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .12em .35em;
  color: var(--ink);
}
.prose pre {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--dark);
  color: #ece5da;
  border-radius: var(--radius);
  font-size: .9rem;
  line-height: 1.55;
}
.prose pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.prose dl { margin: 0; }
.prose dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: .85rem;
}
.prose dd {
  margin: .25rem 0 0;
  padding-inline-start: 1rem;
  color: var(--muted);
}

/* Tablolar — mobilde yatay kaydırma */
.prose-table {
  margin: 1.35rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}
.prose > .prose-table { margin-top: 1.35rem; }
.prose-table > table { margin: 0; border: 0; border-radius: 0; box-shadow: none; }

.prose table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: .94rem;
  line-height: 1.45;
  background: var(--paper);
}
.prose thead { background: var(--aegean-tint); }
.prose th,
.prose td {
  padding: .7rem .85rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--aegean-deep);
  white-space: nowrap;
}
.prose tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-warm) 70%, #fff); }
.prose tbody tr:hover { background: var(--olive-tint); }
.prose tbody tr:last-child th,
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td a { font-weight: 600; }

@media (max-width: 640px) {
  .prose { font-size: 1.02rem; }
  .prose th,
  .prose td { padding: .6rem .7rem; }
}

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-1); }
.form-row { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: .95rem; }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--aegean); box-shadow: 0 0 0 3px rgba(19, 91, 115, .14);
}
.alert { padding: .9rem 1.05rem; margin-bottom: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); }
.alert-success { background: var(--olive-tint); border-color: #cfd9b9; color: #3d4a26; }
.alert-error { background: #f9ebe6; border-color: #e6c4b7; color: #82372a; }
