/* =====================================================================
   eCareComply — component CSS layered on top of the shared framework
   ===================================================================== */

:root{
  --ecc-navy:#0C4C75;
  --ecc-navy-dark:#093A5C;
  --ecc-navy-50:#EEF3FB;
  --ecc-ink:#0F2349;
  --ecc-ink-2:#4B5A6F;
  --ecc-line:rgba(12,76,117,.10);
  --ecc-bg-tint:#F4F8FD;

  /* Colors */
    --primary:#0C4C75;
    --primary-hover:#093A5C;
    --accent:#1B6FA6;
    --accent-soft:#E8F1F8;
    --soft:#F1F7FC;
    --gold:#A8C7E2;
    --brand-light:#A8C7E2;
    --green:#10B981;
    /* Brand gradient (from PDF) — full intensity */
    --brand-gradient:linear-gradient(135deg,#1F578F 0%,#091929 100%);
    /* Softer brand gradient for sections that should not feel too heavy */
    --brand-gradient-soft:linear-gradient(135deg,#2A6BAA 0%,#163A5A 100%);
    --heading:#0F172A;
    --body:#475569;
    --muted:#94A3B8;
    --border:#E5E7EB;
    --bg:#FFFFFF;
    --bg-gray:#F8FAFC;

    /* Type scale */
    --t-xs:12px;
    --t-sm:14px;
    --t-base:16px;
    --t-md:18px;
    --t-lg:24px;
    --t-xl:32px;
    --t-2xl:42px;
    --t-3xl:56px;

    /* Space scale */
    --s-1:8px;
    --s-2:16px;
    --s-3:24px;
    --s-4:32px;
    --s-5:48px;
    --s-6:80px;
    --s-7:96px;
    --s-8:120px;

    /* Radius */
    --r-sm:8px;
    --r-md:14px;
    --r-lg:20px;

    /* Shadows */
    --sh-sm:0 1px 3px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.04);
    --sh-md:0 8px 24px rgba(12,76,117,.08),0 2px 6px rgba(12,76,117,.04);
    --sh-lg:0 24px 48px rgba(12,76,117,.12),0 8px 16px rgba(12,76,117,.06);

}

/* Brand mark in header / footer */
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px}
.brand-mark svg{width:30px;height:30px}
.brand-text{font-family:'Manrope',sans-serif;font-size:21px;font-weight:700;color:var(--ecc-navy);letter-spacing:-.01em;line-height:1}
.brand-text strong{font-weight:800}
footer .brand-text{color:#fff}
footer .brand-mark svg{color:#9CC2E5}

/* Section paddings */
.ecc-section{padding:80px 0}
.ecc-section-tint{background:var(--ecc-bg-tint)}

/* Eyebrow */
.ecc-eyebrow,.ecc-section-eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ecc-navy);padding:6px 14px;border-radius:999px;background:rgba(12,76,117,.08);margin-bottom:14px}

