/* ==========================================================================
   PROLEX INTERNATIONAL — BLOG & INSIGHTS PUBLICATION DESIGN SYSTEM
   Obsidian Luxury Aesthetic, High Core Web Vitals, Pure Vanilla CSS
   ========================================================================== */

:root {
  /* Surface Dark Palette */
  --bg-darkest: #040812;
  --bg-base: #060D19;
  --bg-deep: #091322;
  --bg-surface: #0E1A2D;
  --bg-elevated: #13223A;
  --bg-glass: rgba(14, 26, 45, 0.72);
  --bg-glass-elevated: rgba(19, 34, 58, 0.85);

  /* Brand Accents */
  --accent-gold: #C5A059;
  --accent-gold-light: #DFC185;
  --accent-gold-dark: #9A7736;
  --accent-gold-tint: rgba(197, 160, 89, 0.12);
  --accent-gold-border: rgba(197, 160, 89, 0.35);

  --accent-blue: #1D4ED8;
  --accent-blue-light: #3B82F6;
  --accent-blue-tint: rgba(29, 78, 216, 0.15);
  --accent-blue-glow: rgba(59, 130, 246, 0.25);

  --accent-green: #10B981;
  --accent-green-tint: rgba(16, 185, 129, 0.12);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #060D19;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-active: rgba(197, 160, 89, 0.45);

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 30px -5px rgba(197, 160, 89, 0.2);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #0d1a33 0%, var(--bg-base) 65%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & INSTITUTIONAL TOPBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(6, 13, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 34px;
  width: auto;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: var(--accent-gold-tint);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.subsidiary-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-blue-light);
}

.nav-link.subsidiary-link:hover {
  color: #60A5FA;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #060D19;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
}

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

.btn-outline-gold:hover {
  background: var(--accent-gold-tint);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   HERO & SEARCH SECTION
   ========================================================================== */
.blog-hero {
  padding: 64px 0 40px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: var(--accent-gold-tint);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
}

.blog-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 860px;
  margin: 0 auto 16px;
  background: linear-gradient(180deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Search Bar & Filter Controls */
.search-filter-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.search-bar-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 18px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.search-bar-box:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.search-icon {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
}

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

/* Category Filter Pills */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-pill {
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

.category-pill.active {
  color: var(--accent-gold);
  background: var(--accent-gold-tint);
  border-color: var(--accent-gold-border);
  font-weight: 600;
}

/* ==========================================================================
   FEATURED SPOTLIGHT ARTICLE
   ========================================================================== */
.featured-section {
  padding: 30px 0 40px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold-border);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.featured-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-media img {
  transform: scale(1.04);
}

.featured-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-gold);
  color: #060D19;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.featured-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.meta-category {
  color: var(--accent-blue-light);
  font-weight: 600;
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}

.featured-card:hover .featured-title {
  color: var(--accent-gold-light);
}

.featured-excerpt {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold-border);
}

.author-info-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-info-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BLOG POSTS GRID
   ========================================================================== */
.posts-section {
  padding: 40px 0 80px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.posts-count-indicator {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

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

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}

.post-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 13, 25, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: var(--transition);
}

.post-card:hover .post-card-title {
  color: var(--accent-gold-light);
}

.post-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.post-author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-author-mini img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  color: var(--accent-gold-light);
  gap: 7px;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 20px;
}

/* ==========================================================================
   ARTICLE READER PAGE STYLES (post.html)
   ========================================================================== */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1100;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #3B82F6 100%);
  transition: width 0.1s linear;
}

.article-header {
  padding: 48px 0 24px;
  max-width: 860px;
  margin: 0 auto;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
}

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

.article-category-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  background: var(--accent-gold-tint);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.article-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 36px;
}

.article-author-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold-border);
}

.article-share-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.share-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
}

.article-featured-image-box {
  max-width: 980px;
  margin: 0 auto 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
}

.article-featured-image-box img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Article Two Column Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto 80px;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #D1D5DB;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 44px 0 18px;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 14px;
  scroll-margin-top: 100px;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content ul, .article-content ol {
  margin: 0 0 28px 24px;
  color: #D1D5DB;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content strong {
  color: #FFFFFF;
}

.article-content blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(197, 160, 89, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: #F3F4F6;
}

/* Callout Box & Data Table */
.callout-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--accent-gold);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  margin: 36px 0;
}

.callout-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 14px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Post Conversion CTA Box */
.cta-box {
  background: radial-gradient(circle at 100% 0%, rgba(29, 78, 216, 0.25) 0%, var(--bg-surface) 60%);
  border: 1px solid var(--border-active);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  margin: 48px 0;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cta-box h3 {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 24px;
}

/* FAQ Accordion */
.faq-section {
  margin: 48px 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 36px;
}

.faq-section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent-gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* Author Full Bio Box */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 48px;
}

.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}

.author-bio-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-bio-role {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.author-bio-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Sidebar Components */
.article-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sidebar-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.toc-link:hover, .toc-link.active {
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
}

.subsidiary-sidebar-promo {
  background: linear-gradient(145deg, #0f1e38 0%, #060D19 100%);
  border: 1px solid var(--border-active);
  text-align: center;
  padding: 28px 22px;
  border-radius: var(--radius-md);
}

.promo-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: var(--accent-gold-tint);
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.subsidiary-sidebar-promo h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.subsidiary-sidebar-promo p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ==========================================================================
   ADMIN STUDIO STYLES (add-blog.html)
   ========================================================================== */
.admin-header {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 16px 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  padding: 36px 0 80px;
}

.admin-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.admin-panel-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-label-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Formatting Toolbar */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-elevated);
  padding: 8px;
  border: 1px solid var(--border-medium);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tool-btn {
  padding: 5px 10px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.tool-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--accent-gold);
}

.editor-textarea {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  min-height: 380px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* SEO Score Meter */
.seo-score-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.seo-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.score-badge {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-green);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-badge small {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.seo-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.check-icon.pass {
  background: var(--accent-green);
  color: #060D19;
}

.check-icon.fail {
  background: #EF4444;
  color: #FFFFFF;
}

/* FAQ Builder in Admin */
.faq-builder-item {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  position: relative;
}

.faq-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: #EF4444;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #02050B;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-link-item a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-link-item a:hover {
  color: var(--accent-gold);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar {
    order: -1;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .featured-content {
    padding: 24px;
  }
  .article-author-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
