/* ---------------------------------------------------------
   STORY PAGE TEMPLATE — GASTRO OBSCURA STYLE
   Wonders in the World
--------------------------------------------------------- */

:root {
  --gold: #c9a66b;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --bg: #ffffff;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* ---------------------------------------------------------
   HEADER (matches global look but lighter)
--------------------------------------------------------- */

.story-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}

.story-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-header h1 {
  font-size: 1.4rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.story-header nav a {
  margin-left: 20px;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text);
}

.story-header nav a:hover {
  color: var(--gold);
}

/* ---------------------------------------------------------
   HERO (subtle band, 35vh)
--------------------------------------------------------- */

.story-hero {
  position: relative;
  height: 35vh;
  min-height: 260px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.4)
  );
}

.story-hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  color: #fff;
  width: 90%;
  max-width: 800px;
}

.story-title {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.story-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  line-height: 1.5;
  font-style: italic;
  color: #fdfdfd;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------
   ARTICLE BODY — editorial column
--------------------------------------------------------- */

.article-container {
  margin-top: 60px;
  margin-bottom: 80px;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: "Merriweather", serif;
  font-size: 1.08rem;
  line-height: 1.78;
  color: #2a2a2a;
}

.article-body p {
  margin: 22px 0;
}

/* Divider inside article if used */
.article-body .solid {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Inline images */
.inline-img {
  width: 100%;
  max-width: 680px;
  margin: 32px auto;
  display: block;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}

/* Fact box */
.fact-box {
  background: #faf8f3;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  margin: 40px auto;
  max-width: 680px;
}

.fact-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.fact-box ul {
  padding-left: 20px;
  margin: 0;
}

.fact-box li {
  margin: 8px 0;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   KEEP EXPLORING — 3-card grid
--------------------------------------------------------- */

.keep-exploring {
  background: #fafafa;
  padding: 70px 0 90px;
  border-top: 1px solid #eee;
}

.keep-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 40px;
}

.keep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.keep-grid .story-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.keep-grid .story-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.keep-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.story-card-info {
  padding: 14px 16px 18px;
  text-align: center;
}

.story-card-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.story-card-quote {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.story-card-author {
  color: var(--gold);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------
   FOOTER (reuse your global .site-footer)
--------------------------------------------------------- */
/* already styled in /css/styles.css; this file just coexists */

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 768px) {
  .story-header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .story-header nav a {
    margin-left: 14px;
    font-size: 0.85rem;
  }

  .story-hero {
    height: 32vh;
    min-height: 220px;
    padding-bottom: 22px;
  }

  .story-title {
    font-size: 1.8rem;
  }

  .story-quote {
    font-size: 1rem;
    padding: 0 10px;
  }

  .article-container {
    margin-top: 40px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .keep-grid {
    grid-template-columns: 1fr;
  }

  .keep-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .story-title {
    font-size: 1.55rem;
  }

  .story-quote {
    font-size: 0.95rem;
  }

  .story-header h1 {
    font-size: 1.2rem;
  }
}
