/* ============================================================
   TurkishJews.com — style.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;1,8..60,300&display=swap');

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

/* ── Tokens ── */
:root{
  --ink:#1a1612;
  --ink-muted:#5c5248;
  --ink-faint:#9c9088;
  --cream:#faf8f4;
  --cream-dark:#f0ece4;
  --cream-mid:#f5f1eb;
  --white:#fff;
  --gold:#8b6914;
  --gold-light:#c9a84c;
  --gold-pale:#f5edd8;
  --navy:#0e2a4a;
  --navy-mid:#1a4070;
  --border:#d8d0c4;
  --border-light:#e8e2d8;
  --teal:#0f6e56;
  --red:#7a1c1c;
  --dot-green:#1D9E75;
  --dot-red:#E24B4A;
  --dot-amber:#BA7517;
  --dot-blue:#378ADD;
}

/* ── Base ── */
body{
  background:var(--cream);
  color:var(--ink);
  font-family:'Source Serif 4',Georgia,serif;
  font-size:16px;
  line-height:1.78;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Playfair Display',serif;line-height:1.2;color:var(--navy)}
p{font-size:1rem;line-height:1.85;margin-bottom:1.2rem;color:var(--ink)}
p:last-child{margin-bottom:0}
a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold-light);text-underline-offset:3px;transition:color .15s}
a:hover{color:var(--gold)}
strong{font-weight:600}
em{font-style:italic}
sup{font-size:.72em;vertical-align:super;line-height:0}
blockquote{
  font-family:'Playfair Display',serif;font-style:italic;
  color:var(--navy);font-size:1.08rem;line-height:1.6;
  border-left:3px solid var(--gold);padding-left:1.25rem;margin:1.5rem 0;
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ══════════════════════════════════════
   TOP NAVIGATION — identical across all pages
══════════════════════════════════════ */
.site-nav{
  background:var(--navy);
  padding:0 1.75rem;
  display:flex;
  align-items:stretch;
  border-bottom:3px solid var(--gold);
  position:sticky;top:0;z-index:200;
  min-height:52px;
}
.site-nav .logo{
  font-family:'Playfair Display',serif;
  color:#fff;font-size:.98rem;font-weight:600;
  padding:.85rem 1.5rem .85rem 0;
  border-right:1px solid rgba(255,255,255,.15);
  margin-right:0;letter-spacing:.02em;
  text-decoration:none;flex-shrink:0;
  display:flex;align-items:center;
}
.nav-links{
  display:flex;align-items:stretch;
  gap:0;flex-wrap:nowrap;overflow-x:auto;
  scrollbar-width:none;
}
.nav-links::-webkit-scrollbar{display:none}
.nav-links>a,
.nav-links>.has-drop>a{
  color:rgba(255,255,255,.72);
  font-family:'Source Serif 4',serif;
  font-size:.76rem;
  padding:0 .8rem;
  text-decoration:none;
  letter-spacing:.05em;
  text-transform:uppercase;
  border-bottom:2px solid transparent;
  transition:color .18s,border-color .18s;
  white-space:nowrap;
  display:flex;align-items:center;
}
.nav-links>a:hover,
.nav-links>.has-drop>a:hover{color:#fff}
.nav-links>a.active,
.nav-links>.has-drop.active>a{
  color:var(--gold-light);
  border-bottom-color:var(--gold-light);
}
/* Dropdown */
.has-drop{position:relative;display:flex;align-items:stretch}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown{display:block}
.dropdown{
  display:none;position:absolute;top:100%;left:0;
  background:var(--navy-mid);min-width:250px;
  border-top:2px solid var(--gold);
  box-shadow:0 8px 24px rgba(0,0,0,.35);z-index:300;
}
.dropdown a{
  display:block;padding:.6rem 1.1rem;
  color:rgba(255,255,255,.72);font-size:.76rem;
  text-decoration:none;letter-spacing:.03em;
  border-bottom:.5px solid rgba(255,255,255,.08);
  transition:background .12s,color .12s;
  text-transform:none;
}
.dropdown a:last-child{border-bottom:none}
.dropdown a:hover{background:rgba(255,255,255,.06);color:#fff}

/* Mobile hamburger */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:.65rem .6rem;
  margin-left:auto;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:rgba(255,255,255,.8);
  border-radius:2px;
  transition:transform .22s ease,opacity .18s ease;
  pointer-events:none;
}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero{
  background:var(--navy);
  padding:4rem 2rem 3.5rem;
  position:relative;overflow:hidden;
}
.hero::after{
  content:'';position:absolute;right:-100px;top:-100px;
  width:460px;height:460px;border-radius:50%;
  border:70px solid rgba(201,168,76,.05);pointer-events:none;
}
.hero-inner{max-width:860px;margin:0 auto;position:relative;z-index:1}
.hero-kicker{
  font-family:'Source Serif 4',serif;font-size:.72rem;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold-light);margin-bottom:.9rem;display:block;
}
.hero-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(2rem,4.5vw,3.4rem);font-weight:600;
  color:#fff;line-height:1.1;margin-bottom:.7rem;
}
.hero-subtitle{
  font-family:'Source Serif 4',serif;font-size:1.08rem;
  font-weight:300;font-style:italic;
  color:rgba(255,255,255,.62);margin-bottom:1.75rem;
  max-width:580px;
}
.hero-meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.hero-byline{font-size:.8rem;color:rgba(255,255,255,.48);letter-spacing:.03em}
.hero-byline strong{color:rgba(255,255,255,.78);font-weight:400}
.updated-badge{
  background:rgba(201,168,76,.15);border:1px solid rgba(201,168,76,.5);
  color:var(--gold-light);font-size:.66rem;letter-spacing:.12em;
  text-transform:uppercase;padding:.25rem .7rem;border-radius:2px;
}
.hero-rumi{
  margin-top:2rem;padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.12);
  font-family:'Playfair Display',serif;font-style:italic;
  color:rgba(255,255,255,.48);font-size:.92rem;line-height:1.65;
}
.hero-rumi .rumi-attr{
  display:block;margin-top:.35rem;font-family:'Source Serif 4',serif;
  font-style:normal;font-size:.7rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--gold-light);opacity:.75;
}

