/*
 * MSI Insights Hub — Styles
 * Brand: #005188 (navy), #78BDE7 (light blue)
 * Font: Overused Grotesk (loaded globally by theme)
 */

:root {
  --p:   #005188;
  --a:   #78BDE7;
  --ap:  #EBF6FD;
  --ab:  #F2F8FC;
  --off: #F4F8FC;
  --tx:  #0C1A26;
  --md:  #2C4A5E;
  --mu:  #6B8AA0;
  --br:  rgba(0, 81, 136, 0.1);
  --r:   12px;
}

/* ── Shared layout ── */
.hub-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Page Hero ── */
.hub-hero {
  background: var(--p);
  padding: 96px 40px 72px;
  text-align: center;
}
.hub-hero-inner { max-width: 640px; margin: 0 auto; }
.hub-hero .ey {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--a);
  background: rgba(120, 189, 231, .12);
  border: 1px solid rgba(120, 189, 231, .25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hub-hero h1 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin-bottom: 14px;
}
.hub-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
}

/* ── Featured Post ── */
.hub-featured { background: var(--off); padding: 56px 0; }
.feat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--br);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 81, 136, .08);
  text-decoration: none;
  transition: box-shadow .3s;
}
.feat-card:hover { box-shadow: 0 20px 56px rgba(0, 81, 136, .14); }
.feat-img { aspect-ratio: 4/3; overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feat-card:hover .feat-img img { transform: scale(1.04); }
.feat-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feat-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.feat-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--p);
  background: var(--ap);
  border: 1px solid rgba(120, 189, 231, .4);
  padding: 4px 12px;
  border-radius: 100px;
}
.feat-sector {
  font-size: 12px;
  font-weight: 600;
  color: var(--mu);
}
.feat-date { font-size: 12px; color: var(--mu); margin-left: auto; }
.feat-body h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -1px;
  line-height: 1.1;
}
.feat-body p { font-size: 15px; color: var(--mu); line-height: 1.7; }
.feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--p);
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

/* ── Filters Bar ── */
.hub-filters {
  background: #fff;
  border-bottom: 1px solid var(--br);
  position: sticky;
  top: 68px; /* nav height */
  z-index: 50;
  padding: 16px 0;
}
.hub-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hub-tabs {
  display: flex;
  gap: 4px;
}
.hub-tab {
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--md);
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.hub-tab:hover { background: var(--ap); color: var(--p); }
.hub-tab.active {
  background: var(--p);
  color: #fff;
}
.hub-sector-filter {
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--md);
  background: var(--ab);
  border: 1.5px solid var(--br);
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B8AA0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 180px;
}

/* ── Content Area ── */
.hub-content { background: var(--off); padding: 56px 0 80px; }

/* ── Panels ── */
.hub-panel { display: none; }
.hub-panel.active { display: block; }

/* ── Card Grid ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

/* ── Hub Card ── */
.hub-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--br);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 81, 136, .1);
}
.hub-card-link { display: block; }
.hub-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--ab);
}
.hub-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s;
  display: block;
}
.hub-card:hover .hub-card-img img { transform: scale(1.05); }
.hub-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ab);
}

/* Badges */
.hub-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.hub-card-badge--blog     { background: var(--p); color: #fff; }
.hub-card-badge--news     { background: #fff; color: var(--p); border: 1px solid var(--br); }
.hub-card-badge--gallery  { background: #0C1A26; color: var(--a); }
.hub-card-badge--insight  { background: var(--a); color: var(--p); }

/* Card body */
.hub-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.hub-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hub-card-sector {
  font-size: 11px;
  font-weight: 600;
  color: var(--p);
  background: var(--ap);
  border: 1px solid rgba(120, 189, 231, .3);
  padding: 3px 9px;
  border-radius: 100px;
}
.hub-card-time {
  font-size: 11.5px;
  color: var(--mu);
  margin-left: auto;
}
.hub-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -.4px;
  line-height: 1.3;
  margin: 0;
}
.hub-card-title a { color: inherit; text-decoration: none; }
.hub-card-title a:hover { color: var(--p); }
.hub-card-excerpt,
.hub-card-takeaway {
  font-size: 13.5px;
  color: var(--mu);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.hub-card-takeaway {
  font-style: italic;
  border-left: 2px solid var(--a);
  padding-left: 10px;
  color: var(--md);
}
.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--p);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 4px;
  transition: gap .2s;
}
.hub-card-cta:hover { gap: 8px; }

/* ── Load More ── */
.hub-load-more {
  display: block;
  margin: 0 auto;
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--p);
  background: #fff;
  border: 2px solid var(--p);
  padding: 12px 36px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s;
}
.hub-load-more:hover {
  background: var(--p);
  color: #fff;
  transform: translateY(-1px);
}
.hub-load-more.loading { opacity: .6; cursor: wait; }

