/* ============================================================
   AEVITA BLOG STYLES
   Extracted for Hello Elementor Child Theme
   ============================================================ */

/* --- CSS Variabelen (Aevita Design System) --- */
:root {
  /* Brand primary */
  --blue:         #3753F0;
  --blue-mid:     #4D67F2;
  --blue-light:   #E8ECFE;
  --blue-xlight:  #F2F4FF;
  --balance-blue: #338EF0;
  --brave-blue:   #97C7F7;
  --lovely-lilac: #BDC2FF;

  --teal:         #00BC8E;
  --teal-mid:     #00CC9A;
  --teal-dark:    #00A37C;
  --teal-light:   #E0F7F1;
  --teal-xlight:  #F0FBF8;

  --coral:        #FF6B47;
  --coral-dark:   #E85C3A;
  --coral-light:  #FFF0EC;

  --dark:         #002327;
  --text:         #002327;
  --muted:        #4A6B70;
  --muted-light:  #7AABB0;

  --white:        #FFFFFF;
  --cream:        #FAFFFE;
  --light:        #F2F7F8;
  --border:       #D8EEE9;
  --border-light: #EAF5F2;

  --gradient:     linear-gradient(135deg, #00BC8E 0%, #3753F0 100%);
  --gradient-r:   linear-gradient(135deg, #3753F0 0%, #00BC8E 100%);
  --gradient-soft:linear-gradient(135deg, #E0F7F1 0%, #E8ECFE 100%);
  --gradient-warm:linear-gradient(135deg, #F0FBF8 0%, #F2F4FF 100%);

  --shadow-xs:    0 1px 6px rgba(55,83,240,0.05);
  --shadow-sm:    0 2px 12px rgba(55,83,240,0.07);
  --shadow:       0 4px 24px rgba(55,83,240,0.10);
  --shadow-md:    0 8px 40px rgba(55,83,240,0.14);
  --shadow-lg:    0 16px 60px rgba(55,83,240,0.18);

  --radius-xs:    8px;
  --radius-sm:    12px;
  --radius:       20px;
  --radius-lg:    32px;
  --radius-xl:    48px;
  --radius-pill:  100px;

  --nav-h:        72px;
  --max-w:        1152px;
  --side-p:       clamp(20px, 5vw, 80px);

  --transition:   all 0.25s ease;
  --transition-slow: all 0.4s ease;
}

/* --- Base Container --- */
.container {
  max-width: 1152px;
  margin: 0 auto;
}

.section { padding: 80px 0; }

/* --- Utility Classes --- */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 188, 142, 0.32);
}
.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 188, 142, 0.44);
}

.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 20px rgba(55, 83, 240, 0.28);
}
.btn-blue:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(55, 83, 240, 0.38);
}

.btn-white {
  background: white;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--blue-xlight);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: white;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-blue  { background: var(--blue-light); color: var(--blue); }
.badge-teal  { background: var(--teal-light); color: var(--teal-dark); }
.badge-coral { background: var(--coral-light); color: var(--coral); }
.badge-dark  { background: rgba(0,35,39,0.08); color: var(--dark); }

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

