/* ═══════════════════════════════════════════════════════
   resource-page.css
   Shared styles for all standalone resource pages.
   Loaded after global.css. Do NOT redefine tokens,
   .wrap, .rv, or button styles already in global/home.
   ═══════════════════════════════════════════════════════ */

/* ── Buttons (not in global.css — defined here for pages
      that don't load home.css) ── */
.btn-primary {
  font-family: var(--f-sans);
  font-size: 13.5px; font-weight: 500; letter-spacing: -.01em;
  padding: 11px 28px; border-radius: var(--r-sm);
  background: var(--navy); color: #fff; border: none;
  box-shadow: 0 1px 2px rgba(12,31,61,.2), 0 4px 16px rgba(12,31,61,.16);
  transition: background .2s, transform .1s, box-shadow .2s;
  display: inline-block; cursor: pointer; text-decoration: none;--amber:#f59e0b;}
.btn-primary:hover { background: var(--navy-mid); box-shadow: 0 2px 4px rgba(12,31,61,.2), 0 8px 24px rgba(12,31,61,.18);--amber:#f59e0b;}
.btn-primary:active { transform: scale(.98); }

.btn-white {
  font-family: var(--f-sans);
  font-size: 13.5px; font-weight: 500; letter-spacing: -.01em;
  padding: 12px 28px; border-radius: var(--r-sm);
  background: #fff; color: var(--navy); border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: opacity .18s, transform .1s;
  display: inline-block; cursor: pointer; text-decoration: none;
}
.btn-white:hover { opacity: .93; }
.btn-white:active { transform: scale(.98); }

.btn-ghost {
  font-family: var(--f-sans);
  font-size: 13.5px; font-weight: 400; letter-spacing: -.01em;
  padding: 12px 28px; border-radius: var(--r-sm);
  background: transparent; color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.14);
  transition: color .18s, border-color .18s;
  display: inline-block; cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.28); }

/* ── Section tag ── */
.section-tag {
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  display: block; margin-bottom: 10px;
}
.page-hero .section-tag   { color: var(--amber); }
.resource-body .section-tag { color: var(--blue); }
.resource-cta  .section-tag { color: var(--amber); margin-bottom: 18px; }

/* ═══════════════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(136px + env(safe-area-inset-top, 0px)) 0 80px;
  background: var(--white);
  border-bottom: 1px solid var(--warm-200);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--warm-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--warm-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400; line-height: 1.06;
  letter-spacing: -.02em; color: var(--ink-900);
  max-width: 760px; margin: 12px 0 20px;
}
.page-hero-sub {
  font-family: var(--f-sans);
  font-size: 16px; font-weight: 300;
  line-height: 1.65; color: var(--ink-600);
  max-width: 600px; margin-bottom: 32px;
}

/* ── Back link ── */
.resource-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 500; color: var(--ink-400);
  text-decoration: none; margin-bottom: 28px;
  transition: color .15s;
}
.resource-back:hover { color: var(--ink-900); }
.resource-back svg { width: 12px; height: 12px; }

/* ── Hero meta strip ── */
.page-hero-meta {
  display: flex; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-top: 4px;
}
.page-hero-meta-item {
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400);
}
.page-hero-meta-item strong { color: var(--ink-600); font-weight: 500; }
.page-hero-meta-sep { width: 1px; height: 12px; background: var(--warm-300); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   ARTICLE BODY
   ═══════════════════════════════════════════════════════ */
.resource-body { padding: 80px 0 120px; background: var(--off-white); }
.resource-article { max-width: 720px; margin: 0 auto; }

.resource-section {
  margin-bottom: 72px; padding-bottom: 72px;
  border-bottom: 1px solid var(--warm-200);
}
.resource-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.resource-section-header {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid var(--warm-100);
}
.resource-section-num {
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 500; letter-spacing: .1em;
  color: var(--amber); flex-shrink: 0; padding-top: 5px;
}
.resource-section h2 {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.8vw, 34px); font-weight: 400;
  line-height: 1.08; letter-spacing: -.015em; color: var(--ink-900);
}
.resource-section p {
  font-family: var(--f-sans);
  font-size: 15px; font-weight: 300;
  line-height: 1.85; color: var(--ink-700); margin-bottom: 20px;
}
.resource-section p:last-child { margin-bottom: 0; }
.resource-section h3 {
  font-family: var(--f-serif);
  font-size: 20px; font-weight: 400; line-height: 1.2;
  color: var(--ink-900); margin: 36px 0 12px; letter-spacing: -.01em;
}

/* ═══════════════════════════════════════════════════════
   METRICS BLOCK
   ═══════════════════════════════════════════════════════ */
