/* ============================================================
   SCISMIC — Resources / Blog (resources.css)
   ============================================================ */

:root {
  --res-navy:   #0B1F34;
  --res-card:   #0f2844;
  --res-card2:  #132d4a;
  --res-yellow: #FFD040;
  --res-blue:   #0082CB;
  --res-border: rgba(255,255,255,0.1);
  --res-text:   rgba(255,255,255,0.88);
  --res-muted:  rgba(255,255,255,0.5);
  --res-trans:  0.2s ease;
}

.resources-page {
  background: var(--res-navy);
  color: var(--res-text);
  font-family: 'Open Sans', sans-serif;
}
.resources-page * { box-sizing: border-box; }
.resources-page .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Badges ── */
.res-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 208, 64, 0.15);
  color: var(--res-yellow);
}
.res-badge--blue  { background: rgba(0,130,203,0.18); color: #5bc4f5; }
.res-badge--green { background: rgba(0,180,130,0.18); color: #4fd6b0; }
.res-badge--red   { background: rgba(220,60,60,0.18); color: #f87171; }

/* ── Section labels ── */
.res-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--res-yellow);
  margin-bottom: 16px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.res-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--res-border);
}
.res-hero-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.res-hero-left  { flex: 1; }
.res-hero-right { flex: 0 0 380px; }

.res-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 20px 0 24px;
}
.res-hero-sub {
  font-size: 15px;
  color: var(--res-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}
.res-hero-cta {
  display: inline-block;
  background: var(--res-yellow);
  color: var(--res-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity var(--res-trans);
}
.res-hero-cta:hover { opacity: 0.88; color: var(--res-navy); }

/* Featured article card in hero */
.res-featured-card {
  background: var(--res-card);
  border: 1px solid var(--res-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color var(--res-trans), transform var(--res-trans);
}
.res-featured-card:hover { border-color: rgba(255,208,64,0.4); transform: translateY(-2px); }
.res-featured-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2840 100%);
  display: block;
}
.res-featured-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2840 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.res-featured-card-body { padding: 20px 24px 24px; }
.res-featured-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--res-yellow);
  margin-bottom: 10px;
  display: block;
}
.res-featured-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 12px;
}
.res-featured-card-meta {
  font-size: 12px;
  color: var(--res-muted);
}
.res-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--res-yellow);
  margin-top: 14px;
  transition: gap var(--res-trans);
}
.res-read-more:hover { gap: 10px; color: var(--res-yellow); }

/* ═══════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════ */
.res-stats { padding: 64px 0; border-bottom: 1px solid var(--res-border); }
.res-stats-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 40px;
}
.res-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}
.res-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--res-yellow);
  line-height: 1;
  margin-bottom: 8px;
}
.res-stat-label {
  font-size: 13px;
  color: var(--res-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   FEATURED CTA BAND
   ═══════════════════════════════════════════════════════════ */
.res-cta-band {
  padding: 56px 0;
  border-bottom: 1px solid var(--res-border);
  background: rgba(0,130,203,0.06);
}
.res-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.res-cta-band-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  max-width: 680px;
}
.res-cta-band-sub {
  font-size: 14px;
  color: var(--res-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.res-cta-band-btn {
  display: inline-block;
  flex-shrink: 0;
  background: var(--res-yellow);
  color: var(--res-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--res-trans);
}
.res-cta-band-btn:hover { opacity: 0.88; color: var(--res-navy); }

/* ═══════════════════════════════════════════════════════════
   ESSENTIAL READING
   ═══════════════════════════════════════════════════════════ */
.res-section { padding: 64px 0; border-bottom: 1px solid var(--res-border); }
.res-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 40px;
}

.res-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.res-reading-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--res-yellow);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--res-border);
}
.res-reading-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.res-reading-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--res-border);
}
.res-reading-item:last-child { border-bottom: none; }
.res-reading-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--res-text);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color var(--res-trans);
}
.res-reading-link:hover { color: var(--res-yellow); }
.res-reading-meta {
  font-size: 11px;
  color: var(--res-muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   MEDIA MENTIONS
   ═══════════════════════════════════════════════════════════ */
.res-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.res-media-card {
  background: var(--res-card);
  border: 1px solid var(--res-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--res-trans);
}
.res-media-card:hover { border-color: rgba(255,208,64,0.3); }
.res-media-outlet {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--res-blue);
  margin-bottom: 12px;
}
.res-media-headline {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}
.res-media-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--res-yellow);
  text-decoration: none;
}
.res-media-link:hover { text-decoration: underline; color: var(--res-yellow); }

