/* ============================================================
   resources.css — MergerDomo M&A Resources / Vault Page
   Fully aligned with buyer.css / about.css / seller.css design system.
   Depends on: Bootstrap 5.3, Bootstrap Icons,
               Roboto via Google Fonts,
               mergerdomo.com/v3/css/custom.css
   ============================================================ */

/* ─────────────────────────────────────────
   ROOT VARIABLES — exact from design system
───────────────────────────────────────── */
:root {
  --md-blue:        #2d6cdf;
  --md-blue-dark:   #1a4fad;
  --md-blue-light:  #eef4ff;
  --md-blue-mid:    #b8d0f8;
  --md-navy:        #0d1b4c;
  --md-yellow:      #ffc107;
  --md-yellow-dark: #e6ac00;
  --md-gray-50:     #f8fafc;
  --md-gray-100:    #f1f5f9;
  --md-gray-200:    #e2e8f0;
  --md-gray-400:    #94a3b8;
  --md-gray-600:    #6b7280;
  --md-gray-800:    #1e293b;
  --md-text:        #111827;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.06);
  --shadow-card:    0 2px 12px rgba(0,0,0,.07);
  --shadow-card-lg: 0 8px 28px rgba(0,0,0,.09);
  --shadow-blue:    0 4px 20px rgba(45,108,223,.18);
  --transition:     0.18s ease;
}

/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none !important; color: inherit; }
ul { list-style: none; padding-left: 0; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-animate="fade-left"] { transform: translateX(24px); }
[data-animate].animated    { opacity: 1; transform: none; }

