﻿/* RESOURCES / MEDIA / BLOG / CASE STUDIES PAGES */
/* ===== RESOURCES PAGE ===== */

/* --- Resources Hero --- */
.res-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(5rem, 6vw, 7rem);
  background: linear-gradient(170deg, #050c18 0%, var(--ink-900) 40%, #0c1e38 100%);
  overflow: hidden;
  text-align: center;
}

.res-hero__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(3, 70, 148, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 0%, transparent 70%);
}

.res-hero__eyebrow {
  display: inline-block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(3, 70, 148, 0.12);
  border: 1px solid rgba(3, 70, 148, 0.22);
  border-radius: 40px;
}

.res-hero h1 {
  font-size: var(--ma-hero-title);
  font-weight: 800;
  color: #e8eef6;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.res-hero p {
  font-size: var(--ma-body-text);
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 auto;
}

/* --- Category Filter --- */
.res-filter {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.res-filter__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.res-filter__tab {
  padding: 10px 18px;
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 200ms;
  white-space: nowrap;
}

.res-filter__tab:hover {
  color: var(--ink-900);
  background: var(--ink-50);
}

.res-filter__tab.active {
  color: var(--primary);
  background: var(--primary-dim);
}

/* --- Featured Card --- */
.res-featured {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--surface);
}

.res-feature-card {
  background: linear-gradient(145deg, #0a1628 0%, #0f2847 50%, #0c1e38 100%);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.res-feature-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(3, 70, 148, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.res-feature-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.res-feature-card__meta time {
  font-size: var(--ma-metadata);
  color: var(--text-on-dark-muted);
}

.res-feature-card h2 {
  font-size: var(--ma-greeting-title);
  color: #e8eef6;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 52ch;
}

.res-feature-card>p {
  font-size: var(--ma-body-text);
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  max-width: 72ch;
  margin-bottom: 28px;
}

.res-feature-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.res-feature-card__tags {
  display: flex;
  gap: 6px;
}

.res-feature-card__tags span {
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 14px;
}

/* --- Shared Link Style --- */
.res-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ma-body-text);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap 300ms var(--ease-quart);
}

.res-link:hover {
  gap: 10px;
}

.res-feature-card .res-link {
  color: #e8eef6;
}

/* --- Resource Type Badges --- */
.res-type {
  display: inline-block;
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}

.res-type--insight {
  color: #1d4ed8;
  background: #dbeafe;
}

.res-type--case-study {
  color: #047857;
  background: #d1fae5;
}

.res-type--whitepaper {
  color: var(--primary);
  background: var(--primary-dim);
}

.res-type--technical {
  color: #7c3aed;
  background: #ede9fe;
}

.res-type--event {
  color: #b45309;
  background: #fef3c7;
}

/* --- Content Grid --- */
.res-grid-section {
  padding: 0 0 clamp(4rem, 7vw, 6rem);
  background: var(--surface);
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.res-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  transition: transform 400ms var(--ease-quart), box-shadow 400ms var(--ease-quart);
}

.res-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.res-card--wide {
  grid-column: span 2;
}

.res-card__inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.res-card h3 {
  font-size: var(--ma-header);
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.35;
  margin: 12px 0 8px;
}

.res-card p {
  font-size: var(--ma-body-text);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.res-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-100);
}

.res-card__bottom time {
  font-size: var(--ma-metadata);
  color: var(--text-tertiary);
  font-weight: 500;
}

/* --- Load More --- */
.res-load-more {
  text-align: center;
  padding-top: 40px;
}

/* --- Newsletter --- */
.res-newsletter {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--surface-alt);
}