/* ══════════════════════════════════════
   PAGE LAYOUTS
══════════════════════════════════════ */
.page-wrap{max-width:860px;margin:0 auto;padding:0 2rem}

/* History section: sidebar + content */
.content-with-sidebar{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:2.5rem;
  max-width:1080px;margin:0 auto;padding:0 2rem;
}
@media(max-width:780px){
  .content-with-sidebar{grid-template-columns:1fr;gap:0;padding:0 1.25rem}
}

/* ── Sidebar ── */
.sidebar{padding-top:2.25rem}
.sidebar-label{
  font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-faint);margin-bottom:.8rem;
  padding-bottom:.45rem;border-bottom:1px solid var(--border);
}
.sidebar-links{display:flex;flex-direction:column}
.sidebar-links a{
  font-size:.83rem;color:var(--ink-muted);text-decoration:none;
  padding:.42rem 0;border-bottom:.5px solid var(--border-light);
  line-height:1.45;transition:color .14s;
}
.sidebar-links a:last-child{border-bottom:none}
.sidebar-links a:hover{color:var(--navy)}
.sidebar-links a.active{color:var(--navy);font-weight:600;font-family:'Playfair Display',serif}
.sidebar-callout{
  background:var(--gold-pale);border:1px solid rgba(201,168,76,.45);
  border-radius:4px;padding:.9rem 1rem;margin-top:1.75rem;
}
.sidebar-callout p{font-size:.8rem;color:#5c4a20;margin-bottom:.45rem;line-height:1.6}
.sidebar-callout a{color:var(--gold);font-size:.8rem}

/* ── Main content area ── */
.content-main{padding:2.25rem 0 3rem}

/* Consistent section spacing */
.content-main section{margin-top:2.25rem;padding-top:2.25rem;border-top:1px solid var(--border-light)}
.content-main section:first-of-type{margin-top:0;padding-top:0;border-top:none}

/* ══════════════════════════════════════
   TYPOGRAPHY COMPONENTS
══════════════════════════════════════ */
.breadcrumb{
  font-size:.78rem;color:var(--ink-faint);
  padding:1.1rem 0 0;margin-bottom:1.1rem;
}
.breadcrumb a{color:var(--ink-muted);text-decoration:none}
.breadcrumb a:hover{color:var(--navy)}
.breadcrumb span{margin:0 .4rem;color:var(--border)}

.page-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.7rem,3.5vw,2.5rem);font-weight:600;
  color:var(--navy);line-height:1.15;margin-bottom:.6rem;
}
.page-byline{
  font-size:.82rem;color:var(--ink-faint);letter-spacing:.04em;
  margin-bottom:1.75rem;padding-bottom:1.5rem;
  border-bottom:1px solid var(--border);line-height:1.6;
}

.section-num{
  font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gold);display:block;margin-bottom:.3rem;
}
.section-title{
  font-family:'Playfair Display',serif;font-size:1.5rem;
  font-weight:600;color:var(--navy);line-height:1.2;
  margin-bottom:1rem;
}
.sub-title{
  font-family:'Playfair Display',serif;font-size:1.15rem;
  font-weight:600;color:var(--navy);line-height:1.25;
  margin-top:1.5rem;margin-bottom:.75rem;
}