/* ── Empty / Loading ── */
.hub-empty {
  text-align: center;
  color: var(--mu);
  font-size: 15px;
  padding: 60px 0;
}
.hub-loading {
  text-align: center;
  color: var(--mu);
  font-size: 14px;
  padding: 32px 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card { grid-template-columns: 1fr; }
  .feat-img { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .hub-wrap { padding: 0 16px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-filters-inner { gap: 12px; }
  .hub-tab { padding: 7px 12px; font-size: 13px; }
  .hub-sector-filter { min-width: unset; width: 100%; }
  .feat-body { padding: 28px 24px; }
}

/* ════════════════════════════════════════
   ARCHIVE PAGES
════════════════════════════════════════ */

/* Hero */
.arch-hero {
  padding: 88px 40px 64px;
  text-align: center;
  background: var(--p);
}
.arch-hero--insights {
  background: linear-gradient(135deg, #003d6b 0%, var(--p) 100%);
}
.arch-hero-inner { max-width: 600px; margin: 0 auto; }
.arch-hero h1 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin: 14px 0 12px;
}
.arch-hero p { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* Filter bar */
.arch-filters {
  background: #fff;
  border-bottom: 1px solid var(--br);
  position: sticky;
  top: 68px;
  z-index: 50;
  padding: 14px 0;
}
.arch-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.arch-filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.arch-tab {
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--md);
  background: var(--ab);
  border: 1.5px solid var(--br);
  padding: 7px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .2s;
}
.arch-tab:hover, .arch-tab.active {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
}

/* Archive content area */
.arch-content { background: var(--off); padding: 52px 0 80px; }

/* Gallery count badge */
.arch-gallery-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Pagination */
.arch-pagination { margin-top: 48px; display: flex; justify-content: center; }
.arch-pagination .page-numbers {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.arch-pagination .page-numbers li a,
.arch-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--md);
  background: #fff;
  border: 1.5px solid var(--br);
  text-decoration: none;
  transition: all .2s;
}
.arch-pagination .page-numbers li a:hover { border-color: var(--p); color: var(--p); }
.arch-pagination .page-numbers li .current {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
}

/* Hub grid variant for insights (tighter) */
.hub-grid--insights { grid-template-columns: repeat(3, 1fr); }
.hub-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.insight-author { font-size: 12px; color: var(--mu); }
.hub-card-placeholder--insight { background: var(--ap); }


/* ════════════════════════════════════════
   SINGLE PAGES (shared)
════════════════════════════════════════ */

.single-hero { position: relative; background: var(--p); min-height: 340px; display: flex; align-items: flex-end; }
.single-hero--insight { background: linear-gradient(135deg, #003d6b 0%, var(--p) 100%); }
.single-hero-img { position: absolute; inset: 0; overflow: hidden; }
.single-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,25,60,.9) 0%, rgba(0,25,60,.5) 60%, rgba(0,25,60,.15) 100%);
}
.single-hero-body {
  position: relative;
  z-index: 2;
  padding: 60px 40px 52px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.single-breadcrumb { margin-bottom: 20px; }
.single-breadcrumb a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}
.single-breadcrumb a:hover { color: #fff; }
.single-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.single-date { font-size: 13px; color: rgba(255,255,255,.5); margin-left: auto; }
.single-hero-body h1 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.06;
  max-width: 800px;
}
.single-author-line {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
  font-weight: 500;
}