.rp-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--warm-200); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 48px; background: var(--white);
}
.rp-metric { padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.rp-metric + .rp-metric { border-left: 1px solid var(--warm-200); }
.rp-metric-num { font-family: var(--f-serif); font-size: 56px; line-height: 1; color: var(--ink-900); font-weight: 400; }
.rp-metric-label { font-family: var(--f-sans); font-size: 12px; font-weight: 400; line-height: 1.55; color: var(--ink-500); max-width: 160px; }

/* ═══════════════════════════════════════════════════════
   CALLOUT
   ═══════════════════════════════════════════════════════ */
.rp-callout {
  background: var(--warm-50); border-left: 3px solid var(--amber);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 24px 28px; margin: 32px 0;
}
.rp-callout p {
  font-family: var(--f-serif); font-size: 20px; line-height: 1.5;
  color: var(--ink-900); font-weight: 400; margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════
   INSIGHT CARDS
   ═══════════════════════════════════════════════════════ */
.rp-insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.rp-insight-card { background: var(--white); border: 1px solid var(--warm-200); border-radius: var(--r-lg); padding: 24px; }
.rp-insight-icon { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--amber-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--amber); }
.rp-insight-icon svg { width: 16px; height: 16px; }
.rp-insight-title { font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 7px; line-height: 1.3; }
.rp-insight-body { font-family: var(--f-sans); font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--ink-600); }

/* ═══════════════════════════════════════════════════════
   PULL QUOTE
   ═══════════════════════════════════════════════════════ */