.res-newsletter__card {
  position: relative;
  padding: 56px 48px;
  background: linear-gradient(145deg, #0a1628 0%, #0f2847 50%, #0c1e38 100%);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}

.res-newsletter__glow {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(3, 70, 148, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.res-newsletter__content {
  position: relative;
  z-index: 1;
}

.res-newsletter h2 {
  font-size: var(--ma-greeting-title);
  color: #e8eef6;
  margin-bottom: 12px;
  font-weight: 700;
}

.res-newsletter p {
  font-size: var(--ma-body-text);
  color: #a8b8cc;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.res-newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 14px;
}

.res-newsletter__form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef6;
  font-size: var(--ma-body-text);
  outline: none;
  transition: border-color 200ms;
}

.res-newsletter__form input::placeholder {
  color: #64748b;
}

.res-newsletter__form input:focus {
  border-color: var(--primary);
}

.res-newsletter__form .btn-primary {
  background: #fff;
  color: var(--ink-900);
  font-weight: 700;
  white-space: nowrap;
}

.res-newsletter__form .btn-primary:hover {
  background: #e2e8f0;
}

.res-newsletter__note {
  font-size: var(--ma-metadata);
  color: #64748b;
}

/* --- Resources Responsive --- */
@media (max-width: 1024px) {
  .res-grid {
    grid-template-columns: 1fr 1fr;
  }

  .res-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .res-grid {
    grid-template-columns: 1fr;
  }

  .res-card--wide {
    grid-column: span 1;
  }

  .res-feature-card {
    padding: 28px;
    border-radius: 18px;
  }

  .res-feature-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .res-newsletter__form {
    flex-direction: column;
  }

  .res-newsletter__card {
    padding: 40px 28px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .res-hero {
    min-height: 60vh;
    padding: clamp(6rem, 8vw, 9rem) 0 clamp(3rem, 4vw, 5rem);
  }

  .res-hero h1 {
    font-size: var(--ma-greeting-title);
  }
}



/* ── Resources V2 ── */
/* ============ RESOURCES PAGE V2 ============ */
.res-card__thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  width: calc(100% + 3rem);
}

.res-card--has-thumb .res-card__inner {
  padding-top: 0;
}

/* ============ COMING SOON V2 ============ */
.cs-page__features {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cs-page__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-on-dark-muted);
  font-size: var(--ma-body-text);
  font-weight: 500;
  transition: all 300ms var(--ease-quart);
}

.cs-page__feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(3, 70, 148, 0.4);
  transform: translateY(-2px);
}

.cs-page__feature i {
  color: var(--primary);
  font-size: var(--ma-header);
}


/* ── Resource card icon badges ── */
/* ============ RESOURCE CARD ICON BADGES ============ */
.res-card__icon-badge {
  width: 44px;
  height: 44px;
  background: var(--primary-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 300ms var(--ease-quart);
}

.res-card:hover .res-card__icon-badge {
  background: var(--primary);
  transform: scale(1.05);
}

.res-card__icon-badge i {
  font-size: var(--ma-header);
  color: var(--primary);
  transition: color 300ms;
}

.res-card:hover .res-card__icon-badge i {
  color: #fff;
}

.res-card__icon-badge--event {
  background: rgba(234, 88, 12, 0.08);
}

.res-card__icon-badge--event i {
  color: #ea580c;
}

.res-card:hover .res-card__icon-badge--event {
  background: #ea580c;
}

.res-card:hover .res-card__icon-badge--event i {
  color: #fff;
}

/* Resource Type Badge with Icon */
.res-type i {
  margin-right: 4px;
  font-size: var(--ma-metadata);
}

/* Featured Card with Image */
.res-feature-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transition: all 400ms var(--ease-quart);
}

.res-feature-card:hover {
  border-color: rgba(3, 70, 148, 0.3);
  box-shadow: 0 12px 40px rgba(3, 70, 148, 0.12);
  transform: translateY(-4px);
}

.res-feature-card__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.res-feature-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-expo);
}

.res-feature-card:hover .res-feature-card__img {
  transform: scale(1.05);
}

.res-feature-card__icon-wrap {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 48px;
  height: 48px;
  background: rgba(3, 70, 148, 0.9);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.res-feature-card__icon-wrap i {
  font-size: var(--ma-pane-header);
  color: #fff;
}

.res-feature-card__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-feature-card__body h2 {
  font-size: var(--ma-page-title);
  margin-bottom: 0.75rem;
}

.res-feature-card__body p {
  font-size: var(--ma-body-text);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Resource Bottom with Icon */
.res-card__bottom time i {
  margin-right: 4px;
  font-size: var(--ma-metadata);
}

.res-link i {
  margin-left: 4px;
  font-size: var(--ma-metadata);
  transition: transform 300ms;
}

.res-link:hover i {
  transform: translateX(3px);
}

/* Newsletter Icon */
.res-newsletter__icon {
  font-size: var(--ma-hero-title);
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 1.25rem;
}

.res-newsletter__note i {
  margin-right: 6px;
  font-size: var(--ma-metadata);
}

.res-newsletter__form button i {
  margin-right: 4px;
}

/* Resource Filter Icons */
.res-filter__tab i {
  margin-right: 4px;
  font-size: var(--ma-metadata);
}

/* Btn Secondary */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: var(--ma-body-text);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink-200);
  color: var(--text);
  background: #fff;
  transition: all 300ms var(--ease-quart);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(3, 70, 148, 0.1);
  transform: translateY(-2px);
}