/* --- Page Hero --- */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero h1 { 
  margin-bottom: 16px; 
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.page-hero .lead { 
  max-width: 580px; 
  margin: 0 auto; 
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.8;
}

/* --- Kennisgids Specific --- */
.kb-hero { background: linear-gradient(160deg, #EEF0FF 0%, #E5FAF6 100%); }

.kb-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.kb-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.kb-filter-btn:hover,
.kb-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* --- Featured Article --- */
.featured-article {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  margin-bottom: 48px;
  transition: var(--transition-slow);
}

.featured-article:hover { 
  box-shadow: var(--shadow-lg); 
  transform: translateY(-3px); 
}

.featured-article-img {
  background: linear-gradient(135deg, #338EF0 0%, #3753F0 60%, #00BC8E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle overlay that sits above the featured image */
.featured-article-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,188,142,0.12), rgba(55,83,240,0.12));
  z-index: 2;
  pointer-events: none;
}

/* Featured article — post thumbnail fills the panel */
.featured-article-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* SVG fallback stays centred (not absolutely positioned) */
.featured-article-img > span {
  position: relative;
  z-index: 3;
}

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

.featured-label { 
  font-size: 0.72rem; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: var(--teal-dark); 
  margin-bottom: 12px; 
}

.featured-article-body h2 { 
  font-size: clamp(1.3rem, 2.5vw, 1.75rem); 
  margin-bottom: 16px; 
  line-height: 1.3; 
  color: var(--blue);
}

.featured-article-body p { 
  font-size: 0.9rem; 
  color: var(--muted); 
  line-height: 1.8; 
  margin-bottom: 24px; 
}

.featured-meta { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 24px; 
}

.featured-meta-avatar { 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  background: var(--gradient); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 0.85rem; 
  font-weight: 700; 
  color: white; 
  flex-shrink: 0; 
  overflow: hidden; 
}

.featured-meta-avatar img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.featured-meta-text span { 
  display: block; 
  font-size: 0.8rem; 
  font-weight: 600; 
}

.featured-meta-text time { 
  font-size: 0.75rem; 
  color: var(--muted); 
}

/* --- Layout --- */
.kb-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.kb-sidebar { 
  position: sticky; 
  top: calc(var(--nav-h) + 24px); 
}

/* --- Search --- */
.search-box {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: 'Comfortaa', sans-serif;
  font-size: 0.86rem;
  outline: none;
  background: white;
  color: var(--text);
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--blue); }

.search-btn {
  padding: 12px 16px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}

.search-btn:hover { background: var(--blue-mid); }

/* --- Pagination --- */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.page-numbers,
.page-btn {
  width: 38px; 
  height: 38px;
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.page-numbers:hover, 
.page-numbers.current,
.page-btn:hover, 
.page-btn.active { 
  background: var(--blue); 
  border-color: var(--blue); 
  color: white; 
}

/* --- Blog Cards --- */
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
  /* flex keeps SVG fallback centred */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* Post featured image fills the card image area */
.blog-card-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body { padding: 24px; }

.blog-card-body .badge { margin-bottom: 12px; }

.blog-card-body h3 { 
  font-size: 1.05rem; 
  margin-bottom: 10px; 
  line-height: 1.4; 
  color: var(--dark);
}

.blog-card-body p { 
  font-size: 0.85rem; 
  color: var(--muted); 
  line-height: 1.6;
}

.blog-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
}

.blog-card-body .read-more:hover { gap: 10px; }

/* --- Sidebar Widget --- */
.sidebar-widget {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.sidebar-widget h4 { 
  font-size: 0.95rem; 
  margin-bottom: 16px; 
  color: var(--dark); 
  padding-bottom: 12px; 
  border-bottom: 1px solid var(--border); 
}

.sidebar-summary-item {
  display: flex;
  padding: 10px 0;
  font-size: 0.86rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: color 0.2s;
}

.sidebar-summary-item:last-child { border-bottom: none; }

.sidebar-summary-item:hover { color: var(--blue); }

.sidebar-summary-item a {
  color: inherit;
  text-decoration: none;
}

/* --- Category List --- */
.category-list { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
}

.category-tag {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--light);
  color: var(--muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.category-tag:hover { 
  background: var(--blue); 
  color: white; 
}

/* --- Recent Posts --- */
.recent-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.recent-post:last-child { border-bottom: none; }

.recent-post-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xs);
  background: var(--gradient-soft);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  /* flex keeps SVG fallback centred */
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-post-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xs);
}

.recent-post-info h5 { 
  font-size: 0.82rem; 
  font-weight: 600; 
  line-height: 1.4; 
  margin-bottom: 4px; 
  transition: color 0.2s; 
  color: var(--dark);
}