.rp-quote { background: var(--navy); border-radius: var(--r-xl); padding: 40px 44px; margin: 48px 0;--amber:#f59e0b;}
/* Use !important to beat .resource-section p specificity */
.rp-quote-text,
.rp-quote p { font-family: var(--f-serif) !important; font-size: clamp(19px, 2.2vw, 26px) !important; font-weight: 400 !important; line-height: 1.45 !important; color: #ffffff !important; margin: 0 0 24px !important; }
.rp-quote-attr { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ═══════════════════════════════════════════════════════
   CAPABILITIES LIST
   ═══════════════════════════════════════════════════════ */
.rp-capabilities { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.rp-capability { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: var(--white); border: 1px solid var(--warm-200); border-radius: var(--r-md); }
.rp-capability-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 7px; }
.rp-capability-text { font-family: var(--f-sans); font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--ink-700); }
.rp-capability-text strong { font-weight: 500; color: var(--ink-900); }

/* ═══════════════════════════════════════════════════════
   MOOD IMAGE
   ═══════════════════════════════════════════════════════ */
.rp-mood-image { width: 100%; aspect-ratio: 16 / 7; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 56px; }
.rp-mood-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════════════════════════════════════════════════
   CTA SECTION — matches homepage cta-section exactly
   ═══════════════════════════════════════════════════════ */
.resource-cta {
  background: var(--navy); padding: 104px 52px;
  text-align: center; position: relative; overflow: hidden;--amber:#f59e0b;}
.resource-cta::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,74,128,.3), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.resource-cta::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.resource-cta-inner { position: relative; z-index: 2; }
.resource-cta h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 52px); color: #fff;
  letter-spacing: -.025em; line-height: 1.05;
  margin: 12px auto 14px; max-width: 560px;
}
.resource-cta p {
  font-family: var(--f-sans); font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.92); max-width: 380px;
  margin: 0 auto 32px; line-height: 1.55;
}
.resource-cta-btns { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   RELATED RESOURCES
   ═══════════════════════════════════════════════════════ */
.resource-related { background: var(--white); padding: 64px 0; border-top: 1px solid var(--warm-200); }
.resource-related-label { font-family: var(--f-mono); font-size: 9px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 24px; display: block; }
.resource-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-related-card { padding: 24px; border: 1px solid var(--warm-200); border-radius: var(--r-lg); background: var(--off-white); text-decoration: none; display: block; transition: border-color .15s, box-shadow .15s; }
.resource-related-card:hover { border-color: var(--warm-300); box-shadow: var(--shadow-sm); }
.resource-related-tag { font-family: var(--f-mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; display: block; }
.resource-related-title { font-family: var(--f-serif); font-size: 17px; font-weight: 400; line-height: 1.2; color: var(--ink-900); margin-bottom: 8px; }
.resource-related-desc { font-family: var(--f-sans); font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--ink-500); }

/* ═══════════════════════════════════════════════════════
   HIGH CONTRAST
   ═══════════════════════════════════════════════════════ */
body.hc .rp-callout { background: var(--warm-100); }
body.hc .rp-callout p { color: #000; }
body.hc .rp-quote { background: #00102a;--amber:#f59e0b;}
body.hc .rp-insight-card, body.hc .rp-capability { border-color: var(--warm-300); }
body.hc .resource-cta { background: #00102a;--amber:#f59e0b;}
body.hc .resource-cta h2 { color: #ffffff; }
body.hc .resource-cta p { color: rgba(255,255,255,.85); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .resource-article { max-width: 100%; }
  .resource-body { padding: 64px 0 96px; }
  .resource-cta { padding: 80px 52px; }
}
@media (max-width: 768px) {
  .page-hero { padding: calc(88px + env(safe-area-inset-top, 0px)) 0 56px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 44px); }
  .page-hero-sub { font-size: 15px; }
  .resource-body { padding: 48px 0 80px; }
  .resource-section { margin-bottom: 52px; padding-bottom: 52px; }
  .rp-metrics { grid-template-columns: 1fr; }
  .rp-metric + .rp-metric { border-left: none; border-top: 1px solid var(--warm-200); }
  .rp-metric-num { font-size: 44px; }
  .rp-insight-grid { grid-template-columns: 1fr; }
  .rp-quote { padding: 28px; }
  .resource-cta { padding: 64px 20px; }
  .resource-related-grid { grid-template-columns: 1fr; }
  .page-hero-meta { gap: 14px; }
  .rp-mood-image { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
}
@media (max-width: 480px) {
  .resource-body { padding: 36px 0 64px; }
  .resource-section { margin-bottom: 40px; padding-bottom: 40px; }
  .rp-metric-num { font-size: 40px; }
  .rp-quote { padding: 24px 20px; }
  .rp-callout { padding: 20px; }
  .rp-callout p { font-size: 17px; }
  .resource-cta { padding: 52px 16px; }
}

/* ═══════════════════════════════════════════════════════
   PRINT BUTTON (hero action bar)
   ═══════════════════════════════════════════════════════ */
.page-hero-actions {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px;
}
.btn-print {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 500; letter-spacing: -.005em;
  color: var(--ink-500); background: none;
  border: 1px solid var(--warm-300);
  border-radius: var(--r-sm); padding: 8px 14px;
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.btn-print:hover { color: var(--ink-900); border-color: var(--warm-400); background: var(--warm-50); }
.btn-print svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   PRINT MODAL
   ═══════════════════════════════════════════════════════ */
.rp-print-overlay {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  z-index: 950;
  background: rgba(14,14,12,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 32px;
}
.rp-print-overlay.open { display: flex; }
.rp-print-panel {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.rp-print-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--warm-100);
  display: flex; align-items: center; justify-content: space-between;
}
.rp-print-header h3 {
  font-family: var(--f-serif);
  font-size: 21px; font-weight: 400;
  color: var(--ink-900); line-height: 1.1;
}
.rp-print-close {
  background: none; border: none; cursor: pointer;
  color: var(--ink-400); padding: 4px;
  border-radius: var(--r-sm); transition: color .15s;
}
.rp-print-close:hover { color: var(--ink-900); }
.rp-print-close svg { width: 16px; height: 16px; display: block; }
.rp-print-options { padding: 18px 28px; display: flex; flex-direction: column; gap: 10px; }
.rp-print-option {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--warm-200); border-radius: var(--r-lg);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.rp-print-option:hover { border-color: var(--warm-300); background: var(--warm-50); }
.rp-print-option.selected { border-color: var(--ink-900); background: var(--warm-50); }
.rp-print-opt-icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--warm-100); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-600); transition: background .15s, color .15s;
}
.rp-print-option.selected .rp-print-opt-icon { background: var(--ink-900); color: var(--white);--amber:#f59e0b;}
.rp-print-opt-icon svg { width: 15px; height: 15px; }
.rp-print-opt-title { font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 3px; }
.rp-print-opt-desc  { font-family: var(--f-sans); font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--ink-500); }
.rp-print-actions {
  padding: 18px 28px;
  border-top: 1px solid var(--warm-100);
  display: flex; gap: 8px; justify-content: flex-end;
}
.rp-print-cancel {
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 400;
  padding: 9px 20px; border-radius: var(--r-sm);
  background: none; color: var(--ink-500);
  border: 1px solid var(--warm-200); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.rp-print-cancel:hover { color: var(--ink-900); border-color: var(--warm-300); }
.rp-print-confirm {
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 500;
  padding: 9px 22px; border-radius: var(--r-sm);
  background: var(--navy); color: #fff; border: none;
  cursor: pointer; transition: background .18s;--amber:#f59e0b;}
.rp-print-confirm:hover { background: var(--navy-mid);--amber:#f59e0b;}

/* ═══════════════════════════════════════════════════════
   CLIENT LOGO + MOOD IMAGE (case studies)
   ═══════════════════════════════════════════════════════ */
.rp-case-header {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.rp-client-logo {
  height: 36px; width: auto; display: block;
  opacity: .8; filter: grayscale(1);
  transition: opacity .2s, filter .2s;
}
.rp-client-logo:hover { opacity: 1; filter: grayscale(0); }
.rp-client-logo-placeholder {
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-400); padding: 8px 14px;
  border: 1px solid var(--warm-200); border-radius: var(--r-sm);
}

/* ── @print rules ── */
@media print {
  /* ── Hide interactive / navigation chrome ── */
  .rp-print-overlay,
  .btn-print,
  .page-hero-actions,
  header,
  footer,
  .resource-back,
  .resource-related,
  .resource-cta,
  nav,
  #nav-placeholder,
  #footer-placeholder { display: none !important; }

  /* ── Force all rv elements visible regardless of scroll state ── */
  .rv { opacity: 1 !important; transform: none !important; }

  /* ── Page setup ── */
  @page { margin: 20mm 18mm; }
  html, body { background: white !important; color: #000 !important; }

  /* ── Hero: compact title block, no grid bg ── */
  .page-hero {
    padding: 24px 0 20px !important;
    border-bottom: 1px solid #ccc !important;
    background: white !important;
  }
  .page-hero::before { display: none !important; }
  .page-hero h1 { font-size: 28px !important; }
  .page-hero-sub { font-size: 13px !important; }

  /* ── Body layout ── */
  .resource-body { padding: 16px 0 0 !important; background: white !important; }
  .wrap { padding: 0 !important; max-width: 100% !important; }

  /* ── Sections: allow page breaks BETWEEN sections, not inside headers ── */
  .resource-section {
    break-inside: auto;
    page-break-inside: auto;
    margin-bottom: 32px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #ddd !important;
  }
  .resource-section-header {
    break-after: avoid;
    page-break-after: avoid;
  }
  .resource-section h2 { font-size: 20px !important; }
  .resource-section p { font-size: 11pt !important; line-height: 1.6 !important; }

  /* ── Cards and callouts: avoid splitting across pages ── */
  .rp-callout,
  .rp-capability,
  .rp-metric { break-inside: avoid; page-break-inside: avoid; }

  /* ── Insight grid: single column in print ── */
  .rp-insight-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .rp-insight-card { break-inside: avoid; page-break-inside: avoid; }

  /* ── Metrics block ── */
  .rp-metrics { border: 1px solid #ccc !important; break-inside: avoid; page-break-inside: avoid; }
  .rp-metric-num { font-size: 36px !important; }

  /* ── Quote block ── */
  .rp-quote {
    background: #0c1f3d !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    break-inside: avoid; page-break-inside: avoid;--amber:#f59e0b;}

  /* ── Code blocks ── */
  .ave-code-block {
    background: #1a1a18 !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    break-inside: avoid; page-break-inside: avoid;
    font-size: 9pt !important;
  }
  .ave-demo-frame { display: none !important; }

  /* ── Mood image ── */
  .rp-mood-image { break-inside: avoid; page-break-inside: avoid; }
}

body.print-compact .rp-mood-image,
body.print-compact .ave-demo-frame,
body.print-compact .rp-insight-grid,
body.print-compact .resource-related,
body.print-compact .resource-cta { display: none !important; }
/* ═══════════════════════════════════════════════════════
   CARD COVER IMAGE
   Append this block to the end of resources.css
   ═══════════════════════════════════════════════════════ */

.wp-card-cover {
  position: relative;
  overflow: hidden;
}

.wp-card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Customer-logo card covers: show the whole logo, padded and centred on a light
   tile, instead of zoom-cropping it. (Branded/full-bleed PR graphics stay cover.) */
.wp-card-cover-img[src*="/cust/"] {
  object-fit: contain;
  box-sizing: border-box;
  padding: 10px;
}

/* Gradient overlay so the tag stays readable on any image */
.wp-card-cover.has-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 31, 61, .65) 0%,
    rgba(12, 31, 61, .2) 50%,
    rgba(12, 31, 61, .08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* When image is present, hide the decorative pattern + accent blob */
.wp-card-cover.has-card-image .wp-card-cover-pattern,
.wp-card-cover.has-card-image .wp-card-cover-accent {
  display: none;
}

/* Tag needs to sit above the gradient */
.wp-card-cover .wp-card-tag {
  position: relative;
  z-index: 2;
}
