/* ==========================================================================
   LasVegasArchive.com — Flagship Museum & Editorial Article Stylesheet
   Unified Sticky Header, Magazine Hub, Passepartout Photos, Contact Sheet & Lightbox
   ========================================================================== */

:root {
  --bg-paper: #F7F5F0;
  --bg-header: rgba(247, 245, 240, 0.92);
  --bg-elevated: #FFFFFF;
  --bg-subtle: #EFECE5;
  --bg-mat: #EAE5DC;
  --text-primary: #141413;
  --text-secondary: #48453F;
  --text-muted: #736F67;
  --border-hairline: #E2DDD3;
  --border-strong: #C8C1B4;
  --accent-editorial: #9E2A2B;
  --accent-editorial-hover: #7E1F20;
  --accent-gold: #9A6B1F;
  --shadow-soft: 0 4px 22px rgba(20, 20, 19, 0.05);
  --shadow-hover: 0 14px 34px rgba(20, 20, 19, 0.11);
}

body.dark-gallery {
  --bg-paper: #0E0F12;
  --bg-header: rgba(14, 15, 18, 0.92);
  --bg-elevated: #17191E;
  --bg-subtle: #1F2229;
  --bg-mat: #22262E;
  --text-primary: #F3F2EE;
  --text-secondary: #C5C2BA;
  --text-muted: #8E8B82;
  --border-hairline: #262932;
  --border-strong: #383C47;
  --accent-editorial: #E05A47;
  --accent-editorial-hover: #EB6E5C;
  --accent-gold: #E5B85B;
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 16px 38px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100vh;
  background: var(--bg-paper);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background 0.2s ease, color 0.2s ease;
}

a {
  color: var(--accent-editorial);
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.9;
}

/* ==========================================================================
   1. Unified Sticky Museum-Paper / Glassmorphic Header
   ========================================================================== */
.editorial-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: 0 4px 20px rgba(20, 20, 19, 0.04);
}

.masthead-row {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px 28px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.masthead-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.masthead-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.brand-identity {
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.brand-identity:hover {
  opacity: 1;
}

.brand-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.05;
}

.brand-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.header-search-form {
  position: relative;
  width: 240px;
  max-width: 100%;
}

.header-search-input {
  width: 100%;
  padding: 7px 14px 7px 32px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-search-input:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(158, 42, 43, 0.1);
}

.header-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.header-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.header-pill-btn:hover {
  border-color: var(--text-primary);
  opacity: 1;
}

.header-pill-btn.active {
  background: var(--text-primary);
  color: var(--bg-paper);
  border-color: var(--text-primary);
}

.category-nav-row {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  border-top: 1px solid var(--border-hairline);
}

.main-cat-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 2px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.cat-link:hover {
  color: var(--text-primary);
  opacity: 1;
}

.cat-link.active {
  color: var(--text-primary);
  font-weight: 700;
}

.cat-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-editorial);
  border-radius: 2px;
}

.cat-pill-count {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(158, 42, 43, 0.12);
  color: var(--accent-editorial);
}

body.dark-gallery .cat-pill-count {
  background: rgba(224, 90, 71, 0.18);
}

/* ==========================================================================
   2. Breadcrumb & Article Shell
   ========================================================================== */
.breadcrumb-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px 0;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
}

.article-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 28px 68px;
  display: grid;
  grid-template-columns: minmax(0, 810px) 340px;
  gap: 46px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.era-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--accent-editorial);
  margin-bottom: 10px;
}

.article-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.8vw, 43px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.35px;
  margin-bottom: 16px;
}

.article-byline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.byline-badge {
  font-weight: 700;
  color: var(--text-primary);
}

.byline-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Lead Answer Paragraphs */
.article-lead p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20.5px;
  line-height: 1.66;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.article-lead p:first-child {
  font-weight: 500;
}

/* ==========================================================================
   3. Museum Passepartout / Archival Plate Frame (Zero Black Letterbox Bars!)
   ========================================================================== */
.archival-figure {
  margin: 26px 0 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 125px;
}

.archival-figure.hero-plate-figure {
  margin: 22px 0 16px;
}

.plate-mat {
  padding: 12px 12px 0;
  background: var(--bg-elevated);
}

.plate-stage {
  position: relative;
  width: 100%;
  min-height: 280px;
  max-height: 560px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--bg-mat);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  cursor: zoom-in;
}

