/* TrackOlap Blog Resource Hub (the /blog landing page). */
.blog-hub-page {
  --hub-navy: #0a1e3f;
  --hub-blue: #12408a;
  --hub-bright: #1a5cff;
  --hub-cyan: #3fc9f0;
  --hub-bg: #f5f8ff;
  --hub-surface: #ffffff;
  --hub-border: #e3eaf6;
  --hub-heading: #0a1e3f;
  --hub-text: #344054;
  --hub-muted: #667085;
  --hub-radius: 18px;
  --hub-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(10, 30, 63, 0.06);
  --hub-shadow-hover: 0 2px 4px rgba(16, 24, 40, 0.05), 0 18px 40px rgba(10, 30, 63, 0.12);
  --hub-gradient: linear-gradient(120deg, #0a1e3f 0%, #12408a 52%, #1a6fe0 100%);
  margin: 0;
  color: var(--hub-text);
  background: var(--hub-bg);
  font-family: 'Poppins', 'Encode Sans', sans-serif !important;
}

.blog-hub-page *,
.blog-hub-page *::before,
.blog-hub-page *::after {
  box-sizing: border-box;
}

.blog-hub-page .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-hub-page [hidden] {
  display: none !important;
}

.blog-hub-main svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-hub-main a {
  text-decoration: none;
}

.blog-hub-main h1,
.blog-hub-main h2,
.blog-hub-main h3,
.blog-hub-main p {
  margin: 0;
}

.blog-hub-container {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.blog-hub-hero {
  position: relative;
  padding: 150px 0 88px;
  overflow: hidden;
  color: #fff;
  background: var(--hub-gradient);
  isolation: isolate;
}

.blog-hub-hero::before {
  position: absolute;
  top: -180px;
  right: -120px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 201, 240, 0.24), transparent 68%);
  content: '';
}

.blog-hub-hero::after {
  position: absolute;
  bottom: -60%;
  left: -12%;
  z-index: -1;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.022), 0 0 0 160px rgba(255, 255, 255, 0.015);
  content: '';
}

.blog-hub-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 95%);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 95%);
}

.blog-hub-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.blog-hub-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(231, 239, 255, 0.7);
  font-size: 13px;
}

.blog-hub-breadcrumb a {
  color: rgba(231, 239, 255, 0.85);
}

.blog-hub-breadcrumb a:hover {
  color: #fff;
}

.blog-hub-breadcrumb [aria-current] {
  color: #fff;
}

