/*
Theme Name: Temple of Artemis
Theme URI: https://templeofartemis.net
Description: Custom theme for templeofartemis.net — an independent tourism affiliate guide to the Temple of Artemis & Ephesus (Selçuk). Aegean/marble/terracotta design, GetYourGuide widgets, maps and SEO built in. Converted from the static HTML build.
Author: Oğuzhan Şentürk
Version: 1.0
License: GPL-2.0-or-later
Text Domain: temple-of-artemis
*/

/* ============================================================
   TEMPLE OF ARTEMIS — Theme Stylesheet
   Custom theme (HTML-first, WordPress-conversion ready).
   Author: built for templeofartemis.net
   Palette: Aegean blue · Marble · Terracotta · Gold
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand colours */
  --ink:          #23303a;   /* body text */
  --stone-900:    #1b2830;   /* darkest / footer */
  --aegean-800:   #0f3a4d;
  --aegean-700:   #14506b;
  --aegean-600:   #1c6a8c;   /* links */
  --terracotta:   #c05f3c;   /* primary CTA */
  --terracotta-d: #a44d2e;
  --gold:         #c39b45;   /* premium accent / hairlines */
  --gold-soft:    #d8b978;
  --marble:       #f7f3ea;   /* page background (warm) */
  --marble-2:     #efe7d7;
  --cream:        #fbf8f1;   /* card / raised surfaces */
  --muted:        #5f6d75;   /* secondary text */
  --line:         #e6dcc9;   /* borders on cream */
  --line-soft:    #eee6d6;
  --white:        #ffffff;

  /* Typography */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Structure */
  --container:    1160px;
  --container-narrow: 760px;
  --radius:       14px;
  --radius-sm:    9px;
  --shadow-sm:    0 1px 2px rgba(27,40,48,.06), 0 2px 8px rgba(27,40,48,.05);
  --shadow:       0 6px 24px rgba(27,40,48,.10);
  --shadow-lg:    0 18px 50px rgba(27,40,48,.16);
  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--marble);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; display: block; }
a { color: var(--aegean-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--terracotta); }
ul, ol { padding-left: 1.15em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--stone-900);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p  { margin: 0 0 1.15rem; }
.lead { font-size: 1.2rem; color: #3d4a52; line-height: 1.65; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section--cream { background: var(--cream); }
.section--marble2 { background: var(--marble-2); }
.section--dark { background: var(--stone-900); color: #d7e0e5; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,241,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 74px;
}
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand__mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold); border-radius: 50%;
  color: var(--terracotta);
}
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.28rem; color: var(--stone-900); line-height: 1;
  letter-spacing: -.01em;
}
.brand__name span { color: var(--terracotta); }
.brand__sub { display: block; font-family: var(--font-body); font-size: .64rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__menu { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-size: .93rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav__menu a:hover { color: var(--terracotta); }
.nav__menu a.is-active { color: var(--terracotta); }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold);
}
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--stone-900); margin: 5px 0; transition: .25s var(--ease); }