/* Pull quote */
.pull-quote{
  border-top:2px solid var(--navy);border-bottom:1px solid var(--border);
  padding:1.6rem 0;margin:2.25rem 0;
}
.pull-quote blockquote{
  font-size:1.18rem;font-style:italic;color:var(--navy);
  line-height:1.55;border:none;padding:0;margin:0;
}
.pull-quote cite{
  display:block;margin-top:.8rem;font-family:'Source Serif 4',serif;
  font-size:.77rem;font-style:normal;letter-spacing:.06em;
  color:var(--ink-faint);text-transform:uppercase;
}

/* ══════════════════════════════════════
   CALLOUT BOXES
══════════════════════════════════════ */
/* Editor note — blue left border */
.editor-note{
  background:#f0f5fa;border-left:3px solid var(--navy);
  padding:1.25rem 1.5rem;margin:1.75rem 0;border-radius:0 4px 4px 0;
}
.editor-note-label{
  font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--navy);margin-bottom:.55rem;font-weight:500;
}
.editor-note p{font-size:.9rem;color:#3a4a5c;font-style:italic;line-height:1.75;margin-bottom:.65rem}
.editor-note p:last-child{margin-bottom:0}

/* Correction box — amber left border */
.correction{
  background:#fffbf0;border-left:3px solid var(--gold);
  padding:1.2rem 1.5rem;margin:1.75rem 0;border-radius:0 4px 4px 0;
}
.correction-label{
  font-size:.67rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--gold);margin-bottom:.5rem;
  display:flex;align-items:center;gap:.4rem;
}
.correction-label::before{
  content:'';display:inline-block;width:6px;height:6px;
  background:var(--gold);border-radius:50%;flex-shrink:0;
}
.correction p{font-size:.9rem;color:#5c4a1a;line-height:1.75;margin-bottom:.65rem}
.correction p:last-child{margin-bottom:0}

/* Varlık Vergisi — red left border */
.vv-box{
  background:#fff5f5;border-left:4px solid var(--red);
  border:1px solid rgba(200,80,80,.25);border-left:4px solid var(--red);
  padding:1.35rem 1.5rem;margin:1.75rem 0;border-radius:0 4px 4px 0;
}
.vv-box-label{
  font-size:.67rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--red);margin-bottom:.55rem;
  display:flex;align-items:center;gap:.4rem;
}
.vv-box-label::before{
  content:'';display:inline-block;width:6px;height:6px;
  background:var(--red);border-radius:50%;flex-shrink:0;
}
.vv-box p{font-size:.9rem;color:#5c1a1a;line-height:1.75;margin-bottom:.65rem}
.vv-box p:last-child{margin-bottom:0}

/* Context block — navy top border */
.context-block{
  background:var(--white);border:1px solid var(--border);
  border-top:3px solid var(--navy);border-radius:0 0 4px 4px;
  padding:1.35rem 1.5rem;margin:1.75rem 0;
}
.context-block-label{
  font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--navy);margin-bottom:.7rem;font-weight:500;
}
.context-block p{font-size:.95rem;line-height:1.82;margin-bottom:.9rem}
.context-block p:last-child{margin-bottom:0}

/* Cross-link banner */
.cross-link{
  background:var(--navy);border-radius:4px;
  padding:1.1rem 1.4rem;margin:2rem 0;
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;
}
.cross-link p{color:rgba(255,255,255,.78);font-size:.9rem;margin:0}
.cross-link a{
  background:var(--gold);color:#fff;text-decoration:none;
  padding:.48rem 1.05rem;border-radius:2px;font-size:.79rem;
  letter-spacing:.04em;white-space:nowrap;flex-shrink:0;transition:background .18s;
}
.cross-link a:hover{background:var(--gold-light)}

/* Memorial / dedication block */
.memorial{
  background:var(--navy);border-radius:6px;
  padding:1.5rem 1.75rem;margin:0 0 1.75rem;
  display:flex;align-items:flex-start;gap:1.25rem;
}
.memorial-icon{
  width:46px;height:46px;border-radius:50%;
  background:rgba(201,168,76,.2);border:1px solid rgba(201,168,76,.4);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  font-family:'Playfair Display',serif;font-style:italic;
  color:var(--gold-light);font-size:1.2rem;
}
.memorial-text .memorial-name{
  font-family:'Playfair Display',serif;color:#fff;
  font-size:1rem;font-weight:600;margin-bottom:.15rem;
}
.memorial-text .memorial-dates{
  font-size:.75rem;letter-spacing:.06em;
  color:rgba(255,255,255,.45);margin-bottom:.65rem;
}
.memorial-text p{font-size:.88rem;color:rgba(255,255,255,.65);margin:0;line-height:1.7}

