/* ============================================
   VaultCollect - 21bitcoin-inspired Design
   ============================================ */

/* SEO-friendly card links */
a.article-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.featured-card-link {
  text-decoration: none;
  color: inherit;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-cream: #fdf2f1;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --accent: #5151d9;
  --accent-hover: #4040c0;
  --accent-light: #6b6bf0;
  --accent-bg: rgba(81, 81, 217, 0.08);
  --gold: #e4a41e;
  --gold-bg: rgba(228, 164, 30, 0.1);
  --border: #e8e8ee;
  --border-light: #f0f0f5;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
  --font-heading: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --font-ui: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-left {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: white;
  letter-spacing: -0.5px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-bg);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform var(--transition);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 8px 0;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: block;
  padding: 8px 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-dropdown-item:hover {
  background: var(--accent-bg);
  color: var(--accent);
}

.nav-dropdown-item.active {
  color: var(--accent);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-date {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   Category Navigation (pill bar below header)
   ============================================ */

.category-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.category-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.category-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ============================================
   Featured Section
   ============================================ */

.featured-section {
  background: var(--bg-secondary);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.featured-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/hero-bg-option1.jpg");
  background-size: 600px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.featured-section > * {
  position: relative;
  z-index: 1;
}

.featured-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 520px;
}

.featured-card-link {
  display: flex;
  min-height: 0;
}

.featured-main-link {
  grid-row: 1 / 3;
}

.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.featured-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.featured-card .featured-image {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.featured-card .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.03);
}

.featured-card .featured-body {
  padding: 16px 20px 18px;
}

.featured-card.main .featured-body {
  padding: 20px 24px 24px;
}

.featured-card .featured-category {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 6px;
}

.featured-card .featured-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card.main .featured-title {
  font-size: 22px;
  -webkit-line-clamp: 3;
}

.featured-card .featured-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.featured-card .featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
}

.featured-card .featured-meta .gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================
   Feed Header
   ============================================ */

.feed-header {
  padding: 32px 0 8px;
}

.feed-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.feed-header .section-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}

.feed-header .topic-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.feed-header .clear-filter {
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: var(--font-ui);
}

/* ============================================
   Article Grid
   ============================================ */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 0 40px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

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

.card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--accent);
  color: white;
}