.blog-hub-eyebrow {
  display: inline-flex;
  margin-bottom: 18px !important;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #e7efff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-hub-hero h1 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.blog-hub-hero h1 span {
  background: linear-gradient(90deg, #7fd8ff 0%, #3fc9f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hub-hero-copy {
  max-width: 680px;
  margin-top: 20px !important;
  color: rgba(231, 239, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.blog-hub-search {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-hub-search-icon {
  position: absolute;
  left: 20px;
  width: 20px;
  height: 20px;
  color: #98a2b3;
  pointer-events: none;
}

.blog-hub-search input {
  width: 100%;
  height: 56px;
  padding: 0 20px 0 52px;
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  color: var(--hub-heading);
  background: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.blog-hub-search input:focus {
  border-color: var(--hub-bright);
  box-shadow: 0 0 0 4px rgba(26, 92, 255, 0.14);
}

.blog-hub-hero-search {
  width: min(680px, 100%);
  margin-top: 34px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(4, 14, 36, 0.35);
}

.blog-hub-hero-search .blog-hub-search-icon {
  left: 26px;
}

.blog-hub-hero-search input {
  height: 60px;
  padding-right: 130px;
  border-color: transparent;
}

.blog-hub-hero-search button {
  position: absolute;
  right: 14px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--hub-bright);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.blog-hub-hero-search button:hover {
  background: #0f47d6;
}

.blog-hub-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(231, 239, 255, 0.78);
  font-size: 14px;
}

.blog-hub-hero-stats strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.blog-hub-section {
  padding: 88px 0;
}

.blog-hub-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 40px;
}

.blog-hub-section-head > p {
  max-width: 440px;
  color: var(--hub-muted);
  font-size: 16px;
  line-height: 1.6;
}

.blog-hub-kicker {
  margin-bottom: 8px !important;
  color: var(--hub-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hub-section h2 {
  color: var(--hub-heading);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* ---------- Categories ---------- */
.blog-hub-categories {
  background: var(--hub-surface);
}

.blog-hub-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.blog-hub-category-card {
  --accent: var(--hub-bright);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.blog-hub-category-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--hub-border));
  box-shadow: var(--hub-shadow-hover);
  transform: translateY(-3px);
}

.blog-hub-category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.blog-hub-category-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--accent, var(--hub-bright));
  background: color-mix(in srgb, var(--accent, var(--hub-bright)) 11%, #fff);
}

.blog-hub-category-icon svg {
  width: 24px;
  height: 24px;
}

.blog-hub-category-count {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--hub-muted);
  background: #f2f5fa;
  font-size: 12px;
  font-weight: 500;
}

.blog-hub-category-card h3 {
  color: var(--hub-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.blog-hub-category-card p {
  flex: 1;
  margin-top: 8px !important;
  color: var(--hub-muted);
  font-size: 14px;
  line-height: 1.6;
}

.blog-hub-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.blog-hub-category-link::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: '';
}

.blog-hub-category-link svg,
.blog-hub-read svg,
.blog-hub-button svg,
.blog-hub-card-arrow svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.blog-hub-category-card:hover .blog-hub-category-link svg {
  transform: translateX(3px);
}

.blog-hub-category-all {
  --accent: #fff;
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  border: 0;
  color: #fff;
  background: var(--hub-gradient);
}

.blog-hub-category-all .blog-hub-category-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.blog-hub-category-all div {
  flex: 1;
}

.blog-hub-category-all h3 {
  color: #fff;
}

.blog-hub-category-all p {
  color: rgba(231, 239, 255, 0.8);
}

.blog-hub-category-all .blog-hub-category-link {
  margin-top: 0;
  color: #fff;
}

.blog-hub-category-all .blog-hub-category-link::after {
  display: none;
}

/* ---------- Explore by industry ---------- */
.blog-hub-explore {
  padding-bottom: 72px;
  background: linear-gradient(180deg, #eef4ff 0%, var(--hub-bg) 100%);
}

.blog-hub-explore + .blog-hub-categories {
  padding-top: 72px;
}

.blog-hub-explore-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 36px;
}

.blog-hub-explore-head p:not(.blog-hub-kicker) {
  margin-top: 10px !important;
  color: var(--hub-text);
  font-size: 16px;
  line-height: 1.6;
}

.blog-hub-explore-groups {
  display: flex;
  gap: 36px;
}

.blog-hub-explore-group {
  position: relative;
  padding: 8px 0 10px;
  border: 0;
  color: var(--hub-text);
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms ease;
}

.blog-hub-explore-group::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hub-bright);
  transform: scaleX(0);
  transition: transform 200ms ease;
  content: '';
}

.blog-hub-explore-group:hover,
.blog-hub-explore-group.is-active {
  color: var(--hub-heading);
}

.blog-hub-explore-group.is-active::after {
  transform: scaleX(1);
}

.blog-hub-strip {
  position: relative;
  margin-bottom: 28px;
}

.blog-hub-strip::before,
.blog-hub-strip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  content: '';
}

.blog-hub-strip::before {
  left: 0;
  background: linear-gradient(90deg, #eef4ff 35%, rgba(238, 244, 255, 0));
}

.blog-hub-strip::after {
  right: 0;
  background: linear-gradient(270deg, #eef4ff 35%, rgba(238, 244, 255, 0));
}

.blog-hub-strip.has-prev::before,
.blog-hub-strip.has-next::after {
  opacity: 1;
}

.blog-hub-strip-track {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 10px 6px 6px; /* room for the "New" badge on the newest tab */
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.blog-hub-strip-track::-webkit-scrollbar {
  display: none;
}

.blog-hub-strip-tab {
  flex: 0 0 auto;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--hub-text);
  background: transparent;
  font: inherit;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.blog-hub-strip-tab:hover {
  color: var(--hub-heading);
  background: rgba(26, 92, 255, 0.06);
}

.blog-hub-strip-tab.is-active {
  color: var(--hub-bright);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px rgba(26, 92, 255, 0.1);
  font-weight: 600;
}

.blog-hub-strip-tab.is-newest {
  position: relative;
}

/* The most recently updated industry (always first) carries a "New" badge. */
.blog-hub-strip-tab.is-newest::after {
  position: absolute;
  top: -7px;
  right: -4px;
  padding: 1px 7px;
  border-radius: 999px;
  color: #fff;
  background: #f56d25;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
  content: 'New';
}

.blog-hub-explore-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.blog-hub-explore-related {
  padding: 3px 10px;
  border-radius: 999px;
  color: #c2410c;
  background: #fff1e8;
  transition: background-color 160ms ease;
}

.blog-hub-strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hub-border);
  border-radius: 50%;
  color: var(--hub-heading);
  background: #fff;
  box-shadow: 0 4px 12px rgba(10, 30, 63, 0.1);
  cursor: pointer;
  transform: translateY(-50%);
}

.blog-hub-strip-arrow:hover {
  color: var(--hub-bright);
}

.blog-hub-strip-arrow.is-prev {
  left: 0;
}

.blog-hub-strip-arrow.is-next {
  right: 0;
}

.blog-hub-strip-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.blog-hub-explore-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 40px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 30, 63, 0.08);
  animation: blog-hub-fade 260ms ease;
}