/* ══════════════════════════════════════
   STAT CARDS
══════════════════════════════════════ */
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}
@media(max-width:560px){.stat-row{grid-template-columns:repeat(2,1fr)}}
.stat{
  background:var(--white);border:1px solid var(--border);
  border-radius:4px;padding:1.2rem 1rem;text-align:center;
}
.stat-num{
  font-family:'Playfair Display',serif;font-size:2rem;
  color:var(--navy);display:block;line-height:1.1;font-weight:600;
}
.stat-label{
  font-size:.7rem;color:var(--ink-faint);letter-spacing:.09em;
  text-transform:uppercase;margin-top:.4rem;display:block;line-height:1.5;
}

/* ══════════════════════════════════════
   CARD GRID
══════════════════════════════════════ */
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.1rem;margin:1.75rem 0}
.card{
  background:var(--white);border:1px solid var(--border);
  border-radius:6px;padding:1.4rem 1.5rem;
  text-decoration:none;display:block;
  transition:border-color .18s,box-shadow .18s;
}
.card:hover{border-color:var(--gold-light);box-shadow:0 2px 12px rgba(139,105,20,.1)}
.card-kicker{font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:.4rem;display:block}
.card-title{font-family:'Playfair Display',serif;font-size:1.08rem;color:var(--navy);font-weight:600;margin-bottom:.5rem;line-height:1.3}
.card-desc{font-size:.85rem;color:var(--ink-muted);line-height:1.65}
.card-arrow{display:block;margin-top:.7rem;font-size:.8rem;color:var(--gold);text-decoration:none}