/* ============ HERO ============ */
.ecc-hero{padding:64px 0 72px;background:radial-gradient(ellipse 80% 60% at 0% 0%,rgba(189,213,234,.45) 0%,rgba(189,213,234,.12) 35%,transparent 70%),linear-gradient(180deg,#F4F8FD 0%,#fff 70%)}
.ecc-hero .eyebrow{display:inline-block;color:var(--ecc-navy);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;margin-bottom:18px}
.ecc-hero h1{font-size:clamp(34px,4.4vw,56px);line-height:1.08;letter-spacing:-.02em;color:var(--ecc-ink);margin:0 0 18px}
.ecc-hero h1 .accent{color:var(--ecc-navy)}
.ecc-hero .lead{font-size:17px;line-height:1.6;color:var(--ecc-ink-2);max-width:560px;margin:0 0 24px}
.ecc-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
@media(max-width:991px){.ecc-hero-grid{grid-template-columns:1fr;gap:40px}}
.ecc-hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.ecc-hero-trust{display:flex;gap:24px;flex-wrap:wrap;padding-top:20px;border-top:1px solid var(--ecc-line)}
.ecc-trust-item{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#344054}
.ecc-trust-item svg{width:16px;height:16px;flex-shrink:0}

/* Hero visual mock */
.ecc-mock{background:#fff;border:1px solid var(--ecc-line);border-radius:18px;box-shadow:0 30px 80px rgba(12,76,117,.18),0 8px 20px rgba(12,76,117,.06);overflow:hidden}
.ecc-mock-bar{display:flex;gap:6px;padding:14px 16px;background:#F4F8FD;border-bottom:1px solid var(--ecc-line)}
.ecc-mock-bar span{width:10px;height:10px;border-radius:50%;background:rgba(12,76,117,.18)}
.ecc-mock-body{padding:22px 24px;display:flex;flex-direction:column;gap:12px}
.ecc-mock-row{display:flex;align-items:center;gap:12px}
.ecc-mock-label{font-size:13.5px;color:#5A6B80;flex-shrink:0;min-width:140px}
.ecc-mock-pill{font-size:12px;font-weight:600;color:var(--ecc-navy);background:rgba(12,76,117,.08);padding:4px 10px;border-radius:999px}
.ecc-mock-pill-ok{color:#1c8a5e;background:rgba(28,138,94,.10)}
.ecc-mock-bar2{flex:1;height:8px;border-radius:99px;background:rgba(12,76,117,.08);overflow:hidden}
.ecc-mock-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#0C4C75,#1B6FA6)}
.ecc-mock-num{font-size:13.5px;font-weight:700;color:var(--ecc-ink);min-width:48px;text-align:right}
.ecc-mock-num-big{font-size:28px;color:var(--ecc-navy);letter-spacing:-.02em}
.ecc-mock-divider{height:1px;background:var(--ecc-line);margin:4px 0}
.ecc-mock-final .ecc-mock-label{font-size:14.5px;color:var(--ecc-ink)}
.ecc-mock-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;background:#F4F8FD;border-top:1px solid var(--ecc-line);flex-wrap:wrap}
.ecc-mock-export{font-size:12.5px;color:#5A6B80;font-weight:600}
.ecc-mock-btn{background:var(--ecc-navy);color:#fff;border:0;padding:10px 16px;border-radius:8px;font-weight:700;font-size:13px;cursor:default}

/* ============ STAT BAND ============ */
.ecc-stat-band{padding:36px 0;background:#fff;border-top:1px solid var(--ecc-line);border-bottom:1px solid var(--ecc-line)}
.ecc-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;text-align:center}
@media(max-width:768px){.ecc-stat-grid{grid-template-columns:repeat(2,1fr);gap:24px}}
.ecc-stat-num{font-size:36px;font-weight:800;color:var(--ecc-navy);letter-spacing:-.02em;line-height:1}
.ecc-stat-label{font-size:14px;color:var(--ecc-ink-2);margin-top:6px}

/* ============ PROGRAMS GRID ============ */
.ecc-prog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:991px){.ecc-prog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ecc-prog-grid{grid-template-columns:1fr}}
.ecc-prog-card{background:#fff;border:1px solid var(--ecc-line);border-radius:14px;padding:22px 20px;transition:transform .2s,box-shadow .2s,border-color .2s}
.ecc-prog-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(12,76,117,.10);border-color:rgba(12,76,117,.20)}
.ecc-prog-ic{width:40px;height:40px;border-radius:10px;background:rgba(12,76,117,.08);color:var(--ecc-navy);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.ecc-prog-ic svg{width:22px;height:22px}
.ecc-prog-card h3{font-size:16px;font-weight:700;color:var(--ecc-ink);margin:0 0 6px;letter-spacing:-.005em}
.ecc-prog-card p{font-size:13.5px;color:#5A6B80;line-height:1.5;margin:0}

/* ============ CAPABILITIES ============ */
.ecc-cap-group-title{display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:var(--ecc-navy);letter-spacing:.04em;text-transform:uppercase;margin:48px 0 24px;text-align:center;position:relative}
.ecc-cap-group-title::before,.ecc-cap-group-title::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(12,76,117,.18),transparent);margin:0 18px}
.ecc-cap-group-title span{flex:0 0 auto;padding:0 4px}
.ecc-cap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ecc-cap-grid-5{grid-template-columns:repeat(5,1fr)}
@media(max-width:1100px){.ecc-cap-grid-5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.ecc-cap-grid,.ecc-cap-grid-5{grid-template-columns:1fr}}
.ecc-cap-card{background:#fff;border:1px solid var(--ecc-line);border-radius:14px;padding:24px;transition:transform .2s,box-shadow .2s,border-color .2s}
.ecc-cap-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(12,76,117,.10);border-color:rgba(12,76,117,.20)}
.ecc-cap-ic{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,rgba(12,76,117,.10),rgba(12,76,117,.04));color:var(--ecc-navy);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.ecc-cap-ic svg{width:26px;height:26px}
.ecc-cap-card h3{font-size:16.5px;font-weight:700;color:var(--ecc-ink);margin:0 0 8px;letter-spacing:-.005em}
.ecc-cap-card p{font-size:14px;color:#5A6B80;line-height:1.55;margin:0}

/* ============ OPERATIONS ============ */
.ecc-ops-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:991px){.ecc-ops-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ecc-ops-grid{grid-template-columns:1fr}}
.ecc-ops-card{background:#fff;border:1px solid var(--ecc-line);border-radius:14px;padding:24px;border-left:4px solid var(--ecc-navy);transition:transform .2s,box-shadow .2s}
.ecc-ops-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(12,76,117,.08)}
.ecc-ops-card h3{font-size:17px;font-weight:700;color:var(--ecc-ink);margin:0 0 8px;letter-spacing:-.005em}
.ecc-ops-card p{font-size:14px;color:#5A6B80;line-height:1.55;margin:0}

/* ============ STEPS ============ */
.ecc-steps{padding:80px 0}
.ecc-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:900px){.ecc-steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ecc-steps-grid{grid-template-columns:1fr}}
.ecc-step{background:#fff;border:1px solid var(--ecc-line);border-radius:16px;padding:30px 26px;position:relative}
.ecc-step-num{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:linear-gradient(135deg,var(--ecc-navy),var(--ecc-navy-dark));color:#fff;font-weight:800;font-size:17px;margin-bottom:14px}
.ecc-step h3{font-size:18px;font-weight:700;color:var(--ecc-ink);margin:0 0 8px;letter-spacing:-.005em}
.ecc-step p{font-size:14.5px;color:#5A6B80;line-height:1.55;margin:0}

/* ============ FAQ ============ */
.ecc-faq{padding:80px 0;background:var(--ecc-bg-tint)}
.ecc-faq-list{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.ecc-faq-item{background:#fff;border:1px solid var(--ecc-line);border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.ecc-faq-item[open]{border-color:rgba(12,76,117,.25);box-shadow:0 12px 28px rgba(12,76,117,.08)}
.ecc-faq-item summary{cursor:pointer;list-style:none;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:16px;font-weight:700;color:var(--ecc-ink)}
.ecc-faq-item summary::-webkit-details-marker{display:none}
.ecc-faq-item summary svg{width:22px;height:22px;color:var(--ecc-navy);flex-shrink:0;transition:transform .2s}
.ecc-faq-item[open] summary svg{transform:rotate(180deg)}
.ecc-faq-a{padding:0 24px 22px;font-size:15px;line-height:1.65;color:var(--ecc-ink-2)}

/* ============ Tweaks to inherited classes ============ */
/* (CTA strip is now left-aligned by the override below) */
.cta-strip .sub{text-align:left;margin-top:14px}

/* Marquee section background tint (override default) */
.spec-section{padding:60px 0 72px;background:#fff;}

/* Nav flat link (matches eCareLTC pattern) */
.nav-flat{padding:8px 14px;border-radius:999px;text-decoration:none;color:var(--ecc-ink);font-weight:500;font-size:15px;transition:background .15s,color .15s}
.nav-flat:hover{background:var(--ecc-navy-50);color:var(--ecc-navy)}

/* ============ HERO — BLEED-RIGHT image (extends past container) ============ */
.ecc-hero.ecc-hero-bleed{position:relative;overflow:hidden;padding:48px 0 80px}
.ecc-hero.ecc-hero-bleed .container{position:relative;z-index:2}
.ecc-hero.ecc-hero-bleed .ecc-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center;text-align:left}
.ecc-hero.ecc-hero-bleed .ecc-hero-grid > div:first-child{position:relative;z-index:3}
.ecc-hero-bleed-img{
  position:absolute !important; top:50% !important; right:0 !important; left:50% !important;
  transform:translateY(-50%) !important; width:50vw !important; max-width:1080px !important;
  height:auto !important; aspect-ratio:1 / .85; object-fit:cover !important; object-position:left center !important;
  pointer-events:none !important; z-index:1 !important; border-radius:0 !important;
  -webkit-mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 8%, rgba(0,0,0,.55) 18%, #000 32%, #000 100%),
    linear-gradient(#000 60%, rgba(0,0,0,0) 100%) !important;
  mask-image:
    linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 8%, rgba(0,0,0,.55) 18%, #000 32%, #000 100%),
    linear-gradient(#000 60%, rgba(0,0,0,0) 100%) !important;
  -webkit-mask-composite:source-over !important; mask-composite:add !important;
}
/* Breakpoint-aware bleed math (matches container ladder) */
@media (min-width:1600px){.ecc-hero-bleed-img{margin-right:calc((1480px - 100vw)/2) !important}}
@media (min-width:1400px) and (max-width:1599px){.ecc-hero-bleed-img{margin-right:calc((1320px - 100vw)/2) !important}}
@media (min-width:1200px) and (max-width:1399px){.ecc-hero-bleed-img{margin-right:calc((1140px - 100vw)/2) !important}}
@media (max-width:991px){
  .ecc-hero.ecc-hero-bleed{overflow:visible}
  .ecc-hero-bleed-img{position:relative !important;top:auto !important;left:auto !important;right:auto !important;transform:none !important;width:100% !important;max-width:none !important;margin:32px 0 0 !important;border-radius:16px !important;-webkit-mask-image:none !important;mask-image:none !important}
  .ecc-hero.ecc-hero-bleed .ecc-hero-grid{grid-template-columns:1fr !important;gap:32px !important}
}

/* ============ HERO TRUST BADGE ROW (image-based) ============ */
.ecc-hero-trust-badges{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding-top:22px;border-top:1px solid var(--ecc-line)}
.ecc-trust-badge-img{height:52px;width:auto;flex-shrink:0}
.ecc-trust-badge-img.ecc-trust-rating{height:44px}
@media(max-width:768px){.ecc-hero-trust-badges{gap:16px}.ecc-trust-badge-img{height:42px}.ecc-trust-badge-img.ecc-trust-rating{height:36px}}

/* ============ TABBED FEATURE PANEL ============ */
.ecc-features{padding:80px 0;background:#fff}
.ecc-tabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 auto 28px;max-width:980px}
.ecc-tab{font-family:inherit;font-size:14.5px;font-weight:600;color:#475569;background:transparent;border:1px solid var(--ecc-line);padding:11px 20px;border-radius:999px;cursor:pointer;transition:all .2s}
.ecc-tab:hover{background:rgba(12,76,117,.06);color:var(--ecc-navy);border-color:rgba(12,76,117,.25)}
.ecc-tab.active{background:linear-gradient(135deg,var(--ecc-navy),var(--ecc-navy-dark));color:#fff;border-color:transparent;box-shadow:0 12px 28px rgba(12,76,117,.22)}

.ecc-tab-panels{position:relative}
.ecc-tab-panel{display:none;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.ecc-tab-panel.active{display:grid;animation:eccFade .35s ease}
@keyframes eccFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:991px){.ecc-tab-panel.active{grid-template-columns:1fr;gap:32px}}

/* Stylized panel mock (each tab) */
.ecc-tab-visual{display:flex;justify-content:center}
.ecc-tab-mock{width:100%;max-width:520px;background:#fff;border:1px solid var(--ecc-line);border-radius:18px;box-shadow:0 30px 70px rgba(12,76,117,.16),0 8px 20px rgba(12,76,117,.06);overflow:hidden}
.ecc-tab-mock-head{display:flex;align-items:center;gap:8px;padding:14px 18px;background:linear-gradient(180deg,#F4F8FD,#EAF1F8);border-bottom:1px solid var(--ecc-line)}
.ecc-tab-mock-dot{width:10px;height:10px;border-radius:50%;background:rgba(12,76,117,.22)}
.ecc-tab-mock-title{margin-left:10px;font-size:12.5px;font-weight:700;color:var(--ecc-navy);letter-spacing:.05em;text-transform:uppercase}
.ecc-tab-mock-body{padding:24px;display:flex;flex-direction:column;gap:14px;min-height:280px}
.ecc-tab-mock-row{display:flex;gap:8px}
.ecc-tab-mock-pill{font-size:11.5px;font-weight:700;color:var(--ecc-navy);background:rgba(12,76,117,.08);padding:5px 12px;border-radius:999px;letter-spacing:.04em}
.ecc-tab-mock-pill-ok{color:#1c8a5e;background:rgba(28,138,94,.10)}
.ecc-tab-mock-line{height:10px;border-radius:6px;background:rgba(12,76,117,.10)}
.ecc-tab-mock-line-1{width:88%}
.ecc-tab-mock-line-2{width:72%}
.ecc-tab-mock-line-3{width:54%}
.ecc-tab-mock-bar{height:10px;border-radius:99px;background:rgba(12,76,117,.08);overflow:hidden;margin-top:4px}
.ecc-tab-mock-bar span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0C4C75,#1B6FA6)}

/* Tab content (right side) */
.ecc-tab-content h3{font-size:clamp(24px,2.6vw,32px);font-weight:700;color:var(--ecc-ink);margin:8px 0 12px;letter-spacing:-.01em;line-height:1.18}
.ecc-tab-content h3 .accent{color:var(--ecc-navy)}
.ecc-tab-content p{font-size:16px;color:var(--ecc-ink-2);line-height:1.62;margin:0 0 20px}
.ecc-tab-features{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-direction:column;gap:10px}
.ecc-tab-features li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:#1a2333}
.ecc-tab-features li svg{width:18px;height:18px;color:#1c8a5e;flex-shrink:0;margin-top:2px}
.ecc-tab-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.ecc-tab-link{color:var(--ecc-navy);font-weight:700;font-size:14.5px;text-decoration:none}
.ecc-tab-link:hover{text-decoration:underline}

/* Inline-SVG trust badges (always render, no network) */
.ecc-tb{display:inline-flex;align-items:center;gap:10px;color:var(--ecc-navy)}
.ecc-tb > svg{width:34px;height:34px;flex-shrink:0;color:var(--ecc-navy)}
.ecc-tb-stack{display:inline-flex;flex-direction:column;line-height:1.05}
.ecc-tb-stack strong{font-size:14px;font-weight:800;color:var(--ecc-ink);letter-spacing:-.01em}
.ecc-tb-stack em{font-style:normal;font-size:11.5px;font-weight:600;color:#6e7787;margin-top:2px;letter-spacing:.02em}
.ecc-tb-rating .ecc-tb-stars{font-size:14px;letter-spacing:1px;color:#F5A623;line-height:1;margin-right:2px}


/* ============ HERO BANNER GRADIENT OVERLAY (brand-tinted) ============ */
.ecc-hero.ecc-hero-bleed { position: relative; }
.ecc-hero-bleed-gradient {
  position: absolute;
  top: 50%;
  right: 0;
  left: 50%;
  transform: translateY(-50%);
  width: 50vw;
  max-width: 1080px;
  aspect-ratio: 1 / 0.85;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(247, 250, 252, 1) 0%,
      rgba(247, 250, 252, 0.92) 8%,
      rgba(12, 76, 117, 0.18) 22%,
      rgba(12, 76, 117, 0.05) 50%,
      transparent 75%),
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0.10) 0%,
      transparent 22%,
      transparent 55%,
      rgba(247, 250, 252, 0.75) 78%,
      rgba(247, 250, 252, 1) 100%);
}
@media (min-width:1600px){.ecc-hero-bleed-gradient{margin-right:calc((1480px - 100vw)/2)}}
@media (min-width:1400px) and (max-width:1599px){.ecc-hero-bleed-gradient{margin-right:calc((1320px - 100vw)/2)}}
@media (min-width:1200px) and (max-width:1399px){.ecc-hero-bleed-gradient{margin-right:calc((1140px - 100vw)/2)}}
@media (max-width:991px){
  .ecc-hero-bleed-gradient { display: none; }
}

/* Strengthen mask fade on the banner image itself — strong bottom fade */
.ecc-hero-bleed-img {
  -webkit-mask-image:
    linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.10) 6%,
      rgba(0,0,0,.40) 14%,
      rgba(0,0,0,.85) 25%,
      #000 35%,
      #000 100%),
    linear-gradient(to bottom,
      #000 0%,
      #000 50%,
      rgba(0,0,0,.55) 78%,
      rgba(0,0,0,0) 100%) !important;
  mask-image:
    linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.10) 6%,
      rgba(0,0,0,.40) 14%,
      rgba(0,0,0,.85) 25%,
      #000 35%,
      #000 100%),
    linear-gradient(to bottom,
      #000 0%,
      #000 50%,
      rgba(0,0,0,.55) 78%,
      rgba(0,0,0,0) 100%) !important;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}



/* ============ TRUST BADGES (image-based, eCareLTC style) ============ */
.ecc-hero-trust-badges {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 22px; margin-top: 8px;
  border-top: 1px solid rgba(12,76,117,.12);
}
.ecc-tb-img { display: inline-flex; align-items: center; flex-shrink: 0; }
.ecc-tb-img img { height: 38px; width: auto; display: block; }
.ecc-trust-divider { width: 1px; height: 32px; background: rgba(12,76,117,.18); margin: 0 4px; }
.ecc-tb-rating-real { display: inline-flex; align-items: center; gap: 10px; }
.ecc-tb-rating-stars { color: #F59E0B; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.ecc-tb-rating-stack { display: flex; flex-direction: column; line-height: 1.15; }
.ecc-tb-rating-stack strong { font-size: 14px; color: #0F2349; font-weight: 800; }
.ecc-tb-rating-stack em { font-size: 11px; color: #4B5A6F; font-style: normal; font-weight: 600; }
@media (max-width:768px) {
  .ecc-hero-trust-badges { gap: 14px; }
  .ecc-tb-img img { height: 30px; }
  .ecc-trust-divider { display: none; }
}

/* Footer badges as images, sized appropriately */
.foot-badges img { height: 32px; width: auto; opacity: .92; }
.foot-badges .foot-badge-text { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; }



/* ============ Card Icons (eCareLTC-style feature icons on list-card) ============ */
.list-card { position: relative; padding-left: 88px !important; min-height: 96px; }
.list-card-icon {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(12, 76, 117, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.list-card-icon img { width: 32px; height: 32px; display: block; }
@media (max-width: 760px){
  .list-card { padding-left: 80px !important; }
  .list-card-icon { left: 18px; top: 22px; width: 46px; height: 46px; }
  .list-card-icon img { width: 28px; height: 28px; }
}



/* ============ v5t carousel dots (eCareComply additions) ============ */
.v5t-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.v5t-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(12,76,117,.20); cursor: pointer; transition: all .2s; }
.v5t-dot.active { background: #0C4C75; transform: scale(1.2); }
.v5t-dot:hover { background: rgba(12,76,117,.40); }


/* ============ OUTCOMES SECTION (dark stat cards, eCareLTC style) ============ */
.outcomes-section { padding: 80px 0; background: linear-gradient(180deg, #F7FAFC, #fff); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 920px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .outcomes-grid { grid-template-columns: 1fr; } }
.outcome-card { background: linear-gradient(135deg, #0C4C75, #0A3E60); color: #fff; border-radius: 16px; padding: 30px 24px; text-align: center; box-shadow: 0 12px 32px rgba(12,76,117,.18); }
.outcome-num { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; color: #fff; }
.outcome-lbl { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.outcome-sub { font-size: 13px; color: rgba(255,255,255,.78); font-weight: 500; line-height: 1.45; }

/* ============ INTEGRATIONS SECTION (logo grid) ============ */
.integ-section { padding: 80px 0; background: #fff; }
.integ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin-top: 40px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.integ-card { background: #fff; border: 1px solid #eef2f6; border-radius: 14px; padding: 24px 18px; display: flex; align-items: center; justify-content: center; min-height: 88px; transition: all .2s; }
.integ-card:hover { border-color: rgba(12,76,117,.20); box-shadow: 0 8px 22px rgba(12,76,117,.08); transform: translateY(-2px); }
.integ-card img { max-width: 100%; max-height: 36px; width: auto; height: auto; opacity: .85; }
.integ-card:hover img { opacity: 1; }
.integ-foot { text-align: center; margin-top: 30px; font-size: 14px; color: #5A7388; }

/* ============ SPECIALTIES SECTION (icon grid, eCareLTC style) ============ */
.spec-section { padding: 80px 0; background: #F7FAFC; }
.spec-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 1200px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-card { background: #fff; border: 1px solid #eef2f6; border-radius: 14px; padding: 26px 14px; text-align: center; transition: all .2s; }
.spec-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(12,76,117,.10); border-color: rgba(12,76,117,.20); }
.spec-ic { width: 52px; height: 52px; margin: 0 auto 14px; background: rgba(12,76,117,.08); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #0C4C75; }
.spec-ic svg { width: 28px; height: 28px; }
.spec-name { font-size: 13.5px; font-weight: 700; color: #0F2349; line-height: 1.3; }

/* ============ CTA STRIP (dark, mid-page) ============ */
/* .cta-strip { background: linear-gradient(135deg, #0F2349, #0C4C75); color: #fff; padding: 60px 0; text-align: left; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; top: -120px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%); pointer-events: none; }
.cta-strip::after { content: ""; position: absolute; bottom: -160px; left: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.04), transparent 70%); pointer-events: none; }
.cta-strip > .container { position: relative; z-index: 2; max-width: 1120px; }
.cta-strip h2 { font-size: clamp(26px, 3.2vw, 36px); color: #fff; margin: 0 0 14px; letter-spacing: -0.01em; max-width: 760px; }
.cta-strip p { color: rgba(255,255,255,.85); font-size: 17px; margin: 0 0 22px; line-height: 1.55; max-width: 720px; }
.cta-strip-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.cta-strip .btn-light { background: #fff; color: #0C4C75; border-color: #fff; }
.cta-strip .btn-light:hover { background: rgba(255,255,255,.92); color: #0C4C75; } */



/* ============ TABS — icon + number + label (eCareLTC style) ============ */
.ecc-tabs { gap: 12px; max-width: 1080px; }
.ecc-tab {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px;
  font-size: 15px; font-weight: 700;
  border-radius: 999px;
  letter-spacing: -0.005em;
}
.ecc-tab-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(12,76,117,.10);
  color: var(--ecc-navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.ecc-tab-ic svg { width: 20px; height: 20px; }
.ecc-tab-num {
  font-size: 13px; font-weight: 800;
  color: rgba(12,76,117,.55);
  letter-spacing: 0.04em;
  font-feature-settings: 'tnum';
}
.ecc-tab-label { font-weight: 700; }

/* Active state */
.ecc-tab.active .ecc-tab-ic { background: rgba(255,255,255,.18); color: #fff; }
.ecc-tab.active .ecc-tab-num { color: rgba(255,255,255,.65); }
.ecc-tab:hover .ecc-tab-ic { background: rgba(12,76,117,.15); }

@media (max-width: 680px){
  .ecc-tab { padding: 8px 16px 8px 8px; font-size: 13.5px; gap: 10px; }
  .ecc-tab-ic { width: 32px; height: 32px; border-radius: 8px; }
  .ecc-tab-ic svg { width: 18px; height: 18px; }
  .ecc-tab-num { font-size: 12px; }
}


/* ============ HERO BLEED — eCareScribe product mockup overrides ============ */
/* The eCareScribe banner is a wide product mockup screenshot, not a portrait
   photo. Override the bleed treatment so it displays cleanly: contained,
   shadowed product-preview style, no aggressive mask fade. */
.ecc-hero.ecc-hero-bleed .ecc-hero-bleed-img {
  position: absolute !important;
  bottom: 0 !important;                 /* touches the bottom of the section */
  right: 0 !important;                  /* touches the right edge of the viewport */
  top: auto !important;
  left: auto !important;
  transform: none !important;
  /* Constrain BY HEIGHT so the image fits the section proportionally — width follows aspect */
  height: min(580px, calc(100% - 30px)) !important;  /* original height — restored */
  width: auto !important;
  max-width: 66vw !important;
  /* Shift image LEFT so its left edge moves closer to the text column.
     Trade-off: a small gap appears on the right because the image dimensions stay the same. */
  transform: translateX(-100px) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: bottom right !important;
  /* Strip product-card styling — image bleeds naturally */
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  /* Soft gradient mask: fade on LEFT edge + BOTTOM edge so image dissolves into the page */
  -webkit-mask-image:
    linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.20) 5%,
      rgba(0,0,0,.65) 13%,
      #000 22%,
      #000 100%),
    linear-gradient(to bottom,
      #000 0%,
      #000 72%,
      rgba(0,0,0,.55) 88%,
      rgba(0,0,0,0) 100%) !important;
  mask-image:
    linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.20) 5%,
      rgba(0,0,0,.65) 13%,
      #000 22%,
      #000 100%),
    linear-gradient(to bottom,
      #000 0%,
      #000 72%,
      rgba(0,0,0,.55) 88%,
      rgba(0,0,0,0) 100%) !important;
  -webkit-mask-composite: source-in !important;
  mask-composite: intersect !important;
}
/* Drop the brand-tinted gradient overlay too — the mockup is already on white */
.ecc-hero.ecc-hero-bleed .ecc-hero-bleed-gradient { display: none !important; }

/* Hero grid — wider left text column, image bleeds bottom-right but stays proportionate */
.ecc-hero.ecc-hero-bleed {
  padding: 70px 0 0 !important;       /* no bottom padding so image can touch the section bottom */
  min-height: 600px;                  /* original good height — restored */
  overflow: hidden;
  position: relative;
}
.ecc-hero.ecc-hero-bleed .ecc-hero-grid {
  grid-template-columns: minmax(620px, 720px) 1fr !important;
  gap: 40px !important;
  padding-bottom: 70px;               /* keep text content off the bottom edge */
  align-items: center;                /* vertically center the text column */
}
.ecc-hero.ecc-hero-bleed .ecc-hero-grid > div:first-child {
  position: relative;
  z-index: 3;
  max-width: 720px;
}
.ecc-hero.ecc-hero-bleed h1 {
  font-size: clamp(32px, 4vw, 50px) !important;
  line-height: 1.08 !important;
  margin-bottom: 18px !important;
  max-width: 660px;
}
.ecc-hero.ecc-hero-bleed .lead {
  font-size: 16px !important;
  margin-bottom: 24px !important;
  max-width: 600px;
}

/* Trust badge row — tighter to fit HIPAA + SOC 2 + ISO + HITRUST + rating in one row */
.ecc-hero.ecc-hero-bleed .ecc-hero-trust-badges {
  gap: 18px !important;
  flex-wrap: nowrap !important;
  align-items: center;
  padding-top: 22px !important;
}
.ecc-hero.ecc-hero-bleed .ecc-tb-img img { height: 34px !important; }
.ecc-hero.ecc-hero-bleed .ecc-trust-divider { width: 1px; height: 30px; background: rgba(12,76,117,.18); margin: 0 2px; flex-shrink: 0; }
.ecc-hero.ecc-hero-bleed .ecc-tb-rating-real { flex-shrink: 0; }
.ecc-hero.ecc-hero-bleed .ecc-tb-rating-stars { font-size: 13px; }
.ecc-hero.ecc-hero-bleed .ecc-tb-rating-stack strong { font-size: 14px; }
.ecc-hero.ecc-hero-bleed .ecc-tb-rating-stack em { font-size: 11px; }

@media (max-width: 1199px){
  .ecc-hero.ecc-hero-bleed .ecc-hero-grid { grid-template-columns: minmax(480px, 600px) 1fr !important; }
  .ecc-hero.ecc-hero-bleed .ecc-hero-trust-badges { gap: 14px !important; flex-wrap: wrap !important; }
  .ecc-hero.ecc-hero-bleed .ecc-tb-img img { height: 30px !important; }
}
@media (max-width: 991px){
  .ecc-hero.ecc-hero-bleed .ecc-hero-grid { grid-template-columns: 1fr !important; }
  .ecc-hero.ecc-hero-bleed .ecc-hero-grid > div:first-child { max-width: 100%; }
  .ecc-hero.ecc-hero-bleed h1, .ecc-hero.ecc-hero-bleed .lead { max-width: 100%; }
}

/* Breakpoint adjustments for the bleed image — reverted to original good proportions */
@media (min-width: 1600px){
  .ecc-hero.ecc-hero-bleed .ecc-hero-bleed-img { height: min(620px, calc(100% - 30px)) !important; max-width: 58vw !important; transform: translateX(-140px) !important; }
  .ecc-hero.ecc-hero-bleed { min-height: 640px; }
}
@media (max-width: 1199px){
  .ecc-hero.ecc-hero-bleed .ecc-hero-bleed-img { height: min(480px, calc(100% - 30px)) !important; max-width: 55vw !important; transform: translateX(-60px) !important; }
  .ecc-hero.ecc-hero-bleed { min-height: 540px; }
}
@media (max-width: 991px){
  .ecc-hero.ecc-hero-bleed .ecc-hero-bleed-img { transform: none !important; }
}
@media (max-width: 991px){
  .ecc-hero.ecc-hero-bleed { padding: 56px 0 40px !important; min-height: 0 !important; overflow: visible; }
  .ecc-hero.ecc-hero-bleed .ecc-hero-bleed-img {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    transform: none !important;
    width: 100% !important; max-width: 100% !important;
    margin: 32px 0 0 !important;
    box-shadow: 0 24px 60px rgba(12,76,117,.18), 0 8px 20px rgba(12,76,117,.08) !important;
  }
  .ecc-hero.ecc-hero-bleed .ecc-hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ============ Section intros — centered alignment override (eCareLTC pattern) ============ */
/* Allow centered .sec-intro on any home-page section, with h2 wrapping cleanly */
.sec-intro[style*="text-align:center"] h2 {
  white-space: normal !important;
  margin-left: auto;
  margin-right: auto;
}
.sec-intro[style*="text-align:center"] p {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 740px;
}

/* ============ Hero background — reverted to original (base .ecc-hero gradient applies) ============ */
.ecc-hero.ecc-hero-bleed .container { position: relative; z-index: 2; }
.ecc-hero.ecc-hero-bleed .ecc-hero-bleed-img { z-index: 1; }

/* ============ HOW IT WORKS (zig-zag alternating layout) ============ */
.howit-section {
  padding: 96px 0 100px;
  background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
}
.howit-section .sec-intro h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  color: #0F2349;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.howit-section .sec-intro h2 .accent { color: #0C4C75; }
.howit-section .sec-intro p {
  font-size: 16.5px;
  color: #4B5A6F;
  line-height: 1.6;
  max-width: 820px;
  margin: 0;
}

.howit-flow {
  display: flex;
  flex-direction: column;
  gap: 72px;
  position: relative;
}

/* dashed timeline connector down the middle */
.howit-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background-image: linear-gradient(180deg, rgba(12, 76, 117, 0.25) 50%, transparent 50%);
  background-size: 2px 14px;
  background-repeat: repeat-y;
  z-index: 0;
}

.howit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.howit-row.reverse .howit-media { order: 2; }
.howit-row.reverse .howit-body  { order: 1; }

/* image side */
.howit-media {
  position: relative;
}
.howit-media-inner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #EAF2FA 0%, #F4F8FD 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 48px -18px rgba(12, 76, 117, 0.28),
    0 6px 16px -6px rgba(12, 76, 117, 0.12);
  padding: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.howit-row:hover .howit-media-inner {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 34px 60px -18px rgba(12, 76, 117, 0.34),
    0 10px 24px -8px rgba(12, 76, 117, 0.16);
}
.howit-media-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* text side */
.howit-body {
  max-width: 480px;
}
.howit-row.reverse .howit-body { margin-left: auto; }

.howit-step-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.howit-body h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.howit-body > p {
  font-size: 16px;
  color: #4B5A6F;
  line-height: 1.65;
  margin: 0 0 18px;
}
.howit-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.howit-bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: #2F3B52;
  line-height: 1.5;
}
.howit-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 165, 116, 0.14);
}
.howit-bullets li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #1E8E5F;
  border-bottom: 2px solid #1E8E5F;
  transform: rotate(-45deg);
}

/* responsive */
@media (max-width: 980px) {
  .howit-section { padding: 72px 0 80px; }
  .howit-flow { gap: 56px; }
  .howit-flow::before { display: none; }
  .howit-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .howit-row.reverse .howit-media { order: 1; }
  .howit-row.reverse .howit-body  { order: 2; }
  .howit-body, .howit-row.reverse .howit-body { max-width: 100%; margin-left: 0; }
  .howit-media-inner { padding: 14px; }
}
@media (max-width: 540px) {
  .howit-section { padding: 56px 0 64px; }
  .howit-flow { gap: 44px; }
  .howit-body h3 { font-size: 22px; }
}

/* =====================================================================
   PRODUCT PAGE PATTERNS (pp-*) — applies to ai-medical-scribe and other
   AI Agent detail pages. Built on top of the shared framework.
   ===================================================================== */

/* shared "section eyebrow" used in product pages */
.sec-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-radius: 999px;
  margin-bottom: 18px;
}
.sec-eyebrow.on-dark {
  color: #B7DAF0;
  background: rgba(255, 255, 255, 0.08);
}

/* ----- 1. HERO ----- */
.pp-hero {
  background: linear-gradient(180deg, #F4F8FD 0%, #FFFFFF 70%);
  padding: 28px 0 80px;
  position: relative;
  overflow: hidden;
}
.pp-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(12, 76, 117, 0.08) 0%, transparent 70%);
  z-index: 0;
}
.pp-hero .container { position: relative; z-index: 1; }
.pp-breadcrumbs {
  font-size: 13px;
  color: #6E7C90;
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pp-breadcrumbs a { color: #0C4C75; text-decoration: none; font-weight: 600; }
.pp-breadcrumbs a:hover { text-decoration: underline; }
.pp-breadcrumbs span[aria-current] { color: #0F2349; font-weight: 600; }

.pp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.pp-hero-text { max-width: 620px; }
.pp-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.pp-hero-text h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  color: #0F2349;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.pp-accent { color: #0C4C75; }
.pp-accent-light { color: #6BB4DF; }
.pp-lead {
  font-size: 17px;
  color: #4B5A6F;
  line-height: 1.65;
  margin: 0 0 30px;
}
.pp-hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.pp-stat {
  border-left: 3px solid #0C4C75;
  padding: 4px 16px;
}
.pp-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #0F2349;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.pp-stat-lbl {
  font-size: 13.5px;
  color: #4B5A6F;
  line-height: 1.4;
  font-weight: 600;
}
.pp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pp-hero-sub { font-size: 13.5px; color: #6E7C90; }

.pp-hero-visual { position: relative; }
.pp-hero-visual-inner {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #E8F0F8 0%, #F4F8FD 100%);
  padding: 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -20px rgba(12, 76, 117, 0.32),
    0 8px 20px -6px rgba(12, 76, 117, 0.14);
}
.pp-hero-visual-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.pp-hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px -12px rgba(12, 76, 117, 0.25);
  border: 1px solid rgba(12, 76, 117, 0.08);
}
.pp-hero-badge svg {
  width: 34px;
  height: 34px;
  color: #F0A500;
  flex-shrink: 0;
  fill: #FFD166;
  stroke: #C97E00;
}
.pp-hero-badge strong {
  display: block;
  font-size: 15px;
  color: #0F2349;
  font-weight: 800;
  line-height: 1.1;
}
.pp-hero-badge span {
  display: block;
  font-size: 12px;
  color: #6E7C90;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .pp-hero { padding: 24px 0 60px; }
  .pp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pp-hero-visual { max-width: 600px; }
  .pp-hero-badge { left: 8px; }
}

/* ----- 2. CORE CAPABILITIES ----- */
.pp-caps {
  padding: 90px 0;
  background: #fff;
}
.pp-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pp-cap-card {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 18px;
  padding: 30px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.pp-cap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(12, 76, 117, 0.12);
  border-color: rgba(12, 76, 117, 0.20);
}
.pp-cap-card-accent {
  background: linear-gradient(135deg, #0C4C75 0%, #1B6FA6 100%);
  color: #fff;
  border-color: transparent;
}
.pp-cap-card-accent h3,
.pp-cap-card-accent p { color: #fff; }
.pp-cap-card-accent p { color: rgba(255,255,255,0.85); }
.pp-cap-card-accent .pp-cap-icon { background: rgba(255,255,255,0.15); }
.pp-cap-card-accent .pp-cap-icon svg { color: #fff; }

.pp-cap-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(12, 76, 117, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pp-cap-icon svg {
  width: 24px;
  height: 24px;
  color: #0C4C75;
}
.pp-cap-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.pp-cap-card p {
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 980px) { .pp-caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pp-caps { padding: 64px 0; } .pp-caps-grid { grid-template-columns: 1fr; } }

/* ----- 3. FEATURES (reuses howit-flow from homepage) ----- */
.pp-features { padding: 90px 0 100px; background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%); }
@media (max-width: 600px) { .pp-features { padding: 64px 0 72px; } }

/* ----- 4. OUTCOMES BAND ----- */
.pp-outcomes {
  background: linear-gradient(135deg, #0F2349 0%, #0C4C75 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.pp-outcomes::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 180, 223, 0.15) 0%, transparent 65%);
  z-index: 0;
}
.pp-outcomes .container { position: relative; z-index: 1; }
.pp-outcomes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
.pp-outcomes-text h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.pp-outcomes-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin: 0;
  max-width: 460px;
}
.pp-outcomes-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pp-outcome-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 24px 22px;
  backdrop-filter: blur(8px);
}
.pp-outcome-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #B7DAF0;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.pp-outcome-lbl {
  font-size: 13.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
  font-weight: 600;
}
@media (max-width: 980px) {
  .pp-outcomes-grid { grid-template-columns: 1fr; gap: 36px; }
  .pp-outcomes { padding: 64px 0; }
}
@media (max-width: 480px) {
  .pp-outcomes-stats { grid-template-columns: 1fr; }
}

/* ----- 5. CASE STUDIES PREVIEW ----- */
.pp-cases { padding: 90px 0; background: #fff; }
.pp-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pp-case-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 18px;
  padding: 28px 28px 26px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  color: inherit;
}
.pp-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(12, 76, 117, 0.12);
  border-color: rgba(12, 76, 117, 0.22);
}
.pp-case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #1E8E5F;
  background: rgba(34, 165, 116, 0.10);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pp-case-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.pp-case-card p {
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.6;
  margin: 0 0 16px;
}
.pp-case-link {
  font-size: 14px;
  font-weight: 700;
  color: #0C4C75;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 760px) {
  .pp-cases { padding: 64px 0; }
  .pp-cases-grid { grid-template-columns: 1fr; }
}

/* ----- 6. FAQ (sidebar pattern) ----- */
.pp-faq { padding: 90px 0; background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%); }
.pp-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 56px;
  align-items: start;
}
.pp-faq-side h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #0F2349;
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.pp-faq-side h2 .accent { color: #0C4C75; }
.pp-faq-side p {
  font-size: 15.5px;
  color: #4B5A6F;
  line-height: 1.6;
  margin: 0;
}
.pp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.pp-faq-list .seo-faq-item {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 14px;
  overflow: hidden;
}
.pp-faq-list .seo-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: #0F2349;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.005em;
}
.pp-faq-list .seo-faq-icn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(12, 76, 117, 0.10);
  color: #0C4C75;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.pp-faq-list .seo-faq-item.open .seo-faq-icn { transform: rotate(45deg); background: #0C4C75; color: #fff; }
.pp-faq-list .seo-faq-a {
  display: none;
  padding: 0 24px 22px;
}
.pp-faq-list .seo-faq-item.open .seo-faq-a { display: block; }
.pp-faq-list .seo-faq-a p {
  margin: 0;
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .pp-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .pp-faq { padding: 64px 0; }
}

/* ----- 7. CTA BAND ----- */
.pp-cta-band {
  padding: 70px 0;
  background: #fff;
}
.pp-cta-band-inner {
  background: linear-gradient(135deg, #0C4C75 0%, #1B6FA6 100%);
  border-radius: 24px;
  padding: 56px 56px 52px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pp-cta-band-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(107, 180, 223, 0.18) 0%, transparent 50%);
}
.pp-cta-band-inner > * { position: relative; z-index: 1; }
.pp-cta-band-inner h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.pp-cta-band-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 26px;
  line-height: 1.55;
}
.pp-cta-band-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .pp-cta-band { padding: 50px 0; }
  .pp-cta-band-inner { padding: 40px 24px; }
}

/* ============ PRODUCT-PAGE TABBED FEATURES (reuses .ecc-tabs) ============ */
.pp-features-tabs {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
}
.pp-features-tabs .ecc-tabs {
  margin: 0 auto 40px;
  max-width: 1100px;
}
.pp-features-tabs .ecc-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
}
.pp-features-tabs .ecc-tab-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(12, 76, 117, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pp-features-tabs .ecc-tab-ic svg { width: 16px; height: 16px; color: #0C4C75; }
.pp-features-tabs .ecc-tab.active .ecc-tab-ic { background: rgba(255,255,255,0.18); }
.pp-features-tabs .ecc-tab.active .ecc-tab-ic svg { color: #fff; }
.pp-features-tabs .ecc-tab-num {
  font-size: 14px;
  font-weight: 800;
  color: #94A6BC;
  letter-spacing: -0.005em;
}
.pp-features-tabs .ecc-tab.active .ecc-tab-num { color: rgba(255,255,255,0.7); }
.pp-features-tabs .ecc-tab-label { font-weight: 700; font-size: 14.5px; }

.pp-tab-img {
  width: 100%;
  max-width: 540px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #EAF2FA 0%, #F4F8FD 100%);
  padding: 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 50px -16px rgba(12, 76, 117, 0.26),
    0 6px 16px -6px rgba(12, 76, 117, 0.12);
}
.pp-tab-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.pp-features-tabs .ecc-tab-content h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: #0F2349;
  margin: 12px 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
.pp-features-tabs .ecc-tab-content h3 .accent { color: #0C4C75; }
.pp-features-tabs .ecc-tab-content > p {
  font-size: 15.5px;
  color: #4B5A6F;
  line-height: 1.65;
  margin: 0 0 20px;
}
.pp-features-tabs .ecc-tab-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-features-tabs .ecc-tab-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #2F3B52;
  line-height: 1.5;
}
.pp-features-tabs .ecc-tab-features svg {
  width: 18px;
  height: 18px;
  color: #1E8E5F;
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 991px) {
  .pp-features-tabs .ecc-tab-label { display: none; }
  .pp-features-tabs .ecc-tab { padding: 10px 14px; }
}
@media (max-width: 600px) {
  .pp-features-tabs { padding: 64px 0 72px; }
}

/* ============ CASE STUDIES V2 (live-style hero-image cards) ============ */
.pp-cases-v2 {
  padding: 90px 0;
  background: #fff;
}
.pp-cases-v2-head {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(12, 76, 117, 0.10);
}
.pp-cases-v2-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: #0F2349;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}
.pp-cases-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pp-case-v2 {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.pp-case-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(12, 76, 117, 0.13);
  border-color: rgba(12, 76, 117, 0.18);
}
.pp-case-v2-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #EAF2FA 0%, #F4F8FD 100%);
}
.pp-case-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pp-case-v2-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pp-case-v2-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pp-case-v2-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.pp-case-v2-date {
  font-size: 13px;
  color: #6E7C90;
  font-weight: 600;
}
.pp-case-v2 h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.pp-case-v2 p {
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.55;
  margin: 0 0 22px;
  flex: 1;
}
.pp-case-v2-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 11px 24px;
  border: 1.5px solid #0C4C75;
  border-radius: 999px;
  color: #0C4C75;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pp-case-v2-btn:hover {
  background: #0C4C75;
  color: #fff;
  transform: translateY(-1px);
}
.pp-case-v2-more-btn {
  display: inline-flex;
  padding: 13px 32px;
  border: 1.5px solid #0C4C75;
  border-radius: 999px;
  color: #0C4C75;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pp-case-v2-more-btn:hover {
  background: #0C4C75;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .pp-cases-v2 { padding: 64px 0; }
  .pp-cases-v2-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pp-cases-v2-grid { grid-template-columns: 1fr; }
}

/* ============ CASE STUDIES INDEX PAGE (cs-*) ============ */
.cs-hero {
  padding: 50px 0 80px;
  background: linear-gradient(180deg, #DCEAF7 0%, #EDF4FB 60%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.cs-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(189, 213, 234, 0.45) 0%, transparent 60%);
  z-index: 0;
}
.cs-hero .container { position: relative; z-index: 1; }
.cs-breadcrumbs {
  font-size: 14px;
  color: #5A7388;
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.cs-breadcrumbs a {
  color: #0C4C75;
  text-decoration: none;
  font-weight: 600;
}
.cs-breadcrumbs a:hover { text-decoration: underline; }
.cs-breadcrumbs span[aria-current] { color: #0F2349; font-weight: 600; }

.cs-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  color: #0F2349;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.cs-hero-sub {
  font-size: 17px;
  color: #4B5A6F;
  margin: 0 0 36px;
  line-height: 1.5;
}

.cs-search-wrap {
  position: relative;
  max-width: 760px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(12, 76, 117, 0.14), 0 2px 4px rgba(12, 76, 117, 0.04);
  display: flex;
  align-items: center;
  padding: 4px;
}
.cs-search-icon {
  width: 22px;
  height: 22px;
  color: #94A6BC;
  margin-left: 16px;
  flex-shrink: 0;
}
.cs-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 18px 18px 18px 14px;
  font-size: 15.5px;
  font-family: 'Manrope', sans-serif;
  color: #0F2349;
  outline: 0;
  width: 100%;
}
.cs-search-input::placeholder { color: #94A6BC; }

/* ----- Grid section ----- */
.cs-grid-section {
  padding: 70px 0 90px;
  background: #fff;
}
.cs-grid-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: #0F2349;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  line-height: 1.1;
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cs-card {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(12, 76, 117, 0.14);
  border-color: rgba(12, 76, 117, 0.20);
}

.cs-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #E6EFF7 0%, #F4F8FD 100%);
}
.cs-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.cs-card:hover .cs-card-img img { transform: scale(1.04); }

.cs-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cs-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cs-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}
.cs-card-date {
  font-size: 13px;
  color: #6E7C90;
  font-weight: 600;
}
.cs-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.cs-card p {
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.55;
  margin: 0 0 22px;
  flex: 1;
}
.cs-card-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 11px 24px;
  border: 1.5px solid #0C4C75;
  border-radius: 999px;
  color: #0C4C75;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cs-card-btn:hover {
  background: #0C4C75;
  color: #fff;
  transform: translateY(-1px);
}

.cs-empty {
  padding: 60px 20px;
  text-align: center;
  color: #6E7C90;
  font-size: 15.5px;
}

@media (max-width: 980px) {
  .cs-hero { padding: 40px 0 60px; }
  .cs-grid-section { padding: 56px 0 72px; }
  .cs-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-search-input { padding: 16px 16px 16px 12px; font-size: 14.5px; }
}

/* ============ BLOG INDEX PAGE (bl-*) ============ */
.bl-hero {
  padding: 30px 0 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFD 100%);
}
.bl-hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 5;
  max-height: 360px;
  margin-bottom: 36px;
  box-shadow: 0 20px 50px rgba(12, 76, 117, 0.16);
}
.bl-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bl-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 35, 73, 0.10) 0%, rgba(15, 35, 73, 0.35) 100%);
}

.bl-search-wrap {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(620px, 88%);
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  display: flex;
  align-items: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
.bl-search-icon {
  width: 20px;
  height: 20px;
  color: #94A6BC;
  margin-left: 16px;
  flex-shrink: 0;
}
.bl-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 12px;
  font-size: 14.5px;
  font-family: 'Manrope', sans-serif;
  color: #0F2349;
  outline: 0;
  width: 100%;
}
.bl-search-input::placeholder { color: #94A6BC; }
.bl-search-btn {
  background: #0C4C75;
  color: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.bl-search-btn svg { width: 18px; height: 18px; }
.bl-search-btn:hover { background: #093A5C; }

/* ---- Topic filter pills ---- */
.bl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 0 14px;
}
.bl-filter {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #4B5A6F;
  background: rgba(12, 76, 117, 0.06);
  border: 1px solid transparent;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.bl-filter:hover {
  background: rgba(12, 76, 117, 0.10);
  color: #0C4C75;
}
.bl-filter.active {
  background: linear-gradient(135deg, #0C4C75 0%, #1B6FA6 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(12, 76, 117, 0.22);
}

/* ---- Grid ---- */
.bl-grid-section {
  padding: 50px 0 90px;
  background: #fff;
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bl-card {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.bl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(12, 76, 117, 0.13);
  border-color: rgba(12, 76, 117, 0.18);
}

.bl-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #E6EFF7 0%, #F4F8FD 100%);
}
.bl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.bl-card:hover .bl-card-img img { transform: scale(1.04); }
.bl-card-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #0C4C75;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(12, 76, 117, 0.18);
}

.bl-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bl-card-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.bl-card-body p {
  font-size: 14px;
  color: #4B5A6F;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.bl-card-link {
  font-size: 13px;
  font-weight: 800;
  color: #0C4C75;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.bl-card-link:hover { text-decoration: underline; }

.bl-card-meta {
  border-top: 1px solid rgba(12, 76, 117, 0.10);
  padding-top: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: #6E7C90;
}
.bl-card-date { font-weight: 600; }
.bl-card-comm { color: #94A6BC; }

.bl-empty {
  padding: 60px 20px;
  text-align: center;
  color: #6E7C90;
  font-size: 15.5px;
}

/* ---- Load more button ---- */
.bl-loadmore-wrap {
  text-align: center;
  margin-top: 48px;
}
.bl-loadmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.06);
  border: 1px solid transparent;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.bl-loadmore svg { width: 18px; height: 18px; }
.bl-loadmore:hover {
  background: linear-gradient(135deg, #0C4C75 0%, #1B6FA6 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(12, 76, 117, 0.22);
}

@media (max-width: 980px) {
  .bl-hero-media { aspect-ratio: 16 / 6; max-height: 280px; }
  .bl-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .bl-grid-section { padding: 40px 0 64px; }
}
@media (max-width: 640px) {
  .bl-hero-media { aspect-ratio: 16 / 7; max-height: 220px; border-radius: 14px; }
  .bl-search-wrap { bottom: 16px; }
  .bl-search-input { padding: 12px 10px; font-size: 13.5px; }
  .bl-grid { grid-template-columns: 1fr; }
  .bl-filters { gap: 8px; }
  .bl-filter { font-size: 13px; padding: 8px 14px; }
}

/* ============ BLOG POST DETAIL (bp-*) ============ */
.bp-article {
  padding: 50px 0 90px;
  background: #fff;
}
.bp-article .container { max-width: 820px; }

.bp-breadcrumbs {
  font-size: 13px;
  color: #6E7C90;
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.bp-breadcrumbs a {
  color: #0C4C75;
  text-decoration: none;
  font-weight: 600;
}
.bp-breadcrumbs a:hover { text-decoration: underline; }
.bp-breadcrumbs span[aria-current] { color: #0F2349; font-weight: 600; }

.bp-head { margin-bottom: 36px; }
.bp-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.10);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.bp-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  color: #0F2349;
  margin: 0 0 26px;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.bp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(12, 76, 117, 0.10);
  flex-wrap: wrap;
}
.bp-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.bp-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0C4C75, #1B6FA6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
}
.bp-author strong {
  display: block;
  font-size: 14.5px;
  color: #0F2349;
  font-weight: 700;
}
.bp-author span {
  display: block;
  font-size: 12.5px;
  color: #6E7C90;
}
.bp-share {
  display: flex;
  gap: 8px;
}
.bp-share button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 76, 117, 0.06);
  border: 0;
  color: #0C4C75;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.bp-share button svg { width: 17px; height: 17px; }
.bp-share button:hover { background: #0C4C75; color: #fff; }

.bp-hero-img {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16 / 9;
}
.bp-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-body { color: #1F2D45; }
.bp-lead {
  font-size: 19px;
  line-height: 1.6;
  color: #0F2349;
  font-weight: 500;
  margin: 0 0 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(12, 76, 117, 0.10);
}
.bp-body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: #0F2349;
  margin: 36px 0 14px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.bp-body p {
  font-size: 16px;
  line-height: 1.75;
  color: #2F3B52;
  margin: 0 0 18px;
}
.bp-conclusion {
  background: linear-gradient(135deg, rgba(12, 76, 117, 0.04), rgba(12, 76, 117, 0.01));
  border-left: 4px solid #0C4C75;
  padding: 18px 22px;
  border-radius: 8px;
  margin-top: 28px !important;
  font-weight: 500;
}

.bp-cta {
  margin-top: 56px;
  padding: 36px 36px;
  background: linear-gradient(135deg, #0C4C75 0%, #1B6FA6 100%);
  color: #fff;
  border-radius: 18px;
  text-align: center;
}
.bp-cta h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.bp-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 22px;
}
.bp-cta .btn-primary {
  background: #fff !important;
  color: #0C4C75 !important;
  border-color: #fff !important;
}

@media (max-width: 640px) {
  .bp-article { padding: 36px 0 60px; }
  .bp-cta { padding: 28px 22px; }
  .bp-meta { flex-direction: column; align-items: flex-start; }
}

/* ============ BLOG POST DETAIL — CRO upgrades ============ */
/* Reading progress bar at top of page */
#readProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #0C4C75, #1B6FA6);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* 2-column layout: sticky TOC + main (FULL site container width) */
.bp-article-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
.bp-main {
  width: 100%;
  min-width: 0;
}
/* Keep paragraphs readable (line length ~90 chars) but let images + CTAs go full width */
.bp-main > nav.bp-breadcrumbs,
.bp-main > .bp-head,
.bp-main > .bp-body > p,
.bp-main > .bp-body > h2,
.bp-main > .bp-body > h3,
.bp-main > .bp-body > ul,
.bp-main > .bp-body > ol {
  max-width: 920px;
}
/* Hero image, inline figures, CTA cards, FAQ, author bio, related posts: full column width */
.bp-main > .bp-hero-img,
.bp-main > .bp-body > .bp-inline-fig,
.bp-main > .bp-body > .bp-inline-cta,
.bp-main > .bp-cta,
.bp-main > .bp-author-bio,
.bp-main > .bp-related,
.bp-main > .bp-faq-section {
  max-width: none;
  width: 100%;
}
/* Match between 1100 and 1300px viewport */
@media (max-width: 1300px) {
  .bp-article-grid { max-width: 1280px; gap: 56px; padding: 0 24px; }
}
@media (max-width: 1100px) {
  .bp-article-grid { gap: 48px; }
  .bp-main > nav.bp-breadcrumbs,
  .bp-main > .bp-head,
  .bp-main > .bp-body > p,
  .bp-main > .bp-body > h2,
  .bp-main > .bp-body > h3,
  .bp-main > .bp-body > ul,
  .bp-main > .bp-body > ol { max-width: 100%; }
}

/* TOC sidebar */
.bp-toc {
  position: relative;
}
.bp-toc-inner {
  position: sticky;
  top: 100px;
  padding-right: 8px;
}
.bp-toc-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #94A6BC;
  margin-bottom: 14px;
}
.bp-toc ol {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  counter-reset: bptoc;
}
.bp-toc li {
  counter-increment: bptoc;
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  padding-left: 24px;
  position: relative;
}
.bp-toc li::before {
  content: counter(bptoc);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11.5px;
  font-weight: 700;
  color: #94A6BC;
}
.bp-toc a {
  color: #4B5A6F;
  text-decoration: none;
  transition: color 0.18s;
  display: block;
}
.bp-toc a:hover { color: #0C4C75; }

.bp-toc-share {
  padding-top: 18px;
  border-top: 1px solid rgba(12, 76, 117, 0.10);
}
.bp-toc-share > span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #94A6BC;
  margin-bottom: 12px;
}
.bp-toc-share-btns { display: flex; gap: 8px; }
.bp-toc-share-btns button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 76, 117, 0.06);
  border: 0;
  color: #0C4C75;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.bp-toc-share-btns button svg { width: 16px; height: 16px; }
.bp-toc-share-btns button:hover { background: #0C4C75; color: #fff; }
.bp-toc-share-btns button.copied::after {
  content: "Copied!";
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F2349;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Main column */
.bp-main { min-width: 0; }

.bp-article {
  padding: 40px 0 90px;
  background: #fff;
}

.bp-breadcrumbs {
  font-size: 13px;
  color: #6E7C90;
  margin-bottom: 26px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.bp-breadcrumbs a { color: #0C4C75; text-decoration: none; font-weight: 600; }
.bp-breadcrumbs a:hover { text-decoration: underline; }
.bp-breadcrumbs span[aria-current] { color: #0F2349; font-weight: 600; }

.bp-head { margin-bottom: 32px; }
.bp-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.10);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.bp-head h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  color: #0F2349;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.bp-meta {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(12, 76, 117, 0.10);
}
.bp-author { display: flex; gap: 12px; align-items: center; }
.bp-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0C4C75, #1B6FA6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
}
.bp-author strong { display: block; font-size: 14.5px; color: #0F2349; font-weight: 700; }
.bp-author span { display: block; font-size: 12.5px; color: #6E7C90; }

.bp-hero-img {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16 / 9;
}
.bp-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bp-body { color: #1F2D45; }
.bp-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #0F2349;
  font-weight: 500;
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(12, 76, 117, 0.10);
}
.bp-body h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0F2349;
  margin: 36px 0 12px;
  letter-spacing: -0.005em;
  line-height: 1.25;
  scroll-margin-top: 100px;
}
.bp-body p {
  font-size: 16px;
  line-height: 1.75;
  color: #2F3B52;
  margin: 0 0 18px;
}
.bp-conclusion {
  background: linear-gradient(135deg, rgba(12, 76, 117, 0.04), rgba(12, 76, 117, 0.01));
  border-left: 4px solid #0C4C75;
  padding: 18px 22px;
  border-radius: 8px;
  margin-top: 28px !important;
  font-weight: 500;
}

/* Mid-content inline CTA */
.bp-inline-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 36px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #F4F8FD, #EAF2FA);
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 14px;
  flex-wrap: wrap;
}
.bp-inline-cta-text strong {
  display: block;
  font-size: 16.5px;
  color: #0F2349;
  font-weight: 800;
  margin-bottom: 4px;
}
.bp-inline-cta-text span {
  font-size: 14px;
  color: #4B5A6F;
}
.bp-inline-cta .btn { flex-shrink: 0; }

/* End-of-article CTA card */
.bp-cta {
  margin-top: 56px;
  padding: 36px 36px;
  background: linear-gradient(135deg, #0C4C75 0%, #1B6FA6 100%);
  color: #fff;
  border-radius: 18px;
  text-align: center;
}
.bp-cta h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.bp-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 22px;
}
.bp-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.bp-cta .btn-primary {
  background: #fff !important;
  color: #0C4C75 !important;
  border-color: #fff !important;
}
.bp-cta .btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
}

/* Related posts */
.bp-related { margin-top: 56px; }
.bp-related h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bp-related-card {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: block;
}
.bp-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(12, 76, 117, 0.13);
  border-color: rgba(12, 76, 117, 0.20);
}
.bp-related-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #E6EFF7, #F4F8FD);
}
.bp-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bp-related-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #0C4C75;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
}
.bp-related-body { padding: 16px 18px 18px; }
.bp-related-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 8px;
  letter-spacing: -0.003em;
  line-height: 1.35;
}
.bp-related-meta {
  font-size: 12px;
  color: #6E7C90;
  font-weight: 600;
}

/* Sticky bottom CTA bar */
.bp-sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: min(680px, calc(100vw - 32px));
  background: #0F2349;
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 50px rgba(15, 35, 73, 0.35);
  z-index: 5000;
  transition: transform 0.4s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.bp-sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.bp-sticky-cta-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.bp-sticky-cta-text { font-size: 14px; flex: 1; min-width: 240px; }
.bp-sticky-cta-text strong { display: block; font-weight: 800; color: #fff; }
.bp-sticky-cta-text span { color: rgba(255,255,255,0.8); }
.bp-sticky-cta .btn { flex-shrink: 0; }
.bp-sticky-cta-close {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0 4px;
}
.bp-sticky-cta-close:hover { color: #fff; }

@media (max-width: 980px) {
  .bp-article-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 18px; }
  .bp-toc { display: none; }
  .bp-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bp-article { padding: 28px 0 60px; }
  .bp-cta { padding: 28px 22px; }
  .bp-inline-cta { padding: 20px 22px; }
  .bp-sticky-cta { bottom: 10px; padding: 12px 14px; }
  .bp-sticky-cta-text { font-size: 13px; min-width: 0; }
}

/* ============ BLOG POST: AUTHOR LINK + INLINE FIGURES + FAQ + AUTHOR BIO ============ */

/* Author link in blog post header */
.bp-author {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 50px;
  padding: 4px 12px 4px 4px;
  transition: background 0.18s;
}
.bp-author:hover { background: rgba(12, 76, 117, 0.06); }
.bp-author-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* Inline figure within article body — full-width, polished */
.bp-inline-fig {
  margin: 44px 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #EAF2FA, #F4F8FD);
  padding: 16px;
  box-shadow: 0 18px 36px -8px rgba(12, 76, 117, 0.18), 0 4px 12px -4px rgba(12, 76, 117, 0.10);
}
.bp-inline-fig img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #FFFFFF;
}
.bp-inline-fig figcaption {
  text-align: center;
  font-size: 13.5px;
  color: #4B5A6F;
  font-style: italic;
  margin-top: 14px;
  padding: 0 12px 4px;
  line-height: 1.55;
}

/* FAQ section in blog post */
.bp-faq-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 2px solid rgba(12, 76, 117, 0.08);
}
.bp-faq-section h2 {
  font-size: 26px;
  color: #0F2349;
  margin: 0 0 24px;
  letter-spacing: -0.005em;
  font-weight: 800;
}
.bp-faq-section .seo-faqs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bp-faq-section .seo-faq-item {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 14px;
  overflow: hidden;
}
.bp-faq-section .seo-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #0F2349;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.bp-faq-section .seo-faq-icn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(12, 76, 117, 0.10);
  color: #0C4C75;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.bp-faq-section .seo-faq-item.open .seo-faq-icn {
  transform: rotate(45deg);
  background: #0C4C75;
  color: #fff;
}
.bp-faq-section .seo-faq-a {
  display: none;
  padding: 0 22px 18px;
}
.bp-faq-section .seo-faq-item.open .seo-faq-a { display: block; }
.bp-faq-section .seo-faq-a p {
  margin: 0;
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.65;
}

/* Author bio card at bottom of post */
.bp-author-bio {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 2px solid rgba(12, 76, 117, 0.08);
}
.bp-author-bio h3 {
  font-size: 22px;
  color: #0F2349;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}
.bp-author-bio-card {
  display: flex;
  gap: 24px;
  padding: 26px;
  background: linear-gradient(135deg, #F4F8FD, #FFFFFF);
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 16px;
  align-items: flex-start;
}
.bp-author-bio-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.bp-author-bio-card h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #0F2349;
  letter-spacing: -0.005em;
}
.bp-author-bio-role {
  display: block;
  font-size: 13px;
  color: #0C4C75;
  font-weight: 700;
  margin-bottom: 12px;
}
.bp-author-bio-card p {
  font-size: 14.5px;
  color: #4B5A6F;
  line-height: 1.65;
  margin: 0 0 12px;
}
.bp-author-bio-link {
  font-size: 13px;
  font-weight: 800;
  color: #0C4C75;
  text-decoration: none;
}
.bp-author-bio-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .bp-author-bio-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ============ AUTHORS INDEX PAGE (au-*) ============ */
.au-hero {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #DCEAF7 0%, #EDF4FB 60%, #FFFFFF 100%);
}
.au-hero .container { position: relative; }
.au-hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.au-grid-section {
  padding: 60px 0 90px;
  background: #fff;
}
.au-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.au-card {
  display: flex;
  gap: 22px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.au-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(12, 76, 117, 0.13);
  border-color: rgba(12, 76, 117, 0.20);
}
.au-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.au-card-body { flex: 1; min-width: 0; }
.au-card-body h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 800;
  color: #0F2349;
  letter-spacing: -0.005em;
}
.au-card-role {
  display: block;
  font-size: 13.5px;
  color: #0C4C75;
  font-weight: 700;
  margin-bottom: 12px;
}
.au-card-body p {
  font-size: 14px;
  color: #4B5A6F;
  line-height: 1.6;
  margin: 0 0 14px;
}
.au-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}
.au-card-posts { color: #6E7C90; }
.au-card-arrow { color: #0C4C75; }

@media (max-width: 760px) {
  .au-grid { grid-template-columns: 1fr; }
  .au-card { flex-direction: column; align-items: center; text-align: center; }
}

/* Individual author profile page */
.au-profile {
  padding: 40px 0 50px;
  background: linear-gradient(180deg, #F4F8FD 0%, #FFFFFF 100%);
}
.au-profile-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 22px;
  padding: 36px;
  margin-top: 24px;
  box-shadow: 0 20px 48px rgba(12, 76, 117, 0.08);
}
.au-profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}
.au-profile-info h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.au-profile-role {
  display: block;
  font-size: 16px;
  color: #0C4C75;
  font-weight: 700;
  margin-bottom: 6px;
}
.au-profile-credentials {
  display: block;
  font-size: 13.5px;
  color: #6E7C90;
  margin-bottom: 18px;
}
.au-expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.au-expertise {
  font-size: 12px;
  font-weight: 700;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}
.au-profile-bio {
  font-size: 15px;
  color: #2F3B52;
  line-height: 1.75;
  margin: 0 0 20px;
}
.au-profile-social {
  display: flex;
  gap: 10px;
}
.au-profile-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 76, 117, 0.08);
  color: #0C4C75;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.au-profile-social a:hover { background: #0C4C75; color: #fff; }
.au-profile-social svg { width: 17px; height: 17px; }

.au-posts-section { padding: 60px 0 90px; background: #fff; }
.au-posts-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .au-profile-card { grid-template-columns: 1fr; text-align: center; }
  .au-profile-photo { width: 140px; height: 140px; margin: 0 auto; }
  .au-expertise-list { justify-content: center; }
  .au-profile-social { justify-content: center; }
}


/* ============ HOMEPAGE CASE STUDIES (hp-cs-*) ============ */
.hp-cases-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
}
.hp-cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hp-cs-card {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.hp-cs-card.hidden { display: none; }
.hp-cs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(12, 76, 117, 0.13);
  border-color: rgba(12, 76, 117, 0.20);
}
.hp-cs-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #E6EFF7, #F4F8FD);
}
.hp-cs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.hp-cs-card:hover .hp-cs-img img { transform: scale(1.04); }
.hp-cs-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hp-cs-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hp-cs-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #0C4C75;
  background: rgba(12, 76, 117, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.hp-cs-date { font-size: 12.5px; color: #6E7C90; font-weight: 600; }
.hp-cs-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.hp-cs-card p {
  font-size: 14px;
  color: #4B5A6F;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.hp-cs-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 22px;
  border: 1.5px solid #0C4C75;
  border-radius: 999px;
  color: #0C4C75;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.hp-cs-btn:hover {
  background: #0C4C75;
  color: #fff;
  transform: translateY(-1px);
}
.hp-cs-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hp-cases-section { padding: 64px 0; }
  .hp-cs-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .hp-cs-grid { grid-template-columns: 1fr; }
}

/* ============ HOMEPAGE BLOG SECTION (hp-bl-*) ============ */
.hp-blogs-section {
  padding: 90px 0;
  background: #FFFFFF;
}
.hp-bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.hp-bl-card {
  background: #fff;
  border: 1px solid rgba(12, 76, 117, 0.10);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.hp-bl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(12, 76, 117, 0.13);
  border-color: rgba(12, 76, 117, 0.20);
}
.hp-bl-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #E6EFF7, #F4F8FD);
}
.hp-bl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.hp-bl-card:hover .hp-bl-img img { transform: scale(1.04); }
.hp-bl-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #0C4C75;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(12, 76, 117, 0.18);
}
.hp-bl-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hp-bl-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F2349;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  line-height: 1.32;
}
.hp-bl-card p {
  font-size: 14px;
  color: #4B5A6F;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.hp-bl-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #6E7C90;
  flex-wrap: wrap;
  border-top: 1px solid rgba(12, 76, 117, 0.10);
  padding-top: 14px;
}
.hp-bl-author { font-weight: 800; color: #0C4C75; }
.hp-bl-date, .hp-bl-read { font-weight: 600; }
.hp-bl-dot { opacity: 0.5; }

@media (max-width: 980px) {
  .hp-blogs-section { padding: 64px 0; }
  .hp-bl-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .hp-bl-grid { grid-template-columns: 1fr; }
}


/* ============ HOMEPAGE FEATURES TABS (ft-*) ============ */
.ft-section { padding: 90px 0 100px; background: linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%); }
.ft-section .sec-intro { text-align: left; margin-left: auto; margin-right: auto; }

.ft-section .ecc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 56px;
  max-width: 1180px;
}
.ft-section .ecc-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: #4B5A6F;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(12, 76, 117, 0.10);
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.ft-section .ecc-tab:hover {
  background: rgba(12, 76, 117, 0.06);
  color: #0C4C75;
  border-color: rgba(12, 76, 117, 0.18);
}
.ft-section .ecc-tab.active {
  background: linear-gradient(135deg, #0C4C75 0%, #093A5C 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(12, 76, 117, 0.28);
}
.ft-section .ecc-tab-ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(12, 76, 117, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ft-section .ecc-tab-ic svg { width: 16px; height: 16px; color: #0C4C75; }
.ft-section .ecc-tab.active .ecc-tab-ic { background: rgba(255, 255, 255, 0.16); }
.ft-section .ecc-tab.active .ecc-tab-ic svg { color: #fff; }
.ft-section .ecc-tab-num {
  font-size: 13.5px;
  font-weight: 800;
  color: #94A6BC;
  letter-spacing: 0.02em;
}
.ft-section .ecc-tab.active .ecc-tab-num { color: rgba(255, 255, 255, 0.65); }
.ft-section .ecc-tab-label { font-weight: 700; }

.ft-section .ecc-tab-panels { position: relative; }
.ft-section .ecc-tab-panel {
  display: none;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.ft-section .ecc-tab-panel.active {
  display: grid;
  animation: ftFade 0.35s ease;
}
@keyframes ftFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Visual side: mockup card + floating stat overlays */
.ft-visual {
  position: relative;
  padding: 36px 28px 36px;
}
.ft-visual-card {
  background: linear-gradient(135deg, #EAF2FA 0%, #F4F8FD 100%);
  border-radius: 22px;
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -18px rgba(12, 76, 117, 0.30),
    0 8px 20px -6px rgba(12, 76, 117, 0.14);
}
.ft-visual-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #FFFFFF;
}
/* Floating stat overlays */
.ft-stat {
  position: absolute;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 14px 30px rgba(12, 76, 117, 0.18);
  border: 1px solid rgba(12, 76, 117, 0.08);
  min-width: 150px;
}
.ft-stat-tl { top: 14px; left: -8px; }
.ft-stat-br { bottom: 14px; right: -8px; }
.ft-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #0C4C75;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ft-stat-lbl {
  font-size: 10.5px;
  font-weight: 800;
  color: #6E7C90;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Content side */
.ft-content { max-width: 540px; }
.ft-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0C4C75;
  margin-bottom: 18px;
}
.ft-eyebrow-num {
  background: #0F2349;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.ft-content h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #0F2349;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.ft-content h3 .accent { color: #0C4C75; }
.ft-content > p {
  font-size: 16px;
  color: #4B5A6F;
  line-height: 1.65;
  margin: 0 0 26px;
}

/* Bullets in 2-column grid */
.ft-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.ft-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #2F3B52;
  line-height: 1.45;
}
.ft-bullets svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .ft-section .ecc-tab-panel { grid-template-columns: 1fr; gap: 40px; }
  .ft-stat-tl, .ft-stat-br { left: auto; right: auto; }
  .ft-stat-tl { top: 0; left: 0; }
  .ft-stat-br { bottom: 0; right: 0; }
}
@media (max-width: 980px) {
  .ft-section .ecc-tab-label { display: none; }
  .ft-section .ecc-tab { padding: 10px 14px; }
}
@media (max-width: 720px) {
  .ft-bullets { grid-template-columns: 1fr; }
  .ft-stat { min-width: 130px; padding: 12px 14px; }
  .ft-stat-num { font-size: 19px; }
  .ft-stat-lbl { font-size: 9.5px; }
}
