/* ============================================================
   pages/post.css — Blog post / chronicle post styles
   ============================================================ */

/* ============================================================
   POST HEADER
   ============================================================ */

.post-header {
  background-color: var(--hollow-black);
  padding: 0;
}

.post-header__image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--dusk-charcoal);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-header__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 800px) {
  .post-header__image {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* Category strip */
.post-category-strip {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) 0;
  border-top: 3px solid var(--forge-gold);
}

.post-category-strip--world     { border-top-color: var(--forge-gold); }
.post-category-strip--history   { border-top-color: var(--aurora-teal); }
.post-category-strip--dispatch  { border-top-color: var(--swan-silver); }

.post-category-label {
  font-family: var(--font-jost);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps-md);
  display: block;
  margin-bottom: var(--space-sm);
}

.post-category-label--world    { color: var(--forge-gold); }
.post-category-label--history  { color: var(--aurora-teal); }
.post-category-label--dispatch { color: var(--swan-silver); }

.post-header__meta {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.post-header__title {
  font-family: var(--font-cormorant);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--vellum);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.post-header__byline {
  font-family: var(--font-jost);
  font-weight: 300;
  font-size: 13px;
  color: var(--ash-gray);
}


/* ============================================================
   POST BODY
   ============================================================ */

.post-body {
  background-color: var(--hollow-black);
  padding: var(--space-xxl) 0;
}

.post-body__content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Post prose */
.post-prose {
  font-family: var(--font-palatino);
  font-size: 17px;
  line-height: 1.65;
  color: var(--frost-silver);
}

.post-prose p {
  margin-bottom: 1.4em;
}

.post-prose p:last-child {
  margin-bottom: 0;
}

.post-prose strong {
  font-weight: bold;
  color: var(--vellum);
}

.post-prose em {
  font-style: italic;
}

.post-prose a {
  color: var(--frost-silver);
  text-decoration: underline;
  text-decoration-color: rgba(200, 205, 214, 0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition-fast), color var(--transition-fast);
}

.post-prose a:hover {
  color: var(--vellum);
  text-decoration-color: var(--vellum);
}

/* Section divider inside post prose */
.post-prose .section-divider {
  margin: var(--space-xl) auto;
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.5em;
}


/* ============================================================
   IN-POST PULL QUOTE (full-width bleed)
   ============================================================ */

.post-pullquote {
  background-color: var(--iron-dark);
  padding: var(--space-xl) 0;
  margin: var(--space-xl) 0;
  /* Full-width bleed from within the narrow column */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.post-pullquote__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.post-pullquote blockquote {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: 28px;
  color: var(--vellum);
  text-align: center;
  line-height: 1.4;
  margin: var(--space-lg) 0;
}


/* ============================================================
   POST SUBSCRIBE FOOTER
   ============================================================ */

.post-subscribe {
  background-color: var(--iron-dark);
  padding: var(--space-xxl) 0;
  text-align: center;
}

.post-subscribe__prompt {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: 15px;
  color: var(--ash-gray);
  margin-bottom: var(--space-md);
  display: block;
}


/* ============================================================
   WORLD HUB PAGE
   ============================================================ */

.world-hub-header {
  background: linear-gradient(
    to bottom,
    var(--predawn-blue) 0%,
    var(--dusk-charcoal) 100%
  );
  padding: 80px 0 60px;
  text-align: center;
}

.world-hub-header__title {
  font-family: var(--font-cinzel);
  font-size: clamp(22px, 4vw, 40px);
  letter-spacing: var(--tracking-cinzel);
  text-transform: uppercase;
  color: var(--vellum);
  margin-bottom: var(--space-sm);
}

.world-hub-header__tagline {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: 18px;
  color: var(--frost-silver);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

.world-hub-section {
  background-color: var(--iron-dark);
  padding: var(--space-xxl) 0;
}

.world-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .world-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MAP placeholder */
.map-placeholder {
  background-color: var(--iron-dark);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 205, 214, 0.1);
}

.map-placeholder__text {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: 20px;
  color: var(--ash-gray);
  text-align: center;
}