@media (max-width: 940px) {
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 22px 20px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .32s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__menu li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__menu a { display: block; padding: 14px 2px; font-size: 1.05rem; }
  .nav__menu a.is-active::after { display: none; }
  .nav__toggle { display: block; }
  .nav__cta-desktop { display: none; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .97rem;
  padding: .82rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s var(--ease); text-align: center; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 18px rgba(192,95,60,.28); }
.btn--primary:hover { background: var(--terracotta-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(192,95,60,.34); }
.btn--ghost { background: transparent; color: var(--stone-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--terracotta); background: var(--cream); }
.btn--gold { background: var(--stone-900); color: #fff; }
.btn--gold:hover { background: var(--aegean-800); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--stone-900); }
.btn--light:hover { background: var(--marble); color: var(--terracotta); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15,58,77,.72) 0%, rgba(27,40,48,.82) 100%),
    radial-gradient(1200px 500px at 70% -10%, rgba(195,155,69,.35), transparent 60%),
    linear-gradient(135deg, #14506b 0%, #0f3a4d 55%, #1b2830 100%);
  color: #fff;
}
/* When a real photo is available, add: .hero { background-image: url(...); background-size: cover; } */
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3.5rem, 8vw, 6rem);
  max-width: 760px;
}
.hero h1 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero__text { font-size: 1.22rem; color: #e7edf0; max-width: 620px; margin-bottom: 2rem; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.hero__meta dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: #fff; }

/* Decorative column silhouette (optional) */
.hero__column { position: absolute; right: -20px; bottom: 0; z-index: 1; opacity: .16; height: 120%; pointer-events: none; }

/* Fade the hero's bottom edge into the dark factstrip below — avoids a hard,
   muddy seam where the bright photo meets the solid-dark facts row. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, rgba(27,40,48,0) 0%, var(--stone-900) 100%);
  z-index: 1; pointer-events: none;
}

/* Compact page hero (interior pages) */
.page-hero {
  background:
    linear-gradient(180deg, rgba(15,58,77,.80), rgba(27,40,48,.88)),
    linear-gradient(135deg, #14506b, #0f3a4d 60%, #1b2830);
  color: #fff;
}
.page-hero__inner { padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(2.4rem, 5vw, 3.4rem); max-width: 780px; }
.page-hero h1 { color: #fff; margin: .3rem 0 .7rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero p { color: #dbe4e8; font-size: 1.15rem; margin-bottom: 0; max-width: 60ch; }
.page-hero .breadcrumb { color: #a9bcc4; padding-top: 0; }
.page-hero .breadcrumb a { color: #cdd8dd; }
.page-hero .breadcrumb a:hover { color: var(--gold-soft); }
.page-hero .breadcrumb li::after { color: rgba(255,255,255,.3); }

/* ---------- 8. Quick facts strip ---------- */
.factstrip { background: var(--stone-900); color: #cdd8dd; }
.factstrip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); }
.factstrip__item { background: var(--stone-900); padding: 1.5rem 1.4rem; text-align: center; }
.factstrip__item .ico { color: var(--gold-soft); margin: 0 auto .55rem; }
.factstrip__item .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8ea3ac; }
.factstrip__item .v { font-family: var(--font-display); font-size: 1.5rem; color: #fff; font-weight: 600; margin-top: 2px; }
@media (max-width: 720px) { .factstrip__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--marble-2), var(--line)); position: relative; }
.card__body { padding: 1.5rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card__link { margin-top: auto; font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: .4rem; }
.card__link::after { content: "→"; transition: transform .2s var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* Feature (icon) cards */
.feature { padding: 1.7rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.feature__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(192,95,60,.1); color: var(--terracotta); margin-bottom: 1rem; }
.feature h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

/* Numbered highlight list */
.hl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.hl-list li { display: flex; gap: 1rem; }
.hl-list .num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--terracotta);
  border: 1.5px solid var(--gold); background: var(--cream); }
.hl-list h4 { margin-bottom: .2rem; }
.hl-list p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- 10. Affiliate / Booking box ---------- */
.booking {
  background: var(--cream); border: 1px solid var(--line);
  border-top: 4px solid var(--terracotta);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.7rem 1.7rem 1.8rem;
}
.booking__label { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .8rem; }
.booking h3 { font-size: 1.55rem; margin-bottom: .35rem; }
.booking p { color: var(--muted); font-size: .96rem; }
.booking__price { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0; }
.booking__price .from { font-size: .82rem; color: var(--muted); }
.booking__price .amt { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--stone-900); }
.booking__rating { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }
.stars { color: var(--gold); letter-spacing: 1px; }
.booking .btn { width: 100%; }
.booking__note { text-align: center; font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }
.booking--sticky { position: sticky; top: 96px; }

/* GetYourGuide widget wrapper — drop real widget/script inside */
.gyg-widget {
  min-height: 120px; border-radius: var(--radius-sm);
  background: repeating-linear-gradient(45deg, #f4eede, #f4eede 12px, #f0e8d6 12px, #f0e8d6 24px);
  border: 1px dashed var(--gold); display: grid; place-items: center;
  color: var(--muted); font-size: .85rem; text-align: center; padding: 1.2rem;
}
/* Live GetYourGuide embeds (real widgets render their own UI) */
.gyg-embed { margin: 0 0 1.25rem; min-height: 60px; }
.gyg-embed:last-child { margin-bottom: 0; }
.gyg-embed > span { display: inline-block; color: var(--muted); font-size: .8rem; padding: .5rem 0; }

/* Inline affiliate band (full-width CTA) */
.affiliate-band {
  background: linear-gradient(120deg, var(--aegean-800), var(--stone-900));
  color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.affiliate-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(195,155,69,.3), transparent 70%); }
.affiliate-band h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.affiliate-band p { color: #cdd8dd; margin-bottom: 0; }
.affiliate-band__cta { position: relative; z-index: 2; text-align: right; }
@media (max-width: 760px) { .affiliate-band { grid-template-columns: 1fr; } .affiliate-band__cta { text-align: left; } }

/* ---------- 11. FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--stone-900);
  padding: 1.25rem 2.5rem 1.25rem 0; position: relative; line-height: 1.3;
}
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--terracotta); font-family: var(--font-body); transition: transform .25s var(--ease); }
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 0 1.3rem; color: var(--muted); font-size: 1rem; }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ---------- 12. Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--marble-2), var(--line)); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; aspect-ratio: 2/3; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .tall { grid-row: span 1; aspect-ratio: 4/3; } }

/* Image placeholder helper */
.imgph { display: grid; place-items: center; color: #b7a988; font-size: .8rem; letter-spacing: .05em;
  width: 100%; height: 100%; text-align: center; padding: 1rem; }

/* ---------- 13. Breadcrumb ---------- */
.breadcrumb { padding: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: .5rem; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--terracotta); }

/* ---------- 14. Article / prose ---------- */
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); margin: 1.8rem 0; }
.prose ul, .prose ol { margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose figure { margin: 1.8rem 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; font-style: italic; }
.prose blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.5rem; border-left: 3px solid var(--gold);
  background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--stone-900); font-style: italic;
}

