/* ============================================
   PROMPTEDGRAD — PREMIUM DESIGN SYSTEM
   Dark + Gold Magazine Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-deep: #ffffff;
  --bg-base: #f8f8f5;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #1a1a14;
  --border-subtle: #e8e8e0;
  --border-default: #d8d8ce;
  --border-bright: #c8c8be;
  --gold: #9a6f1e;
  --gold-bright: #b8861f;
  --gold-soft: #c9a04e;
  --gold-deep: #6d4e10;
  --gold-glow: rgba(154, 111, 30, 0.12);
  --text-primary: #1a1a14;
  --text-secondary: #3d3d32;
  --text-muted: #6b6b5e;
  --text-tertiary: #9a9a8a;
  --accent-cool: #3a5a9a;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --container-max: 1280px;
  --container-narrow: 760px;
  --header-height: 80px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-display); font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.75; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: inline-block;
}

.gold-rule-center {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2rem auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-divider h2 {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-default), transparent);
}

.section-divider .ornament { color: var(--gold); font-size: 1.25rem; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 160, 78, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold-glow);
  color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 2px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(201, 160, 78, 0.05);
}

.tag-grad { border-color: var(--gold); color: var(--gold); }
.tag-rel { border-color: var(--accent-cool); color: var(--accent-cool); background: rgba(143, 163, 212, 0.05); }
.tag-new { background: var(--gold); color: var(--bg-deep); }

/* ARTICLE CARDS */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  height: 100%;
}

.article-card:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 40px var(--gold-glow);
}

.article-card-image {
  height: 200px;
  background: linear-gradient(135deg, #ffffff, #e8e8e0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #e0e0d8;
  overflow: hidden;
}

.article-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--gold-glow), transparent 70%);
  opacity: 0.5;
}

.article-card-icon {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
}

.article-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.article-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.article-card:hover .article-card-title { color: var(--gold-bright); }

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-card-meta .read-arrow { color: var(--gold); font-weight: 600; }

/* FEATURED ARTICLE */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #1a1a14;
  border: 1px solid var(--border-default);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.featured-article:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 80px var(--gold-glow);
}

.featured-image {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #e8e8e0 100%);
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-default);
}

.featured-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, var(--gold-glow), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(143, 163, 212, 0.05), transparent 60%);
}

.featured-image-icon {
  font-size: 7rem;
  position: relative;
  z-index: 1;
}

.featured-badge {
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  z-index: 2;
}

.featured-body {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.featured-excerpt {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-family: var(--font-serif);
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.featured-meta-dot { color: var(--gold); }

@media (max-width: 900px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 280px; border-right: none; border-bottom: 1px solid var(--border-default); }
  .featured-body { padding: 2.5rem 2rem; }
}

/* GRIDS */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (max-width: 1024px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e0e0d8;
  height: var(--header-height);
}

.site-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo-mark {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.site-logo-text { display: flex; flex-direction: column; line-height: 1; }

.site-logo-text span:first-child {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
}

.site-logo-text span:last-child {
  font-size: 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 0.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
}

.site-nav a:hover { color: var(--gold); }
.site-nav a.active { color: var(--gold); }

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #1a1a14;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-default);
  }
}

/* FOOTER */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-brand-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 380px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 2rem 0;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ARTICLE PAGE */
.article-page { padding: 4rem 0 6rem; }

.article-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 1.5rem 0;
  letter-spacing: -0.015em;
}

.article-header .lede {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.article-byline {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-byline .author { color: var(--gold); font-weight: 600; }

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-content > * + * { margin-top: 1.5rem; }

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.85;
}

.article-content p strong { color: var(--text-primary); font-weight: 600; }
.article-content p em { color: var(--gold-soft); font-style: italic; }

.article-content a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
}

.article-content a:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }

.article-content ul, .article-content ol {
  padding-left: 1.5rem;
}

.article-content li { margin-bottom: 0.75rem; line-height: 1.75; }
.article-content li::marker { color: var(--gold); }

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
}

.article-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
  margin: 3rem 0;
}

/* Drop cap */
.article-content > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 600;
  float: left;
  line-height: 0.85;
  margin: 0.5rem 0.75rem 0 0;
  color: var(--gold);
}

.article-footer {
  max-width: 720px;
  margin: 5rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* PAGE HERO */
.page-hero {
  padding: 7rem 0 5rem;
  text-align: center;
  border-bottom: 1px solid #e0e0d8;
  background:
    radial-gradient(ellipse at top, var(--gold-glow) 0%, transparent 50%),
    var(--bg-deep);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 1.5rem 0;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.page-hero .description {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  margin: 5rem 0;
}

.stat {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border-default);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-default); }
}

/* AUTHOR BLOCK */
.author-block {
  background: #1a1a14;
  border: 1px solid var(--border-default);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  margin: 5rem 0;
}

.author-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
}

.author-content h3 { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.5rem; }

.author-content .credentials {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.author-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .author-block { grid-template-columns: 1fr; text-align: center; padding: 2rem; }
  .author-image { margin: 0 auto; }
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--gold-deep);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 5rem 0;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}

