/* ============================================
   N.D. ZERMAN — inner pages shared styles
   ============================================ */

/* ---- INNER HERO ---- */
.inner-hero {
  padding: 9rem 0 5rem;
  border-bottom: 1px solid var(--border-soft);
  background: var(--white);
}

.inner-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.inner-hero-desc {
  font-size: 1.05rem;
  color: var(--grey-3);
  max-width: 600px;
  line-height: 1.85;
}

/* ---- BLOG INDEX ---- */
.blog-index { padding: 5rem 0 8rem; }

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.article-card {
  background: var(--white);
  transition: background 0.2s;
}

.article-card.featured {
  grid-column: 1 / -1;
  background: var(--gold-pale);
}

.article-card:hover { background: var(--off-white); }
.article-card.featured:hover { background: #EDE5C8; }

.article-card-link {
  display: block;
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(160,120,48,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.article-date {
  font-size: 0.72rem;
  color: var(--grey-4);
  letter-spacing: 0.06em;
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--grey-1);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.article-card.featured .article-title { font-size: 1.6rem; }

.article-excerpt {
  font-size: 0.88rem;
  color: var(--grey-3);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ---- ARTICLE PAGE ---- */
.article-page { padding: 5rem 0 8rem; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 5rem;
  align-items: start;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--grey-1);
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--grey-1);
}

.article-body p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-2);
}

.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.5rem;
}

.article-body li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-2);
  margin-bottom: 0.5rem;
}

.article-figure {
  margin: 2.5rem 0;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.article-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-figure figcaption {
  font-size: 0.8rem;
  color: var(--grey-4);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  line-height: 1.5;
}

.figure-placeholder {
  width: 100%;
  padding: 3rem 2rem;
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.figure-placeholder-icon {
  font-size: 2rem;
  opacity: 0.3;
}

.figure-placeholder p {
  font-size: 0.8rem;
  color: var(--grey-4);
  margin: 0;
}

.article-pull {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
}

.article-pull p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--grey-1);
  margin: 0;
}

.article-references {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-references h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.article-references ol {
  margin-left: 1.25rem;
}

.article-references li {
  font-size: 0.8rem;
  color: var(--grey-4);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.article-references a {
  color: var(--gold-dark);
  word-break: break-all;
}

/* ---- ARTICLE SIDEBAR ---- */
.article-sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.sidebar-card p {
  font-size: 0.85rem;
  color: var(--grey-3);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.other-articles { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.other-articles li a {
  font-size: 0.85rem;
  color: var(--grey-2);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.2s;
}

.other-articles li a:hover { color: var(--gold-dark); }

/* ---- VIDEOS PAGE ---- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 5rem 0 8rem;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.video-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--grey-1);
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-info { padding: 1.25rem; }

.video-event {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-1);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.video-desc {
  font-size: 0.82rem;
  color: var(--grey-3);
  line-height: 1.65;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: 1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .videos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .article-card-link { padding: 1.5rem; }
  .inner-hero { padding: 7rem 0 3rem; }
}

/* ---- INNER PAGES: Nav always visible ---- */
.inner-page nav,
body:not(.homepage) nav {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}