.plate-stage::before {
  content: '';
  position: absolute;
  inset: -24px;
  background-image: var(--plate-bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(0.85) brightness(0.76);
  opacity: 0.62;
  transform: scale(1.1);
  pointer-events: none;
}

.plate-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 20, 19, 0.04) 0%, rgba(20, 20, 19, 0.24) 100%);
  pointer-events: none;
}

.plate-img {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Wide landscape photos fill cleanly with subtle mat border */
.plate-stage.is-landscape {
  padding: 0;
}

.plate-stage.is-landscape .plate-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.plate-stage:hover .plate-img {
  transform: scale(1.016);
}

.archival-caption {
  padding: 14px 18px 16px;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--text-secondary);
  background: var(--bg-elevated);
}

.caption-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.caption-year-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--accent-gold);
}

.caption-col-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-editorial);
  text-decoration: none;
}

.caption-col-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   4. 5-Photo Interactive Archival Contact Sheet Strip
   ========================================================================== */
.contact-sheet-card {
  margin: 0 0 28px;
  padding: 14px 16px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}

.contact-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 11px;
}

.contact-sheet-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-primary);
}

.contact-sheet-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-sheet-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.contact-thumb-btn {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  padding: 4px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.contact-thumb-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-editorial);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.contact-thumb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg-mat);
}

.contact-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.25s ease;
}

.contact-thumb-btn:hover .contact-thumb-frame img {
  transform: scale(1.06);
}

.contact-thumb-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 3px 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.contact-plate-num {
  color: var(--accent-editorial);
  font-weight: 800;
}

/* ==========================================================================
   5. Archival Landmark Dossier Card
   ========================================================================== */
.dossier-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent-editorial);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 32px;
  box-shadow: var(--shadow-soft);
}

.dossier-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-editorial);
  margin-bottom: 14px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.dossier-item {
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 9px;
}

.dossier-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.dossier-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.42;
}

/* ==========================================================================
   6. Prose Sections, Tables & FAQs
   ========================================================================== */
.article-section {
  margin-top: 40px;
  scroll-margin-top: 125px;
}

.article-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.26;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.article-section p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18.5px;
  line-height: 1.76;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.article-section p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-section ul, .article-section ol {
  margin: 0 0 20px 22px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.article-section li {
  margin-bottom: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0 26px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-elevated);
}

.archival-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  min-width: 520px;
}

.archival-table th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 800;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.archival-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  vertical-align: top;
}

.archival-table tr:last-child td {
  border-bottom: none;
}

.archival-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.faq-section {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 2px solid var(--border-hairline);
  scroll-margin-top: 125px;
}

.faq-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px;
  margin-bottom: 18px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 18px 22px;
}

.faq-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.38;
}

.faq-card p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  line-height: 1.66;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   7. Polished 2-Column Hardcover Bookshelf Grid
   ========================================================================== */
.article-books-section {
  margin-top: 46px;
  padding: 26px 28px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  scroll-margin-top: 125px;
}

.books-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.article-books-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  margin-bottom: 6px;
}

.books-disclosure {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-books-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-books-grid > .article-book-card:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

.article-book-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 11px;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: 0 3px 12px rgba(20, 20, 19, 0.04);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.article-book-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-editorial);
  box-shadow: var(--shadow-hover);
  opacity: 1;
}

.article-book-cover {
  width: 74px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px 6px 6px 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: -2px 0 0 rgba(255,255,255,0.25) inset, 3px 6px 16px rgba(0, 0, 0, 0.22);
}

.article-book-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-book-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.28;
  margin-bottom: 3px;
}

.article-book-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.article-book-why {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 10px;
  flex: 1;
}

.article-book-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-editorial);
}

/* ==========================================================================
   8. Upgraded 2x2 Related Monographs Grid (16:10 Museum Thumbnails)
   ========================================================================== */
.related-articles-section {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 2px solid var(--border-hairline);
}

.related-articles-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.related-articles-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  margin: 0;
}

.related-all-link {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--accent-editorial);
  text-decoration: none;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rel-article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 13px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rel-article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  opacity: 1;
}

.rel-article-frame {
  padding: 8px 8px 0;
}

.rel-article-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-mat);
  border: 1px solid var(--border-hairline);
}