/* ─────────────────────────────────────────
   ANNOUNCEMENT BAR
───────────────────────────────────────── */
.announcement-bar {
  background: #ffc107;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
}
.announcement-bar .divider { margin: 0 10px; color: rgba(0,0,0,0.5); }
.announcement-bar .cta-link { font-weight: 600; color: #000; }
.announcement-bar .cta-link:hover { text-decoration: underline !important; }

/* ─────────────────────────────────────────
   SECTION HEADING HELPERS — exact from seller.css
───────────────────────────────────────── */
.section-h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--md-navy);
  margin-bottom: 12px;
  line-height: 1.18;
}
.section-h2.light { color: #fff; }
.section-sub {
  font-size: 15.5px;
  color: var(--md-gray-600);
  margin-bottom: 36px;
  line-height: 1.65;
}
.section-sub.light { color: rgba(255,255,255,.72); }
.section-header-center { text-align: left; margin-bottom: 44px; }
.section-header-center .section-sub { margin-bottom: 0; }
.section-cta-center { text-align: center; margin-top: 40px; }


/* ─────────────────────────────────────────
   SECTION HEADING HELPERS
───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--md-blue);
  background: var(--md-blue-light);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--md-navy);
  margin-bottom: 12px;
  line-height: 1.18;
}
.section-h2.light { color: #fff; }
.h2-accent { color: var(--md-blue); }
.section-sub {
  font-size: 15.5px;
  color: var(--md-gray-600);
  margin-bottom: 36px;
  line-height: 1.65;
}
.section-sub.light { color: rgba(255,255,255,.72); }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease,
              transform .2s ease, box-shadow .25s ease;
  white-space: nowrap;
  text-decoration: none !important;
  border: none;
  position: relative;
}
.btn-primary {
  background: var(--md-blue) !important;
  color: #fff !important;
  padding: 13px 24px;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(45,108,223,.14);
}
.btn-primary:hover {
  background: var(--md-blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(45,108,223,.18);
}
.btn-outline {
  background: transparent !important;
  color: var(--md-navy) !important;
  border: 1.5px solid var(--md-gray-200) !important;
  padding: 13px 24px;
  font-size: 14.5px;
}
.btn-outline:hover {
  border-color: var(--md-blue) !important;
  color: var(--md-blue) !important;
  background: var(--md-blue-light) !important;
}
.btn-cta-primary {
  background: var(--md-yellow) !important;
  color: var(--md-navy) !important;
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,193,7,.3);
  border: none !important;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none !important;
}
.btn-cta-primary:hover {
  background: var(--md-yellow-dark) !important;
  color: var(--md-navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,193,7,.4);
}
.btn-cta-outline {
  background: transparent !important;
  color: rgba(255,255,255,.9) !important;
  border: 1.5px solid rgba(255,255,255,.35) !important;
  padding: 14px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none !important;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.7) !important;
  color: #fff !important;
}

/* ─────────────────────────────────────────
   SECTION WRAPPER
───────────────────────────────────────── */
.resources-section { padding: 72px 0; }
.bg-white  { background: #fff; }
.bg-gray   { background: var(--md-gray-50); border-top: 1px solid var(--md-gray-200); border-bottom: 1px solid var(--md-gray-200); }
.bg-navy   { background: var(--md-navy); }


/* ════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════ */
.breadcrumb-bar{
    background:#fff;
    border-bottom:1px solid rgba(13,27,76,.06);
    height:64px;
    display:flex;
    align-items:center;
    position:relative;
    z-index:2;
    margin-top:118px;
}

@media (max-width: 991px) {
  .breadcrumb-bar { margin-top: 104px; }
}

@media (max-width: 768px) {
  .breadcrumb-bar { margin-top: 92px; height: 54px; }
}

.breadcrumb-bar .container{
    display:flex;
    align-items:center;
    height:100%;
}

.breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    font-family:'Roboto',sans-serif;
    font-size:14px !important;
    font-weight:500;
    line-height:normal;
}

.breadcrumb a{
    color:#7f8aa3;
    transition:color .2s ease;
}

.breadcrumb a:hover{
    color:var(--md-blue);
}

.bc-sep{
    color:#c5cede;
    font-size:11px;
    display:flex;
    align-items:center;
}

.bc-current{
    color:var(--md-blue);
    font-weight:700;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.resources-hero{
    background:#fff;
    padding:72px 0 0;
    position:relative;
    overflow:hidden;
    isolation:isolate;
}

.hero-bg-mesh{
    position:absolute;
    inset:0;
    background:
        radial-gradient(ellipse 700px 500px at 110% 0%,rgba(45,108,223,.06) 0%,transparent 60%),
        radial-gradient(ellipse 500px 400px at -10% 80%,rgba(45,108,223,.04) 0%,transparent 60%);
    pointer-events:none;
}

.resources-hero-inner{
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
    gap:48px;
    align-items:center;
    max-width:1160px;
    margin:0 auto;
    padding:0 24px;
}

/* LEFT */
.resources-hero-content{
    position:relative;
    z-index:2;
}

.hero-h1{
    font-size:clamp(30px,4vw,52px);
    font-weight:800;
    color:var(--md-navy);
    line-height:1.12;
    margin-bottom:18px;
    letter-spacing:-.03em;
}

.h1-accent{
    color:var(--md-blue);
    position:relative;
}

.h1-accent::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    bottom:2px;
    height:3px;
    background:linear-gradient(90deg,var(--md-blue),transparent);
    border-radius:999px;
    opacity:.25;
}

.hero-sub{
    font-size:15.5px;
    color:var(--md-gray-600);
    line-height:1.7;
    max-width:540px;
    margin-bottom:22px;
}

.hero-btns{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:0;
}

/* HERO IMAGE */
.resources-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.resources-hero-visual img {
  width: 120%;
  max-width: 760px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stats-bar{
    background:var(--md-navy);
    margin-top:52px;
}

.stats-inner{
    display:flex;
    align-items:stretch;
    max-width:1160px;
    margin:0 auto;
    padding:0 24px;
}

.stat-item{
    flex:1;
    text-align:center;
    padding:24px 16px;
    border-right:1px solid rgba(255,255,255,.08);
}

.stat-item:last-child{
    border-right:none;
}

.stat-num{
    font-size:28px;
    font-weight:800;
    color:var(--md-yellow);
    line-height:1;
    margin-bottom:5px;
    letter-spacing:-.03em;
}

.stat-label{
    font-size:12px;
    color:rgba(255,255,255,.55);
    font-weight:400;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width:991px){

    .hero{
        padding:48px 0 0;
    }

    .hero-inner{
        grid-template-columns:1fr;
        gap:42px;
    }

    .investor-hero-visual{
        justify-content:center;
        order:-1;
    }

    .investor-hero-visual img{
        max-width:520px;
    }

    .hero-content{
        text-align:center;
    }

    .hero-sub{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-btns{
        justify-content:center;
    }

    .stats-inner{
        flex-wrap:wrap;
    }

    .stat-item{
        width:50%;
        flex:none;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .stat-item:nth-child(2){
        border-right:none;
    }
}

@media (max-width:768px){

    .breadcrumb-bar{
        height:54px;
        margin-top:104px;
    }

    .breadcrumb{
        font-size:12.5px;
        gap:7px;
    }

    .hero-h1{
        font-size:36px;
    }

    .hero-sub{
        font-size:14px;
    }

    .hero-btns{
        flex-direction:column;
    }

    .btn{
        width:100%;
        justify-content:center;
    }

    .stat-item{
        width:100%;
        border-right:none;
    }
}

/* Stats bar */
.stats-bar { background: var(--md-navy); margin-top: 48px; }
.stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--md-yellow);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -.03em;
  display: block;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}

/* ─────────────────────────────────────────
   RESOURCE CATEGORY CARDS — colour-themed grid
   Fully matches marketplace mp-path-card design system:
   coloured left stripe, gradient bg, top-right tag,
   coloured icon box, feature chips, solid CTA button.
───────────────────────────────────────── */

/* Card colour tokens — exact mirror of marketplace palette */
:root {
  --rc-blue-bg:      #eef4ff;
  --rc-blue-border:  #b8d0f8;
  --rc-blue-icon:    #2d6cdf;
  --rc-blue-btn:     #2d6cdf;

  --rc-teal-bg:      #e6f7f5;
  --rc-teal-border:  #9dd8d2;
  --rc-teal-icon:    #0d9488;
  --rc-teal-btn:     #0d9488;

  --rc-indigo-bg:    #eeeeff;
  --rc-indigo-border:#b8b8f0;
  --rc-indigo-icon:  #4338ca;
  --rc-indigo-btn:   #4338ca;

  --rc-amber-bg:     #fff8e6;
  --rc-amber-border: #f5d98a;
  --rc-amber-icon:   #b45309;
  --rc-amber-btn:    #b45309;

  --rc-rose-bg:      #fdf0f3;
  --rc-rose-border:  #f4b8c8;
  --rc-rose-icon:    #be185d;
  --rc-rose-btn:     #be185d;

  --rc-green-bg:     #e8f8f2;
  --rc-green-border: #9ed9c0;
  --rc-green-icon:   #0f7a55;
  --rc-green-btn:    #0f7a55;

  --rc-violet-bg:    #f3eeff;
  --rc-violet-border:#c7b0f5;
  --rc-violet-icon:  #7c3aed;
  --rc-violet-btn:   #7c3aed;

  --rc-slate-bg:     #f0f4f8;
  --rc-slate-border: #b8c8d8;
  --rc-slate-icon:   #334e68;
  --rc-slate-btn:    #334e68;
}

/* ── Grid layout — 4-col for 8 cards (2 rows × 4) */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Base card — exact mp-path-card structure */
.resource-card {
  background: #fff;
  border: 1.5px solid var(--md-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color .25s ease;
}

.resource-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,.10);
  transform: translateY(-4px);
}

/* ── Coloured left accent stripe — exact mp-path-card-accent */
.rc-card-accent {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: width .25s ease;
}
.resource-card:hover .rc-card-accent { width: 6px; }

/* ── Featured / audience tag — top-right, exact mp-path-tag */
.rc-featured-tag,
.rc-audience-tag {
  position: absolute;
  top: 0; right: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 0 var(--radius-md) 0 var(--radius-sm);
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--md-blue-light);
  color: var(--md-blue);
  border-left: 1px solid var(--md-blue-mid);
  border-bottom: 1px solid var(--md-blue-mid);
}