.recent-post:hover h5 { color: var(--blue); }

.recent-post-info span { 
  font-size: 0.75rem; 
  color: var(--muted); 
}

/* --- Check List --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 0.86rem;
  color: var(--text);
  list-style: none;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Author Block --- */
.author-block {
  background: var(--gradient-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 48px;
}

.author-avatar {
  width: 80px; 
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.author-avatar img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.author-info { flex: 1; }

.author-label { 
  font-size: 0.72rem; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: var(--teal-dark); 
  margin-bottom: 6px; 
}

.author-info h4 { 
  font-size: 1.1rem; 
  margin-bottom: 4px; 
  color: var(--dark);
}

.author-info .role { 
  font-size: 0.82rem; 
  color: var(--teal-dark); 
  font-weight: 600; 
  margin-bottom: 10px; 
}

.author-info p { 
  font-size: 0.85rem; 
  color: var(--muted); 
  line-height: 1.75; 
}

.author-social { 
  display: flex; 
  gap: 8px; 
  margin-top: 14px; 
}

.author-social a {
  width: 32px; 
  height: 32px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  text-decoration: none;
}

.author-social a:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

/* --- CTA Strip --- */
.cta-strip { 
  background: var(--gradient); 
  padding: 28px 0; 
}

.cta-strip-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 24px; 
  flex-wrap: wrap; 
}

.cta-strip-text { 
  flex: 1; 
  min-width: 200px; 
}

.cta-strip-title { 
  font-size: 1.05rem; 
  font-weight: 700; 
  color: white; 
  margin-bottom: 3px; 
}

.cta-strip-sub { 
  font-size: 0.83rem; 
  color: rgba(255,255,255,0.72); 
}

.cta-strip-actions { 
  display: flex; 
  gap: 10px; 
  flex-shrink: 0; 
  flex-wrap: wrap; 
}

/* --- Article Page Specific --- */
.article-hero {
  background: linear-gradient(160deg, #EEF0FF 0%, #E5FAF6 100%);
  padding: calc(var(--nav-h) + 64px) 0 0;
  position: relative;
  overflow: hidden;
}

.article-hero-inner {
  position: relative; 
  z-index: 1;
  max-width: 780px;
  padding-bottom: 56px;
}

.article-breadcrumb {
  display: flex; 
  align-items: center; 
  gap: 8px;
  font-size: 0.8rem; 
  color: var(--muted);
  margin-bottom: 24px;
}

.article-breadcrumb a { 
  color: var(--muted); 
  transition: color 0.2s; 
}

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

.article-breadcrumb span { color: var(--border); }

.article-hero h1 { 
  color: var(--blue); 
  margin-bottom: 20px; 
  max-width: 680px; 
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.article-hero-meta {
  display: flex; 
  align-items: center; 
  gap: 20px;
  flex-wrap: wrap;
}

.article-author-mini {
  display: flex; 
  align-items: center; 
  gap: 10px;
}

.author-mini-avatar {
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  background: var(--gradient);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-weight: 700; 
  color: white; 
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
  overflow: hidden;
}

.author-mini-avatar img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.author-mini-info span { 
  display: block; 
  font-size: 0.82rem; 
  color: var(--dark); 
  font-weight: 600; 
}

.author-mini-info time { 
  font-size: 0.75rem; 
  color: var(--muted); 
}

.article-tags { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
}

/* --- Article Layout --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
}

.article-body { max-width: 680px; }

.article-body h2 { 
  margin: 36px 0 16px; 
  font-size: 1.4rem; 
  color: var(--blue);
}

.article-body h3 { 
  margin: 28px 0 12px; 
  font-size: 1.15rem; 
  color: var(--dark);
}

.article-body p { 
  margin-bottom: 20px; 
  font-size: 0.94rem; 
  line-height: 1.85; 
  color: var(--text); 
}

.article-body ul, 
.article-body ol { 
  margin: 0 0 20px 0; 
  padding-left: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.article-body ul li, 
.article-body ol li { 
  font-size: 0.93rem; 
  line-height: 1.7; 
  padding-left: 24px; 
  position: relative; 
  color: var(--text); 
  list-style: none;
}

.article-body ul li::before { 
  content: '→'; 
  position: absolute; 
  left: 0; 
  color: var(--teal-dark); 
  font-weight: 700; 
}

.article-body ol { counter-reset: item; }

.article-body ol li { counter-increment: item; }

.article-body ol li::before { 
  content: counter(item) '.'; 
  position: absolute; 
  left: 0; 
  color: var(--blue); 
  font-weight: 700; 
}

.article-quote {
  background: var(--gradient-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin: 28px 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
}

.article-callout {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
  border: 1px solid rgba(55,83,240,0.12);
}

.article-callout h4 { 
  color: var(--blue); 
  margin-bottom: 8px; 
  font-size: 0.9rem; 
}

.article-callout p { 
  margin: 0; 
  font-size: 0.87rem; 
  color: var(--text); 
}

.article-img-placeholder {
  width: 100%; 
  height: 320px;
  background: var(--gradient);
  border-radius: var(--radius-lg);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 5rem; 
  margin: 28px 0;
  overflow: hidden;
}

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

/* --- Article Share --- */
.article-share {
  display: flex; 
  align-items: center; 
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
  flex-wrap: wrap;
}

.share-label { 
  font-size: 0.82rem; 
  font-weight: 600; 
  color: var(--muted); 
}

.share-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  display: flex; 
  align-items: center; 
  gap: 6px;
  text-decoration: none;
}

.share-btn:hover { 
  border-color: var(--blue); 
  color: var(--blue); 
  background: var(--blue-light); 
}

/* --- Related Articles --- */
.related-articles { margin-top: 48px; }

.related-articles h3 { 
  margin-bottom: 24px; 
  color: var(--dark);
}

.related-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
}

/* --- Article Sidebar --- */
.article-sidebar { 
  position: sticky; 
  top: calc(var(--nav-h) + 24px); 
}

.summary-widget {
  background: var(--gradient-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,188,142,0.15);
}

.summary-widget h4 { 
  font-size: 0.9rem; 
  color: var(--dark); 
  margin-bottom: 14px; 
  padding-bottom: 10px; 
  border-bottom: 1px solid rgba(0,188,142,0.2); 
}

.summary-item {
  display: flex; 
  align-items: flex-start; 
  gap: 8px;
  padding: 8px 0;
  font-size: 0.84rem; 
  color: var(--text); 
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,188,142,0.1);
  cursor: pointer; 
  transition: color 0.2s;
}

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

.summary-item:hover { color: var(--blue); }

.summary-item::before { 
  content: '§'; 
  color: var(--teal); 
  font-weight: 700; 
  flex-shrink: 0; 
  margin-top: 1px; 
}

/* --- Reading Progress --- */
.reading-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  z-index: 9999;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .kb-layout,
  .article-layout { 
    grid-template-columns: 1fr; 
  }
  
  .featured-article { 
    grid-template-columns: 1fr; 
    min-height: auto; 
  }
  
  .featured-article-img { height: 220px; }
  
  .kb-sidebar,
  .article-sidebar { 
    position: static; 
  }
  
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 40px; }
  
  .author-block { 
    flex-direction: column; 
    text-align: center;
    align-items: center;
  }
  
  .author-social { justify-content: center; }
  
  .featured-article-body { padding: 28px 24px; }
  
  .article-body { padding: 28px 0; }
}

@media (max-width: 640px) {
  .kb-filters { gap: 6px; }
  
  .kb-filter-btn { 
    padding: 6px 14px; 
    font-size: 0.78rem; 
  }
  
  .cta-strip-inner { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 16px;
  }
  
  .article-share { gap: 8px; }
  
  .share-btn { padding: 6px 12px; font-size: 0.75rem; }
}