.rel-article-img-wrap.is-portrait-thumb::before,
.blog-card-img-wrap.is-portrait-thumb::before {
  content: '';
  position: absolute;
  inset: -18px;
  background-image: var(--thumb-bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px) saturate(0.85) brightness(0.72);
  transform: scale(1.12);
}

.rel-article-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.rel-article-img-wrap.is-portrait-thumb .rel-article-img,
.blog-card-img-wrap.is-portrait-thumb .blog-card-img {
  object-fit: contain;
  padding: 6px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.38));
}

.rel-article-card:hover .rel-article-img {
  transform: scale(1.04);
}

.rel-article-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.rel-article-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.rel-article-era {
  color: var(--accent-editorial);
}

.rel-article-read {
  color: var(--text-muted);
  font-weight: 700;
}

.rel-article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-primary);
}

.rel-article-cta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent-editorial);
}

/* ==========================================================================
   9. Sticky Sidebar with Real Archival Collection Photo Thumbnails
   ========================================================================== */
.article-sidebar {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 13px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.sidebar-box-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sidebar-col-pills {
  display: grid;
  gap: 10px;
}

.sidebar-col-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 11px 8px 8px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.16s ease;
}

.sidebar-col-card:hover {
  background: var(--text-primary);
  color: var(--bg-paper);
  border-color: var(--text-primary);
  transform: translateY(-1px);
  opacity: 1;
}

.sidebar-col-thumb {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-mat);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.sidebar-col-info {
  min-width: 0;
  flex: 1;
}

.sidebar-col-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.sidebar-col-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.sidebar-col-card:hover .sidebar-col-sub {
  color: var(--bg-subtle);
  opacity: 0.85;
}

.sidebar-col-arrow {
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 9px;
}

.toc-list a {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding-left: 10px;
  border-left: 2px solid var(--border-hairline);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.toc-list a:hover {
  color: var(--accent-editorial);
  border-left-color: var(--accent-editorial);
}

/* ==========================================================================
   10. Blog Hub (/blog/index.html) Magazine Layout & Featured Hero Spread
   ========================================================================== */
.blog-hub-hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: 34px 28px 22px;
  text-align: center;
}

.blog-hub-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.blog-hub-sub {
  max-width: 780px;
  margin: 0 auto 18px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18.5px;
  line-height: 1.58;
  color: var(--text-secondary);
}

.hub-stats-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Flagship 2-Column Featured Lead Monograph Card */
.featured-lead-wrap {
  max-width: 1360px;
  margin: 0 auto 30px;
  padding: 0 28px;
}

.featured-lead-card {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.featured-lead-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-lead-img-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  overflow: hidden;
  background: var(--bg-mat);
  border: 1px solid var(--border-hairline);
}

.featured-lead-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-lead-img-link:hover img {
  transform: scale(1.035);
}

.featured-mini-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.featured-mini-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-mat);
}

.featured-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-lead-content {
  padding: 8px 14px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.featured-lead-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-editorial);
}

.featured-lead-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.7vw, 33px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  text-decoration: none;
}

.featured-lead-title:hover {
  color: var(--accent-editorial);
}

.featured-lead-excerpt {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.featured-lead-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.featured-lead-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent-editorial);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-editorial-primary:hover {
  background: var(--accent-editorial-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  opacity: 1;
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.btn-editorial-secondary:hover {
  border-color: var(--text-primary);
  opacity: 1;
}

/* Hub Controls & Filter Pills with Counts */
.hub-controls-bar {
  max-width: 1360px;
  margin: 0 auto 24px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hub-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.hub-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.hub-filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-paper);
  border-color: var(--text-primary);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
}

.hub-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.18);
  color: var(--bg-paper);
}

body.dark-gallery .hub-filter-btn.active .filter-count {
  background: rgba(14, 15, 18, 0.22);
}

.hub-search-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hub-results-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.hub-search-input {
  width: 280px;
  max-width: 100%;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  outline: none;
}

.hub-search-input:focus {
  border-color: var(--text-primary);
}

/* 30-Card Magazine Grid */
.blog-cards-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px 68px;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  opacity: 1;
}

.blog-card-frame {
  padding: 9px 9px 0;
}

.blog-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-mat);
  border-radius: 9px;
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  position: relative;
}

.blog-card-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.045);
}