.btn-secondary i {
  font-size: var(--ma-metadata);
}

@media (max-width: 768px) {
  .res-feature-card {
    grid-template-columns: 1fr;
  }

  .res-feature-card__visual {
    min-height: 200px;
  }

  .res-feature-card__body {
    padding: 1.5rem;
  }
}


/* ── resources.html consolidated ── */
/* --- resources.html --- */

.res-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(4rem, 5vw, 6rem);
  background: linear-gradient(170deg, #050c18 0%, #0a1628 40%, #0c1e38 100%);
  overflow: hidden;
  color: #e8eef6;
}

.res-hero .hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.res-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, rgba(5, 12, 24, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.res-hero__content {
  position: relative;
  z-index: 2;
}

.res-hero h1 {
  font-size: var(--ma-hero-title);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: #fff;
}

.res-hero h1 span {
  color: white;
}

.res-hero p {
  font-size: var(--ma-body-text);
  color: rgba(232, 238, 246, 0.7);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

.res-hero__eyebrow {
  display: inline-block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(140, 180, 230, 0.1);
  border: 1px solid rgba(140, 180, 230, 0.2);
  border-radius: 40px;
}


.res-gateways {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #f8fafc;
}

.res-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.res-gateway {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}

.res-gateway::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 300ms ease;
}

.res-gateway:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.res-gateway:hover::after {
  transform: scaleX(1);
}

.res-gateway__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: var(--ma-pane-header);
}

.res-gateway__body h2,
.res-gateway__body h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 6px;
}

.res-gateway__body p {
  font-size: var(--ma-body-text);
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 12px;
}

.res-gateway__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: var(--primary);
}

.res-gateway__cta i {
  font-size: var(--ma-metadata);
  transition: transform 200ms ease;
}

.res-gateway:hover .res-gateway__cta i {
  transform: translateX(3px);
}

.res-filter-strip {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  position: sticky;
  top: 56px;
  z-index: 90;
}

.res-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.res-filter__pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: var(--ma-metadata);
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 200ms ease;
}

.res-filter__pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.res-filter__pill.active {
  background: #071525;
  color: #fff;
  border-color: #071525;
  font-weight: 600;
}

.res-filter__divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
  margin: 0 8px;
}

.res-filter__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: var(--ma-body-text);
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid rgba(26, 111, 224, 0.2);
  background: rgba(26, 111, 224, 0.04);
  transition: all 200ms ease;
}

.res-filter__link:hover {
  background: rgba(26, 111, 224, 0.1);
  border-color: var(--primary);
}

.res-filter__link i {
  font-size: var(--ma-metadata);
}

.res-featured {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #f8fafc;
}

.res-featured__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: box-shadow 300ms ease;
}

.res-featured__card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.res-featured__visual {
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.res-featured__visual svg {
  width: 400px;
  height: 400px;
  opacity: 0.15;
}

.res-featured__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  font-size: var(--ma-metadata);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 6px;
}

.res-featured__body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-featured__tag {
  font-size: var(--ma-metadata);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.res-featured__body h2 {
  font-size: var(--ma-page-title);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.res-featured__body p {
  font-size: var(--ma-body-text);
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
}

.res-featured__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--ma-metadata);
  color: #94a3b8;
}

.res-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.res-featured__cta:hover {
  text-decoration: underline;
}

.res-grid-section {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.res-grid-section__header {
  margin-bottom: 2rem;
}

.res-grid-section__header h2 {
  font-size: var(--ma-section-title);
  font-weight: 800;
  color: #0f172a;
}

.res-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.res-article {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 300ms ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.res-article:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.res-article__visual {
  height: 200px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.res-article__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.res-article:hover .res-article__visual img {
  transform: scale(1.05);
}

.res-article__visual svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.res-article__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--primary);
}

.res-article__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.res-article__body h3 {
  font-size: var(--ma-header);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.res-article__body p {
  font-size: var(--ma-body-text);
  line-height: 1.6;
  color: #64748b;
  flex: 1;
}

.res-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--ma-metadata);
  color: #94a3b8;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.res-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #f8fafc;
}

