/* ==========================================================================
   Ecomminds Creative — Brand override stylesheet
   Loaded AFTER the compiled stylesheet so these rules win.
   Brand: Navy #0A1F44 / Gold #D4A017 / White #FFFFFF
   ========================================================================== */

:root {
  --navy: #0A1F44;
  --navy-2: #14305f;
  --navy-3: #1a3a6e;
  --gold: #D4A017;
  --gold-2: #b8890f;
  --white: #FFFFFF;
  --ink: #1f2937;
  --muted: #5b6472;
  --navy-light: rgba(10, 31, 68, 0.08);
  --header-h: 84px;
  --container: 1280px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

/* Rebrand every Tailwind blue/cyan utility in one shot by re-pointing the
   compiled theme variables to the Ecomminds palette. Loaded after the
   compiled stylesheet, so these win for .text-blue-500, .bg-blue-500,
   .from-blue-500, .hover:text-blue-500, .focus:ring-blue-500, etc. */
:root {
  --color-blue-50:  #f4f7fc;
  --color-blue-100: #e9eef9;
  --color-blue-400: #D4A017;
  --color-blue-500: #D4A017;
  --color-blue-600: #b8890f;
  --color-blue-700: #0A1F44;
  --color-cyan-400: #D4A017;
}

/* ---- Semantic brand overrides for leftover compiled colors ------------- */
.btn-a,
button.btn-a {
  background: var(--navy) !important;
  border: 2px solid var(--gold) !important;
  color: #fff !important;
  border-radius: 9999px;
  padding: 12px 26px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .2s ease;
  cursor: pointer;
}
.btn-a:hover { background: var(--gold) !important; color: var(--navy) !important; transform: translateY(-2px); }

.btn-a2,
button.btn-a2 {
  background: transparent !important;
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
  border-radius: 9999px;
  padding: 12px 26px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .2s ease;
  cursor: pointer;
}
.btn-a2:hover { background: var(--navy) !important; color: #fff !important; transform: translateY(-2px); }

/* ==========================================================================
   HEADER  (injected via assets/js/header.js into #site-header)
   ========================================================================== */
/* display:contents so this wrapper doesn't form a box that would constrain
   the sticky header to its own height — lets it stick across the page. */
#site-header { display: contents; }

.ec-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(10,31,68,.06);
  transition: box-shadow .25s ease;
}
.ec-header.is-scrolled { box-shadow: 0 8px 30px rgba(10,31,68,.10); }

.ec-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font);
}

.ec-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ec-logo img { width: 215px; max-width: 60vw; height: auto; display: block; }

/* ---- Primary nav ------------------------------------------------------- */
.ec-nav { display: flex; align-items: center; gap: 6px; }
.ec-nav > a,
.ec-mega__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  transition: color .2s ease;
}
.ec-nav > a::after,
.ec-mega__trigger::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.ec-nav > a:hover, .ec-mega__trigger:hover { color: var(--gold-2); }
.ec-nav > a:hover::after,
.ec-mega__trigger:hover::after,
.ec-nav > a.is-active::after,
.ec-mega.is-active .ec-mega__trigger::after { transform: scaleX(1); }
.ec-nav > a.is-active,
.ec-mega.is-active .ec-mega__trigger { color: var(--navy); font-weight: 600; }
.ec-mega__trigger svg { transition: transform .25s ease; }
.ec-mega:hover .ec-mega__trigger svg { transform: rotate(180deg); }

