/* ==========================================================================
   CV DOST — CAREER BLOGS & PLACEMENT LIBRARY
   Theme Inspired by Modern Photographic Hero + Crisp Asymmetric Grid
   ========================================================================== */

:root {
  /* Brand Palette */
  --theme-lime: #BCEB3C;
  --theme-lime-hover: #A9DC24;
  --theme-lime-active: #95C61A;
  --theme-dark: #0F172A;
  --theme-dark-soft: #1E293B;
  --theme-slate: #334155;
  --theme-gray: #64748B;
  --theme-light-gray: #94A3B8;
  --theme-border: #E2E8F0;
  --theme-border-subtle: #F1F5F9;
  --theme-bg-soft: #F8FAFC;
  --theme-white: #FFFFFF;
  
  --theme-blue: #2563EB;
  --theme-blue-hover: #1D4ED8;
  --theme-emerald: #10B981;
  --theme-amber: #F59E0B;
  --theme-rose: #EF4444;

  /* Typography */
  --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-mono: 'JetBrains Mono', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-search: 0 14px 34px rgba(0, 0, 0, 0.22);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--theme-white);
  color: var(--theme-dark-soft);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ==========================================================================
   1. OVERLAY NAVIGATION HEADER
   ========================================================================== */
.theme-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 36px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-nav.scrolled {
  position: fixed;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  padding: 2px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-white);
  letter-spacing: -0.02em;
}

/* Center Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link,
.dropdown-trigger {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.dropdown-trigger:hover {
  color: var(--theme-white);
}

.chevron-icon {
  transition: transform 0.2s ease;
}

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

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  min-width: 210px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 110;
}

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

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

.dropdown-menu a {
  padding: 10px 14px;
  color: var(--theme-dark-soft);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--theme-bg-soft);
  color: var(--theme-blue);
}

/* Nav Auth */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-signin {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--theme-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-signin:hover {
  opacity: 0.85;
}

.nav-signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
  background: var(--theme-white);
  color: var(--theme-dark);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-signup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
  background: #F8FAFC;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--theme-white);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   2. HERO STAGE (HERO BANNER + SEARCH + EXPLORE MORE)
   ========================================================================== */
.hero-theme-stage {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 130px 36px 70px;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.92);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 24, 0.52) 0%,
    rgba(10, 15, 24, 0.38) 45%,
    rgba(10, 15, 24, 0.72) 100%
  );
}

.hero-inner-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(84vh - 200px);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--theme-white);
  max-width: 890px;
  margin-bottom: 40px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Floating Search Bar */
.hero-search-wrapper {
  max-width: 440px;
  width: 100%;
  margin-bottom: 60px;
}

.hero-search-form {
  display: flex;
  align-items: center;
  background: var(--theme-white);
  border-radius: var(--radius-pill);
  padding: 6px 7px 6px 20px;
  box-shadow: var(--shadow-search);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-form:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.search-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
}

.search-icon {
  color: var(--theme-light-gray);
  flex-shrink: 0;
}

.hero-search-form input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--theme-dark);
  background: transparent;
}

.hero-search-form input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--theme-lime);
  color: var(--theme-dark);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-search-btn:hover {
  background: var(--theme-lime-hover);
  transform: scale(1.02);
}

.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.12);
}

/* Explore More Bottom Right */
.hero-explore-link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--theme-white);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-explore-link:hover {
  opacity: 0.9;
  transform: translateY(2px);
}

.explore-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--theme-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-explore-link:hover .explore-arrow-circle {
  transform: translateY(3px);
  background: var(--theme-white);
}

/* ==========================================================================
   3. POPULAR ARTICLES SECTION (ASYMMETRIC GRID THEME)
   ========================================================================== */
.popular-articles-section {
  background: var(--theme-white);
  padding: 70px 36px 90px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--theme-dark);
  margin-bottom: 34px;
}

/* Asymmetric 2-Column Grid */
.popular-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left: Featured Large Card */
.featured-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
}

.featured-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--theme-bg-soft);
  margin-bottom: 20px;
}

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

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

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--theme-white);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.featured-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-date {
  font-size: 0.86rem;
  color: var(--theme-gray);
  font-weight: 500;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--theme-dark);
  transition: color 0.2s ease;
}

.featured-card:hover .featured-title {
  color: var(--theme-blue);
}