/* ══════════════════════════════════════
   DIPLOMAT CARDS
══════════════════════════════════════ */
.diplomat-card{
  background:var(--white);border:1px solid var(--border);
  border-radius:6px;padding:1.25rem 1.4rem;
  margin-bottom:.9rem;display:flex;gap:1rem;align-items:flex-start;
}
.diplomat-initial{
  width:46px;height:46px;border-radius:50%;
  background:var(--navy);color:#fff;
  font-family:'Playfair Display',serif;font-size:1.15rem;font-style:italic;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.diplomat-name{font-family:'Playfair Display',serif;font-size:.98rem;color:var(--navy);font-weight:600;margin-bottom:.12rem}
.diplomat-role{font-size:.73rem;color:var(--ink-faint);letter-spacing:.04em;margin-bottom:.5rem}
.diplomat-card p{font-size:.88rem;color:var(--ink-muted);margin-bottom:.6rem;line-height:1.7}
.diplomat-card p:last-child{margin-bottom:0}

/* Survivor / person card */
.survivor-card{
  background:var(--white);border:1px solid var(--border);
  border-radius:6px;padding:1.4rem;margin:1.75rem 0;
  display:flex;gap:1.1rem;align-items:flex-start;
}
.survivor-initial{
  width:52px;height:52px;border-radius:50%;background:var(--navy);color:#fff;
  font-family:'Playfair Display',serif;font-size:1.35rem;font-style:italic;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.survivor-name{font-family:'Playfair Display',serif;font-size:1rem;color:var(--navy);margin-bottom:.18rem;font-weight:600}
.survivor-meta{font-size:.73rem;color:var(--ink-faint);letter-spacing:.04em;margin-bottom:.6rem}
.survivor-body p{font-size:.9rem;color:var(--ink-muted);margin-bottom:0;line-height:1.72}

/* ══════════════════════════════════════
   TIMELINE — redesigned for clarity
══════════════════════════════════════ */
.timeline-wrap{position:relative}

/* Era heading */
.tl-era{
  margin-top:2.75rem;
  padding-bottom:.6rem;
  border-bottom:2px solid var(--navy);
  margin-bottom:.25rem;
}
.tl-era-label{
  font-family:'Playfair Display',serif;
  font-size:1rem;font-weight:600;color:var(--navy);
  letter-spacing:.01em;
}

/* Each event row */
.tl-row{
  display:grid;
  grid-template-columns:96px 20px 1fr;
  gap:0;
  align-items:flex-start;
  padding:0;
  position:relative;
}
/* Vertical line through dot column */
.tl-row::before{
  content:'';position:absolute;
  left:106px;top:0;bottom:0;
  width:1px;background:var(--border-light);
  z-index:0;
}
.tl-row:first-child::before{top:12px}
.tl-row:last-child::before{bottom:calc(100% - 12px)}

/* Date cell */
.tl-date{
  font-family:'Playfair Display',serif;
  font-size:.88rem;font-style:italic;
  color:var(--gold);
  text-align:right;
  padding:.55rem .7rem 1.1rem 0;
  line-height:1.3;
  grid-column:1;
}

/* Dot cell */
.tl-dot-cell{
  grid-column:2;
  display:flex;justify-content:center;
  padding-top:.62rem;
  position:relative;z-index:1;
}
.tl-dot{
  width:10px;height:10px;border-radius:50%;
  flex-shrink:0;
  border:2px solid var(--cream);
  box-shadow:0 0 0 1px var(--border);
}
.dot-g{background:var(--dot-green);box-shadow:0 0 0 1px var(--dot-green)}
.dot-r{background:var(--dot-red);box-shadow:0 0 0 1px var(--dot-red)}
.dot-a{background:var(--dot-amber);box-shadow:0 0 0 1px var(--dot-amber)}
.dot-b{background:var(--dot-blue);box-shadow:0 0 0 1px var(--dot-blue)}
.dot-n{background:var(--border);box-shadow:0 0 0 1px var(--border)}

/* Content cell */
.tl-body{
  grid-column:3;
  padding:.45rem 0 1rem 1rem;
}
.tl-title{
  font-size:.93rem;font-weight:500;color:var(--ink);
  line-height:1.4;margin-bottom:.2rem;
}
.tl-sub{
  font-size:.82rem;color:var(--ink-muted);line-height:1.65;
}
.tl-sub a{font-size:.82rem}

/* Legend */
.tl-legend{
  display:flex;gap:1rem;flex-wrap:wrap;
  padding:.85rem 1.1rem;
  background:var(--white);border:1px solid var(--border);
  border-radius:4px;margin-bottom:2rem;
}
.tl-leg{display:flex;align-items:center;gap:.45rem;font-size:.8rem;color:var(--ink-muted)}
.tl-leg-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}

/* ══════════════════════════════════════
   TABS (Struma / Anatolia)
══════════════════════════════════════ */
.subsection-tabs{
  display:flex;border-bottom:2px solid var(--border);
  margin-bottom:2.25rem;gap:0;
  overflow-x:auto;scrollbar-width:none;
}
.subsection-tabs::-webkit-scrollbar{display:none}
.tab{
  font-family:'Source Serif 4',serif;font-size:.82rem;
  padding:.65rem 1rem;cursor:pointer;
  color:var(--ink-faint);border:none;
  border-bottom:2px solid transparent;margin-bottom:-2px;
  letter-spacing:.03em;background:none;white-space:nowrap;
  -webkit-appearance:none;transition:color .14s,border-color .14s;
}
.tab:hover{color:var(--ink-muted)}
.tab.active{color:var(--navy);border-bottom-color:var(--navy);font-weight:500}
.view{display:none}
.view.active{display:block;animation:fadeIn .22s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}

/* ══════════════════════════════════════
   REFERENCES
══════════════════════════════════════ */
.refs-block{
  background:var(--cream-dark);border-top:2px solid var(--navy);
  border-radius:0 0 4px 4px;padding:1.4rem 1.5rem;margin-top:2rem;
}
.refs-block h3{
  font-family:'Playfair Display',serif;font-size:1rem;
  color:var(--navy);margin-bottom:1rem;font-weight:600;
}
.ref-item{
  font-size:.82rem;color:var(--ink-muted);
  padding:.5rem 0;border-bottom:.5px solid var(--border);line-height:1.65;
}
.ref-item:last-child{border-bottom:none}

/* ══════════════════════════════════════
   FOOTER NAV (tab prev/next)
══════════════════════════════════════ */
.footer-nav{
  background:var(--navy);padding:1.25rem 2rem;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:1rem;
}
.footer-nav-btn{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);
  color:rgba(255,255,255,.72);font-family:'Source Serif 4',serif;
  font-size:.79rem;padding:.55rem 1.1rem;border-radius:2px;
  cursor:pointer;letter-spacing:.03em;transition:all .18s;
  text-decoration:none;display:inline-block;
}
.footer-nav-btn:hover{background:rgba(255,255,255,.14);color:#fff}
.footer-nav-btn.next{background:var(--gold);border-color:var(--gold);color:#fff}
.footer-nav-btn.next:hover{background:var(--gold-light);border-color:var(--gold-light)}
.page-indicator{display:flex;gap:6px;align-items:center}
.page-dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.2);border:none;padding:0;cursor:pointer;
  transition:background .16s;
}
.page-dot.active{background:var(--gold-light)}
.footer-credit{font-size:.7rem;color:rgba(255,255,255,.32)}