@keyframes blog-hub-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.blog-hub-explore-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #eef3fb;
}

.blog-hub-explore-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.blog-hub-explore-panel:hover .blog-hub-explore-media img {
  transform: scale(1.03);
}

.blog-hub-explore-label {
  margin-bottom: 12px !important;
  color: var(--hub-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hub-explore-body h3 {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.3;
}

.blog-hub-explore-body h3 a {
  color: var(--hub-heading);
  transition: color 160ms ease;
}

.blog-hub-explore-body h3 a:hover {
  color: var(--hub-bright);
}

.blog-hub-explore-excerpt {
  margin-top: 14px !important;
  color: var(--hub-text);
  font-size: 15px;
  line-height: 1.7;
}

.blog-hub-explore-meta {
  margin-top: 14px !important;
  color: var(--hub-muted);
  font-size: 14px;
}

.blog-hub-explore-meta span {
  color: var(--hub-heading);
}

.blog-hub-explore-body .blog-hub-read {
  margin-top: 22px;
}

/* ---------- Shared post bits ---------- */
.blog-hub-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.blog-hub-industry-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  color: #c2410c;
  background: #fff1e8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-hub-pill,
.blog-hub-pill-text {
  display: inline-block;
  color: var(--accent, var(--hub-bright));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-hub-pill {
  position: relative;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--hub-bright)) 10%, #fff);
}

.blog-hub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--hub-muted);
  font-size: 13px;
}

.blog-hub-media-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--accent, var(--hub-bright));
  background: color-mix(in srgb, var(--accent, var(--hub-bright)) 10%, #f5f8ff);
}

.blog-hub-media-fallback svg {
  width: 44px;
  height: 44px;
}

/* ---------- Featured ---------- */
.blog-hub-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
}

.blog-hub-featured-lead {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--hub-shadow);
}

.blog-hub-featured-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3fb;
}

.blog-hub-featured-media img,
.blog-hub-featured-thumb img,
.blog-hub-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.blog-hub-featured-lead:hover .blog-hub-featured-media img,
.blog-hub-featured-item:hover .blog-hub-featured-thumb img,
.blog-hub-card:hover .blog-hub-card-media img {
  transform: scale(1.04);
}

.blog-hub-featured-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 32px 32px;
}

.blog-hub-featured-body h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.blog-hub-featured-body h3 a,
.blog-hub-featured-item h3 a,
.blog-hub-card h3 a {
  color: var(--hub-heading);
  transition: color 160ms ease;
}

.blog-hub-featured-body h3 a:hover,
.blog-hub-featured-item h3 a:hover,
.blog-hub-card h3 a:hover {
  color: var(--hub-bright);
}

.blog-hub-featured-body > p {
  color: var(--hub-muted);
  font-size: 15px;
  line-height: 1.7;
}

.blog-hub-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--hub-bright);
  font-size: 15px;
  font-weight: 600;
}

.blog-hub-read:hover svg {
  transform: translateX(3px);
}

.blog-hub-featured-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-hub-featured-item {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  background: #fff;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

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

.blog-hub-featured-thumb {
  display: block;
  height: 100%;
  min-height: 100px;
  max-height: 120px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3fb;
}

.blog-hub-featured-item h3 {
  margin: 6px 0 8px !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hub-featured-item h3 a::after,
.blog-hub-card h3 a::after {
  position: absolute;
  inset: 0;
  content: '';
}

/* ---------- More articles (inside Explore) ---------- */
.blog-hub-more-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 56px 0 24px;
  scroll-margin-top: 90px;
}

.blog-hub-more-head h3 {
  color: var(--hub-heading);
  font-size: 22px;
  font-weight: 600;
}

.blog-hub-results {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--hub-muted);
  font-size: 14px;
}

.blog-hub-results strong {
  color: var(--hub-heading);
  font-weight: 600;
}