.featured-summary {
  font-size: 0.98rem;
  color: var(--theme-gray);
  line-height: 1.6;
  margin-top: 4px;
}

/* Right: Stack of 3 Horizontal Cards */
.popular-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stack-card {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, background 0.2s ease;
}

.stack-card:hover {
  transform: translateX(4px);
  background: var(--theme-bg-soft);
}

.stack-image-wrap {
  width: 190px;
  height: 125px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--theme-bg-soft);
}

.stack-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-card:hover .stack-image {
  transform: scale(1.05);
}

.stack-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stack-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--theme-dark);
  transition: color 0.2s ease;
}

.stack-card:hover .stack-title {
  color: var(--theme-blue);
}

/* ==========================================================================
   4. CATEGORY PILLS BAR & IN-PAGE SEARCH
   ========================================================================== */
.playbooks-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 0 36px;
  border-top: 1px solid var(--theme-border);
  margin-top: 50px;
}

.category-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--theme-slate);
  background: var(--theme-bg-soft);
  border: 1px solid var(--theme-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--theme-dark);
  color: var(--theme-white);
  border-color: var(--theme-dark);
}

.inpage-search-wrap {
  position: relative;
  width: 280px;
}

.inpage-search-wrap input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--theme-border);
  background: var(--theme-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--theme-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inpage-search-wrap input:focus {
  border-color: var(--theme-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.inpage-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--theme-light-gray);
  pointer-events: none;
}

/* ==========================================================================
   5. DEEP DIVE ARTICLE PLAYBOOKS (READER SECTION)
   ========================================================================== */
.playbooks-stream {
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding-bottom: 90px;
}

.playbook-card {
  background: var(--theme-white);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}

.playbook-card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Article Hero Header */
.playbook-header {
  padding: 44px 48px 30px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--theme-border);
}

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

.topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-ats {
  background: rgba(37, 99, 235, 0.1);
  color: var(--theme-blue);
}

.tag-interview {
  background: rgba(16, 185, 129, 0.1);
  color: var(--theme-emerald);
}

.tag-placement {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
}

.tag-outreach {
  background: rgba(139, 92, 246, 0.12);
  color: #7C3AED;
}

.read-time-pill {
  font-size: 0.85rem;
  color: var(--theme-gray);
  font-weight: 500;
}

.playbook-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--theme-dark);
  margin-bottom: 14px;
}

.playbook-lead {
  font-size: 1.05rem;
  color: var(--theme-slate);
  line-height: 1.68;
  max-width: 900px;
}

/* Article Body */
.playbook-body {
  padding: 40px 48px 48px;
}

.playbook-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--theme-dark);
  margin: 32px 0 14px;
  letter-spacing: -0.015em;
}

.playbook-body h3:first-child {
  margin-top: 0;
}

.playbook-body p {
  font-size: 1rem;
  color: var(--theme-slate);
  margin-bottom: 18px;
  line-height: 1.72;
}

.playbook-body strong {
  color: var(--theme-dark);
  font-weight: 600;
}

.playbook-body em {
  font-style: italic;
  color: var(--theme-dark-soft);
}

.playbook-body ul,
.playbook-body ol {
  margin: 14px 0 24px 24px;
  color: var(--theme-slate);
}

.playbook-body li {
  margin-bottom: 10px;
  line-height: 1.65;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: #F1F5F9;
  color: #0F172A;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
}

/* Comparison Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 26px 0 34px;
}

.comp-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--theme-border);
}

.comp-do {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.comp-dont {
  background: #FEF2F2;
  border-color: #FECACA;
}

.comp-header {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.comp-do .comp-header {
  color: #15803D;
}

.comp-dont .comp-header {
  color: #B91C1C;
}

.comp-list {
  list-style: none;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comp-list li {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.comp-do .comp-list li {
  color: #166534;
}

.comp-dont .comp-list li {
  color: #991B1B;
}

/* Callout Boxes */
.callout-box {
  background: #F8FAFC;
  border-left: 4px solid var(--theme-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 22px 0;
}

.callout-box.callout-success {
  background: #F0FDF4;
  border-left-color: var(--theme-emerald);
}

.callout-box.callout-warning {
  background: #FFFBEB;
  border-left-color: var(--theme-amber);
}

.callout-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--theme-dark);
}

.callout-text {
  font-size: 0.95rem;
  color: var(--theme-slate);
  line-height: 1.6;
}