/* ══════════════════════════════════════
   HOME PAGE
══════════════════════════════════════ */
.home-intro{
  max-width:680px;margin:0 auto;
  padding:3.25rem 2rem 2.25rem;text-align:center;
}
.home-intro p{font-size:1.05rem;color:var(--ink-muted);line-height:1.9}
.section-divider{
  text-align:center;margin:2.75rem 0 1.75rem;position:relative;
}
.section-divider::before{
  content:'';position:absolute;top:50%;left:0;right:0;
  height:1px;background:var(--border);
}
.section-divider span{
  position:relative;background:var(--cream);padding:0 1rem;
  font-family:'Playfair Display',serif;font-size:1rem;
  color:var(--gold);font-style:italic;
}
.section-grid-label{
  font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-faint);text-align:center;margin-bottom:1.4rem;
}
.featured-strip{background:var(--navy);padding:2.5rem 2rem;margin-top:3rem}
.featured-strip-inner{max-width:860px;margin:0 auto}
.featured-strip h2{font-family:'Playfair Display',serif;color:#fff;font-size:1.28rem;margin-bottom:.45rem}
.featured-strip p{color:rgba(255,255,255,.62);font-size:.9rem;max-width:540px;margin-bottom:1rem;line-height:1.75}
.btn-primary{
  display:inline-block;background:var(--gold);color:#fff;text-decoration:none;
  padding:.58rem 1.3rem;border-radius:2px;font-size:.8rem;
  letter-spacing:.04em;transition:background .18s;
}
.btn-primary:hover{background:var(--gold-light);color:#fff}
.btn-ghost{
  display:inline-block;background:transparent;color:rgba(255,255,255,.72);
  text-decoration:none;padding:.58rem 1.3rem;border-radius:2px;
  border:1px solid rgba(255,255,255,.28);font-size:.8rem;
  letter-spacing:.04em;margin-left:.6rem;transition:all .18s;
}
.btn-ghost:hover{color:#fff;border-color:rgba(255,255,255,.55)}

/* ══════════════════════════════════════
   SITE FOOTER
══════════════════════════════════════ */
.site-footer{
  background:var(--navy);padding:2.25rem 2rem;text-align:center;
  border-top:3px solid rgba(255,255,255,.06);
}
.footer-logo{
  font-family:'Playfair Display',serif;color:#fff;
  font-size:1.1rem;margin-bottom:.35rem;
}
.footer-rumi{
  font-family:'Source Serif 4',serif;font-style:italic;
  color:rgba(255,255,255,.38);font-size:.84rem;margin-bottom:.9rem;
}
.footer-links{
  display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin-bottom:.6rem;
}
.footer-links a{
  color:rgba(255,255,255,.45);text-decoration:none;font-size:.74rem;
  padding:.3rem .7rem;letter-spacing:.04em;transition:color .14s;
}
.footer-links a:hover{color:rgba(255,255,255,.82)}
.footer-copy{font-size:.7rem;color:rgba(255,255,255,.25)}

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.not-found-wrap{text-align:center;padding:4rem 2rem 2rem}
.not-found-code{
  font-family:'Playfair Display',serif;font-size:6rem;
  color:rgba(14,42,74,.08);line-height:1;display:block;
}
.not-found-wrap h1{font-size:1.8rem;color:var(--navy);margin-bottom:.5rem}
.not-found-wrap p{color:var(--ink-muted);font-size:.95rem;margin-bottom:1.5rem}

.sitemap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem;margin-top:2rem}
.sitemap-section h2{
  font-family:'Playfair Display',serif;font-size:1rem;color:var(--navy);
  font-weight:600;margin-bottom:.8rem;padding-bottom:.45rem;border-bottom:1px solid var(--border);
}
.sitemap-links{display:flex;flex-direction:column}
.sitemap-links a{
  font-size:.88rem;color:var(--ink-muted);text-decoration:none;
  padding:.32rem 0;border-bottom:.5px solid var(--border-light);
  display:flex;align-items:center;gap:.45rem;transition:color .13s;
}
.sitemap-links a:last-child{border-bottom:none}
.sitemap-links a:hover{color:var(--navy)}
.sitemap-links a::before{content:'→';color:var(--gold);font-size:.72rem;flex-shrink:0}

/* ══════════════════════════════════════
   COOKIE CONSENT
══════════════════════════════════════ */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;
  background:var(--navy);border-top:3px solid var(--gold);
  padding:1rem 1.5rem;
  display:flex;align-items:center;justify-content:space-between;
  gap:1.1rem;flex-wrap:wrap;z-index:9999;
  transform:translateY(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible{transform:translateY(0)}
.cookie-text p{color:rgba(255,255,255,.75);font-size:.81rem;line-height:1.6;margin:0}
.cookie-text a{color:var(--gold-light);text-underline-offset:2px}
.cookie-actions{display:flex;gap:.55rem;flex-shrink:0;flex-wrap:wrap}
.cookie-btn{
  font-family:'Source Serif 4',serif;font-size:.77rem;
  padding:.48rem .95rem;border-radius:2px;cursor:pointer;
  border:1px solid transparent;letter-spacing:.03em;transition:all .16s;white-space:nowrap;
}
.cookie-btn-accept{background:var(--gold);color:#fff;border-color:var(--gold)}
.cookie-btn-accept:hover{background:var(--gold-light);border-color:var(--gold-light)}
.cookie-btn-decline{background:transparent;color:rgba(255,255,255,.62);border-color:rgba(255,255,255,.22)}
.cookie-btn-decline:hover{color:#fff;border-color:rgba(255,255,255,.5)}
.cookie-btn-settings{
  background:transparent;color:rgba(255,255,255,.38);border-color:transparent;
  font-size:.72rem;text-decoration:underline;text-underline-offset:2px;padding:.48rem .5rem;
}
.cookie-btn-settings:hover{color:rgba(255,255,255,.7)}

/* Cookie modal */
.cookie-modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.5);
  z-index:10000;display:flex;align-items:flex-end;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .22s;
}
.cookie-modal-overlay.open{opacity:1;pointer-events:auto}
.cookie-modal{
  background:var(--white);width:100%;max-width:500px;
  border-radius:8px 8px 0 0;padding:1.75rem;
  transform:translateY(16px);transition:transform .22s;
  max-height:88vh;overflow-y:auto;
}
.cookie-modal-overlay.open .cookie-modal{transform:translateY(0)}
.cookie-modal h2{font-family:'Playfair Display',serif;font-size:1.2rem;color:var(--navy);margin-bottom:.4rem}
.cookie-modal>p{font-size:.87rem;color:var(--ink-muted);line-height:1.7;margin-bottom:1rem}
.cookie-toggle-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:.85rem 0;border-top:1px solid var(--border);
}
.cookie-toggle-row:last-of-type{border-bottom:1px solid var(--border);margin-bottom:1.1rem}
.cookie-toggle-label{font-size:.87rem;font-weight:500;color:var(--ink);line-height:1.3}
.cookie-toggle-desc{font-size:.77rem;color:var(--ink-faint);margin-top:.12rem;line-height:1.5}
.toggle-switch{position:relative;width:36px;height:20px;flex-shrink:0}
.toggle-switch input{opacity:0;width:0;height:0}
.toggle-slider{position:absolute;cursor:pointer;inset:0;background:var(--border);border-radius:20px;transition:.18s}
.toggle-slider::before{content:'';position:absolute;width:14px;height:14px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.18s}
.toggle-switch input:checked+.toggle-slider{background:var(--teal)}
.toggle-switch input:checked+.toggle-slider::before{transform:translateX(16px)}
.toggle-switch input:disabled+.toggle-slider{opacity:.5;cursor:not-allowed}
.cookie-modal-actions{display:flex;gap:.65rem;justify-content:flex-end}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width:768px){
  .nav-toggle{display:flex}
  .nav-links{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    background:var(--navy);
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:3px solid var(--gold);
    flex-direction:column;
    padding:.4rem 0 .75rem;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
    z-index:250;
    max-height:calc(100vh - 52px);
    overflow-y:auto;
  }
  .nav-links.open{display:flex}
  .nav-links>a,
  .nav-links>.has-drop>a{padding:.72rem 1.25rem;font-size:.84rem;border-bottom:.5px solid rgba(255,255,255,.07);width:100%}
  .has-drop{position:static;flex-direction:column;align-items:stretch}
  .has-drop:hover .dropdown,.has-drop:focus-within .dropdown{display:none}
  .nav-links.open .has-drop .dropdown{display:block}
  .dropdown{position:static;min-width:unset;box-shadow:none;border-top:none;background:rgba(0,0,0,.18)}
  .dropdown a{padding:.58rem 1.25rem .58rem 2.25rem}
}
@media(max-width:780px){
  .hero{padding:3rem 1.25rem 2.75rem}
  .page-wrap{padding:0 1.25rem}
  .card-grid{grid-template-columns:1fr}
  .survivor-card,.diplomat-card{flex-direction:column;gap:.85rem}
  .featured-strip{padding:2rem 1.25rem}
  .footer-nav{padding:1rem 1.25rem}
  .tl-row{grid-template-columns:78px 18px 1fr}
  .tl-row::before{left:87px}
  .tl-date{font-size:.8rem;padding:.55rem .5rem 1rem 0}
}
@media(max-width:480px){
  .stat-row{grid-template-columns:1fr 1fr}
  .memorial{flex-direction:column;gap:.9rem}
  .hero-title{font-size:1.85rem}
}

/* ══════════════════════════════════════
   STRUMA & ANATOLIA — page-specific components
   (section nav, inline timeline, section headers,
    footnotes, site cards, sub-sections, memorial candle)
══════════════════════════════════════ */

/* ── Section nav (table of contents on overview tab) ── */
.section-nav{
  background:var(--white);border:1px solid var(--border);
  border-radius:6px;padding:1.25rem 1.5rem;margin:1.75rem 0;
}
.section-nav-label{
  font-size:.67rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-faint);margin-bottom:.85rem;font-weight:500;
}
.section-nav-links{display:flex;flex-direction:column;gap:0}
.section-nav-links a{
  display:flex;align-items:center;gap:.75rem;
  font-size:.9rem;color:var(--ink-muted);text-decoration:none;
  padding:.6rem 0;border-bottom:.5px solid var(--border-light);
  transition:color .14s;line-height:1.4;
  cursor:pointer;
}
.section-nav-links a:last-child{border-bottom:none}
.section-nav-links a:hover{color:var(--navy)}
.section-nav-links a .num{
  font-family:'Playfair Display',serif;font-style:italic;
  color:var(--gold);font-size:.88rem;min-width:1.2rem;flex-shrink:0;
}
.section-nav-links a .arrow{
  margin-left:auto;color:var(--gold);font-size:.82rem;flex-shrink:0;
}