.res-cta__card {
  background: linear-gradient(135deg, #060D1A 0%, #0f1d35 100%);
  border-radius: 20px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.res-cta__card h2 {
  font-size: var(--ma-page-title);
  font-weight: 800;
  margin-bottom: 1rem;
}

.res-cta__card p {
  font-size: var(--ma-body-text);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.res-cta__form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.res-cta__form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: var(--ma-body-text);
}

.res-cta__form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.res-cta__form button {
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: var(--ma-body-text);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease;
}

.res-cta__form button:hover {
  background: #1560C8;
}

@media (max-width: 768px) {
  .res-gateway-grid {
    grid-template-columns: 1fr;
  }

  .res-article-grid {
    grid-template-columns: 1fr;
  }

  .res-cta__form {
    flex-direction: column;
  }

  .res-filter {
    gap: 8px;
  }
}


/* ── resources/media.html consolidated ── */
/* --- resources/media.html --- */

.media-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(4rem, 5vw, 6rem);
  background: linear-gradient(170deg, #050c18 0%, #0a1628 40%, #0c1e38 100%);
  overflow: hidden;
  color: #e8eef6;
}

.media-hero .hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.media-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, rgba(5, 12, 24, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.media-hero__content {
  position: relative;
  z-index: 2;
}

.media-hero__eyebrow {
  display: inline-block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(140, 180, 230, 0.1);
  border: 1px solid rgba(140, 180, 230, 0.2);
  border-radius: 40px;
}

.media-hero h1 {
  font-size: var(--ma-hero-title);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.media-hero p {
  font-size: var(--ma-body-text);
  color: rgba(232, 238, 246, 0.7);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

.media-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.media-section:nth-child(odd) {
  background: #f8fafc;
}

.media-section:nth-child(even) {
  background: #fff;
}

.media-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.media-section__header h2 {
  font-size: var(--ma-greeting-title);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.media-section__header p {
  color: #64748b;
  font-size: var(--ma-body-text);
  max-width: 480px;
  margin: 0 auto;
}

.media-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.media-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.event-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(3, 70, 148, 0.08);
  transform: translateY(-3px);
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 1rem;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 8px;
  width: fit-content;
}

.event-card h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-card p {
  font-size: var(--ma-body-text);
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}

.event-card__location {
  font-size: var(--ma-metadata);
  color: #94a3b8;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ma-metadata);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.event-card__badge--past {
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.18);
}

/* ── Upcoming Events Empty State ── */
.upcoming-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 4vw, 3.5rem) 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.upcoming-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ma-pane-header);
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.upcoming-empty__title {
  font-size: var(--ma-header);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.upcoming-empty__text {
  font-size: var(--ma-body-text);
  line-height: 1.65;
  color: #94a3b8;
  max-width: 38ch;
  margin-bottom: 0;
}

/* ── Event Showcase (horizontal split-card) ── */
.event-showcase {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.event-showcase__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.event-showcase__card:hover {
  box-shadow: 0 12px 32px rgba(3, 70, 148, 0.08);
  transform: translateY(-2px);
}

/* ── Media side (left) ── */
.event-showcase__media {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-showcase__hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.event-showcase__hero img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-showcase__hero:hover img {
  transform: scale(1.03);
}

.event-showcase__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-showcase__tag--domestic {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}

.event-showcase__tag--international {
  background: rgba(59, 130, 246, 0.85);
  color: #fff;
}

.event-showcase__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.event-showcase__thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.event-showcase__thumbs img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.event-showcase__thumbs img.active {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #3b82f6;
  opacity: 0.75;
}

.event-showcase__hero img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.event-showcase__hero img.swapping {
  opacity: 0;
}

.event-showcase__hero img.swapped-in {
  animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Body side (right) ── */
.event-showcase__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.event-showcase__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.event-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--ma-metadata-limited);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.15);
}

.event-showcase__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: #3b82f6;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 6px;
}

.event-showcase__body h3 {
  font-size: var(--ma-pane-header);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.event-showcase__body p {
  font-size: var(--ma-body-text);
  color: #64748b;
  line-height: 1.7;
  flex: 1;
}

.event-showcase__location {
  font-size: var(--ma-metadata);
  color: #94a3b8;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .event-showcase__card {
    grid-template-columns: 1fr;
  }

  .event-showcase__hero img {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .event-showcase__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-showcase__thumbs img {
    height: 70px;
  }

  .event-showcase__hero img {
    height: 180px;
  }
}

.press-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.press-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  cursor: pointer;
}

.press-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(3, 70, 148, 0.08);
}

.press-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--ma-header);
  color: #64748b;
}