/* Callout box */
.callout { background: rgba(195,155,69,.1); border: 1px solid var(--gold-soft); border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem; margin: 1.6rem 0; display: flex; gap: .9rem; }
.callout .ico { color: var(--gold); flex: none; }
.callout p { margin: 0; font-size: .98rem; }
.callout strong { color: var(--stone-900); }

/* Info table */
.itable { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .98rem; overflow: hidden;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.itable th, .itable td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.itable th { background: var(--stone-900); color: #fff; font-weight: 600; font-family: var(--font-body); }
.itable tr:nth-child(even) td { background: var(--cream); }
.itable tr:last-child td { border-bottom: 0; }

/* Two-column feature row (text + media) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--aegean-700), var(--stone-900)); box-shadow: var(--shadow); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Layout: content + sidebar */
.with-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .with-sidebar { grid-template-columns: 1fr; } .booking--sticky { position: static; } }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--stone-900); color: #9fb0b8; padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.site-footer a { color: #c3d0d6; }
.site-footer a:hover { color: var(--gold-soft); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #8ea3ac; font-size: .95rem; margin-top: 1rem; max-width: 30ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .7rem; font-size: .95rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; color: #c3d0d6; }
.footer__social a:hover { border-color: var(--gold-soft); background: rgba(255,255,255,.05); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #7d919a; }
.footer__bottom .disclaimer { max-width: 60ch; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 16. Ad slot (for future ad rental / AdSense) ---------- */
.ad-slot { border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--cream);
  display: grid; place-items: center; color: #b7a988; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; text-align: center; padding: 1.5rem; min-height: 110px; }
.ad-slot--leaderboard { min-height: 100px; }
.ad-slot--rect { min-height: 260px; }

/* ---------- 17. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
  background: rgba(192,95,60,.1); color: var(--terracotta); }
.badge--gold { background: rgba(195,155,69,.14); color: #8a6d1f; }
.badge--free { background: rgba(28,106,140,.12); color: var(--aegean-600); }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; background: var(--marble-2);
  color: var(--muted); border: 1px solid var(--line); }

/* Stat row (by-the-numbers) */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 2rem 0; }
.stats > div { background: var(--cream); padding: 1.5rem 1rem; text-align: center; }
.stats .n { font-family: var(--font-display); font-size: clamp(1.7rem,4vw,2.4rem); font-weight: 700; color: var(--terracotta); line-height: 1; }
.stats .l { font-size: .82rem; color: var(--muted); margin-top: .4rem; line-height: 1.3; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* Map embed (keyless Google Maps iframe) */
.mapembed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--marble-2); }
.mapembed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Visual timeline */
.timeline { position: relative; margin: 2rem 0 1rem; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.timeline li { position: relative; padding: 0 0 1.7rem 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--cream); border: 2px solid var(--terracotta); box-shadow: 0 0 0 4px var(--marble); }
.timeline .t-date { font-family: var(--font-display); font-weight: 700; color: var(--terracotta); font-size: 1.15rem; line-height: 1.2; }
.timeline .t-title { font-weight: 600; color: var(--stone-900); display: block; margin-top: .1rem; }
.timeline p { margin: .25rem 0 0; color: var(--muted); font-size: .98rem; }

/* Fact box (key facts on monument / attraction pages) */
.factbox { background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 0 0 1.8rem; }
.factbox h3 { font-size: 1.1rem; margin: 0 0 .8rem; }
.factbox dl { display: grid; grid-template-columns: minmax(90px,auto) 1fr; gap: .55rem 1.1rem; margin: 0; }
.factbox dt { font-weight: 600; color: var(--stone-900); font-size: .92rem; }
.factbox dd { margin: 0; color: var(--muted); font-size: .92rem; }

/* Blog */
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; color: var(--muted); font-size: .9rem; margin: 0; }
.post-meta .cat { color: var(--terracotta); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); display: inline-block; }
.card__cat { display: inline-block; color: var(--terracotta); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .55rem; }
.post-featured { grid-column: 1 / -1; }
.post-featured .card { flex-direction: row; }
.post-featured .card__media { aspect-ratio: auto; flex: 0 0 46%; min-height: 300px; }
.post-featured .card__body { padding: 2.2rem; justify-content: center; }
.post-featured .card__body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 760px) { .post-featured .card { flex-direction: column; } .post-featured .card__media { flex-basis: auto; min-height: 200px; aspect-ratio: 16/9; } }