/* ── Section header (kicker + title pair used inside tab views) ── */
.section-header{margin-bottom:1.5rem}
.section-header .section-num{
  font-size:.67rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gold);display:block;margin-bottom:.3rem;
}
.section-header .section-title{
  font-family:'Playfair Display',serif;font-size:1.5rem;
  font-weight:600;color:var(--navy);line-height:1.2;margin-bottom:0;
}

/* ── Inline mini-timeline (on Struma overview tab) ── */
.timeline{position:relative;margin:1.75rem 0}
.timeline::before{
  content:'';position:absolute;left:82px;top:0;bottom:0;
  width:1px;background:var(--border-light);
}
.timeline-item{
  display:grid;grid-template-columns:72px 20px 1fr;
  gap:0;align-items:flex-start;position:relative;padding:0 0 1.1rem;
}
.timeline-item:last-child{padding-bottom:0}
.timeline-date{
  font-family:'Playfair Display',serif;font-size:.82rem;
  font-style:italic;color:var(--gold);
  text-align:right;padding:.28rem .65rem 0 0;line-height:1.3;
}
.timeline-dot{
  width:9px;height:9px;border-radius:50%;
  background:var(--navy);margin-top:.38rem;
  position:relative;z-index:1;
  border:2px solid var(--cream);
  box-shadow:0 0 0 1px var(--navy);
}
.timeline-content{
  padding:.18rem 0 0 .85rem;
}
.timeline-content p{font-size:.9rem;color:var(--ink-muted);line-height:1.72;margin-bottom:0}
.timeline-content strong{color:var(--ink);font-weight:500}