.press-card__source {
  font-size: var(--ma-metadata);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.press-card h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.press-card p {
  font-size: var(--ma-body-text);
  color: #64748b;
  line-height: 1.6;
}

.press-card__date {
  font-size: var(--ma-metadata);
  color: #94a3b8;
  margin-top: 0.5rem;
}

.video-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.video-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(3, 70, 148, 0.08);
  transform: translateY(-3px);
}

.video-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, #0d213f, #1a508f);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

.video-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--ma-pane-header);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.video-card:hover .video-card__play {
  background: rgba(59, 130, 246, 0.5);
  border-color: rgba(59, 130, 246, 0.6);
  transform: scale(1.05);
}

.video-card__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
  border-radius: 4px;
}

.video-card__body {
  padding: 1.25rem;
}

.video-card__body h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.video-card__body p {
  font-size: var(--ma-body-text);
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 1024px) {

  .event-cards,
  .video-cards {
    grid-template-columns: 1fr 1fr;
  }

  .press-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .event-cards,
  .video-cards {
    grid-template-columns: 1fr;
  }

  .res-subnav__links {
    padding: 8px 0;
    gap: 2px;
  }

  .res-subnav__link {
    padding: 8px 14px;
    font-size: var(--ma-metadata);
  }
}


/* ── blog-insights.html consolidated ── */
/* --- resources/blog-insights.html --- */

.blog-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(4rem, 5vw, 6rem);
  background: linear-gradient(170deg, #050c18 0%, #0a1628 40%, #0c1e38 100%);
  overflow: hidden;
  color: #e8eef6;
}