.card-body {
  padding: 18px 20px 20px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-description {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.topic-chip:hover {
  opacity: 0.75;
}

.card-date {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   Single Article View
   ============================================ */

.article-view {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 28px;
}

.back-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-meta .category-badge {
  position: static;
  background: var(--accent-bg);
  color: var(--accent);
}

.article-meta time {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
}

.article-view h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.article-view .article-description {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.article-topics .topic-chip {
  padding: 5px 12px;
  font-size: 12px;
}

.article-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-primary);
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.article-content p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 24px;
  margin: 24px 0;
  background: var(--gold-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content a {
  color: var(--accent);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.article-source {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-source a {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 14px;
}

.article-source a:hover {
  text-decoration: underline;
}

/* ============================================
   Article Sharing
   ============================================ */

.article-sharing {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-sharing-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.article-sharing-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.share-btn:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.share-btn-twitter:hover {
  background: #000;
}

.share-btn-linkedin:hover {
  background: #0a66c2;
}

.share-btn-facebook:hover {
  background: #1877f2;
}

.share-btn-copy:hover {
  background: var(--accent);
}

.share-btn-copied {
  background: #22c55e !important;
  border-color: transparent !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .article-sharing-buttons {
    gap: 8px;
  }

  .share-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ============================================
   About Page
   ============================================ */

.about-page {
  max-width: 100%;
}

.about-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #3a3ab0 100%);
  padding: 64px 24px;
  text-align: center;
  color: white;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.about-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.about-intro {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
}

.about-content h2:first-of-type {
  margin-top: 0;
}

.about-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.about-content ul {
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
}

.about-content li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.about-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
}

.about-content li strong {
  color: var(--text-primary);
}

/* Team Section */
.about-team {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.about-team h2 {
  text-align: center;
  margin-bottom: 8px;
}

.about-team-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-cream);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--border);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-title {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 14px;
}

.team-bio {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: left;
}

.about-cta {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  text-align: center;
}

.about-cta h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-hero {
    padding: 40px 20px;
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-hero-sub {
    font-size: 16px;
  }

  .about-content {
    padding: 32px 20px 60px;
  }

  .about-intro {
    font-size: 16px;
  }

  .about-cta {
    padding: 28px 24px;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  .team-bio {
    text-align: center;
  }
}

/* ============================================
   Welcome / Thank You Page
   ============================================ */

.welcome-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 20px;
}

.welcome-card {
  max-width: 560px;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 44px;
  text-align: center;
}

.welcome-checkmark {
  width: 72px;
  height: 72px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.welcome-card h1 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.welcome-message {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.welcome-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.welcome-perks-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 20px;
}

.welcome-perks {
  text-align: left;
  margin-bottom: 32px;
}

.welcome-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.welcome-perk-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--gold-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.welcome-perk strong {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.welcome-perk p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.welcome-cta {
  display: inline-block;
  padding: 14px 36px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .welcome-card {
    padding: 36px 24px;
  }

  .welcome-card h1 {
    font-size: 22px;
  }
}

/* ============================================
   Pagination
   ============================================ */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 16px 0 48px;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-ellipsis {
  color: var(--text-muted);
  padding: 0 4px;
}

/* ============================================
   Loading & State Messages
   ============================================ */

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 100px 20px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.state-message {
  text-align: center;
  padding: 100px 20px;
}

.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.state-message h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.state-message p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 20px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(81, 81, 217, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(81, 81, 217, 0.4);
}

/* ============================================
   CTA Subscribe Section
   ============================================ */

.cta-subscribe {
  margin: 40px 0;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--accent) 0%, #3a3ab0 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-subscribe::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-subscribe::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-subscribe h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.cta-subscribe p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-ui);
  font-size: 14px;
  outline: none;
  transition: all var(--transition);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.cta-form button {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gold);
  color: #1a1a2e;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cta-form button:hover {
  background: #f0b42e;
  transform: translateY(-1px);
}

.cta-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.cta-message {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.cta-message-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.cta-message-error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   Lead Magnet Section (Coin Grading Guide)
   ============================================ */

.lead-magnet {
  background: var(--bg-cream);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.lead-magnet-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.lead-magnet-image {
  flex: 0 0 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.lead-magnet-image img {
  width: 100%;
  height: auto;
  display: block;
}

.lead-magnet-content {
  flex: 1;
  min-width: 0;
}

.lead-magnet-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1a2e;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.lead-magnet-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.lead-magnet-description {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.lead-magnet-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.lead-magnet-bullets li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.lead-magnet-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold);
}

.lead-magnet-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
}

.lead-magnet-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  outline: none;
  transition: all var(--transition);
}

.lead-magnet-form input::placeholder {
  color: var(--text-muted);
}

.lead-magnet-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(228, 164, 30, 0.15);
}

.lead-magnet-form button {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gold);
  color: #1a1a2e;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.lead-magnet-form button:hover {
  background: #f0b42e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(228, 164, 30, 0.35);
}

.lead-magnet-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.lead-magnet-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  background: #16a34a;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}

.lead-magnet-download-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.lead-magnet-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
}

.lead-magnet-message {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  max-width: 480px;
}

.lead-magnet-message-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.lead-magnet-message-error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.lead-magnet-privacy {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: #0f0f1a;
  color: #ccc;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: var(--accent-light);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: #777;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #999;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 14px;
  color: #777;
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 13px;
  color: #555;
}

.footer-powered {
  font-family: var(--font-ui);
  font-size: 13px;
  color: #555;
}

.footer-powered a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 500;
}

.footer-powered a:hover {
  color: #fff;
}

/* ============================================
   Exclusive Articles — "The Vault Weekly"
   ============================================ */

/* Gold badge on article cards */
.exclusive-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d4a843;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

/* Inline badge in article meta */
.exclusive-badge-inline {
  background: #d4a843;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

/* Series badge (small pill) */
.series-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: #d4a843;
  background: #d4a84315;
  border: 1px solid #d4a84330;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* Gold left border on exclusive article cards */
.exclusive-card {
  border-left: 3px solid #d4a843;
}

/* Premium header banner in article view */
.exclusive-header {
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.exclusive-header-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #d4a843;
  margin-bottom: 4px;
}

.exclusive-header-series {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

/* Exclusive article view — wider for long-form */
.article-view-exclusive .article-content {
  font-size: 17px;
  line-height: 1.85;
}

.article-view-exclusive .article-content .toc {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0 28px;
}

.article-view-exclusive .article-content .toc ul {
  margin: 0;
  padding-left: 20px;
}

.article-view-exclusive .article-content .toc li {
  margin-bottom: 6px;
}

.article-view-exclusive .article-content .key-takeaways {
  background: #fdf8e8;
  border-left: 4px solid #d4a843;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}

.article-view-exclusive .article-content blockquote {
  background: var(--bg-secondary);
  border-left: 4px solid #d4a843;
  padding: 16px 24px;
  margin: 20px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Inline images for exclusive articles */
.exclusive-inline-image {
  margin: 28px 0;
  text-align: center;
}

.exclusive-inline-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Nav link — gold accent for Exclusives */
.nav-link-exclusives {
  color: #d4a843 !important;
}

.nav-link-exclusives.active {
  color: #d4a843 !important;
  border-bottom-color: #d4a843 !important;
}

/* Exclusives feed page */
.exclusives-hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 640px;
  margin: 0 auto;
}

.exclusives-hero-badge {
  display: inline-block;
  background: #d4a843;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.exclusives-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.exclusives-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.exclusives-empty {
  text-align: center;
  padding: 40px 24px 80px;
  color: var(--text-secondary);
}

.exclusives-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exclusive-feed-card-link {
  text-decoration: none;
  color: inherit;
}

.exclusive-feed-card {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border-left: 4px solid #d4a843;
}

.exclusive-feed-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.exclusive-feed-card-image {
  flex: 0 0 240px;
  overflow: hidden;
}

.exclusive-feed-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.exclusive-feed-card-body {
  flex: 1;
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exclusive-feed-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0 0 8px;
}

.exclusive-feed-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exclusive-feed-card-date {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */

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

  .featured-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .featured-main-link {
    grid-row: auto;
  }

  .featured-card .featured-image {
    flex: none;
    aspect-ratio: 16 / 9;
  }

  .featured-card.main .featured-image {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-subscribe {
    padding: 36px 28px;
  }

  .cta-subscribe h3 {
    font-size: 22px;
  }

  .lead-magnet-inner {
    gap: 32px;
  }

  .lead-magnet-image {
    flex: 0 0 280px;
  }

  .lead-magnet-title {
    font-size: 24px;
  }

  .exclusive-feed-card-image {
    flex: 0 0 200px;
  }

  .exclusive-feed-card-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 24px;
    box-shadow: var(--shadow-card);
  }

  .header-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-date {
    display: none;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-view h1 {
    font-size: 26px;
  }

  .article-content {
    font-size: 16px;
  }

  .featured-section {
    padding: 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-subscribe {
    padding: 32px 20px;
    margin: 24px 0;
  }

  .lead-magnet {
    padding: 32px 0;
  }

  .lead-magnet-inner {
    flex-direction: column;
    gap: 24px;
  }

  .lead-magnet-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .lead-magnet-title {
    font-size: 22px;
  }

  .lead-magnet-form {
    flex-direction: column;
    max-width: 100%;
  }

  .exclusive-feed-card {
    flex-direction: column;
    gap: 0;
  }

  .exclusive-feed-card-image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .exclusive-feed-card-image img {
    min-height: auto;
  }

  .exclusive-feed-card-body {
    padding: 16px 20px 20px;
  }

  .exclusives-hero {
    padding: 32px 16px 24px;
  }

  .exclusives-hero h1 {
    font-size: 24px;
  }

  .exclusive-header {
    padding: 16px 20px;
  }

  .article-view-exclusive .article-content {
    font-size: 16px;
  }
}

/* ============================================
   Guides Section
   ============================================ */

/* Guides listing page */
.guides-hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 640px;
  margin: 0 auto;
}

.guides-hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.guides-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.guides-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.guides-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guide-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.guide-card {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.guide-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.guide-card-image {
  flex: 0 0 280px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.guide-card:hover .guide-card-image img {
  transform: scale(1.04);
}

.guide-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.guide-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
}

/* Guide article view */
.guide-view {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.guide-view h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.guide-meta-author {
  font-weight: 600;
  color: var(--text-primary);
}

.guide-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
}

/* Guide TOC */
.guide-toc {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0 32px;
}

.guide-toc h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.guide-toc ol {
  margin: 0;
  padding-left: 20px;
}

.guide-toc li {
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
}

.guide-toc a {
  color: var(--accent);
  text-decoration: none;
}

.guide-toc a:hover {
  text-decoration: underline;
}

/* Guide inline images */
.guide-inline-image {
  margin: 32px 0;
  text-align: center;
}

.guide-inline-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.guide-inline-image figcaption {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* Guide pull quotes */
.guide-pull-quote {
  border-left: 4px solid var(--accent);
  background: var(--accent-bg);
  padding: 20px 28px;
  margin: 32px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
}

.guide-pull-quote p {
  margin: 0;
  color: var(--text-primary);
}

/* Guide FAQ */
.guide-faq {
  margin: 40px 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.guide-faq > h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.guide-faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.guide-faq-item:last-child {
  border-bottom: none;
}

.guide-faq-item h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.guide-faq-item p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Guide CTA */
.guide-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #3a3ab0 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.guide-cta h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.guide-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 1.6;
}

.guide-cta .cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.guide-cta .cta-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-ui);
}

.guide-cta .cta-form button {
  background: var(--gold);
  color: #1a1a2e;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.guide-cta .cta-form button:hover {
  background: #f0b42e;
  transform: translateY(-1px);
}

.guide-cta .cta-message {
  font-family: var(--font-ui);
  font-size: 14px;
  margin-top: 12px;
}

.guide-cta .cta-message-success {
  color: #7fff7f;
}

.guide-cta .cta-message-error {
  color: #ff9f9f;
}

/* Guide content (inherits from .article-content) */
.guide-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-primary);
}

.guide-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.guide-content h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.guide-content p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.guide-content ul,
.guide-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.guide-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.guide-content a {
  color: var(--accent);
  text-decoration: none;
}

.guide-content a:hover {
  text-decoration: underline;
}

.guide-content strong {
  color: var(--text-primary);
}

/* Guide responsive */
@media (max-width: 768px) {
  .guides-hero {
    padding: 32px 16px 24px;
  }

  .guides-hero h1 {
    font-size: 28px;
  }

  .guide-card {
    flex-direction: column;
  }

  .guide-card-image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .guide-card-body {
    padding: 20px;
  }

  .guide-view h1 {
    font-size: 26px;
  }

  .guide-content {
    font-size: 16px;
  }

  .guide-pull-quote {
    font-size: 16px;
    padding: 16px 20px;
  }

  .guide-cta {
    padding: 28px 20px;
  }

  .guide-cta .cta-form {
    flex-direction: column;
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    margin: 0;
  }

  .nav-dropdown-arrow {
    display: none;
  }

  .nav-dropdown-item {
    padding: 6px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .featured-grid {
    padding: 0 16px;
  }

  .lead-magnet-inner {
    padding: 0 16px;
  }
}