.cta-banner::before { top: -150px; left: -100px; }
.cta-banner::after { bottom: -150px; right: -100px; }

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner h2 em { color: var(--gold); font-style: italic; }

.cta-banner p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* FORM STYLES (for contact page) */
.contact-form {
  max-width: 580px;
  margin: 3rem auto 0;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 2px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 160px; resize: vertical; }

/* ============================================
   STAGE 1 ADDITIONS — INFORMATION CENTER FEATURES
   ============================================ */

/* DROPDOWN NAVIGATION */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3d3d32;
}

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.7rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 280px;
  background: #ffffff;
  border: 1px solid #d8d8ce;
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  padding: 0.75rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu[style*="display: block"] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.5rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--text-secondary) !important;
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-card);
  color: var(--gold) !important;
  border-left-color: var(--gold);
  padding-left: 1.75rem !important;
}

.nav-dropdown-menu a::after { display: none !important; }

.nav-dropdown-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.5rem 0;
}

.nav-dropdown-label {
  display: block;
  padding: 0.5rem 1.5rem 0.25rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* SEARCH BAR IN HEADER */
.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  width: 240px;
  transition: all 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--gold);
  background: #1a1a14;
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.header-search-icon {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.header-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  width: 100%;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .header-search { display: none; }
}

/* DIFFICULTY & READING TIME BADGES */
.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  color: var(--text-tertiary);
}

.badge-beginner { color: #7dd3a8; border-color: #2d5a3f; }
.badge-intermediate { color: #f0c674; border-color: #5a4a2d; }
.badge-advanced { color: #e88a8a; border-color: #5a2d2d; }
.badge-time { color: var(--text-tertiary); }

.badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}

/* START HERE SECTION (Homepage) */
.start-here-section {
  background: linear-gradient(180deg, #faf9f6 0%, #f0ece4 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid #e0e0d8;
  padding: 5rem 0;
  margin: 4rem 0;
}

.start-here-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.start-here-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.start-here-intro h2 em { color: var(--gold); font-style: italic; }

.start-here-intro p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

.learning-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 1024px) {
  .learning-path { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .learning-path { grid-template-columns: 1fr; }
}

.path-step {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.path-step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px var(--gold-glow);
}

.path-step-number {
  position: absolute;
  top: -16px;
  left: 1.5rem;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.path-step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.path-step h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.path-step p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.path-step-meta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CATEGORY CARDS GRID (Homepage) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
}

@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.category-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.category-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.category-card-count {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CATEGORY PAGE HERO */
.category-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid #e0e0d8;
  background: radial-gradient(ellipse at top, var(--gold-glow) 0%, transparent 50%), var(--bg-deep);
}

.category-hero-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.category-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.category-hero h1 em { color: var(--gold); font-style: italic; }

.category-hero .description {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.category-stats {
  display: inline-flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.category-stats-item {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-stats-item strong {
  color: var(--gold);
  font-size: 1.5rem;
  font-family: var(--font-serif);
  display: block;
  margin-bottom: 0.25rem;
}

/* SIDEBAR TABLE OF CONTENTS (Article Pages) */
.article-with-sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 1024px) {
  .article-with-sidebar {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  padding: 1.5rem;
  background: #1a1a14;
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
  max-height: calc(100vh - var(--header-height) - 4rem);
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .article-toc {
    position: static;
    margin-bottom: 3rem;
    max-height: none;
  }
}

.article-toc-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li {
  margin: 0;
  border-left: 2px solid transparent;
  padding-left: 0.85rem;
  margin-left: -0.85rem;
  transition: all 0.15s ease;
}

.article-toc li:hover {
  border-left-color: var(--gold);
}

.article-toc a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.article-toc a:hover { color: var(--gold); }
.article-toc a.active { color: var(--gold); font-weight: 500; }

/* RELATED ARTICLES (Article Pages) */
.related-articles {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

.related-articles-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.75rem;
}

.related-articles h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.related-articles h2 em { color: var(--gold); font-style: italic; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ARTICLE INFO BAR (top of article page) */
.article-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid #e0e0d8;
}

/* MOBILE TWEAKS for new components */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    border: none;
    border-top: 1px solid var(--border-subtle);
    background: transparent;
    padding: 0;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    transform: none;
  }
  .nav-dropdown-menu a {
    padding: 0.75rem 1rem !important;
  }
}

/* ── Translate Bar ── */
.translate-bar {
  background: #f0ece4;
  border-bottom: 1px solid #d8d8ce;
  padding: 0.4rem 0;
}
.translate-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.translate-bar-label {
  font-size: 0.75rem;
  color: #6b6b5e;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.translate-bar #google_translate_element .goog-te-gadget {
  font-size: 0.75rem;
}

/* Dropdown overlay - catches outside clicks */
.nav-dropdown-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 199;
  background: transparent;
  cursor: default;
}
.nav-dropdown.open .nav-dropdown-overlay {
  display: block;
}