/* Author / share row on posts */
.post-foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Forms */
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--stone-900); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,155,69,.18);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Skip link (a11y) */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--stone-900); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* Reveal on scroll (progressive enhancement — content stays visible without JS) */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal--armed { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal, .reveal--armed { opacity: 1; transform: none; transition: none; }
}

/* ---------- Sponsored banner (site-wide, above footer) ---------- */
.sponsor-strip { background: var(--marble-2); padding: clamp(1.5rem, 4vw, 2.4rem) 0; }
.sponsor-banner {
  display: block; max-width: 980px; margin-inline: auto;
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sponsor-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sponsor-banner img { width: 100%; height: auto; display: block; }

/* ============================================================
   MOBILE — single-column, no horizontal overflow
   ============================================================ */
html, body { overflow-x: hidden; }

@media (max-width: 640px) {
  /* Hero — natural height, keep the container's side padding */
  .hero { min-height: auto; }
  .hero__inner { padding-block: 3rem 2.5rem; max-width: 100%; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero__text { font-size: 1.02rem; }

  /* Hero meta: 2-column grid on mobile */
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin-top: 1.6rem; }

  /* Factstrip: 2 columns */
  .factstrip__grid { grid-template-columns: repeat(2, 1fr); }

  /* Buttons: stack on very small screens */
  .hero__actions { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .hero__actions .btn { width: 100%; text-align: center; }

  /* Split sections: single column */
  .split { grid-template-columns: 1fr !important; }
  .split__media { order: -1; }

  /* Stats: 2 columns */
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* Cards & grids: single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Sidebar layout: single column */
  .with-sidebar { grid-template-columns: 1fr; }
  .booking--sticky { position: static; }

  /* Affiliate band: single column */
  .affiliate-band { grid-template-columns: 1fr; }
  .affiliate-band__cta { text-align: left; }

  /* Timeline: fix overflow */
  .timeline { padding-left: 1.2rem; }

  /* Tables: scroll horizontally inside container */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 520px; }

  /* Section headings: no overflow */
  .section-head { max-width: 100%; }

  /* Map embeds: full width */
  .map-embed iframe, .mapembed iframe { width: 100% !important; }

  /* Page hero (inner pages): shorter on mobile */
  .page-hero { padding: 2.8rem 0; }
  .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Footer grid: single column */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