/* ═══════════════════════════════════════════════════════════
   BLOG POSTS GRID
   ═══════════════════════════════════════════════════════════ */
.res-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Post card */
.res-post-card {
  background: var(--res-card);
  border: 1px solid var(--res-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color var(--res-trans), transform var(--res-trans);
}
.res-post-card:hover { border-color: rgba(255,208,64,0.35); transform: translateY(-3px); }

.res-post-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.res-post-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a5c 0%, #0e2840 100%);
}
.res-post-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.res-post-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--res-yellow);
  background: rgba(255,208,64,0.12);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.res-post-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
}
.res-post-card-excerpt {
  font-size: 13px;
  color: var(--res-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.res-post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.res-post-card-date {
  font-size: 11px;
  color: var(--res-muted);
}
.res-post-card-arrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--res-yellow);
}

/* Pagination */
.res-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 0;
}
.res-pagination a,
.res-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid var(--res-border);
  color: var(--res-muted);
  text-decoration: none;
  transition: all var(--res-trans);
}
.res-pagination a:hover { border-color: var(--res-yellow); color: var(--res-yellow); }
.res-pagination .active span,
.res-pagination span[aria-current="page"] { background: var(--res-yellow); color: var(--res-navy); border-color: var(--res-yellow); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════
   WEBINARS & EVENTS
   ═══════════════════════════════════════════════════════════ */
.res-webinar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.res-webinar-card {
  background: var(--res-card);
  border: 1px solid var(--res-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--res-trans), transform var(--res-trans);
}
.res-webinar-card:hover { border-color: rgba(255,208,64,0.3); transform: translateY(-2px); }
.res-webinar-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a5c, #0d2840);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.res-webinar-thumb-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,208,64,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.res-webinar-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.res-webinar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.res-webinar-date { font-size: 11px; color: var(--res-muted); }
.res-webinar-duration { font-size: 11px; color: var(--res-muted); }
.res-webinar-badges { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.res-webinar-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}
.res-webinar-featuring {
  font-size: 12px;
  color: var(--res-muted);
  margin-bottom: 14px;
}
.res-webinar-featuring strong { color: var(--res-text); font-weight: 500; }
.res-webinar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--res-yellow);
  text-decoration: none;
  transition: gap var(--res-trans);
}
.res-webinar-link:hover { gap: 10px; color: var(--res-yellow); }

/* ═══════════════════════════════════════════════════════════
   TAG FILTER PAGE
   ═══════════════════════════════════════════════════════════ */
.res-tag-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--res-border);
  margin-bottom: 48px;
}
.res-tag-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--res-muted);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color var(--res-trans);
}
.res-tag-hero-back:hover { color: #fff; }
.res-tag-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   CTA FOOTER BAND
   ═══════════════════════════════════════════════════════════ */
.res-cta-footer {
  padding: 80px 0;
  text-align: center;
}
.res-cta-footer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.res-cta-footer-sub {
  font-size: 15px;
  color: var(--res-muted);
  margin-bottom: 32px;
}
.res-cta-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--res-yellow);
  color: var(--res-navy);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity var(--res-trans);
}
.res-cta-footer-btn:hover { opacity: 0.88; color: var(--res-navy); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .res-posts-grid,
  .res-webinar-grid,
  .res-media-grid { grid-template-columns: repeat(2, 1fr); }
  .res-reading-grid { grid-template-columns: 1fr; gap: 40px; }
  .res-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .res-hero-inner { flex-direction: column; gap: 40px; }
  .res-hero-right { flex: none; width: 100%; }
  .res-cta-band-inner { flex-direction: column; gap: 24px; }
  .res-posts-grid,
  .res-webinar-grid,
  .res-media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .res-hero { padding: 48px 0 40px; }
  .res-section { padding: 48px 0; }
  .res-stats-grid { grid-template-columns: 1fr; }
}