/* Content layout */
.single-content-wrap { padding: 60px 40px 80px; }
.single-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Article body */
.single-body { font-size: 16px; line-height: 1.8; color: var(--md); }
.single-body h2 { font-size: 1.5rem; font-weight: 800; color: var(--tx); margin: 36px 0 14px; letter-spacing: -.5px; }
.single-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--tx); margin: 28px 0 10px; }
.single-body p  { margin-bottom: 20px; }
.single-body ul, .single-body ol { padding-left: 24px; margin-bottom: 20px; }
.single-body li { margin-bottom: 8px; }
.single-body blockquote {
  border-left: 3px solid var(--a);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--ap);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--md);
}
.single-body img { border-radius: 10px; margin: 24px 0; }

/* Video embed */
.single-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 32px;
}
.single-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Gallery grid */
.single-gallery { margin: 40px 0; }
.single-gallery h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tx);
  margin-bottom: 18px;
  letter-spacing: -.3px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,81,136,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* Insight pull-quote */
.insight-pullquote {
  display: flex;
  gap: 18px;
  background: var(--ap);
  border: 1.5px solid rgba(120,189,231,.4);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.pullquote-icon { flex-shrink: 0; margin-top: 2px; }
.insight-pullquote p {
  font-size: 17px;
  font-style: italic;
  color: var(--md);
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

/* PDF Download button */
.insight-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--p);
  color: #fff;
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: background .2s, transform .2s;
}
.insight-dl-btn:hover { background: var(--pd, #003d6b); transform: translateY(-1px); }

/* Tags */
.single-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
  font-size: 13px;
  color: var(--mu);
}

/* Share / footer row */
.single-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--br);
  margin-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.single-share { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mu); }
.share-btn {
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .8; }
.share-btn--li { background: #0077B5; color: #fff; }
.share-btn--tw { background: #000; color: #fff; }

/* Sidebar */
.single-sidebar { position: sticky; top: 88px; }
.sidebar-box {
  background: var(--ab);
  border: 1px solid var(--br);
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 20px;
}
.sidebar-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mu);
  margin-bottom: 18px;
}
.sidebar-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  text-decoration: none;
  transition: opacity .2s;
}
.sidebar-item:hover { opacity: .75; }
.sidebar-thumb {
  width: 64px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-text { display: flex; flex-direction: column; gap: 3px; }
.sidebar-title { font-size: 13px; font-weight: 600; color: var(--tx); line-height: 1.35; }
.sidebar-date  { font-size: 11.5px; color: var(--mu); }
.sidebar-all-link {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--p);
  text-decoration: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--br);
}
.author-card {
  display: flex;
  gap: 14px;
  align-items: center;
}
.author-avatar { border-radius: 50%; width: 56px !important; height: 56px !important; }
.author-card strong { display: block; font-size: 14px; color: var(--tx); margin-bottom: 2px; }
.author-card span { font-size: 12.5px; color: var(--mu); }

/* Single responsive */
@media (max-width: 1024px) {
  .single-content-grid { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .single-hero-body, .single-content-wrap { padding-left: 16px; padding-right: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .arch-filters-inner { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════
   BLOG ARCHIVE
════════════════════════════════════════ */
.arch-hero--blog {
  background: linear-gradient(135deg, var(--p) 0%, #0a3d5c 100%);
}
.blog-featured { background: var(--off); padding: 48px 0 0; }
.blog-feat-card { grid-template-columns: 55% 45%; }

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--br);
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mu);
  font-weight: 500;
}
.blog-author-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   BLOG SINGLE
════════════════════════════════════════ */
.single-hero--blog {
  background: linear-gradient(135deg, #002a45 0%, var(--p) 100%);
}
.blog-hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.blog-hero-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.blog-hero-author strong {
  display: block;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}
.blog-hero-author span { font-size: 12px; color: rgba(255,255,255,.5); }

/* Table of Contents */
.blog-toc {
  background: var(--ab);
  border: 1.5px solid var(--br);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 36px;
}
.blog-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mu);
  margin-bottom: 14px;
}
.blog-toc-list {
  padding-left: 20px;
  margin: 0;
}
.blog-toc-list li { margin-bottom: 8px; }
.blog-toc-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--p);
  text-decoration: none;
  transition: color .2s;
}
.blog-toc-list a:hover { color: var(--pm, #0066aa); text-decoration: underline; }

/* Blog Tags */
.blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--md);
  background: var(--ab);
  border: 1.5px solid var(--br);
  border-radius: 6px;
  padding: 4px 12px;
  text-decoration: none;
  transition: all .2s;
}
.blog-tag:hover { border-color: var(--a); color: var(--p); }