.blog-hub-clear {
  color: var(--hub-bright);
  font-weight: 600;
}

.blog-hub-clear:hover {
  text-decoration: underline !important;
}

button.blog-hub-clear {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

button.blog-hub-clear:hover {
  text-decoration: underline;
}

/* ---------- Use-case articles (below the use-case cards) ---------- */
.blog-hub-category-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent), var(--hub-shadow-hover);
}

.blog-hub-usecase-results {
  margin-top: 8px;
  animation: blog-hub-fade 260ms ease;
}

.blog-hub-usecase-results .blog-hub-more-head {
  margin-top: 48px;
}

.blog-hub-explore .blog-hub-empty {
  margin-top: 24px;
}

.blog-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  background: #fff;
  box-shadow: var(--hub-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.blog-hub-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3fb;
}

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

.blog-hub-card h3 {
  margin: 10px 0 10px !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hub-card-body > p {
  flex: 1;
  color: var(--hub-muted);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hub-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef2f8;
}

.blog-hub-card-arrow {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--hub-bright);
  background: #eef3ff;
  transition: background-color 180ms ease, color 180ms ease;
}

.blog-hub-card:hover .blog-hub-card-arrow {
  color: #fff;
  background: var(--hub-bright);
}

.blog-hub-card:hover .blog-hub-card-arrow svg {
  transform: translateX(2px);
}

.blog-hub-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 64px 24px;
  border: 1px dashed #cbd6ea;
  border-radius: var(--hub-radius);
  background: #fff;
  text-align: center;
}

.blog-hub-empty h3 {
  margin-top: 6px !important;
  color: var(--hub-heading);
  font-size: 20px;
  font-weight: 600;
}

.blog-hub-empty p {
  color: var(--hub-muted);
}

.blog-hub-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.blog-hub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--hub-navy);
  border-radius: 12px;
  color: #fff;
  background: var(--hub-navy);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.blog-hub-button:hover {
  border-color: var(--hub-bright);
  color: #fff;
  background: var(--hub-bright);
}

.blog-hub-button-ghost {
  margin-top: 8px;
  color: var(--hub-navy);
  background: transparent;
}

.blog-hub-button-light {
  border-color: #fff;
  color: var(--hub-navy);
  background: #fff;
}

.blog-hub-button-light:hover {
  border-color: #e7efff;
  color: var(--hub-navy);
  background: #e7efff;
}

.blog-hub-button-outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.blog-hub-button-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- CTA ---------- */
.blog-hub-cta {
  padding: 0 0 96px;
}

.blog-hub-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 56px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--hub-gradient);
}

.blog-hub-cta .blog-hub-kicker {
  color: var(--hub-cyan);
}

.blog-hub-cta h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.blog-hub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Focus ---------- */
.blog-hub-main a:focus-visible,
.blog-hub-main button:focus-visible {
  outline: 3px solid rgba(26, 92, 255, 0.45);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .blog-hub-explore-panel {
    gap: 32px;
    padding: 28px;
  }

  .blog-hub-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-hub-category-all {
    grid-column: span 2;
  }

  .blog-hub-featured-layout {
    grid-template-columns: 1fr;
  }

  .blog-hub-featured-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .blog-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-hub-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-hub-more-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-hub-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 36px;
  }
}

@media (max-width: 767px) {
  .blog-hub-container {
    width: calc(100% - 32px);
  }

  .blog-hub-hero {
    padding: 124px 0 64px;
  }

  .blog-hub-hero-copy {
    font-size: 16px;
  }

  .blog-hub-hero-search input {
    padding-right: 20px;
  }

  .blog-hub-hero-search button {
    display: none;
  }

  .blog-hub-section {
    padding: 64px 0;
  }

  .blog-hub-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .blog-hub-category-card {
    padding: 20px;
  }

  .blog-hub-category-all {
    grid-column: 1 / -1;
  }

  .blog-hub-featured-list {
    grid-template-columns: 1fr;
  }

  .blog-hub-featured-body {
    padding: 24px;
  }

  .blog-hub-explore-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-hub-explore-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px 18px 26px;
  }

  .blog-hub-strip-arrow {
    display: none;
  }


  .blog-hub-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .blog-hub-category-grid {
    grid-template-columns: 1fr;
  }

  .blog-hub-featured-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
  }

  .blog-hub-cta-inner {
    padding: 36px 24px;
  }

  .blog-hub-cta-actions,
  .blog-hub-cta-actions .blog-hub-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hub-page *,
  .blog-hub-page *::before,
  .blog-hub-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