/* Action Banner in Article */
.article-action-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--theme-white);
}

.action-banner-text h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--theme-white);
}

.action-banner-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.action-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--theme-lime);
  color: var(--theme-dark);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.action-banner-btn:hover {
  background: var(--theme-lime-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. INTERACTIVE Q&A ACCORDIONS (INTERVIEW GUIDE)
   ========================================================================== */
.qa-card {
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--theme-white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qa-card.open {
  border-color: #BFDBFE;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.qa-trigger {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--theme-dark);
  cursor: pointer;
  transition: color 0.15s ease;
}

.qa-trigger:hover {
  color: var(--theme-blue);
}

.qa-trigger svg {
  color: var(--theme-light-gray);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

.qa-card.open .qa-trigger svg {
  transform: rotate(180deg);
  color: var(--theme-blue);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #F8FAFC;
  border-top: 1px solid transparent;
}

.qa-card.open .qa-answer {
  max-height: 700px;
  padding: 20px 22px 24px;
  opacity: 1;
  border-top-color: #EFF6FF;
}

.qa-answer p {
  font-size: 0.94rem;
  color: var(--theme-dark-soft);
  line-height: 1.68;
  margin-bottom: 12px;
}

.qa-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   7. COPYABLE SNIPPET BOXES (LINKEDIN TEMPLATES)
   ========================================================================== */
.template-snippet-box {
  background: #0F172A;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 18px 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.snippet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.snippet-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.copy-snippet-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #F1F5F9;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-snippet-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--theme-white);
}

.snippet-content {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #E2E8F0;
  white-space: pre-wrap;
  line-height: 1.7;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.blog-footer {
  background: #090D14;
  color: #94A3B8;
  padding: 48px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--theme-white);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.8rem;
  }

  .popular-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .playbook-header,
  .playbook-body {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  .theme-nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0F172A;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-theme-stage {
    min-height: 75vh;
    padding: 110px 20px 50px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-search-wrapper {
    max-width: 100%;
  }

  .popular-articles-section {
    padding: 50px 20px 70px;
  }

  .stack-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .stack-image-wrap {
    width: 100%;
    height: 180px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .playbooks-header-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .inpage-search-wrap {
    width: 100%;
  }

  .action-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ABOUT US & CONTACT SECTIONS IN BLOG
   ========================================================================== */
.blog-info-section {
  background: #F8FAFC;
  padding: 80px 36px;
  border-top: 1px solid var(--theme-border);
}

.info-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.info-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.1);
  color: var(--theme-blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.info-lead {
  font-size: 1.05rem;
  color: var(--theme-slate);
  line-height: 1.68;
  margin-top: 10px;
}

.info-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.info-card {
  background: var(--theme-white);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.info-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--theme-dark);
  margin-bottom: 10px;
}

.info-card-text {
  font-size: 0.94rem;
  color: var(--theme-slate);
  line-height: 1.65;
}

/* Contact Section in Blog */
.blog-contact-section {
  background: var(--theme-white);
  padding: 80px 36px 90px;
  border-top: 1px solid var(--theme-border);
}

.contact-card-wrapper {
  background: #0F172A;
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  color: var(--theme-white);
  box-shadow: var(--shadow-search);
}

.contact-details-col {
  display: flex;
  flex-direction: column;
}

.contact-details-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--theme-white);
  margin: 12px 0;
}

.contact-details-sub {
  font-size: 0.96rem;
  color: #94A3B8;
  line-height: 1.62;
  margin-bottom: 28px;
}

.blog-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--theme-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item-link {
  font-size: 0.95rem;
  color: var(--theme-white);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}

.contact-item-text {
  font-size: 0.9rem;
  color: #E2E8F0;
  line-height: 1.45;
}

.contact-form-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.blog-message-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.blog-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
}

.blog-form-group input,
.blog-form-group select,
.blog-form-group textarea {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.7);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.blog-form-group input:focus,
.blog-form-group select:focus,
.blog-form-group textarea:focus {
  border-color: var(--theme-lime);
}

.contact-btn-full {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.blog-form-feedback {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  text-align: center;
}

.blog-form-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
}

@media (max-width: 900px) {
  .info-grid-3 {
    grid-template-columns: 1fr;
  }
  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .blog-form-row {
    grid-template-columns: 1fr;
  }
}