/* ---- Header right side ------------------------------------------------- */
.ec-header__cta { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.ec-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 700; font-size: 16px; text-decoration: none;
  white-space: nowrap;
}
.ec-phone svg { color: var(--gold); }
.ec-phone:hover { color: var(--gold-2); }
.ec-quote {
  display: inline-flex; align-items: center;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 9999px;
  padding: 11px 24px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.ec-quote:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ==========================================================================
   MEGA MENU
   ========================================================================== */
.ec-mega { position: static; }
.ec-mega__panel {
  position: absolute;
  left: 50%;
  top: calc(var(--header-h) - 8px);
  transform: translateX(-50%) translateY(12px);
  width: min(900px, calc(100vw - 40px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(10,31,68,.22);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1001;
}
.ec-mega:hover .ec-mega__panel,
.ec-mega.is-open .ec-mega__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ec-mega__col { padding: 26px 28px; }
.ec-mega__col--left { background: var(--navy); color: #fff; }
.ec-mega__col--right { background: #fff; display: flex; flex-direction: column; }
.ec-mega__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  margin: 0 0 16px; opacity: .85;
}
.ec-mega__col--left .ec-mega__eyebrow { color: var(--gold); }
.ec-mega__col--right .ec-mega__eyebrow { color: var(--navy); }

.ec-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.ec-mega__item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: background .2s ease, transform .2s ease;
}
.ec-mega__item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ec-mega__icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.10); color: var(--gold);
}
.ec-mega__col--right .ec-mega__icon { background: var(--navy-light); color: var(--navy); }
.ec-mega__icon svg { width: 18px; height: 18px; }
.ec-mega__title { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.ec-mega__desc { display: block; font-size: 12px; line-height: 1.35; opacity: .68; margin-top: 3px; }
.ec-mega__col--left .ec-mega__item:hover { background: rgba(212,160,23,.16); transform: translateX(2px); }
.ec-mega__col--left .ec-mega__item:hover .ec-mega__title { color: var(--gold); }
.ec-mega__col--right .ec-mega__item:hover { background: var(--navy-light); transform: translateX(2px); }

.ec-mega__viewall {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 15px;
  padding: 14px 18px; border-radius: 12px; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.ec-mega__viewall:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   MOBILE: hamburger + slide-in drawer
   ========================================================================== */
.ec-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--navy); padding: 8px; border-radius: 8px;
}
.ec-burger:hover { background: var(--navy-light); }

.ec-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(10,31,68,.25);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1100;
  display: flex; flex-direction: column;
  padding: 22px 22px 30px;
  overflow-y: auto;
  font-family: var(--font);
}
.ec-drawer.is-open { transform: translateX(0); }
.ec-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ec-drawer__head img { width: 185px; height: auto; }
.ec-drawer__close { background: none; border: none; cursor: pointer; color: var(--navy); padding: 6px; }
.ec-drawer a { text-decoration: none; color: var(--navy); }
.ec-drawer__nav { display: flex; flex-direction: column; }
.ec-drawer__nav > a,
.ec-acc__btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; font-size: 17px; font-weight: 600;
  border-bottom: 1px solid rgba(10,31,68,.08);
  background: none; border-left: 0; border-right: 0; border-top: 0;
  width: 100%; text-align: left; color: var(--navy); cursor: pointer;
  font-family: var(--font);
}
.ec-drawer__nav > a.is-active { color: var(--gold-2); }
.ec-acc__btn svg { transition: transform .25s ease; }
.ec-acc.is-open .ec-acc__btn svg { transform: rotate(180deg); }
.ec-acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ec-acc.is-open .ec-acc__panel { max-height: 640px; }
.ec-acc__panel a {
  display: block; padding: 11px 4px 11px 16px; font-size: 15px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid rgba(10,31,68,.05);
}
.ec-acc__panel a:hover { color: var(--gold-2); }
.ec-drawer__cta { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ec-drawer__cta .ec-quote { justify-content: center; color: #fff; }
.ec-drawer__cta .ec-quote:hover { color: var(--navy); }
.ec-drawer__cta .ec-phone { justify-content: center; font-size: 18px; color: var(--navy); }

.ec-overlay {
  position: fixed; inset: 0; background: rgba(10,31,68,.45);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  z-index: 1090;
}
.ec-overlay.is-open { opacity: 1; visibility: visible; }

/* ---- Responsive header ------------------------------------------------- */
@media (max-width: 1100px) {
  .ec-nav, .ec-header__cta { display: none; }
  .ec-burger { display: inline-flex; }
  :root { --header-h: 72px; }
  .ec-logo img { width: 185px; }
}

/* ==========================================================================
   FOOTER  (injected via assets/js/footer.js into #site-footer)
   ========================================================================== */
#site-footer { display: block; }
.ec-footer {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  font-family: var(--font);
  padding: 64px 24px 0;
}
.ec-footer__inner { max-width: var(--container); margin: 0 auto; }
.ec-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.ec-footer__brand img { width: 230px; height: auto; margin-bottom: 18px; }
.ec-footer__brand p { line-height: 1.7; font-size: 15.5px; max-width: 360px; }
.ec-social { display: flex; gap: 12px; margin-top: 22px; }
.ec-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  display: grid; place-items: center; color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ec-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.ec-social svg { width: 18px; height: 18px; }

.ec-footer__col h3 { color: #fff; font-size: 19px; font-weight: 600; margin: 0 0 20px; }
.ec-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ec-footer__links a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.ec-footer__links a:hover { color: var(--gold); padding-left: 4px; }

.ec-footer__contact { display: flex; flex-direction: column; gap: 18px; }
.ec-footer__contact .row { display: flex; align-items: flex-start; gap: 12px; }
.ec-footer__contact .ic {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(212,160,23,.16); color: var(--gold);
  display: grid; place-items: center;
}
.ec-footer__contact .ic svg { width: 18px; height: 18px; }
.ec-footer__contact a, .ec-footer__contact span { color: rgba(255,255,255,.88); text-decoration: none; }
.ec-footer__contact a:hover { color: var(--gold); }
.ec-footer__contact .lbl { display: block; font-size: 13px; opacity: .6; margin-bottom: 2px; }

.ec-footer__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 14px;
}
.ec-footer__bar a { color: rgba(255,255,255,.82); text-decoration: none; }
.ec-footer__bar a:hover { color: var(--gold); }
.ec-footer__bar .sep { opacity: .4; margin: 0 8px; }
.ec-footer__disc {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0 40px;
  font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.55); text-align: center;
}

@media (max-width: 900px) {
  .ec-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ec-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ec-footer__top { grid-template-columns: 1fr; }
  .ec-footer__bar { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Scroll-in animations (main.js adds .is-visible via IntersectionObserver)
   ========================================================================== */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---- Generic FAQ accordion (main.js) ---------------------------------- */
.ec-faq__panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
html { scroll-behavior: smooth; }

/* ---- Replace the off-brand lime-green case-study/screen background ----- */
.bg-\[url\(\/new\/home-img\/screen-bg\.png\)\] {
  background-image: linear-gradient(135deg, #eef2fb 0%, #e3ebf8 100%) !important;
}

/* ---- Carousel (case studies + testimonials) --------------------------- */
.ec-carousel-track { will-change: transform; }
.ec-carousel-btn { cursor: pointer; }
.ec-carousel-btn svg { transition: color .2s ease; }
.ec-carousel-btn:hover svg { color: var(--gold); }
/* dots are recolored inline by main.js; give them a pointer + size guard */
.ec-dot { cursor: pointer; }

/* ---- Pricing tabs: make the tab buttons clearly interactive ----------- */
.up_price button { cursor: pointer; }

/* ======================================================================
   Shared section heading helpers
   ====================================================================== */
.ec-eyebrow { display:inline-block; color:var(--gold-2); font-weight:700; letter-spacing:1.6px; text-transform:uppercase; font-size:13px; margin-bottom:12px; }
.ec-sec-head { max-width:720px; margin:0 auto 44px; text-align:center; }
.ec-sec-head h2 { font-size:clamp(28px,4vw,46px); line-height:1.15; color:var(--navy); font-weight:700; margin:0 0 14px; }
.ec-sec-head p { color:var(--muted); font-size:17px; line-height:1.6; margin:0; }
.ec-sec-head a { color:var(--gold-2); font-weight:600; text-decoration:none; }
.ec-sec-head a:hover { text-decoration:underline; }

/* ======================================================================
   Mega-menu hover bridge (keeps panel open while crossing the gap).
   .ec-mega stays position:static so the wide panel centres on the header.
   ====================================================================== */
.ec-mega__panel::before { content:""; position:absolute; left:0; right:0; top:-26px; height:30px; }

/* ======================================================================
   Contact page: replace sky-blue panel with brand navy
   ====================================================================== */
.bg-\[url\(\/new\/contact\/sct2-bg\.png\)\] {
  background-image: linear-gradient(135deg, #0A1F44 0%, #14305f 100%) !important;
}

/* "I'm interested in..." selectable options */
.ec-interest { cursor: pointer; }
.ec-interest .ec-ibox {
  width:18px; height:18px; border:1.5px solid currentColor; border-radius:5px;
  display:inline-flex; align-items:center; justify-content:center; font-size:12px; line-height:1;
  flex:0 0 auto; transition:all .18s ease;
}
.ec-interest.is-checked { background:var(--navy) !important; color:#fff !important; border-color:var(--navy) !important; }
.ec-interest.is-checked .ec-ibox { background:var(--gold); border-color:var(--gold); color:var(--navy); }
.ec-form-status { margin-top:16px; font-weight:600; }
.ec-form-status.ok { color:#15803d; }

/* ======================================================================
   FAQ accordion (rebuilt — all answers present, fully toggling)
   ====================================================================== */
.ec-faq-sec { background:#fff; padding:72px 24px; }
.ec-faq-wrap { max-width:var(--container); margin:0 auto; }
.ec-faq { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
.ec-faq__col { display:flex; flex-direction:column; gap:18px; }
.ec-faq__item { background:#fff; border:1px solid rgba(10,31,68,.12); border-radius:14px; overflow:hidden; transition:box-shadow .25s ease, border-color .25s ease; }
.ec-faq__item.is-open { border-color:var(--gold); box-shadow:0 12px 30px rgba(10,31,68,.08); }
.ec-faq__q {
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:0; cursor:pointer; padding:20px 22px; text-align:left;
  font-family:var(--font); font-size:17px; font-weight:600; color:var(--navy);
}
.ec-faq__ic { position:relative; flex:0 0 auto; width:32px; height:32px; border-radius:50%; background:var(--gold); }
.ec-faq__ic::before, .ec-faq__ic::after { content:""; position:absolute; top:50%; left:50%; background:var(--navy); border-radius:2px; transform:translate(-50%,-50%); transition:transform .25s ease, opacity .25s ease; }
.ec-faq__ic::before { width:13px; height:2.5px; }
.ec-faq__ic::after  { width:2.5px; height:13px; }
.ec-faq__item.is-open .ec-faq__ic::after { transform:translate(-50%,-50%) rotate(90deg); opacity:0; }
.ec-faq__a { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.ec-faq__a p { margin:0; padding:0 22px 22px; color:var(--muted); line-height:1.65; font-size:15.5px; }
@media (max-width:820px){ .ec-faq { grid-template-columns:1fr; } }

/* ======================================================================
   Pricing & Plans (real in-place tabs, rendered by main.js)
   ====================================================================== */
.ec-pricing-sec { background:linear-gradient(180deg,#f6f8fd 0%,#fff 100%); padding:72px 24px; }
.ec-pricing-wrap { max-width:var(--container); margin:0 auto; }
.ec-ptabs { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:40px; }
.ec-ptab {
  padding:11px 26px; border-radius:9999px; font-size:15px; font-weight:600; cursor:pointer;
  border:1.5px solid rgba(10,31,68,.15); background:#fff; color:var(--navy); font-family:var(--font);
  transition:all .2s ease;
}
.ec-ptab:hover { border-color:var(--gold); color:var(--gold-2); }
.ec-ptab.is-active { background:var(--navy); border-color:var(--navy); color:#fff; }
.ec-ppanel { display:none; }
.ec-ppanel.is-active { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; align-items:stretch; }
.ec-pcard {
  display:flex; flex-direction:column; background:#fff; border:1px solid rgba(10,31,68,.1);
  border-radius:20px; padding:30px 26px; box-shadow:0 12px 34px rgba(10,31,68,.07);
  transition:transform .25s ease, box-shadow .25s ease;
}
.ec-pcard:hover { transform:translateY(-6px); box-shadow:0 22px 50px rgba(10,31,68,.14); }
.ec-pcard.is-popular { background:linear-gradient(160deg,#0A1F44 0%,#14305f 100%); color:#fff; border-color:transparent; position:relative; }
.ec-pcard__badge { align-self:flex-start; background:var(--gold); color:var(--navy); font-size:12px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; padding:5px 14px; border-radius:9999px; margin-bottom:16px; }
.ec-pcard h3 { font-size:22px; font-weight:700; margin:0 0 8px; line-height:1.25; }
.ec-pcard .ec-pcard__for { font-size:13.5px; color:var(--muted); margin:0 0 20px; line-height:1.5; }
.ec-pcard.is-popular .ec-pcard__for { color:rgba(255,255,255,.75); }
.ec-pcard ul { list-style:none; padding:0; margin:0 0 26px; display:flex; flex-direction:column; gap:11px; flex:1; }
.ec-pcard li { position:relative; padding-left:28px; font-size:14.5px; line-height:1.5; color:var(--ink); }
.ec-pcard.is-popular li { color:rgba(255,255,255,.9); }
.ec-pcard li::before { content:""; position:absolute; left:0; top:4px; width:17px; height:17px; border-radius:50%; background:var(--gold); }
.ec-pcard li::after { content:""; position:absolute; left:6px; top:8px; width:5px; height:8px; border-right:2px solid var(--navy); border-bottom:2px solid var(--navy); transform:rotate(45deg); }
.ec-pcard__cta {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none;
  background:var(--navy); color:#fff; border:2px solid var(--navy); border-radius:9999px;
  padding:13px 24px; font-weight:700; font-size:15px; transition:all .2s ease;
}
.ec-pcard__cta:hover { background:var(--gold); border-color:var(--gold); color:var(--navy); }
.ec-pcard.is-popular .ec-pcard__cta { background:var(--gold); border-color:var(--gold); color:var(--navy); }
.ec-pcard.is-popular .ec-pcard__cta:hover { background:#fff; border-color:#fff; }
@media (max-width:900px){ .ec-ppanel.is-active { grid-template-columns:1fr; max-width:440px; margin:0 auto; } }

/* ======================================================================
   Blog post (article) pages
   ====================================================================== */
.ec-post-hero { background:linear-gradient(135deg,#0A1F44 0%,#14305f 100%); color:#fff; padding:64px 24px 56px; }
.ec-post-hero__in { max-width:820px; margin:0 auto; }
.ec-post-cat { display:inline-block; background:var(--gold); color:var(--navy); font-size:12px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; padding:6px 14px; border-radius:9999px; margin-bottom:18px; }
.ec-post-hero h1 { font-size:clamp(28px,4.5vw,46px); line-height:1.18; font-weight:700; margin:0 0 16px; }
.ec-post-meta { color:rgba(255,255,255,.7); font-size:14.5px; font-weight:500; }
.ec-post-body { max-width:760px; margin:0 auto; padding:54px 24px 72px; }
.ec-post-body p { color:var(--ink); font-size:17px; line-height:1.8; margin:0 0 22px; }
.ec-post-body h2 { color:var(--navy); font-size:26px; font-weight:700; margin:38px 0 14px; }
.ec-post-body ul { margin:0 0 22px; padding-left:22px; }
.ec-post-body li { color:var(--ink); font-size:16.5px; line-height:1.75; margin-bottom:10px; }
.ec-post-body strong { color:var(--navy); }
.ec-post-cta { margin-top:44px; background:#f6f8fd; border:1px solid rgba(10,31,68,.1); border-radius:18px; padding:30px; text-align:center; }
.ec-post-cta h3 { color:var(--navy); font-size:22px; margin:0 0 10px; }
.ec-post-cta p { font-size:15.5px; margin:0 0 20px; }
.ec-post-back { display:inline-flex; align-items:center; gap:8px; color:var(--gold-2); font-weight:700; text-decoration:none; margin-bottom:26px; }
.ec-post-back:hover { color:var(--navy); }

/* ---- Static blog index (replaces the dead React "Loading..." state) --- */
.ec-blog-filter {
  padding: 9px 20px; border-radius: 9999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(10,31,68,.15); background: #fff; color: var(--navy);
  cursor: pointer; transition: all .2s ease; font-family: var(--font);
}
.ec-blog-filter:hover { border-color: var(--gold); color: var(--gold-2); }
.ec-blog-filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.ec-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: var(--container); margin: 0 auto; text-align: left;
}
.ec-blog-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: 0 10px 30px rgba(10,31,68,.08);
  border: 1px solid rgba(10,31,68,.06); transition: transform .25s ease, box-shadow .25s ease;
}
.ec-blog-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(10,31,68,.16); }
.ec-blog-card__top {
  height: 120px; background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  display: flex; align-items: flex-start; padding: 18px;
}
.ec-blog-card[data-ec-cat="amazon"]   .ec-blog-card__top { background: linear-gradient(135deg,#0A1F44,#b8890f); }
.ec-blog-card[data-ec-cat="tiktok"]    .ec-blog-card__top { background: linear-gradient(135deg,#0A1F44,#1a3a6e); }
.ec-blog-card[data-ec-cat="shopify"]   .ec-blog-card__top { background: linear-gradient(135deg,#14305f,#0A1F44); }
.ec-blog-card[data-ec-cat="walmart"]   .ec-blog-card__top { background: linear-gradient(135deg,#0A1F44,#14305f); }
.ec-blog-card[data-ec-cat="strategy"]  .ec-blog-card__top { background: linear-gradient(135deg,#D4A017,#0A1F44); }
.ec-blog-cat {
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3);
  padding: 5px 14px; border-radius: 9999px; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
}
.ec-blog-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ec-blog-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.ec-blog-card__body h3 { font-size: 19px; line-height: 1.35; color: var(--navy); font-weight: 700; margin: 0 0 10px; }
.ec-blog-card__body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; flex: 1; }
.ec-blog-link {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  color: var(--gold-2); font-weight: 700; font-size: 14.5px; text-decoration: none;
  transition: gap .2s ease, color .2s ease;
}
.ec-blog-link:hover { color: var(--navy); gap: 12px; }
.ec-blog-card.is-hidden { display: none; }

@media (max-width: 900px) { .ec-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ec-blog-grid { grid-template-columns: 1fr; } }