/* ── Icon box — exact mp-path-icon sizing */
.rc-icon-box {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  margin-top: 12px;
  flex-shrink: 0;
  background: var(--md-blue-light);
}
.rc-icon-box i { font-size: 22px; color: var(--md-blue); }

/* ── Title — exact mp-path-title */
.rc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

/* ── Body — exact mp-path-body */
.rc-body {
  font-size: 13.5px;
  color: var(--md-gray-600);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

/* ── Feature chips row — exact mp-path-features / mp-feature-chip */
.rc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.rc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--md-blue-mid);
  background: var(--md-blue-light);
  color: var(--md-blue);
}

/* ── CTA button — exact mp-path-btn (solid, full-width) */
.rc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: none !important;
  background: var(--md-blue) !important;
  color: #fff !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .22s ease, transform .18s ease, box-shadow .22s ease;
  margin-top: auto;
}
.rc-link:hover {
  background: var(--md-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.rc-link i { transition: transform var(--transition); font-size: 13px; }
.rc-link:hover i { transform: translateX(2px); }

/* ════════════════════════════════════════
   COLOUR VARIANTS — mirrors mp-path-card--* system
   Each variant: gradient bg, border, accent stripe,
   icon box, featured tag, chips, and CTA button.
════════════════════════════════════════ */

/* ── Blue (M&A Toolkit / Blogs) */
.rc--blue {
  border-color: var(--rc-blue-border);
  background: linear-gradient(160deg, #f7fbff 0%, #fff 60%);
}
.rc--blue .rc-card-accent             { background: var(--rc-blue-icon); }
.rc--blue .rc-icon-box                { background: var(--rc-blue-bg); }
.rc--blue .rc-icon-box i              { color: var(--rc-blue-icon); }
.rc--blue .rc-featured-tag,
.rc--blue .rc-audience-tag            { background: var(--rc-blue-bg); color: var(--rc-blue-icon); border-color: var(--rc-blue-border); }
.rc--blue .rc-tag                     { background: var(--rc-blue-bg); color: var(--rc-blue-icon); border-color: var(--rc-blue-border); }
.rc--blue .rc-link                    { background: var(--rc-blue-btn) !important; }
.rc--blue .rc-link:hover              { background: var(--md-blue-dark) !important; }

/* ── Teal (Guides / M&A News) */
.rc--teal {
  border-color: var(--rc-teal-border);
  background: linear-gradient(160deg, #f0faf9 0%, #fff 60%);
}
.rc--teal .rc-card-accent             { background: var(--rc-teal-icon); }
.rc--teal .rc-icon-box                { background: var(--rc-teal-bg); }
.rc--teal .rc-icon-box i              { color: var(--rc-teal-icon); }
.rc--teal .rc-featured-tag,
.rc--teal .rc-audience-tag            { background: var(--rc-teal-bg); color: var(--rc-teal-icon); border-color: var(--rc-teal-border); }
.rc--teal .rc-tag                     { background: var(--rc-teal-bg); color: var(--rc-teal-icon); border-color: var(--rc-teal-border); }
.rc--teal .rc-link                    { background: var(--rc-teal-btn) !important; }
.rc--teal .rc-link:hover              { background: #0f766e !important; }

/* ── Indigo (Glossary) */
.rc--indigo {
  border-color: var(--rc-indigo-border);
  background: linear-gradient(160deg, #f5f5ff 0%, #fff 60%);
}
.rc--indigo .rc-card-accent           { background: var(--rc-indigo-icon); }
.rc--indigo .rc-icon-box              { background: var(--rc-indigo-bg); }
.rc--indigo .rc-icon-box i            { color: var(--rc-indigo-icon); }
.rc--indigo .rc-featured-tag,
.rc--indigo .rc-audience-tag          { background: var(--rc-indigo-bg); color: var(--rc-indigo-icon); border-color: var(--rc-indigo-border); }
.rc--indigo .rc-tag                   { background: var(--rc-indigo-bg); color: var(--rc-indigo-icon); border-color: var(--rc-indigo-border); }
.rc--indigo .rc-link                  { background: var(--rc-indigo-btn) !important; }
.rc--indigo .rc-link:hover            { background: #3730a3 !important; }

/* ── Amber (Deal Newsletter / M&A Toolkit) */
.rc--amber {
  border-color: var(--rc-amber-border);
  background: linear-gradient(160deg, #fffdf0 0%, #fff 60%);
}
.rc--amber .rc-card-accent            { background: var(--rc-amber-icon); }
.rc--amber .rc-icon-box               { background: var(--rc-amber-bg); }
.rc--amber .rc-icon-box i             { color: var(--rc-amber-icon); }
.rc--amber .rc-featured-tag,
.rc--amber .rc-audience-tag           { background: var(--rc-amber-bg); color: var(--rc-amber-icon); border-color: var(--rc-amber-border); }
.rc--amber .rc-tag                    { background: var(--rc-amber-bg); color: var(--rc-amber-icon); border-color: var(--rc-amber-border); }
.rc--amber .rc-link                   { background: var(--rc-amber-btn) !important; }
.rc--amber .rc-link:hover             { background: #92400e !important; }

/* ── Rose (M&A News) */
.rc--rose {
  border-color: var(--rc-rose-border);
  background: linear-gradient(160deg, #fff5f8 0%, #fff 60%);
}
.rc--rose .rc-card-accent             { background: var(--rc-rose-icon); }
.rc--rose .rc-icon-box                { background: var(--rc-rose-bg); }
.rc--rose .rc-icon-box i              { color: var(--rc-rose-icon); }
.rc--rose .rc-featured-tag,
.rc--rose .rc-audience-tag            { background: var(--rc-rose-bg); color: var(--rc-rose-icon); border-color: var(--rc-rose-border); }
.rc--rose .rc-tag                     { background: var(--rc-rose-bg); color: var(--rc-rose-icon); border-color: var(--rc-rose-border); }
.rc--rose .rc-link                    { background: var(--rc-rose-btn) !important; }
.rc--rose .rc-link:hover              { background: #9d174d !important; }

/* ── Green (Deal Newsletter) */
.rc--green {
  border-color: var(--rc-green-border);
  background: linear-gradient(160deg, #f0fbf6 0%, #fff 60%);
}
.rc--green .rc-card-accent            { background: var(--rc-green-icon); }
.rc--green .rc-icon-box               { background: var(--rc-green-bg); }
.rc--green .rc-icon-box i             { color: var(--rc-green-icon); }
.rc--green .rc-featured-tag,
.rc--green .rc-audience-tag           { background: var(--rc-green-bg); color: var(--rc-green-icon); border-color: var(--rc-green-border); }
.rc--green .rc-tag                    { background: var(--rc-green-bg); color: var(--rc-green-icon); border-color: var(--rc-green-border); }
.rc--green .rc-link                   { background: var(--rc-green-btn) !important; }
.rc--green .rc-link:hover             { background: #065f46 !important; }

/* ── Violet (Videos) */
.rc--violet {
  border-color: var(--rc-violet-border);
  background: linear-gradient(160deg, #f7f3ff 0%, #fff 60%);
}
.rc--violet .rc-card-accent           { background: var(--rc-violet-icon); }
.rc--violet .rc-icon-box              { background: var(--rc-violet-bg); }
.rc--violet .rc-icon-box i            { color: var(--rc-violet-icon); }
.rc--violet .rc-featured-tag,
.rc--violet .rc-audience-tag          { background: var(--rc-violet-bg); color: var(--rc-violet-icon); border-color: var(--rc-violet-border); }
.rc--violet .rc-tag                   { background: var(--rc-violet-bg); color: var(--rc-violet-icon); border-color: var(--rc-violet-border); }
.rc--violet .rc-link                  { background: var(--rc-violet-btn) !important; }
.rc--violet .rc-link:hover            { background: #5b21b6 !important; }

/* ── Slate (FAQs) */
.rc--slate {
  border-color: var(--rc-slate-border);
  background: linear-gradient(160deg, #f4f7fa 0%, #fff 60%);
}
.rc--slate .rc-card-accent            { background: var(--rc-slate-icon); }
.rc--slate .rc-icon-box               { background: var(--rc-slate-bg); }
.rc--slate .rc-icon-box i             { color: var(--rc-slate-icon); }
.rc--slate .rc-featured-tag,
.rc--slate .rc-audience-tag           { background: var(--rc-slate-bg); color: var(--rc-slate-icon); border-color: var(--rc-slate-border); }
.rc--slate .rc-tag                    { background: var(--rc-slate-bg); color: var(--rc-slate-icon); border-color: var(--rc-slate-border); }
.rc--slate .rc-link                   { background: var(--rc-slate-btn) !important; }
.rc--slate .rc-link:hover             { background: #1e3a5f !important; }

/* No results banner */
#noResults {
  background: var(--md-blue-light);
  border: 1px solid var(--md-blue-mid);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--md-blue-dark);
  font-weight: 500;
}

/* ── Responsive: resource grid — 4-col → 2-col → 1-col */
@media (max-width: 1100px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { padding: 24px 20px 20px; }
  .rc-title { font-size: 16px; }
  .rc-body  { font-size: 13px; }
  .rc-link  { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────
   GUIDED PATH CARDS — 4-column
───────────────────────────────────────── */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.path-card {
  background: #fff;
  border: 1px solid var(--md-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.path-card:hover { box-shadow: var(--shadow-card-lg); transform: translateY(-3px); }
.path-card-head {
  background: var(--md-gray-50);
  border-bottom: 1px solid var(--md-gray-200);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.path-head-icon {
  width: 32px; height: 32px;
  background: var(--md-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.path-head-icon i { color: var(--md-yellow); font-size: 13px; }
.path-head-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--md-navy);
  margin: 0;
}
.path-card-body { padding: 18px 20px; flex: 1; }
.path-desc {
  font-size: 13px;
  color: var(--md-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.path-links { display: flex; flex-direction: column; gap: 0; }
.path-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--md-gray-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--md-navy);
  transition: color var(--transition);
}
.path-link-item:last-child { border-bottom: none; }
.path-link-item:hover { color: var(--md-blue); }
.path-link-item i { font-size: 11px; color: var(--md-gray-400); transition: color var(--transition), transform var(--transition); }
.path-link-item:hover i { color: var(--md-blue); transform: translateX(2px); }

/* ─────────────────────────────────────────
   RESOURCE MAP — two column layout
───────────────────────────────────────── */
.map-two-col {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 48px;
  align-items: start;
}
.intent-callout {
  background: var(--md-navy);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 28px;
}
.intent-callout-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--md-yellow);
  margin-bottom: 8px;
}
.intent-callout-body {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin: 0;
}

/* Table */
.table-md {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.table-md thead th {
  background: var(--md-gray-50);
  color: var(--md-navy);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 20px;
  border-bottom: 1px solid var(--md-gray-200);
}
.table-md tbody td {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--md-gray-600);
  border-bottom: 1px solid var(--md-gray-200);
  vertical-align: middle;
}
.table-md tbody tr:last-child td { border-bottom: none; }
.table-md tbody td:first-child {
  font-weight: 700;
  color: var(--md-navy);
  font-size: 13px;
}
.table-md a {
  color: var(--md-blue);
  font-weight: 600;
  transition: color var(--transition);
}
.table-md a:hover { color: var(--md-blue-dark); text-decoration: underline !important; }

/* ─────────────────────────────────────────
   MARKETPLACE PILLAR CARDS — 4-column
───────────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--md-gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--md-yellow);
  transition: width .30s ease;
}
.pillar-card:hover {
  box-shadow: var(--shadow-card-lg);
  transform: translateY(-3px);
  border-color: var(--md-navy);
}
.pillar-card:hover::after { width: 100%; }
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--md-blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pillar-icon i { color: var(--md-blue); font-size: 20px; }
.pillar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--md-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.pillar-body {
  font-size: 13px;
  color: var(--md-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--md-blue);
  transition: color var(--transition);
}
.pillar-link:hover { color: var(--md-blue-dark); }
.pillar-link i { transition: transform var(--transition); }
.pillar-link:hover i { transform: translateX(3px); }

/* ─────────────────────────────────────────
   CTA + FAQ BAND — exact from design system
───────────────────────────────────────── */
.cta-faq-band {
  background: var(--md-blue-dark);
  padding: 64px 0;
}
.cfa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.cfa-cta-block { color: #fff; }
.cta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--md-yellow);
  background: rgba(255,193,7,.12);
  border: 1px solid rgba(255,193,7,.28);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cta-h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.cta-sub {
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin-bottom: 28px;
}
.nextsteps-mini { margin-bottom: 28px; display: flex; flex-direction: column; gap: 0; }
.ns-mini-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,.88);
  font-weight: 500;
}
.ns-mini-num {
  width: 26px; height: 26px;
  background: var(--md-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.25);
}
.ns-mini-arrow { font-size: 11px; color: rgba(255,255,255,.28); padding-left: 10px; }
.cfa-btns { display: flex; flex-direction: column; gap: 10px; justify-content: center;}

/* FAQ block */
.cfa-faq-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.faq-block-title { font-size: 15px; font-weight: 700; color: var(--md-navy); margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--md-gray-200); }
.faq-item:first-of-type { border-top: 1px solid var(--md-gray-200); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--md-navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--md-blue); }
.faq-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--md-gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 300;
  color: var(--md-gray-600);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--md-blue-dark);
  color: #fff;
}
.faq-item.open .faq-q { color: var(--md-blue-dark); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--md-gray-600);
  line-height: 1.7;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 14px; }

/* ─────────────────────────────────────────
   BOTTOM STATS BAR
───────────────────────────────────────── */
.bottom-stats {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid var(--md-gray-200);
}
.bottom-stats-inner {
  display: flex;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.bs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--md-gray-200);
  padding: 10px 0;
  text-align: center;
}
.bs-item:last-child { border-right: none; }
.bs-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--md-navy);
  line-height: 1;
  display: block;
}
.bs-label {
  font-size: 12px;
  color: var(--md-gray-600);
  font-weight: 400;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer { background: var(--md-navy); }
footer h6 { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 12px; }
footer p  { font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 4px; line-height: 1.6; }
.footer-nav-link {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  padding: 4px 0;
  display: block;
  transition: color var(--transition);
}
.footer-nav-link:hover,
.footer-nav-link.active { color: var(--md-yellow); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 0; }
.footer-bottom-bar {
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}
.footer-bottom-bar a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-bottom-bar a:hover { color: rgba(255,255,255,.85); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .quicklink-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid    { grid-template-columns: 1fr 1fr; }
  .path-grid      { grid-template-columns: 1fr 1fr; }
  /* resource-grid responsive handled in card section */
  .map-two-col    { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .cfa-grid { grid-template-columns: 1fr; gap: 28px; }
  .resources-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-search-col { display: none; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item {
    flex: 1 0 48%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

@media (max-width: 768px) {
  .resources-section { padding: 48px 0; }
  /* resource-grid responsive handled in card section */
  .quicklink-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid    { grid-template-columns: 1fr 1fr; }
  .path-grid      { grid-template-columns: 1fr; }
  .bottom-stats-inner { flex-wrap: wrap; }
  .bs-item { flex: 1 0 48%; border-right: none; border-bottom: 1px solid var(--md-gray-200); }
  .hero-btns { flex-direction: column; }
  .breadcrumb-bar { min-height: 52px; }
  .breadcrumb { font-size: 12.5px; gap: 7px; }
  .cta-faq-band { padding: 40px 0; }
  .cfa-btns { flex-direction: row; }
}

@media (max-width: 520px) {
  .quicklink-grid { grid-template-columns: 1fr; }
  .pillar-grid    { grid-template-columns: 1fr; }
  .section-h2 { font-size: 22px; }
  .table-md { font-size: 12px; }
  .table-md thead th,
  .table-md tbody td { padding: 12px 14px; }
  .cfa-btns { flex-direction: column; }
}