.blog-hero .hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.blog-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, rgba(5, 12, 24, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.blog-hero__content {
  position: relative;
  z-index: 2;
}

.blog-hero__eyebrow {
  display: inline-block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(140, 180, 230, 0.1);
  border: 1px solid rgba(140, 180, 230, 0.2);
  border-radius: 40px;
}

.blog-hero h1 {
  font-size: var(--ma-hero-title);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: #fff;
}

.blog-hero p {
  font-size: var(--ma-body-text);
  color: rgba(232, 238, 246, 0.7);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

.blog-grid {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: #f8fafc;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 40px rgba(3, 70, 148, 0.1);
  transform: translateY(-4px);
}

.blog-card__accent {
  height: 6px;
  background: linear-gradient(90deg, #1a4eb5 0%, #3b82f6 100%);
}

.blog-card__accent--insight {
  background: linear-gradient(90deg, #854f0b 0%, #f59e0b 100%);
}

.blog-card__accent--technical {
  background: linear-gradient(90deg, #4b2ea2 0%, #8b5cf6 100%);
}

.blog-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__pill {
  display: inline-block;
  width: fit-content;
  font-size: var(--ma-metadata-limited);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.blog-card__pill--whitepaper {
  background: #eef3ff;
  color: #1a4eb5;
}

.blog-card__pill--insight {
  background: #fff8ec;
  color: #854f0b;
}

.blog-card__pill--technical {
  background: #f3f0ff;
  color: #4b2ea2;
}

.blog-card__body h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card__body p {
  font-size: var(--ma-body-text);
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.blog-card__date {
  font-size: var(--ma-metadata);
  color: #94a3b8;
}

.blog-card__read {
  font-size: var(--ma-metadata);
  color: #94a3b8;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: #3b82f6;
  margin-top: 0.75rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.blog-card__link:hover {
  gap: 0.6rem;
}

@media (max-width: 1024px) {
  .blog-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }

  .res-subnav__links {
    padding: 8px 0;
    gap: 2px;
  }

  .res-subnav__link {
    padding: 8px 14px;
    font-size: var(--ma-metadata);
  }
}


/* ── case-studies.html consolidated ── */
/* --- resources/case-studies.html --- */

.cst-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8rem, 10vw, 11rem) 0 clamp(4rem, 5vw, 6rem);
  background: linear-gradient(170deg, #050c18 0%, #0a1628 40%, #0c1e38 100%);
  overflow: hidden;
  color: #e8eef6;
}

.cst-hero .hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.cst-hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, rgba(5, 12, 24, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.cst-hero__content {
  position: relative;
  z-index: 2;
}

.cst-hero__eyebrow {
  display: inline-block;
  font-size: var(--ma-metadata);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8cb4e6;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(140, 180, 230, 0.1);
  border: 1px solid rgba(140, 180, 230, 0.2);
  border-radius: 40px;
}

.cst-hero h1 {
  font-size: var(--ma-hero-title);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: #fff;
}

.cst-hero p {
  font-size: var(--ma-body-text);
  color: rgba(232, 238, 246, 0.7);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

.cst-grid {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: #f8fafc;
}

.cst-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cst-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.cst-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.cst-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 40px rgba(3, 70, 148, 0.1);
  transform: translateY(-4px);
}

.cst-card__visual {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cst-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 1;
}

.cst-card__visual i {
  font-size: var(--ma-hero-title);
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.cst-card__pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-size: var(--ma-metadata-limited);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: #edfbf5;
  color: #0b6e4f;
}

.cst-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cst-card__body h3 {
  font-size: var(--ma-header);
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.cst-card__body p {
  font-size: var(--ma-body-text);
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.cst-card__meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.cst-card__tag {
  font-size: var(--ma-metadata);
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cst-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--ma-body-text);
  font-weight: 600;
  color: #3b82f6;
  margin-top: 1rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.cst-card__link:hover {
  gap: 0.6rem;
}

@media (max-width: 1024px) {
  .cst-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cst-cards {
    grid-template-columns: 1fr;
  }

  .res-subnav__links {
    padding: 8px 0;
    gap: 2px;
  }

  .res-subnav__link {
    padding: 8px 14px;
    font-size: var(--ma-metadata);
  }
}




/* ══════════════════════════════════════════════════════════════
   RESOURCES PAGE — MISSING / STRENGTHENED RESPONSIVE RULES
   Tablet steps and small-mobile improvements
   ══════════════════════════════════════════════════════════════ */

/* ── Gateway grid: 3-col → 2-col → 1-col ── */
@media (max-width: 1024px) {
  .res-gateway-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .res-gateway-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Article / card grid: 3-col → 2-col → 1-col ── */
@media (max-width: 1024px) {
  .res-article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .res-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .res-article-grid {
    grid-template-columns: 1fr;
  }

  .res-grid {
    grid-template-columns: 1fr;
  }

  .res-card--wide {
    grid-column: span 1;
  }
}

/* ── Blog cards: 3-col → 2-col → 1-col ── */
@media (max-width: 1024px) {
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Case study cards: 3-col → 2-col → 1-col ── */
@media (max-width: 1024px) {
  .cst-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .cst-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Event cards / video cards: 3-col → 2-col → 1-col ── */
@media (max-width: 1024px) {
  .event-cards,
  .video-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .event-cards,
  .video-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Press cards: 2-col → 1-col ── */
@media (max-width: 768px) {
  .press-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── Feature card: 2-col → 1-col ── */
@media (max-width: 900px) {
  .res-featured__card,
  .res-feature-card {
    grid-template-columns: 1fr;
  }

  .res-featured__visual,
  .res-feature-card__visual {
    min-height: 220px;
  }

  .res-featured__body,
  .res-feature-card__body {
    padding: 1.5rem;
  }
}

/* ── Filter strip ── */
@media (max-width: 640px) {
  .res-filter-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .res-filter {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .res-filter::-webkit-scrollbar {
    display: none;
  }

  .res-filter__divider {
    display: none;
  }
}

/* ── Newsletter form ── */
@media (max-width: 640px) {
  .res-newsletter__form {
    flex-direction: column;
  }

  .res-newsletter__card {
    padding: 2rem 1.25rem;
    border-radius: 14px;
  }
}

/* ── Event showcase card ── */
@media (max-width: 900px) {
  .event-showcase__card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .event-showcase__hero img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .event-showcase__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-showcase__thumbs img {
    height: 65px;
  }

  .event-showcase__hero img {
    height: 180px;
  }
}

/* ── Resource hero sections ── */
@media (max-width: 640px) {
  .res-hero,
  .media-hero,
  .blog-hero,
  .cst-hero {
    min-height: 50vh;
    padding: clamp(5rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  }

  .res-hero h1,
  .media-hero h1,
  .blog-hero h1,
  .cst-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}