.glass-badge-era {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F7F5F0;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.glass-badge-photos {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E5B85B;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.blog-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.blog-card-pills {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.blog-card-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 3px 9px;
  border-radius: 999px;
}

.blog-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20.5px;
  font-weight: 700;
  line-height: 1.26;
  color: var(--text-primary);
}

.blog-card-desc {
  font-size: 13.8px;
  line-height: 1.56;
  color: var(--text-secondary);
  flex: 1;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-editorial);
  padding-top: 6px;
  border-top: 1px solid var(--border-hairline);
}

/* ==========================================================================
   11. Full-Screen Article Plate Lightbox Modal
   ========================================================================== */
.lva-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 11, 14, 0.96);
  display: none;
  grid-template-columns: 1fr 390px;
  overflow: hidden;
}

.lva-lightbox.open {
  display: grid;
}

.lva-lb-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 76px;
}

.lva-lb-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
}

.lva-lb-close {
  position: absolute;
  top: 20px;
  left: 24px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lva-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lva-lb-arrow:hover, .lva-lb-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lva-lb-arrow.prev { left: 20px; }
.lva-lb-arrow.next { right: 20px; }

.lva-lb-sidebar {
  height: 100vh;
  background: #14161B;
  border-left: 1px solid #282C35;
  color: #F3F2EE;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.lva-lb-kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #E5B85B;
  margin-bottom: 6px;
}

.lva-lb-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.24;
  margin-bottom: 14px;
}

.lva-lb-caption {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  line-height: 1.62;
  color: #DCD9D0;
  margin-bottom: 16px;
}

.lva-lb-source {
  font-size: 12.5px;
  color: #9A978E;
  padding-top: 12px;
  border-top: 1px solid #282C35;
  margin-bottom: 18px;
}

.lva-lb-actions {
  display: grid;
  gap: 9px;
}

.lva-lb-btn {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #383D4A;
  background: #1E222B;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.lva-lb-btn.primary {
  background: #9E2A2B;
  border-color: #B83738;
}

.lva-lb-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid #282C35;
}

.lva-lb-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
}

.lva-lb-thumb.active, .lva-lb-thumb:hover {
  opacity: 1;
  border-color: #E5B85B;
}

/* ==========================================================================
   12. About Page Container & Unified Footer
   ========================================================================== */
.about-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.about-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 42px 46px;
  box-shadow: var(--shadow-soft);
}

.about-card h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.about-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.about-card p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.archive-footer {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px 28px 48px;
  border-top: 1px solid var(--border-hairline);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.archive-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ==========================================================================
   13. Responsive Breakpoints (NEVER order:-1 above H1!)
   ========================================================================== */
@media (max-width: 1080px) {
  .article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .article-sidebar {
    position: static;
    order: 2; /* Strictly below article content — NEVER above H1 */
  }
  .featured-lead-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured-lead-content {
    padding: 4px 6px 8px;
  }
  .blog-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lva-lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 56vh 44vh;
  }
  .lva-lb-stage {
    height: 56vh;
    padding: 48px 48px 16px;
  }
  .lva-lb-img {
    max-height: 46vh;
  }
  .lva-lb-sidebar {
    height: 44vh;
    border-left: none;
    border-top: 1px solid #282C35;
  }
}

@media (max-width: 820px) {
  .masthead-row {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 16px 8px;
    gap: 10px;
  }
  .masthead-left, .masthead-right {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .header-search-form {
    width: 190px;
  }
  .brand-serif-title {
    font-size: 24px;
  }
  .category-nav-row {
    padding: 0 12px;
  }
  .main-cat-links {
    gap: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    padding: 0 4px;
  }
  .main-cat-links::-webkit-scrollbar {
    display: none;
  }
  .article-books-grid,
  .related-articles-grid,
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-sheet-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .contact-thumb-meta {
    font-size: 10px;
    padding: 4px 2px 1px;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .breadcrumb-bar {
    padding: 14px 16px 0;
  }
  .article-shell {
    padding: 16px 16px 48px;
  }
  .blog-hub-hero,
  .featured-lead-wrap,
  .hub-controls-bar,
  .blog-cards-container,
  .archive-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hub-search-right,
  .hub-search-input {
    width: 100%;
  }
  .hub-stats-ribbon {
    border-radius: 12px;
    padding: 10px 14px;
    gap: 6px 10px;
    font-size: 11.5px;
  }
  .glass-badge-era {
    max-width: calc(100% - 20px);
    border-radius: 8px;
    line-height: 1.35;
  }
  .about-card {
    padding: 26px 20px;
  }
}