/* Author box */
.blog-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--ab);
  border: 1.5px solid var(--br);
  border-radius: 14px;
  padding: 28px 26px;
  margin: 40px 0;
}
.author-avatar-lg {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--a);
}
.blog-author-info { display: flex; flex-direction: column; gap: 4px; }
.blog-author-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--mu); }
.blog-author-info strong { font-size: 16px; color: var(--tx); font-weight: 800; }
.blog-author-info p { font-size: 13.5px; color: var(--mu); line-height: 1.65; margin: 0; }

/* WhatsApp share */
.share-btn--wa { background: #25D366; color: #fff; }

/* Post navigation (prev/next) */
.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--br);
}
.blog-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--ab);
  border: 1.5px solid var(--br);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.blog-nav-item:hover { border-color: var(--a); background: var(--ap); }
.blog-nav-next { text-align: right; }
.blog-nav-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--mu); }
.blog-nav-title { font-size: 13.5px; font-weight: 700; color: var(--tx); line-height: 1.35; }
.blog-post-nav:has(.blog-nav-prev:only-child) .blog-nav-prev { grid-column: 1 / -1; }
.blog-post-nav:has(.blog-nav-next:only-child) .blog-nav-next { grid-column: 1 / -1; }

/* Sidebar category list */
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li { margin-bottom: 6px; }
.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--md);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  transition: all .2s;
}
.sidebar-cat-list a:hover, .sidebar-cat-list a.active {
  background: var(--ap);
  color: var(--p);
  font-weight: 600;
}
.sidebar-cat-list a span {
  font-size: 11px;
  color: var(--mu);
  background: var(--ab);
  border: 1px solid var(--br);
  border-radius: 12px;
  padding: 2px 8px;
  min-width: 28px;
  text-align: center;
}

/* Sidebar CTA box */
.sidebar-cta-box {
  background: var(--p) !important;
  border-color: transparent !important;
}
.sidebar-cta-box h4 { color: rgba(255,255,255,.5) !important; }
.sidebar-cta-box p { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 16px; }
.sidebar-cta-btn {
  display: block;
  text-align: center;
  background: #fff;
  color: var(--p);
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}
.sidebar-cta-btn:hover { background: var(--al, #b8daf2); }

/* Blog link in category */
.blog-cat-link { text-decoration: none; }

/* WP search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
  flex: 1;
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 13.5px;
  padding: 9px 14px;
  border: 1.5px solid var(--br);
  border-radius: 8px;
  background: #fff;
  color: var(--tx);
  outline: none;
}
.search-form .search-field:focus { border-color: var(--a); }
.search-form .search-submit {
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--p);
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.search-form .search-submit:hover { background: var(--pd, #003d6b); }

/* Blog comments area */
.blog-comments { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--br); }
.blog-comments .comment-form-comment textarea,
.blog-comments .comment-form input {
  font-family: 'Overused Grotesk', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border: 1.5px solid var(--br);
  border-radius: 8px;
  width: 100%;
}
.blog-comments #submit {
  background: var(--p);
  color: #fff;
  font-family: 'Overused Grotesk', sans-serif;
  font-weight: 700;
  border: none;
  padding: 11px 28px;
  border-radius: 9px;
  cursor: pointer;
}
