:root {
  --color-navy: #0a1a2f;
  --color-charcoal: #1f1f1f;
  --color-gold: #962a7f;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
  --transition-fast: 0.2s ease-in-out;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgba(10, 26, 47, 0.9);
  backdrop-filter: blur(6px);
  color: var(--color-white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span {
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--color-gold);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.nav-cta:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

main {
  margin-top: 72px;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--color-light-gray);
  padding: 1rem 0;
  border-bottom: 1px solid #e1e4ea;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b6f78;
}

.breadcrumb a {
  color: #6b6f78;
  transition: color var(--transition-fast);
}

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

.breadcrumb-separator {
  color: #9ca6bc;
}

.breadcrumb-current {
  color: var(--color-navy);
}

/* Article Header */
.article-header {
  background: var(--color-white);
  padding: 3rem 0 2rem;
}

.article-category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 1.2rem;
  max-width: 50rem;
}

.article-subtitle {
  font-size: 1.15rem;
  color: #555962;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 48rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e1e4ea;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #b176a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.article-author-info {
  display: flex;
  flex-direction: column;
}

.article-author-name {
  font-weight: 600;
  color: var(--color-navy);
}

.article-author-title {
  font-size: 0.85rem;
  color: #7a7f8a;
}

.article-meta-divider {
  color: #d1d5db;
}

.article-meta-item {
  font-size: 0.9rem;
  color: #6b6f78;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Article Content */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 4rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.article-main {
  max-width: 720px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2d3139;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 1.5rem;
}

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

.article-content li {
  margin-bottom: 0.6rem;
}

.article-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #4b5059;
  font-size: 1.1rem;
}

.article-content a {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

.article-content strong {
  font-weight: 600;
  color: var(--color-navy);
}

.callout {
  background: rgba(150, 42, 127, 0.08);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.callout-title {
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.callout-text {
  font-size: 0.98rem;
  color: #4b5059;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background: var(--color-light-gray);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e1e4ea;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 1.2rem;
}

.sidebar-toc {
  list-style: none;
}

.sidebar-toc li {
  margin-bottom: 0.7rem;
}

.sidebar-toc a {
  font-size: 0.9rem;
  color: #555962;
  transition: color var(--transition-fast);
  display: block;
  padding: 0.3rem 0;
}

.sidebar-toc a:hover {
  color: var(--color-gold);
}

.sidebar-share {
  display: flex;
  gap: 0.6rem;
}

.share-btn {
  flex: 1;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: var(--color-white);
  color: #555962;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.share-btn:hover {
  border-color: var(--color-gold);
  background: rgba(150, 42, 127, 0.05);
  color: var(--color-navy);
}

.sidebar-cta {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1.8rem 1.6rem;
  border-radius: 12px;
  text-align: center;
}

.sidebar-cta-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.sidebar-cta-text {
  font-size: 0.9rem;
  color: #d7dde9;
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.2rem;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.sidebar-cta-btn:hover {
  background: #d8b573;
  transform: translateY(-1px);
}

/* Related Articles */
.related-articles {
  background: var(--color-light-gray);
  padding: 3.5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7a7f8a;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-navy);
}

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

.related-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  border: 1px solid #e1e4ea;
  transition: all var(--transition-fast);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(150, 42, 127, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.related-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.8rem;
}

.related-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.related-meta {
  font-size: 0.82rem;
  color: #7a7f8a;
  display: flex;
  gap: 0.8rem;
}

/* Footer */
footer {
  background: #050b15;
  color: #9ba1b0;
  padding: 2.8rem 0 1.6rem;
  font-size: 0.85rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.6fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--color-gold);
}

.footer-text {
  color: #a7adbc;
  max-width: 20rem;
}

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
  color: #d7dde9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #a7adbc;
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #9ba1b0;
}

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

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #d7dde9;
}

/* Responsive */
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .article-header {
    padding: 2rem 0 1.5rem;
  }

  .article-layout {
    padding: 2rem 0 3rem;
  }

  .article-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
