/* ============================================================
   LOREDANA — BUONANOTTE BLOG POST
   /blog/loredana/buonanotte.css
   Requires: global.css + header-footer.css + loredana.css
   ============================================================ */

/* ============================================================
   POST HERO
   ============================================================ */
.post-hero {
  position: relative; min-height: 65vh;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--gw-ink);
}
.post-hero-bg { position: absolute; inset: 0; z-index: 1; }
.post-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: gw-ken 24s ease-in-out infinite alternate;
}
.post-hero-veil {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(30,38,32,.2) 0%, rgba(30,38,32,.5) 50%, rgba(30,38,32,.92) 100%);
}
.post-hero-content { position: relative; z-index: 3; width: 100%; padding: 120px 0 60px; }
.post-meta-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  animation: gw-up .6s ease both;
}
.post-category {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #b8d4bb; background: rgba(45,74,50,.35);
  border: 1px solid rgba(92,138,99,.4); padding: 4px 12px; border-radius: 999px;
}
.post-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.4); }
.post-region { font-size: .8rem; color: rgba(255,255,255,.65); font-weight: 500; }
.post-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 400; line-height: 1.1; color: #fff;
  letter-spacing: -.02em; max-width: 780px; margin-bottom: 28px;
  animation: gw-up .7s ease .08s both;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.post-title em { font-style: italic; color: #b8d4bb; }
.post-byline {
  display: flex; align-items: center; gap: 14px;
  animation: gw-up .7s ease .16s both;
}
.post-byline-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.6); box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.post-byline-name { display: block; font-weight: 700; font-size: .92rem; color: #fff; margin-bottom: 2px; }
.post-byline-detail { font-size: .78rem; color: rgba(255,255,255,.6); }

/* ============================================================
   ARTICLE LAYOUT
   ============================================================ */
.post-layout { padding: 72px 0 80px; background: var(--gw-stone); }
.post-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start;
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.post-article { min-width: 0; }

.post-section { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--gw-border); }
.post-section:last-of-type { border-bottom: none; margin-bottom: 0; }

.post-h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 400; line-height: 1.2; color: var(--gw-ink);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gw-forest-pale);
  position: relative;
}
.post-h2::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 48px; height: 2px; background: var(--gw-gradient);
}
.post-section p {
  font-size: .97rem; color: var(--gw-ink-mid); line-height: 1.85; margin-bottom: 18px;
}
.post-section p:last-child { margin-bottom: 0; }

/* Inline photo figures */
.post-figure {
  margin: 40px 0; border-radius: 12px; overflow: hidden;
}
.post-figure img { width: 100%; display: block; border-radius: 12px; }
.post-figure figcaption {
  font-size: .78rem; color: var(--gw-ink-light);
  font-style: italic; padding: 10px 4px 0;
  border-top: 1px solid var(--gw-border); margin-top: 10px;
}

/* 2-column photo grid */
.post-photo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 40px 0;
}
.post-figure-grid { margin: 0; }
.post-figure-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; display: block; }
.post-figure-grid figcaption {
  font-size: .75rem; color: var(--gw-ink-light);
  font-style: italic; padding: 8px 4px 0;
}

/* Closing pull quote */
.post-closing {
  margin-top: 16px; padding: 32px 36px;
  background: var(--gw-gradient);
  border-radius: 14px;
}
.post-closing p {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-size: 1.35rem;
  color: #fff; line-height: 1.5; margin: 0; text-align: center;
  letter-spacing: .01em;
}

/* Stay22 */
.post-stay22 { margin-top: 48px; border-radius: 14px; overflow: hidden; border: 1px solid var(--gw-border); }
.post-stay22-label {
  padding: 14px 20px; background: var(--gw-forest-pale);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gw-forest); border-bottom: 1px solid rgba(45,74,50,.15);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.post-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--gw-white); border-radius: 14px;
  border: 1px solid var(--gw-border); padding: 22px;
}
.sidebar-card-title {
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gw-ink-light); margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--gw-border);
}

.sidebar-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.sidebar-facts li { display: flex; align-items: flex-start; gap: 11px; }
.sidebar-fact-icon { font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }
.sidebar-facts strong { display: block; font-size: .75rem; font-weight: 700; color: var(--gw-ink); margin-bottom: 1px; }
.sidebar-facts span { font-size: .8rem; color: var(--gw-ink-mid); }

.sidebar-places { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-place-link {
  display: block; font-size: .85rem; color: var(--gw-ink-mid);
  padding: 7px 10px; border-radius: 8px;
}

.sidebar-card-cta { background: var(--gw-gradient); border-color: transparent; text-align: center; }
.sidebar-cta-flag { font-size: 2rem; margin-bottom: 8px; }
.sidebar-cta-label { font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.sidebar-cta-title { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.05rem; font-weight: 400; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.sidebar-cta-desc { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.55; margin-bottom: 16px; }
.sidebar-cta-btn {
  display: inline-block;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; text-decoration: none; transition: background .25s;
}
.sidebar-cta-btn:hover { background: rgba(255,255,255,.25); }

.sidebar-author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sidebar-author-img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gw-forest-pale);
}
.sidebar-author-name { font-weight: 700; font-size: .92rem; color: var(--gw-ink); margin-bottom: 2px; }
.sidebar-author-handle { font-size: .75rem; color: var(--gw-forest-soft); font-weight: 600; }
.sidebar-author-bio { font-size: .82rem; color: var(--gw-ink-mid); line-height: 1.65; margin-bottom: 16px; }
.sidebar-author-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-author-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; text-decoration: none;
  padding: 9px 14px; border-radius: 8px; transition: background .2s, color .2s;
}
.sidebar-author-link-internal { background: var(--gw-forest-pale); color: var(--gw-forest); }
.sidebar-author-link-internal:hover { background: var(--gw-forest); color: #fff; }
.sidebar-author-link-external { background: var(--gw-earth-pale); color: var(--gw-earth); border: 1px solid rgba(139,98,72,.2); }
.sidebar-author-link-external:hover { background: var(--gw-earth); color: #fff; }

/* Post footer nav */
.post-footer-nav { padding: 20px 0 60px; background: var(--gw-stone); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar-author-card { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .post-hero { min-height: 72vh; }
  .post-sidebar { grid-template-columns: 1fr; }
  .post-photo-grid { grid-template-columns: 1fr; }
  .post-closing { padding: 24px 20px; }
  .post-layout { padding: 48px 0 60px; }
}