/* ── Footnotes (Anatolia) ── */
.footnotes{
  background:var(--cream-dark);border-top:1px solid var(--border);
  padding:1.4rem 1.5rem;margin-top:2.5rem;border-radius:0 0 4px 4px;
}
.footnotes-label{
  font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-faint);margin-bottom:.85rem;font-weight:500;
}
.footnote-item{
  display:flex;gap:.65rem;padding:.42rem 0;
  border-bottom:.5px solid var(--border-light);align-items:baseline;
}
.footnote-item:last-child{border-bottom:none}
.footnote-num{
  font-family:'Playfair Display',serif;font-size:.78rem;
  font-style:italic;color:var(--gold);min-width:1.4rem;flex-shrink:0;
}
.fn{
  font-size:.82rem;color:var(--ink-muted);line-height:1.65;
}
/* Superscript footnote markers inside text */
sup.fn-ref{
  font-size:.68em;vertical-align:super;line-height:0;
  color:var(--gold);cursor:default;
}

/* ── Sub-section (used inside tab views for nested topics) ── */
.sub-section{margin-top:2rem;padding-top:1.75rem;border-top:1px solid var(--border-light)}
.sub-section:first-of-type{margin-top:1.25rem;padding-top:0;border-top:none}
.sub-section-kicker{
  font-size:.67rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);display:block;margin-bottom:.3rem;
}
.sub-section-title{
  font-family:'Playfair Display',serif;font-size:1.2rem;
  font-weight:600;color:var(--navy);line-height:1.25;margin-bottom:.9rem;
}

/* ── Site / attraction cards (Anatolia modern section) ── */
.sites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1.5rem 0}
.site-card{
  background:var(--white);border:1px solid var(--border);
  border-radius:6px;padding:1.1rem 1.25rem;
}
.site-card-name{
  font-family:'Playfair Display',serif;font-size:.98rem;
  color:var(--navy);font-weight:600;margin-bottom:.3rem;
}
.site-card-detail{font-size:.82rem;color:var(--ink-muted);line-height:1.6}

/* ── Memorial candle (Anatolia Nedim Yahya block) ── */
.memorial-candle{
  font-size:1.4rem;line-height:1;
  color:var(--gold-light);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;
}
