/*
Theme Name: Blog Matrix Premium PHP Final
Theme URI: https://blogmatrix.in
Author: Blog Matrix
Author URI: https://blogmatrix.in
Description: A publish-ready premium classic PHP WordPress agency theme for Blog Matrix with conversion-focused blog, SEO structure, responsive layouts, and lightweight interactions.
Version: 8.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blog-matrix-premium-php
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, right-sidebar, blog, portfolio, threaded-comments, translation-ready
*/

/* ==============================
   Blog Matrix Premium PHP Theme
   ============================== */

:root{
  --bm-navy:#06152f;
  --bm-navy-2:#0a2250;
  --bm-ink:#0b1220;
  --bm-blue:#126bff;
  --bm-sky:#38bdf8;
  --bm-soft:#f4f7fb;
  --bm-soft-2:#edf4ff;
  --bm-line:#e3ebf6;
  --bm-muted:#64748b;
  --bm-white:#ffffff;
  --bm-success:#16a34a;
  --bm-radius-xs:10px;
  --bm-radius-sm:16px;
  --bm-radius-md:24px;
  --bm-radius-lg:36px;
  --bm-shadow-sm:0 14px 36px rgba(6,21,47,.07);
  --bm-shadow-md:0 24px 70px rgba(6,21,47,.10);
  --bm-shadow-blue:0 24px 70px rgba(18,107,255,.18);
  --bm-container:1220px;
  --bm-content:820px;
  --bm-ease:cubic-bezier(.22,1,.36,1);
  --bm-head:"Plus Jakarta Sans",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --bm-body:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bm-white);
  color:var(--bm-ink);
  font-family:var(--bm-body);
  font-size:17px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.menu-open{overflow:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--bm-blue)}
p{margin:0 0 1.1rem;color:var(--bm-muted)}
h1,h2,h3,h4,h5,h6{
  font-family:var(--bm-head);
  color:var(--bm-navy);
  line-height:1.05;
  letter-spacing:-.045em;
  margin:0 0 1rem;
  font-weight:850;
}
h1{font-size:clamp(44px,7vw,92px)}
h2{font-size:clamp(34px,5vw,64px)}
h3{font-size:clamp(23px,3vw,34px)}
h4{font-size:22px}
ul,ol{padding-left:1.35rem}
::selection{background:var(--bm-blue);color:white}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}
:where(a,button,input,textarea,select):focus-visible{
  outline:3px solid rgba(18,107,255,.42);
  outline-offset:3px;
}

.bm-container{
  width:min(calc(100% - 40px),var(--bm-container));
  margin-inline:auto;
}
.bm-narrow{
  width:min(calc(100% - 40px),var(--bm-content));
  margin-inline:auto;
}
.bm-section{padding:clamp(74px,9vw,126px) 0}
.bm-section-sm{padding:clamp(52px,7vw,90px) 0}
.bm-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.bm-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bm-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.bm-center{text-align:center}
.bm-center .bm-lead{margin-left:auto;margin-right:auto}
.bm-lead{font-size:clamp(18px,2vw,22px);line-height:1.65;color:#40516a;max-width:790px}
.bm-small{font-size:14px;color:var(--bm-muted)}
.bm-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--bm-blue);
  font-size:12px;
  line-height:1.2;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.16em;
  margin-bottom:18px;
}
.bm-kicker:before{
  content:"";
  width:28px;height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--bm-blue),var(--bm-sky));
}
.bm-btn,
input[type="submit"],
button.bm-submit{
  appearance:none;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  padding:14px 21px;
  border-radius:999px;
  background:var(--bm-navy);
  color:#fff!important;
  font-weight:850;
  font-size:14px;
  line-height:1;
  letter-spacing:-.01em;
  box-shadow:0 16px 38px rgba(6,21,47,.15);
  cursor:pointer;
  transition:transform .22s var(--bm-ease),box-shadow .22s var(--bm-ease),background .22s var(--bm-ease),color .22s var(--bm-ease),border-color .22s var(--bm-ease);
}
.bm-btn:hover,
input[type="submit"]:hover,
button.bm-submit:hover{
  transform:translateY(-2px);
  background:var(--bm-blue);
  box-shadow:var(--bm-shadow-blue);
  color:#fff!important;
}
.bm-btn.secondary{
  background:#fff;
  color:var(--bm-navy)!important;
  border:1px solid var(--bm-line);
  box-shadow:none;
}
.bm-btn.secondary:hover{
  color:var(--bm-blue)!important;
  border-color:rgba(18,107,255,.32);
  box-shadow:0 12px 34px rgba(18,107,255,.09);
}
.bm-btn.white{
  background:#fff;
  color:var(--bm-navy)!important;
  box-shadow:none;
}
.bm-card{
  background:#fff;
  border:1px solid var(--bm-line);
  border-radius:var(--bm-radius-md);
  box-shadow:var(--bm-shadow-sm);
}
.bm-card-hover{
  transition:transform .24s var(--bm-ease),box-shadow .24s var(--bm-ease),border-color .24s var(--bm-ease);
}
.bm-card-hover:hover{
  transform:translateY(-6px);
  box-shadow:var(--bm-shadow-md);
  border-color:rgba(18,107,255,.25);
}
.bm-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--bm-line);
  border-radius:999px;
  padding:8px 13px;
  background:#fff;
  color:var(--bm-muted);
  font-size:13px;
  font-weight:760;
}
.bm-dot{
  width:8px;height:8px;
  border-radius:999px;
  background:var(--bm-blue);
  box-shadow:0 0 0 5px rgba(18,107,255,.1);
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(16px);
  border-bottom:1px solid rgba(227,235,246,.84);
  transition:box-shadow .2s var(--bm-ease),background .2s var(--bm-ease);
}
.admin-bar .site-header{top:32px}
.site-header.is-scrolled{box-shadow:0 14px 42px rgba(6,21,47,.07)}
.bm-header-inner{
  width:min(calc(100% - 40px),1280px);
  min-height:78px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-branding a{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--bm-navy);
}
.custom-logo{max-height:52px;width:auto}
.bm-logo-mark{
  width:44px;height:44px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
  color:white;
  font-family:var(--bm-head);
  font-weight:900;
  letter-spacing:-.05em;
  box-shadow:0 16px 36px rgba(18,107,255,.2);
}
.bm-logo-text{
  font-family:var(--bm-head);
  font-size:21px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.045em;
}
.site-navigation{display:flex;align-items:center;gap:18px}
.primary-menu,.primary-menu ul{
  list-style:none;
  margin:0;
  padding:0;
}
.primary-menu{
  display:flex;
  align-items:center;
  gap:3px;
}
.primary-menu li{position:relative}
.primary-menu a{
  display:flex;
  align-items:center;
  padding:12px 13px;
  border-radius:999px;
  color:#172033;
  font-size:14px;
  font-weight:800;
  line-height:1;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a{
  background:#f1f6ff;
  color:var(--bm-blue);
}
.primary-menu .sub-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  z-index:10;
  min-width:240px;
  display:none;
  padding:10px;
  background:#fff;
  border:1px solid var(--bm-line);
  border-radius:20px;
  box-shadow:var(--bm-shadow-md);
}
.primary-menu li:hover > .sub-menu{display:block}
.primary-menu .sub-menu a{
  justify-content:space-between;
  padding:11px 12px;
  border-radius:14px;
}
.bm-menu-toggle{
  display:none;
  width:46px;height:46px;
  min-height:46px;
  padding:0;
  border:1px solid var(--bm-line);
  border-radius:16px;
  background:#fff;
  color:var(--bm-navy);
  box-shadow:none;
  cursor:pointer;
}
.bm-menu-toggle span,
.bm-menu-toggle span:before,
.bm-menu-toggle span:after{
  display:block;
  width:19px;
  height:2px;
  border-radius:99px;
  background:currentColor;
  transition:transform .2s var(--bm-ease),top .2s var(--bm-ease),opacity .2s var(--bm-ease);
}
.bm-menu-toggle span{position:relative;margin:auto}
.bm-menu-toggle span:before,
.bm-menu-toggle span:after{
  content:"";
  position:absolute;
  left:0;
}
.bm-menu-toggle span:before{top:-6px}
.bm-menu-toggle span:after{top:6px}
.bm-menu-toggle[aria-expanded="true"] span{background:transparent}
.bm-menu-toggle[aria-expanded="true"] span:before{top:0;transform:rotate(45deg)}
.bm-menu-toggle[aria-expanded="true"] span:after{top:0;transform:rotate(-45deg)}
.bm-mobile-cta{display:none}

/* Hero */
.bm-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(72px,10vw,138px) 0 clamp(50px,8vw,92px);
  background:
    radial-gradient(circle at 85% 16%,rgba(56,189,248,.20),transparent 32%),
    radial-gradient(circle at 8% 82%,rgba(18,107,255,.10),transparent 35%),
    linear-gradient(180deg,#fff 0%,#f7faff 100%);
  border-bottom:1px solid var(--bm-line);
}
.bm-hero:after{
  content:"";
  position:absolute;
  right:-12vw;
  top:12%;
  width:min(54vw,720px);
  height:min(54vw,720px);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(18,107,255,.13),rgba(56,189,248,.07));
  pointer-events:none;
}
.bm-hero-grid{
  width:min(calc(100% - 40px),1280px);
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:clamp(36px,5vw,80px);
  align-items:center;
  position:relative;
  z-index:1;
}
.bm-hero h1{max-width:820px;margin-bottom:22px}
.bm-hero .bm-lead{margin-bottom:30px}
.bm-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:31px;
}
.bm-proof-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.bm-dashboard{
  position:relative;
  padding:28px;
  border-radius:34px;
  background:#fff;
  border:1px solid var(--bm-line);
  box-shadow:var(--bm-shadow-md);
}
.bm-dashboard:before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(18,107,255,.08);
  border-radius:26px;
  pointer-events:none;
}
.bm-dashboard-head{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--bm-line);
  padding-bottom:18px;
  margin-bottom:20px;
}
.bm-mini-brand{display:flex;align-items:center;gap:10px;color:var(--bm-navy);font-family:var(--bm-head);font-weight:900}
.bm-status{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#e9fbf4;
  color:#0f9f6e;
  font-size:12px;
  font-weight:900;
}
.bm-bars{display:grid;gap:12px;margin:20px 0;position:relative;z-index:1}
.bm-bar{height:12px;background:#eaf0f8;border-radius:999px;overflow:hidden}
.bm-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--bm-blue),var(--bm-sky))}
.bm-metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;position:relative;z-index:1}
.bm-metric{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--bm-line);
  background:#f7faff;
}
.bm-metric strong{
  display:block;
  font-family:var(--bm-head);
  font-size:24px;
  line-height:1;
  color:var(--bm-navy);
  letter-spacing:-.04em;
}
.bm-metric span{
  display:block;
  margin-top:8px;
  color:var(--bm-muted);
  font-size:12px;
  font-weight:760;
}
.bm-feed{
  display:grid;
  gap:10px;
  margin-top:16px;
  position:relative;
  z-index:1;
}
.bm-feed-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:12px;
  border:1px solid var(--bm-line);
  border-radius:16px;
}
.bm-feed-item b{font-size:13px;color:var(--bm-navy)}
.bm-feed-item span{font-size:12px;color:var(--bm-muted);font-weight:700}
.bm-trust-strip{
  width:min(calc(100% - 40px),1280px);
  margin:32px auto 0;
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--bm-line);
  border-radius:25px;
  background:#fff;
  overflow:hidden;
}
.bm-trust-item{
  padding:22px;
  border-right:1px solid var(--bm-line);
}
.bm-trust-item:last-child{border-right:0}
.bm-trust-item strong{
  display:block;
  color:var(--bm-navy);
  font-family:var(--bm-head);
  font-size:27px;
  line-height:1;
  letter-spacing:-.04em;
}
.bm-trust-item span{
  display:block;
  margin-top:8px;
  color:var(--bm-muted);
  font-size:13px;
  font-weight:720;
}

/* Services */
.bm-service-card{
  padding:29px;
  min-height:315px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.bm-service-icon{
  width:50px;height:50px;
  margin-bottom:22px;
  border-radius:17px;
  display:grid;
  place-items:center;
  color:var(--bm-blue);
  background:#f1f6ff;
  font-size:22px;
  font-weight:900;
}
.bm-service-card h3{font-size:29px}
.bm-service-card p{font-size:15.7px;line-height:1.65}
.bm-link{
  color:var(--bm-navy);
  font-size:14px;
  font-weight:900;
}
.bm-link:after{content:" →";color:var(--bm-blue)}

/* Dark process */
.bm-dark{
  background:var(--bm-navy);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.bm-dark:before{
  content:"";
  position:absolute;
  inset:auto -10% -30% auto;
  width:520px;height:520px;
  border-radius:999px;
  background:rgba(56,189,248,.11);
  filter:blur(1px);
}
.bm-dark h2,.bm-dark h3,.bm-dark h4{color:#fff}
.bm-dark p{color:#bdc9dc}
.bm-dark .bm-kicker{color:#72caff}
.bm-dark .bm-kicker:before{background:#72caff}
.bm-dark-inner{position:relative;z-index:1}
.bm-process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  margin-top:34px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:29px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}
.bm-process-step{
  padding:31px;
  border-right:1px solid rgba(255,255,255,.13);
}
.bm-process-step:last-child{border-right:0}
.bm-process-step span{
  width:38px;height:38px;
  display:grid;
  place-items:center;
  margin-bottom:22px;
  border-radius:999px;
  background:rgba(56,189,248,.12);
  color:#72caff;
  font-weight:900;
}
.bm-process-step h3{font-size:24px}
.bm-process-step p{font-size:15px;margin-bottom:0}

/* Proof */
.bm-split{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(34px,5vw,80px);
  align-items:start;
}
.bm-feature-list{display:grid;gap:15px}
.bm-feature{
  padding:23px;
  border:1px solid var(--bm-line);
  border-radius:21px;
  background:#fff;
}
.bm-feature h3{font-size:23px;margin-bottom:8px}
.bm-feature p{font-size:15.5px;margin-bottom:0}

/* Pricing */
.bm-pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  align-items:stretch;
}
.bm-price-card{
  position:relative;
  padding:31px;
  display:flex;
  flex-direction:column;
}
.bm-price-card.featured{
  border:2px solid var(--bm-blue);
  box-shadow:0 28px 80px rgba(18,107,255,.15);
}
.bm-price-card .tag{
  width:max-content;
  display:inline-flex;
  margin-bottom:18px;
  border-radius:999px;
  padding:6px 10px;
  background:#eaf3ff;
  color:var(--bm-blue);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bm-price{
  margin:18px 0 7px;
  font-family:var(--bm-head);
  color:var(--bm-navy);
  font-size:43px;
  line-height:1;
  letter-spacing:-.06em;
}
.bm-price small{
  font-size:14px;
  color:var(--bm-muted);
  letter-spacing:0;
}
.bm-check-list{
  list-style:none;
  padding:0;
  margin:24px 0;
  display:grid;
  gap:12px;
}
.bm-check-list li{
  display:flex;
  gap:10px;
  color:#35445d;
  font-size:15.5px;
}
.bm-check-list li:before{
  content:"✓";
  color:var(--bm-blue);
  font-weight:900;
}
.bm-price-card .bm-btn{margin-top:auto;width:100%}

/* CTA */
.bm-cta{
  width:min(calc(100% - 40px),1280px);
  margin:clamp(74px,9vw,126px) auto;
  padding:clamp(38px,6vw,76px);
  border-radius:36px;
  background:
    radial-gradient(circle at 82% 10%,rgba(56,189,248,.24),transparent 32%),
    linear-gradient(135deg,var(--bm-navy),#0d2b5d);
  color:#fff;
  overflow:hidden;
}
.bm-cta h2{color:#fff;max-width:780px}
.bm-cta p{color:#c9d7ec;max-width:700px}

/* Page hero */
.bm-page-hero{
  padding:clamp(56px,8vw,108px) 0 clamp(40px,6vw,72px);
  background:
    radial-gradient(circle at 84% 18%,rgba(56,189,248,.18),transparent 30%),
    linear-gradient(180deg,#fff 0%,#f7faff 100%);
  border-bottom:1px solid var(--bm-line);
}
.bm-page-hero .bm-narrow{max-width:900px}

/* Blog */
.bm-blog-layout{
  width:min(calc(100% - 40px),1280px);
  margin:clamp(48px,7vw,86px) auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:43px;
  align-items:start;
}
.bm-post-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.bm-post-card{
  overflow:hidden;
  display:flex;
  min-height:100%;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--bm-line);
  border-radius:24px;
  box-shadow:var(--bm-shadow-sm);
  transition:transform .24s var(--bm-ease),box-shadow .24s var(--bm-ease),border-color .24s var(--bm-ease);
}
.bm-post-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--bm-shadow-md);
  border-color:rgba(18,107,255,.22);
}
.bm-post-card.featured{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:390px;
}
.bm-post-thumb{
  min-height:220px;
  background:linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
  overflow:hidden;
}
.bm-post-card.featured .bm-post-thumb{min-height:100%}
.bm-post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.bm-placeholder-thumb{
  width:100%;height:100%;
  display:grid;
  place-items:center;
  color:#fff;
  font-family:var(--bm-head);
  font-size:42px;
  font-weight:900;
}
.bm-post-content{padding:25px}
.bm-post-card.featured .bm-post-content{
  padding:38px;
  align-self:center;
}
.bm-post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:12px;
  color:var(--bm-muted);
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bm-post-meta a{color:var(--bm-blue)}
.bm-post-card h2{
  font-size:clamp(24px,3vw,43px);
  margin-bottom:12px;
}
.bm-post-card:not(.featured) h2{
  font-size:24px;
  letter-spacing:-.035em;
}
.bm-post-card p{
  font-size:15.5px;
  line-height:1.62;
}
.bm-sidebar{
  position:sticky;
  top:105px;
  display:grid;
  gap:18px;
}
.bm-sidebar-widget{
  padding:24px;
  border:1px solid var(--bm-line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--bm-shadow-sm);
}
.bm-sidebar-widget h3{
  font-size:21px;
  margin-bottom:18px;
}
.bm-sidebar-widget ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.bm-sidebar-widget li a{
  font-size:14px;
  color:var(--bm-navy);
  font-weight:850;
}
.bm-sidebar-widget li a:hover{color:var(--bm-blue)}
.search-form{
  display:flex;
  gap:8px;
}
.search-form label{flex:1}
.search-field,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select{
  width:100%;
  min-height:50px;
  padding:13px 15px;
  border:1px solid var(--bm-line);
  border-radius:16px;
  background:#fff;
  color:var(--bm-ink);
  font:inherit;
  outline:0;
}
textarea{min-height:145px;resize:vertical}
.search-field:focus,
input:focus,
textarea:focus,
select:focus{
  border-color:rgba(18,107,255,.46);
  box-shadow:0 0 0 4px rgba(18,107,255,.08);
}
.search-submit{
  width:50px;
  min-width:50px;
  border-radius:16px;
  padding:0;
}
.bm-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:36px;
  flex-wrap:wrap;
}
.bm-pagination .page-numbers{
  min-width:42px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border:1px solid var(--bm-line);
  border-radius:999px;
  background:#fff;
  color:var(--bm-navy);
  font-weight:850;
}
.bm-pagination .current,
.bm-pagination a:hover{
  background:var(--bm-navy);
  color:#fff;
  border-color:var(--bm-navy);
}

/* Single */
.bm-single{
  width:min(calc(100% - 40px),850px);
  margin:clamp(52px,7vw,92px) auto;
}
.bm-single-header{
  text-align:center;
  margin-bottom:35px;
}
.bm-single h1{
  font-size:clamp(40px,6vw,72px);
}
.bm-single-thumb{
  margin:35px 0;
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--bm-shadow-sm);
}
.bm-entry-content{
  font-size:18px;
}
.bm-entry-content > *{margin-bottom:1.45rem}
.bm-entry-content h2{font-size:39px;margin-top:2.35rem}
.bm-entry-content h3{font-size:29px;margin-top:2rem}
.bm-entry-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
.bm-entry-content blockquote{
  margin:2rem 0;
  padding:24px 28px;
  border-left:4px solid var(--bm-blue);
  border-radius:18px;
  background:#f7faff;
  color:var(--bm-navy);
  font-family:var(--bm-head);
  font-size:22px;
  line-height:1.45;
}
.bm-author-box{
  display:flex;
  gap:16px;
  align-items:center;
  margin:44px 0;
  padding:23px;
  border:1px solid var(--bm-line);
  border-radius:23px;
  background:#fff;
  box-shadow:var(--bm-shadow-sm);
}
.bm-author-box img{border-radius:999px}
.bm-post-nav{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin:40px 0;
}
.bm-post-nav a{
  display:block;
  padding:20px;
  border:1px solid var(--bm-line);
  border-radius:20px;
  background:#fff;
  color:var(--bm-navy);
  font-weight:850;
}
.bm-post-nav a:hover{border-color:rgba(18,107,255,.3);color:var(--bm-blue)}
.comments-area{
  width:min(calc(100% - 40px),850px);
  margin:0 auto clamp(56px,8vw,100px);
}
.comment-list{padding:0;list-style:none}
.comment-body{
  padding:22px;
  border:1px solid var(--bm-line);
  border-radius:20px;
  margin-bottom:16px;
}

/* Contact */
.bm-contact-grid{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:28px;
}
.bm-form{
  padding:30px;
}
.bm-form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.bm-form p{margin-bottom:14px}
.bm-form label{
  display:block;
  color:var(--bm-navy);
  font-size:14px;
  font-weight:850;
  margin-bottom:7px;
}

/* 404 */
.bm-error{
  min-height:62vh;
  display:grid;
  place-items:center;
  padding:clamp(72px,10vw,140px) 0;
}

/* Footer */
.site-footer{
  background:var(--bm-navy);
  color:#fff;
  padding:66px 0 30px;
}
.bm-footer-grid{
  width:min(calc(100% - 40px),1280px);
  margin:auto;
  display:grid;
  grid-template-columns:1.15fr repeat(3,1fr);
  gap:38px;
}
.site-footer h3,.site-footer h4{color:#fff;font-size:19px}
.site-footer p,.site-footer a{color:#aebbd1;font-size:15px}
.site-footer a:hover{color:#fff}
.site-footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.bm-footer-bottom{
  width:min(calc(100% - 40px),1280px);
  margin:46px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.13);
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  color:#aebbd1;
  font-size:13px;
}
.bm-whatsapp-float{
  position:fixed;
  right:22px;bottom:22px;
  z-index:999;
  width:58px;height:58px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#25d366;
  color:#fff!important;
  font-size:26px;
  box-shadow:0 18px 44px rgba(37,211,102,.30);
}

/* WordPress content defaults */
.alignwide{width:min(calc(100% - 40px),var(--bm-container));max-width:var(--bm-container);margin-left:auto;margin-right:auto}
.alignfull{width:100%;max-width:100%}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:14px;color:var(--bm-muted);margin-top:8px}
.gallery{display:grid;gap:12px}
.sticky{position:relative}
.bypostauthor{position:relative}

/* Responsive */
@media (max-width:1100px){
  .bm-grid-4,.bm-process-grid,.bm-pricing-grid{grid-template-columns:repeat(2,1fr)}
  .bm-hero-grid,.bm-split,.bm-contact-grid{grid-template-columns:1fr}
  .bm-dashboard{max-width:660px}
  .bm-process-step:nth-child(2){border-right:0}
  .bm-process-step:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.13)}
  .bm-blog-layout{grid-template-columns:1fr}
  .bm-sidebar{position:static}
  .bm-footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:980px){
  .bm-menu-toggle{display:inline-flex}
  .site-navigation .primary-menu{
    position:fixed;
    top:79px;
    left:20px;
    right:20px;
    max-height:calc(100vh - 104px);
    overflow:auto;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    padding:14px;
    background:#fff;
    border:1px solid var(--bm-line);
    border-radius:24px;
    box-shadow:var(--bm-shadow-md);
  }
  .site-navigation .primary-menu.is-open{display:flex}
  .primary-menu a{
    justify-content:space-between;
    border-radius:16px;
    padding:15px 14px;
  }
  .primary-menu .sub-menu{
    position:static;
    display:block;
    box-shadow:none;
    border:0;
    padding:0 0 0 12px;
    background:transparent;
  }
  .bm-header-cta{display:none}
  .bm-mobile-cta{display:flex;padding:10px 14px 0}
  .bm-mobile-cta .bm-btn{width:100%}
}
@media (max-width:782px){
  .admin-bar .site-header{top:0}
}
@media (max-width:720px){
  body{font-size:16px}
  .bm-container,.bm-hero-grid,.bm-trust-strip,.bm-blog-layout,.bm-single,.comments-area,.bm-footer-grid,.bm-footer-bottom,.bm-cta{
    width:min(calc(100% - 28px),var(--bm-container));
  }
  .bm-header-inner{width:min(calc(100% - 28px),1280px);min-height:68px}
  .site-navigation .primary-menu{top:70px;left:14px;right:14px}
  .bm-logo-mark{width:40px;height:40px}
  .bm-logo-text{font-size:18px}
  .bm-hero{padding:56px 0 38px}
  .bm-hero h1{font-size:clamp(40px,12vw,60px)}
  .bm-hero-actions{flex-direction:column}
  .bm-hero-actions .bm-btn{width:100%}
  .bm-proof-row{display:grid}
  .bm-metric-grid,.bm-grid-2,.bm-grid-3,.bm-grid-4,.bm-process-grid,.bm-pricing-grid,.bm-post-grid,.bm-footer-grid,.bm-form-row,.bm-post-nav{grid-template-columns:1fr}
  .bm-trust-strip{grid-template-columns:1fr}
  .bm-trust-item{border-right:0;border-bottom:1px solid var(--bm-line)}
  .bm-trust-item:last-child{border-bottom:0}
  .bm-process-step{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
  .bm-process-step:last-child{border-bottom:0!important}
  .bm-post-card.featured{grid-template-columns:1fr}
  .bm-post-card.featured .bm-post-content{padding:25px}
  .bm-footer-bottom{display:grid}
  .bm-whatsapp-float{width:54px;height:54px;right:16px;bottom:16px}
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.001ms!important;
  }
}


/* =====================================================
   V2 Premium Blog Upgrade + High-Intent Motion System
   ===================================================== */

:root{
  --bm-glow-blue: rgba(18,107,255,.18);
  --bm-glow-sky: rgba(56,189,248,.20);
  --bm-deep-card: #081936;
}

/* Animated premium backgrounds */
.bm-animated-surface{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.bm-animated-surface:before,
.bm-animated-surface:after{
  content:"";
  position:absolute;
  z-index:-1;
  border-radius:999px;
  filter:blur(4px);
  opacity:.9;
  animation: bmFloatGlow 12s var(--bm-ease) infinite alternate;
}
.bm-animated-surface:before{
  width:42vw;
  height:42vw;
  max-width:620px;
  max-height:620px;
  right:-13vw;
  top:-8vw;
  background:radial-gradient(circle, var(--bm-glow-sky), transparent 68%);
}
.bm-animated-surface:after{
  width:36vw;
  height:36vw;
  max-width:520px;
  max-height:520px;
  left:-14vw;
  bottom:-12vw;
  background:radial-gradient(circle, var(--bm-glow-blue), transparent 70%);
  animation-delay:-4s;
}
@keyframes bmFloatGlow{
  0%{transform:translate3d(0,0,0) scale(1)}
  100%{transform:translate3d(22px,-18px,0) scale(1.08)}
}

.bm-reveal{opacity:1;transform:none;transition:opacity .7s var(--bm-ease),transform .7s var(--bm-ease)}
body.bm-animations-ready .bm-reveal{opacity:1!important;transform:none!important}{opacity:1;transform:translateY(0)}

/* Blog hero */
.bm-blog-hero-v2{
  padding:clamp(66px,9vw,132px) 0 clamp(38px,6vw,78px);
  background:
    radial-gradient(circle at 88% 14%,rgba(56,189,248,.24),transparent 32%),
    radial-gradient(circle at 5% 86%,rgba(18,107,255,.12),transparent 38%),
    linear-gradient(180deg,#fff 0%,#f6faff 100%);
  border-bottom:1px solid var(--bm-line);
}
.bm-blog-hero-grid{
  width:min(calc(100% - 40px),1280px);
  margin:auto;
  display:grid;
  grid-template-columns:1fr 420px;
  gap:clamp(34px,5vw,72px);
  align-items:center;
}
.bm-blog-hero-v2 h1{
  max-width:850px;
  margin-bottom:20px;
}
.bm-blog-hero-panel{
  padding:24px;
  border-radius:32px;
  background:linear-gradient(145deg,var(--bm-navy),#0c2a5c);
  color:#fff;
  box-shadow:0 30px 90px rgba(6,21,47,.18);
  position:relative;
  overflow:hidden;
}
.bm-blog-hero-panel:before{
  content:"";
  position:absolute;
  inset:-30% -20% auto auto;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(56,189,248,.22);
  filter:blur(2px);
}
.bm-blog-hero-panel > *{position:relative;z-index:1}
.bm-blog-hero-panel h3{color:#fff;font-size:25px}
.bm-blog-hero-panel p{color:#c6d5ec}
.bm-blog-topic-stack{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.bm-blog-topic{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.05);
}
.bm-blog-topic b{
  color:#fff;
  font-size:14px;
}
.bm-blog-topic span{
  color:#8bd7ff;
  font-size:12px;
  font-weight:850;
}

/* Premium blog layout */
.bm-blog-layout.bm-blog-layout-premium{
  grid-template-columns:minmax(0,1fr) 360px;
  gap:46px;
}
.bm-blog-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:24px;
  padding:15px;
  border:1px solid var(--bm-line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--bm-shadow-sm);
}
.bm-blog-toolbar-title{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--bm-navy);
  font-weight:900;
  font-size:14px;
}
.bm-live-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--bm-blue);
  box-shadow:0 0 0 6px rgba(18,107,255,.1);
}
.bm-blog-filter-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.bm-blog-filter-pills a{
  padding:8px 11px;
  border:1px solid var(--bm-line);
  border-radius:999px;
  color:var(--bm-muted);
  background:#fff;
  font-size:12px;
  font-weight:850;
}
.bm-blog-filter-pills a:hover{
  color:var(--bm-blue);
  border-color:rgba(18,107,255,.28);
  background:#f4f8ff;
}
.bm-post-grid.bm-premium-post-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

/* New post card style */
.bm-post-card.bm-post-card-v2{
  position:relative;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--bm-line);
  box-shadow:0 16px 42px rgba(6,21,47,.07);
  transform:translateZ(0);
}
.bm-post-card.bm-post-card-v2:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  padding:1px;
  background:linear-gradient(135deg,rgba(18,107,255,.38),rgba(56,189,248,.08),rgba(255,255,255,0));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .26s var(--bm-ease);
  pointer-events:none;
}
.bm-post-card.bm-post-card-v2:hover:before{opacity:1}
.bm-post-card.bm-post-card-v2:hover{
  transform:translateY(-7px);
  box-shadow:0 30px 90px rgba(6,21,47,.12);
}
.bm-post-card.bm-post-card-v2.featured{
  grid-column:1 / -1;
  grid-template-columns:1.08fr .92fr;
  border-radius:34px;
  min-height:430px;
}
.bm-post-card-v2 .bm-post-thumb{
  position:relative;
  min-height:245px;
  background:
    radial-gradient(circle at 80% 20%,rgba(56,189,248,.5),transparent 28%),
    linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
}
.bm-post-card-v2.featured .bm-post-thumb{min-height:100%}
.bm-post-card-v2 .bm-post-thumb:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:45%;
  background:linear-gradient(180deg,transparent,rgba(6,21,47,.40));
  pointer-events:none;
}
.bm-post-card-v2 .bm-placeholder-thumb{
  background:
    radial-gradient(circle at 78% 24%,rgba(56,189,248,.55),transparent 30%),
    linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
}
.bm-post-card-v2 .bm-post-content{
  padding:28px;
}
.bm-post-card-v2.featured .bm-post-content{
  padding:42px;
}
.bm-post-card-v2 .bm-post-meta{
  margin-bottom:14px;
}
.bm-post-card-v2 .bm-post-meta span,
.bm-post-card-v2 .bm-post-meta a{
  color:var(--bm-muted);
}
.bm-post-card-v2 .bm-post-meta .bm-category-chip,
.bm-category-chip{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:5px 9px;
  border-radius:999px;
  background:#eaf3ff;
  color:var(--bm-blue)!important;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}
.bm-post-card-v2 h2{
  margin-bottom:14px;
}
.bm-post-card-v2.featured h2{
  font-size:clamp(32px,4vw,54px);
}
.bm-post-card-v2:not(.featured) h2{
  font-size:25px;
}
.bm-post-card-v2 p{
  margin-bottom:20px;
}
.bm-read-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:auto;
}
.bm-read-arrow{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--bm-navy);
  color:#fff;
  transition:background .22s var(--bm-ease),transform .22s var(--bm-ease);
}
.bm-post-card-v2:hover .bm-read-arrow{
  background:var(--bm-blue);
  transform:translateX(3px);
}

/* Premium sidebar */
.bm-sidebar.bm-sidebar-premium{
  top:112px;
}
.bm-sidebar-widget{
  overflow:hidden;
}
.bm-sidebar-widget.bm-sidebar-search{
  padding:0;
}
.bm-sidebar-head{
  padding:22px 22px 0;
}
.bm-sidebar-search .search-form{
  padding:22px;
}
.bm-sidebar-search .search-field{
  border-radius:18px;
  background:#f7faff;
}
.bm-sidebar-cta{
  background:
    radial-gradient(circle at 80% 12%,rgba(56,189,248,.24),transparent 32%),
    linear-gradient(145deg,var(--bm-navy),#0b2a5f);
  color:#fff;
  border-color:rgba(255,255,255,.10);
}
.bm-sidebar-cta h3{color:#fff}
.bm-sidebar-cta p{color:#c7d7ee}
.bm-sidebar-list{
  display:grid;
  gap:12px;
}
.bm-sidebar-list a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:13px 14px;
  border:1px solid var(--bm-line);
  border-radius:15px;
  background:#fff;
  color:var(--bm-navy);
  font-size:14px;
  font-weight:900;
}
.bm-sidebar-list a:hover{
  color:var(--bm-blue);
  border-color:rgba(18,107,255,.28);
  background:#f7faff;
}
.bm-sidebar-list a span{
  color:var(--bm-muted);
  font-size:12px;
}
.bm-mini-post{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid var(--bm-line);
  border-radius:16px;
  background:#fff;
}
.bm-mini-post:hover{
  background:#f7faff;
  border-color:rgba(18,107,255,.25);
}
.bm-mini-post-thumb{
  width:72px;
  height:58px;
  overflow:hidden;
  border-radius:12px;
  background:linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
}
.bm-mini-post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.bm-mini-post-title{
  color:var(--bm-navy);
  font-size:13.5px;
  font-weight:900;
  line-height:1.35;
}
.bm-mini-post-date{
  color:var(--bm-muted);
  font-size:11px;
  font-weight:800;
  margin-top:4px;
}

/* Single post upgrade */
.bm-single-v2{
  width:min(calc(100% - 40px),960px);
}
.bm-single-v2 .bm-single-header{
  max-width:850px;
  margin-inline:auto;
}
.bm-single-v2 .bm-entry-content{
  max-width:810px;
  margin-inline:auto;
}
.bm-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}
.bm-related-section{
  width:min(calc(100% - 40px),1180px);
  margin:0 auto clamp(64px,8vw,110px);
}

/* Conversion strip inside blog */
.bm-blog-conversion-strip{
  margin-top:30px;
  padding:24px;
  border-radius:28px;
  background:
    radial-gradient(circle at 84% 10%,rgba(56,189,248,.20),transparent 30%),
    linear-gradient(135deg,var(--bm-navy),#0e2f68);
  color:#fff;
}
.bm-blog-conversion-strip h3{
  color:#fff;
  font-size:28px;
}
.bm-blog-conversion-strip p{color:#c8d8ee}
.bm-blog-conversion-strip .bm-btn{
  margin-top:8px;
}

/* Stronger front page latest insight section */
.bm-latest-premium{
  position:relative;
  overflow:hidden;
  background:#f7faff;
}
.bm-latest-premium:before{
  content:"";
  position:absolute;
  right:-160px;
  top:-160px;
  width:440px;
  height:440px;
  border-radius:999px;
  background:rgba(56,189,248,.16);
}

/* Responsive blog v2 */
@media (max-width:1100px){
  .bm-blog-hero-grid,
  .bm-blog-layout.bm-blog-layout-premium{
    grid-template-columns:1fr;
  }
  .bm-blog-hero-panel{
    max-width:680px;
  }
  .bm-sidebar.bm-sidebar-premium{
    position:static;
  }
  .bm-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:720px){
  .bm-blog-hero-grid,
  .bm-blog-layout.bm-blog-layout-premium,
  .bm-related-section{
    width:min(calc(100% - 28px),1280px);
  }
  .bm-blog-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }
  .bm-post-grid.bm-premium-post-grid,
  .bm-related-grid{
    grid-template-columns:1fr;
  }
  .bm-post-card.bm-post-card-v2.featured{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .bm-post-card-v2.featured .bm-post-content{
    padding:28px;
  }
}

@media (prefers-reduced-motion:reduce){
  .bm-animated-surface:before,
  .bm-animated-surface:after{
    animation:none!important;
  }
  .bm-reveal{
    opacity:1!important;
    transform:none!important;
  }
}


/* =====================================================
   V3 Conversion Upgrade: Results, Forms, Mega Menu,
   Before/After, Dashboards, Testimonials Carousel
   ===================================================== */

.bm-mega-wrap{
  position:relative;
}
.bm-mega-trigger{
  display:flex;
  align-items:center;
  gap:7px;
  padding:12px 13px;
  border-radius:999px;
  color:#172033;
  font-size:14px;
  font-weight:850;
}
.bm-mega-trigger:after{content:"⌄";font-size:12px;color:var(--bm-muted)}
.bm-mega-wrap:hover .bm-mega,
.bm-mega-wrap:focus-within .bm-mega{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.bm-mega{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translate(-50%,10px);
  width:min(820px,calc(100vw - 40px));
  opacity:0;
  pointer-events:none;
  transition:opacity .22s var(--bm-ease), transform .22s var(--bm-ease);
  z-index:30;
}
.bm-mega-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:16px;
  border:1px solid var(--bm-line);
  border-radius:26px;
  background:#fff;
  box-shadow:0 30px 90px rgba(6,21,47,.14);
}
.bm-mega-card{
  display:flex;
  gap:14px;
  padding:16px;
  border:1px solid var(--bm-line);
  border-radius:18px;
  background:#fff;
}
.bm-mega-card:hover{background:#f7faff;border-color:rgba(18,107,255,.24)}
.bm-mega-icon{
  width:42px;height:42px;min-width:42px;
  border-radius:14px;
  display:grid;place-items:center;
  background:#f1f6ff;color:var(--bm-blue);font-weight:900;
}
.bm-mega-card b{display:block;color:var(--bm-navy);font-size:14px;line-height:1.2}
.bm-mega-card span{display:block;color:var(--bm-muted);font-size:12px;margin-top:5px;line-height:1.4}
.bm-mega-feature{
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--bm-navy),#0d2b5d);
  color:#fff;
}
.bm-mega-feature b{color:#fff}
.bm-mega-feature span{color:#c9d7ec}

.bm-section-head{
  max-width:840px;
  margin:0 auto 34px;
  text-align:center;
}

/* Lead/audit forms */
.bm-lead-form{
  display:grid;
  gap:14px;
}
.bm-lead-form .bm-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.bm-lead-form label{
  display:block;
  color:var(--bm-navy);
  font-size:13px;
  font-weight:850;
  margin-bottom:7px;
}
.bm-lead-form-note{
  font-size:13px;
  color:var(--bm-muted);
  margin:0;
}
.bm-audit-card{
  background:
    radial-gradient(circle at 85% 14%,rgba(56,189,248,.18),transparent 30%),
    #fff;
}

/* Before After */
.bm-before-after{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.bm-creative-panel{
  position:relative;
  overflow:hidden;
  min-height:360px;
  padding:26px;
  border-radius:30px;
  border:1px solid var(--bm-line);
  background:#fff;
  box-shadow:var(--bm-shadow-sm);
}
.bm-creative-panel.before{
  background:#f6f7fb;
}
.bm-creative-panel.after{
  color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(56,189,248,.35),transparent 31%),
    linear-gradient(135deg,var(--bm-navy),#0d2b5d);
}
.bm-creative-panel.after h3,
.bm-creative-panel.after p{color:#fff}
.bm-creative-tag{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(18,107,255,.1);
  color:var(--bm-blue);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.bm-creative-panel.after .bm-creative-tag{
  background:rgba(255,255,255,.12);
  color:#8bd7ff;
}
.bm-ad-mock{
  margin-top:28px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
}
.bm-ad-screen{
  height:190px;
  display:grid;
  place-items:center;
  color:inherit;
  font-family:var(--bm-head);
  font-size:42px;
  font-weight:900;
  letter-spacing:-.05em;
  background:
    radial-gradient(circle at 70% 18%,rgba(56,189,248,.4),transparent 30%),
    linear-gradient(135deg,rgba(18,107,255,.18),rgba(255,255,255,.08));
}
.bm-ad-caption{padding:14px;font-size:13px;color:inherit}

/* Results dashboard */
.bm-results-board{
  position:relative;
  padding:30px;
  border-radius:34px;
  background:#fff;
  border:1px solid var(--bm-line);
  box-shadow:var(--bm-shadow-md);
  overflow:hidden;
}
.bm-results-board:before{
  content:"";
  position:absolute;
  right:-120px;top:-120px;
  width:300px;height:300px;border-radius:999px;
  background:rgba(56,189,248,.18);
}
.bm-results-top{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:22px;
}
.bm-results-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.bm-result-tile{
  padding:20px;
  border-radius:20px;
  background:#f7faff;
  border:1px solid var(--bm-line);
}
.bm-result-tile strong{
  display:block;
  color:var(--bm-navy);
  font-family:var(--bm-head);
  font-size:34px;
  line-height:1;
  letter-spacing:-.06em;
}
.bm-result-tile span{
  display:block;
  margin-top:8px;
  color:var(--bm-muted);
  font-size:12px;
  font-weight:800;
}
.bm-results-bars{
  position:relative;
  z-index:1;
  display:grid;
  gap:12px;
  margin-top:20px;
}

/* Testimonials carousel */
.bm-testimonial-shell{
  position:relative;
  overflow:hidden;
}
.bm-testimonial-track{
  display:flex;
  gap:20px;
  transition:transform .45s var(--bm-ease);
}
.bm-testimonial-card{
  min-width:calc((100% - 40px) / 3);
  padding:28px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--bm-line);
  box-shadow:var(--bm-shadow-sm);
}
.bm-stars{color:#f59e0b;letter-spacing:2px;margin-bottom:16px}
.bm-testimonial-card blockquote{
  margin:0 0 22px;
  color:var(--bm-navy);
  font-family:var(--bm-head);
  font-size:22px;
  line-height:1.35;
  letter-spacing:-.035em;
}
.bm-testimonial-author{
  color:var(--bm-muted);
  font-size:14px;
  font-weight:850;
}
.bm-carousel-controls{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:24px;
}
.bm-carousel-btn{
  width:46px;height:46px;min-height:46px;
  padding:0;
  border-radius:999px;
}

/* Service page conversion upgrade */
.bm-service-form-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px;
  align-items:start;
}
.bm-service-proof-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:26px;
}
.bm-service-proof{
  padding:18px;
  border:1px solid var(--bm-line);
  border-radius:18px;
  background:#f7faff;
}
.bm-service-proof strong{
  display:block;
  color:var(--bm-navy);
  font-family:var(--bm-head);
  font-size:24px;
  line-height:1;
}
.bm-service-proof span{
  display:block;
  margin-top:8px;
  color:var(--bm-muted);
  font-size:12px;
  font-weight:800;
}

@media (max-width:1100px){
  .bm-results-grid,.bm-case-grid{grid-template-columns:repeat(2,1fr)}
  .bm-testimonial-card{min-width:calc((100% - 20px) / 2)}
  .bm-service-form-grid{grid-template-columns:1fr}
}
@media (max-width:980px){
  .bm-mega-wrap{display:none}
}
@media (max-width:720px){
  .bm-lead-form .bm-form-row,
  .bm-before-after,
  .bm-results-grid,
  .bm-case-grid,
  .bm-service-proof-row{grid-template-columns:1fr}
  .bm-testimonial-card{min-width:100%}
  .bm-results-top{align-items:flex-start;flex-direction:column}
}


/* =====================================================
   V4 Blog Stability + Responsive + Customizable Sidebar
   ===================================================== */

.bm-blog-shell{
  background:
    radial-gradient(circle at 92% 4%,rgba(56,189,248,.11),transparent 28%),
    linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

.bm-blog-hero-v4{
  padding:clamp(64px,9vw,126px) 0 clamp(34px,6vw,70px);
  border-bottom:1px solid var(--bm-line);
}
.bm-blog-hero-v4 .bm-blog-hero-grid{
  align-items:stretch;
}
.bm-blog-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.bm-blog-hero-copy h1{
  max-width:900px;
}
.bm-blog-value-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:28px;
}
.bm-blog-value{
  padding:13px 14px;
  border:1px solid var(--bm-line);
  border-radius:16px;
  background:#fff;
  color:var(--bm-muted);
  font-size:13px;
  font-weight:850;
}
.bm-blog-value strong{
  display:block;
  color:var(--bm-navy);
  font-size:15px;
  margin-bottom:2px;
}

.bm-blog-hero-panel-v4{
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.bm-blog-hero-panel-v4 .bm-blog-topic{
  transition:transform .22s var(--bm-ease), background .22s var(--bm-ease);
}
.bm-blog-hero-panel-v4 .bm-blog-topic:hover{
  transform:translateX(4px);
  background:rgba(255,255,255,.09);
}

.bm-blog-layout-v4{
  width:min(calc(100% - 40px),1280px);
  margin:clamp(42px,6vw,78px) auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 370px;
  gap:46px;
  align-items:start;
}
.bm-blog-main{
  min-width:0;
}
.bm-blog-toolbar-v4{
  position:relative;
  overflow:hidden;
  margin-bottom:24px;
}
.bm-blog-toolbar-v4:before{
  content:"";
  position:absolute;
  right:-60px;
  top:-80px;
  width:180px;
  height:180px;
  border-radius:999px;
  background:rgba(56,189,248,.16);
}
.bm-blog-toolbar-v4 > *{
  position:relative;
  z-index:1;
}
.bm-blog-count{
  padding:8px 11px;
  border-radius:999px;
  background:#f1f6ff;
  color:var(--bm-blue);
  font-size:12px;
  font-weight:900;
}

.bm-premium-post-grid-v4{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.bm-premium-post-grid-v4 .bm-post-card{
  min-width:0;
}
.bm-premium-post-grid-v4 .bm-post-card.featured{
  grid-column:1 / -1;
}
.bm-post-card-v4{
  backface-visibility:hidden;
  will-change:transform;
}
.bm-post-card-v4 .bm-post-thumb{
  aspect-ratio:16/10;
  min-height:auto;
}
.bm-post-card-v4.featured .bm-post-thumb{
  aspect-ratio:auto;
}
.bm-post-card-v4 .bm-post-content{
  display:flex;
  flex-direction:column;
}
.bm-post-card-v4:not(.featured) .bm-post-content{
  min-height:280px;
}
.bm-post-card-v4:not(.featured) h2{
  font-size:clamp(22px,2.2vw,28px);
}
.bm-post-card-v4 .bm-read-line{
  margin-top:auto;
}
.bm-post-card-v4 .bm-post-meta{
  row-gap:6px;
}

/* Blog sidebar blocks */
.bm-sidebar-premium-v4{
  display:grid;
  gap:18px;
  position:sticky;
  top:110px;
}
.bm-sidebar-widget-v4{
  border-radius:26px;
}
.bm-sidebar-widget-v4 h3{
  margin-bottom:14px;
}
.bm-sidebar-lead-form{
  display:grid;
  gap:12px;
}
.bm-sidebar-lead-form label{
  display:block;
  margin-bottom:6px;
  color:var(--bm-navy);
  font-size:13px;
  font-weight:850;
}
.bm-sidebar-lead-form input,
.bm-sidebar-lead-form select{
  min-height:46px;
  border-radius:14px;
  font-size:14px;
}
.bm-sidebar-lead-form .bm-btn{
  width:100%;
}
.bm-sidebar-services-grid{
  display:grid;
  gap:10px;
}
.bm-sidebar-service-link{
  display:grid;
  grid-template-columns:40px 1fr auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--bm-line);
  border-radius:16px;
  background:#fff;
  color:var(--bm-navy);
}
.bm-sidebar-service-link:hover{
  background:#f7faff;
  border-color:rgba(18,107,255,.26);
  color:var(--bm-blue);
}
.bm-sidebar-service-link i{
  width:40px;height:40px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#f1f6ff;
  color:var(--bm-blue);
  font-style:normal;
  font-weight:900;
}
.bm-sidebar-service-link b{
  display:block;
  font-size:14px;
  line-height:1.2;
}
.bm-sidebar-service-link small{
  display:block;
  color:var(--bm-muted);
  font-size:11px;
  font-weight:800;
  margin-top:3px;
}
.bm-sidebar-service-link em{
  color:var(--bm-muted);
  font-style:normal;
}

.bm-sidebar-author{
  display:flex;
  gap:14px;
  align-items:center;
}
.bm-sidebar-author-mark{
  width:54px;
  height:54px;
  min-width:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
  color:#fff;
  font-family:var(--bm-head);
  font-weight:900;
}
.bm-sidebar-author b{
  color:var(--bm-navy);
  display:block;
  line-height:1.15;
}
.bm-sidebar-author span{
  color:var(--bm-muted);
  font-size:12px;
  font-weight:760;
}

/* Better fallback for empty blog */
.bm-empty-blog{
  padding:34px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--bm-line);
  box-shadow:var(--bm-shadow-sm);
}
.bm-empty-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}
.bm-empty-blog-card{
  padding:18px;
  border-radius:18px;
  background:#f7faff;
  border:1px solid var(--bm-line);
}
.bm-empty-blog-card strong{
  display:block;
  color:var(--bm-navy);
  margin-bottom:6px;
}

/* Stronger single post reading */
.bm-single-v4 .bm-entry-content{
  color:#263348;
}
.bm-single-v4 .bm-entry-content p{
  color:#34445c;
}
.bm-single-v4 .bm-single-header{
  position:relative;
}
.bm-single-v4 .bm-single-header:after{
  content:"";
  display:block;
  width:70px;
  height:3px;
  margin:26px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--bm-blue),var(--bm-sky));
}
.bm-related-section-v4{
  padding-top:10px;
}

/* Blog page template support */
.page-template-blog .bm-blog-layout-v4{
  margin-top:clamp(42px,6vw,78px);
}

/* Customizer-friendly no-widget support */
.bm-sidebar-extra-widgets{
  display:grid;
  gap:18px;
}
.bm-sidebar-extra-widgets:empty{
  display:none;
}

}

@media (max-width:1180px){
  .bm-blog-layout-v4{
    grid-template-columns:minmax(0,1fr) 340px;
    gap:30px;
  }
}
@media (max-width:1024px){
  .bm-blog-layout-v4{
    grid-template-columns:1fr;
  }
  .bm-sidebar-premium-v4{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bm-sidebar-widget-v4:first-child,
  .bm-sidebar-cta{
    grid-column:1/-1;
  }
  .bm-blog-value-points{
    grid-template-columns:1fr;
  }
}
@media (max-width:720px){
  .bm-blog-layout-v4,
  .bm-blog-hero-grid{
    width:min(calc(100% - 28px),1280px);
  }
  .bm-premium-post-grid-v4,
  .bm-sidebar-premium-v4,
  .bm-empty-blog-grid{
    grid-template-columns:1fr;
  }
  .bm-blog-hero-v4{
    padding-top:48px;
  }
  .bm-blog-toolbar{
    padding:14px;
  }
  .bm-post-card-v4.featured{
    grid-template-columns:1fr;
  }
  .bm-post-card-v4.featured .bm-post-thumb{
    aspect-ratio:16/10;
  }
  .bm-post-card-v4.featured .bm-post-content{
    padding:28px;
  }
  .bm-post-card-v4:not(.featured) .bm-post-content{
    min-height:auto;
  }
}


/* =====================================================
   V5 Final Blog Fix: Visible Text, Sidebar, Responsive, SEO UI
   ===================================================== */
html:not(.js) .bm-reveal,
body:not(.bm-animations-ready) .bm-reveal{opacity:1!important;transform:none!important}

.bm-blog-shell,.bm-blog-main-v5,.bm-sidebar-premium-v5,.bm-sidebar-widget-v5,.bm-post-card-v5,.bm-post-content{visibility:visible}

.bm-blog-layout-v5{
  width:min(calc(100% - 40px),1280px);
  margin:clamp(42px,6vw,78px) auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 370px;
  gap:46px;
  align-items:start;
}
.bm-blog-main-v5{min-width:0;display:block}
.bm-sidebar-premium-v5{display:grid;gap:18px;position:sticky;top:110px;align-self:start}

.bm-blog-hero-v5{
  padding:clamp(64px,9vw,124px) 0 clamp(38px,6vw,76px);
  background:radial-gradient(circle at 88% 14%,rgba(56,189,248,.24),transparent 32%),radial-gradient(circle at 5% 86%,rgba(18,107,255,.12),transparent 38%),linear-gradient(180deg,#fff 0%,#f6faff 100%);
  border-bottom:1px solid var(--bm-line);
}
.bm-blog-hero-v5 h1,.bm-blog-hero-v5 p,.bm-blog-hero-v5 h3{display:block}
.bm-blog-hero-v5 .bm-lead{color:#40516a}
.bm-blog-value-points-v5{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:28px}
.bm-blog-value-v5{padding:13px 14px;border:1px solid var(--bm-line);border-radius:16px;background:#fff;color:var(--bm-muted);font-size:13px;font-weight:850}
.bm-blog-value-v5 strong{display:block;color:var(--bm-navy);font-size:15px;margin-bottom:2px}

.bm-premium-post-grid-v5{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.bm-premium-post-grid-v5 .featured{grid-column:1/-1}
.bm-post-card-v5{display:flex;flex-direction:column;height:100%;backface-visibility:hidden}
.bm-post-card-v5.featured{display:grid;grid-template-columns:1.08fr .92fr}
.bm-post-card-v5 .bm-post-thumb{aspect-ratio:16/10;min-height:auto}
.bm-post-card-v5.featured .bm-post-thumb{aspect-ratio:auto}
.bm-post-card-v5 .bm-post-content{display:flex;flex-direction:column;min-width:0}
.bm-post-card-v5:not(.featured) .bm-post-content{min-height:280px}
.bm-post-card-v5 h2 a{color:var(--bm-navy)}
.bm-post-card-v5 h2 a:hover{color:var(--bm-blue)}
.bm-post-card-v5 .bm-post-content p{color:#53647b}
.bm-post-card-v5 .bm-read-line{margin-top:auto}

.bm-sidebar-widget-v5{display:block;padding:24px;border:1px solid var(--bm-line);border-radius:26px;background:#fff;box-shadow:var(--bm-shadow-sm);overflow:hidden}
.bm-sidebar-widget-v5 h3{color:var(--bm-navy)}
.bm-sidebar-cta-v5{background:radial-gradient(circle at 80% 12%,rgba(56,189,248,.24),transparent 32%),linear-gradient(145deg,var(--bm-navy),#0b2a5f);color:#fff;border-color:rgba(255,255,255,.10)}
.bm-sidebar-cta-v5 h3{color:#fff}
.bm-sidebar-cta-v5 p,.bm-sidebar-cta-v5 label{color:#d2def0}
.bm-sidebar-cta-v5 input,.bm-sidebar-cta-v5 select{background:#fff;color:var(--bm-ink)}

.bm-breadcrumbs{width:min(calc(100% - 40px),1280px);margin:18px auto 0;color:var(--bm-muted);font-size:13px;font-weight:750}
.bm-breadcrumbs a{color:var(--bm-navy)}
.bm-breadcrumbs a:hover{color:var(--bm-blue)}
.bm-post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}
.bm-post-tags a{padding:8px 11px;border-radius:999px;background:#f1f6ff;color:var(--bm-blue);font-size:12px;font-weight:900}

.bm-empty-blog{padding:34px;border-radius:28px;background:#fff;border:1px solid var(--bm-line);box-shadow:var(--bm-shadow-sm)}
.bm-empty-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.bm-empty-blog-card{padding:18px;border-radius:18px;background:#f7faff;border:1px solid var(--bm-line)}
.bm-empty-blog-card strong{display:block;color:var(--bm-navy);margin-bottom:6px}

@media (max-width:1100px){
  .bm-blog-layout-v5{grid-template-columns:1fr}
  .bm-sidebar-premium-v5{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .bm-sidebar-premium-v5 .bm-sidebar-widget-v5:first-child,.bm-sidebar-premium-v5 .bm-sidebar-cta-v5{grid-column:1/-1}
}
@media (max-width:720px){
  .bm-blog-layout-v5,.bm-blog-hero-grid,.bm-breadcrumbs{width:min(calc(100% - 28px),1280px)}
  .bm-premium-post-grid-v5,.bm-sidebar-premium-v5,.bm-empty-blog-grid,.bm-blog-value-points-v5{grid-template-columns:1fr}
  .bm-post-card-v5.featured{grid-template-columns:1fr}
  .bm-post-card-v5.featured .bm-post-thumb{aspect-ratio:16/10;min-height:auto}
  .bm-post-card-v5.featured .bm-post-content{padding:26px}
  .bm-post-card-v5:not(.featured) .bm-post-content{min-height:auto}
  .bm-sidebar-premium-v5 .bm-sidebar-widget-v5:first-child,.bm-sidebar-premium-v5 .bm-sidebar-cta-v5{grid-column:auto}
}


/* =====================================================
   V6 Final Premium Agency Theme
   Header simplified, blog rebuilt, sidebar fixed, SEO UI polished
   ===================================================== */

/* Services removed from header even if old menu already exists in WP DB. */
@media (min-width:981px){
  .site-navigation .primary-menu > li > a[href*="/services/"],
  .site-navigation .primary-menu > li > a[href$="/services/"],
  .site-navigation .primary-menu > li > a[href*="/services"]{
    display:none!important;
  }
}

/* Critical visibility: blog text and sidebar never depend on JS or animation. */
.bm-reveal,
body.bm-animations-ready .bm-reveal,
body.bm-animations-ready .bm-reveal.is-visible{
  opacity:1!important;
  transform:none!important;
}
.bm-blog-v6,
.bm-blog-layout-v6,
.bm-blog-main-v6,
.bm-sidebar-v6,
.bm-sidebar-widget-v6,
.bm-post-card-v6,
.bm-post-content,
.bm-blog-copy-v6{
  visibility:visible!important;
}

/* Premium blog hero */
.bm-blog-v6{
  background:
    radial-gradient(circle at 88% 5%,rgba(56,189,248,.10),transparent 30%),
    linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.bm-breadcrumbs{
  width:min(calc(100% - 40px),1280px);
  margin:18px auto 0;
  color:var(--bm-muted);
  font-size:13px;
  font-weight:750;
}
.bm-breadcrumbs a{color:var(--bm-navy)}
.bm-breadcrumbs a:hover{color:var(--bm-blue)}

.bm-blog-hero-v6{
  position:relative;
  overflow:hidden;
  padding:clamp(62px,8vw,118px) 0 clamp(42px,6vw,78px);
  border-bottom:1px solid var(--bm-line);
  background:
    radial-gradient(circle at 84% 16%,rgba(56,189,248,.26),transparent 28%),
    radial-gradient(circle at 8% 90%,rgba(18,107,255,.12),transparent 34%),
    linear-gradient(180deg,#fff 0%,#f6faff 100%);
}
.bm-blog-hero-v6:after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  right:-180px;top:-180px;
  border-radius:999px;
  background:rgba(18,107,255,.08);
  pointer-events:none;
}
.bm-blog-hero-grid-v6{
  position:relative;
  z-index:1;
  width:min(calc(100% - 40px),1280px);
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 430px;
  gap:clamp(34px,5vw,72px);
  align-items:center;
}
.bm-blog-copy-v6 h1{
  max-width:900px;
  margin-bottom:22px;
  font-size:clamp(42px,6vw,82px);
}
.bm-blog-copy-v6 .bm-lead{
  max-width:760px;
  color:#40516a;
}
.bm-blog-actions-v6{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.bm-blog-trust-v6{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:28px;
  max-width:780px;
}
.bm-blog-trust-item-v6{
  padding:14px 15px;
  border:1px solid var(--bm-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(6,21,47,.04);
}
.bm-blog-trust-item-v6 strong{
  display:block;
  color:var(--bm-navy);
  font-family:var(--bm-head);
  font-size:15px;
  line-height:1.2;
}
.bm-blog-trust-item-v6 span{
  display:block;
  margin-top:4px;
  color:var(--bm-muted);
  font-size:12px;
  font-weight:760;
}

.bm-blog-insight-panel-v6{
  padding:26px;
  border-radius:32px;
  background:
    radial-gradient(circle at 88% 12%,rgba(56,189,248,.24),transparent 30%),
    linear-gradient(145deg,var(--bm-navy),#0b2a5f);
  color:#fff;
  box-shadow:0 30px 90px rgba(6,21,47,.16);
}
.bm-blog-insight-panel-v6 h3{color:#fff;font-size:27px}
.bm-blog-insight-panel-v6 p{color:#c6d5ec}
.bm-topic-row-v6{
  display:grid;
  gap:10px;
  margin-top:20px;
}
.bm-topic-row-v6 a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:17px;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:900;
}
.bm-topic-row-v6 a:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
  transform:translateX(3px);
}
.bm-topic-row-v6 span{
  color:#8bd7ff;
  font-size:12px;
  font-weight:900;
}

/* Blog layout */
.bm-blog-layout-v6{
  width:min(calc(100% - 40px),1280px);
  margin:clamp(42px,6vw,78px) auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 372px;
  gap:46px;
  align-items:start;
}
.bm-blog-main-v6{min-width:0}
.bm-blog-toolbar-v6{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:24px;
  padding:16px;
  border:1px solid var(--bm-line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--bm-shadow-sm);
}
.bm-blog-toolbar-title-v6{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--bm-navy);
  font-weight:900;
  font-size:14px;
}
.bm-blog-pills-v6{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.bm-blog-pills-v6 a,
.bm-blog-pills-v6 span{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border:1px solid var(--bm-line);
  border-radius:999px;
  background:#fff;
  color:var(--bm-muted);
  font-size:12px;
  font-weight:850;
}
.bm-blog-pills-v6 a:hover{
  color:var(--bm-blue);
  border-color:rgba(18,107,255,.28);
  background:#f4f8ff;
}
.bm-blog-pills-v6 span{
  color:var(--bm-blue);
  background:#eef6ff;
  border-color:#d9ebff;
}

/* Post cards */
.bm-premium-post-grid-v6{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.bm-premium-post-grid-v6 .featured{
  grid-column:1/-1;
}
.bm-post-card-v6{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  overflow:hidden;
  border:1px solid var(--bm-line);
  border-radius:30px;
  background:#fff;
  box-shadow:0 16px 42px rgba(6,21,47,.07);
  transition:transform .22s var(--bm-ease),box-shadow .22s var(--bm-ease),border-color .22s var(--bm-ease);
}
.bm-post-card-v6:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 78px rgba(6,21,47,.12);
  border-color:rgba(18,107,255,.24);
}
.bm-post-card-v6.featured{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:430px;
}
.bm-post-card-v6 .bm-post-thumb{
  position:relative;
  aspect-ratio:16/10;
  min-height:auto;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 18%,rgba(56,189,248,.42),transparent 30%),
    linear-gradient(135deg,var(--bm-navy),var(--bm-blue));
}
.bm-post-card-v6.featured .bm-post-thumb{
  aspect-ratio:auto;
  min-height:100%;
}
.bm-post-card-v6 .bm-post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s var(--bm-ease);
}
.bm-post-card-v6:hover .bm-post-thumb img{
  transform:scale(1.035);
}
.bm-post-card-v6 .bm-post-content{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:28px;
}
.bm-post-card-v6.featured .bm-post-content{
  padding:42px;
  align-self:center;
}
.bm-post-card-v6:not(.featured) .bm-post-content{
  min-height:290px;
}
.bm-post-card-v6 h2{
  margin-bottom:13px;
}
.bm-post-card-v6.featured h2{
  font-size:clamp(32px,4vw,54px);
}
.bm-post-card-v6:not(.featured) h2{
  font-size:clamp(22px,2.4vw,28px);
}
.bm-post-card-v6 h2 a{color:var(--bm-navy)}
.bm-post-card-v6 h2 a:hover{color:var(--bm-blue)}
.bm-post-card-v6 .bm-post-content p{
  color:#53647b;
  margin-bottom:20px;
}
.bm-post-card-v6 .bm-read-line{margin-top:auto}

/* Sidebar */
.bm-sidebar-v6{
  display:grid;
  gap:18px;
  position:sticky;
  top:110px;
  align-self:start;
}
.bm-sidebar-widget-v6{
  display:block;
  padding:24px;
  border:1px solid var(--bm-line);
  border-radius:28px;
  background:#fff;
  box-shadow:var(--bm-shadow-sm);
  overflow:hidden;
}
.bm-sidebar-widget-v6 h3{color:var(--bm-navy)}
.bm-sidebar-cta-v6{
  background:
    radial-gradient(circle at 82% 12%,rgba(56,189,248,.24),transparent 32%),
    linear-gradient(145deg,var(--bm-navy),#0b2a5f);
  color:#fff;
  border-color:rgba(255,255,255,.10);
}
.bm-sidebar-cta-v6 h3{color:#fff}
.bm-sidebar-cta-v6 p,
.bm-sidebar-cta-v6 label{color:#d2def0}
.bm-sidebar-cta-v6 input,
.bm-sidebar-cta-v6 select{background:#fff;color:var(--bm-ink)}
.bm-sidebar-note-v6{
  padding:14px;
  border-radius:18px;
  background:#f7faff;
  color:#53647b;
  font-size:13px;
  font-weight:760;
}

/* SEO/content details */
.bm-post-tags{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}
.bm-post-tags a{padding:8px 11px;border-radius:999px;background:#f1f6ff;color:var(--bm-blue);font-size:12px;font-weight:900}
.bm-empty-blog{padding:34px;border-radius:28px;background:#fff;border:1px solid var(--bm-line);box-shadow:var(--bm-shadow-sm)}
.bm-empty-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.bm-empty-blog-card{padding:18px;border-radius:18px;background:#f7faff;border:1px solid var(--bm-line)}
.bm-empty-blog-card strong{display:block;color:var(--bm-navy);margin-bottom:6px}

/* Footer no company tab */
.bm-footer-grid.footer-v6{
  grid-template-columns:1.3fr 1fr 1fr;
}

/* Responsive */
@media (max-width:1100px){
  .bm-blog-hero-grid-v6,
  .bm-blog-layout-v6{
    grid-template-columns:1fr;
  }
  .bm-sidebar-v6{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bm-sidebar-v6 .bm-sidebar-widget-v6:first-child,
  .bm-sidebar-v6 .bm-sidebar-cta-v6{
    grid-column:1/-1;
  }
}
@media (max-width:720px){
  .bm-blog-hero-grid-v6,
  .bm-blog-layout-v6,
  .bm-breadcrumbs{
    width:min(calc(100% - 28px),1280px);
  }
  .bm-blog-actions-v6,
  .bm-blog-toolbar-v6{
    align-items:flex-start;
    flex-direction:column;
  }
  .bm-blog-actions-v6 .bm-btn{
    width:100%;
  }
  .bm-blog-trust-v6,
  .bm-premium-post-grid-v6,
  .bm-sidebar-v6,
  .bm-empty-blog-grid{
    grid-template-columns:1fr;
  }
  .bm-post-card-v6.featured{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .bm-post-card-v6.featured .bm-post-thumb{
    aspect-ratio:16/10;
    min-height:auto;
  }
  .bm-post-card-v6.featured .bm-post-content{
    padding:26px;
  }
  .bm-post-card-v6:not(.featured) .bm-post-content{
    min-height:auto;
  }
  .bm-footer-grid.footer-v6{
    grid-template-columns:1fr;
  }
  .bm-sidebar-v6 .bm-sidebar-widget-v6:first-child,
  .bm-sidebar-v6 .bm-sidebar-cta-v6{
    grid-column:auto;
  }
}


/* =====================================================
   V7 Single Blog Sidebar Fix
   ===================================================== */

.bm-single-layout-v7{
  width:min(calc(100% - 40px),1280px);
  margin:clamp(46px,6vw,86px) auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 372px;
  gap:46px;
  align-items:start;
}

.bm-single-layout-v7 .bm-single{
  width:100%;
  margin:0;
}

.bm-single-layout-v7 .bm-single-header{
  text-align:left;
  margin-bottom:30px;
}

.bm-single-layout-v7 .bm-single-header .bm-post-meta{
  justify-content:flex-start!important;
}

.bm-single-layout-v7 .bm-single-header:after{
  margin-left:0;
  margin-right:auto;
}

.bm-single-layout-v7 .bm-entry-content,
.bm-single-layout-v7 .bm-author-box,
.bm-single-layout-v7 .bm-post-nav,
.bm-single-layout-v7 .bm-post-tags{
  max-width:820px;
  margin-left:0;
  margin-right:0;
}

.bm-single-layout-v7 .bm-sidebar-v6,
.bm-single-layout-v7 .bm-sidebar-v7{
  position:sticky;
  top:110px;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
}

.bm-single-intro-card-v7{
  max-width:820px;
  padding:18px;
  margin:0 0 26px;
  border:1px solid var(--bm-line);
  border-radius:22px;
  background:#f7faff;
  color:#53647b;
  font-size:14px;
  font-weight:760;
}

@media (max-width:1100px){
  .bm-single-layout-v7{
    grid-template-columns:1fr;
  }
  .bm-single-layout-v7 .bm-sidebar-v6,
  .bm-single-layout-v7 .bm-sidebar-v7{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bm-single-layout-v7 .bm-sidebar-v6 .bm-sidebar-cta-v6,
  .bm-single-layout-v7 .bm-sidebar-v7 .bm-sidebar-cta-v6{
    grid-column:1/-1;
  }
}

@media (max-width:720px){
  .bm-single-layout-v7{
    width:min(calc(100% - 28px),1280px);
    gap:30px;
  }
  .bm-single-layout-v7 .bm-sidebar-v6,
  .bm-single-layout-v7 .bm-sidebar-v7{
    grid-template-columns:1fr;
  }
  .bm-single-layout-v7 .bm-sidebar-v6 .bm-sidebar-cta-v6,
  .bm-single-layout-v7 .bm-sidebar-v7 .bm-sidebar-cta-v6{
    grid-column:auto;
  }
  .bm-single-layout-v7 .bm-post-nav{
    grid-template-columns:1fr;
  }
}


/* =====================================================
   Final Publish-Ready Polish
   Blog typography, cards, UX psychology, animations, reliability
   ===================================================== */

/* Header: remove Services from header completely, including old saved menus. */
.site-navigation .primary-menu > li > a[href*="/services/"],
.site-navigation .primary-menu > li > a[href$="/services/"],
.site-navigation .primary-menu > li > a[href*="/services"]{
  display:none!important;
}

/* Prevent hidden text from older animation rules. */
.bm-reveal,
body.bm-animations-ready .bm-reveal,
body.bm-animations-ready .bm-reveal.is-visible{
  opacity:1!important;
  transform:none!important;
}

/* Lightweight premium motion: hover only, no content hiding. */
.bm-btn,
.bm-post-card-v6,
.bm-sidebar-service-link,
.bm-mini-post,
.bm-topic-row-v6 a,
.bm-service-card,
.bm-price-card{
  will-change:transform;
}
@media (prefers-reduced-motion:no-preference){
  .bm-btn:hover,
  .bm-sidebar-service-link:hover,
  .bm-mini-post:hover,
  .bm-topic-row-v6 a:hover{
    transform:translateY(-2px);
  }
}

/* Final blog hero copy refinements */
.bm-blog-hero-v6{
  background:
    radial-gradient(circle at 88% 12%,rgba(56,189,248,.22),transparent 30%),
    radial-gradient(circle at 6% 88%,rgba(18,107,255,.12),transparent 36%),
    linear-gradient(180deg,#fff 0%,#f7faff 100%);
}
.bm-blog-copy-v6 h1{
  letter-spacing:-.06em;
}
.bm-blog-copy-v6 .bm-lead{
  font-size:clamp(18px,2vw,23px);
  line-height:1.68;
}
.bm-blog-insight-panel-v6{
  position:relative;
  overflow:hidden;
}
.bm-blog-insight-panel-v6:after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-110px;
  width:250px;
  height:250px;
  border-radius:999px;
  background:rgba(56,189,248,.13);
  pointer-events:none;
}
.bm-blog-insight-panel-v6 > *{
  position:relative;
  z-index:1;
}

/* Blog card layout upgrade */
.bm-premium-post-grid-v6{
  align-items:stretch;
}
.bm-post-card-v6{
  isolation:isolate;
}
.bm-post-card-v6:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:30px;
  padding:1px;
  background:linear-gradient(135deg,rgba(18,107,255,.34),rgba(56,189,248,.08),rgba(255,255,255,0));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .22s var(--bm-ease);
  pointer-events:none;
  z-index:2;
}
.bm-post-card-v6:hover:before{
  opacity:1;
}
.bm-post-card-v6 .bm-post-content{
  position:relative;
  z-index:1;
}
.bm-post-card-v6 .bm-category-chip{
  background:#eaf3ff;
  color:var(--bm-blue)!important;
}
.bm-post-card-v6 .bm-post-meta{
  gap:9px;
  align-items:center;
}
.bm-post-card-v6 .bm-read-arrow{
  box-shadow:0 14px 30px rgba(6,21,47,.12);
}
.bm-post-card-v6.featured{
  background:
    radial-gradient(circle at 92% 8%,rgba(56,189,248,.10),transparent 26%),
    #fff;
}

/* Sidebar conversion polish */
.bm-sidebar-v6{
  contain:layout;
}
.bm-sidebar-widget-v6{
  border-color:#e1e9f5;
}
.bm-sidebar-cta-v6{
  box-shadow:0 28px 80px rgba(6,21,47,.15);
}
.bm-sidebar-cta-v6 .bm-btn{
  width:100%;
}
.bm-sidebar-note-v6{
  margin-top:16px;
}

/* Single blog typography: premium editorial readability */
.bm-single-layout-v7{
  align-items:start;
}
.bm-single-v7 .bm-single-header h1{
  font-size:clamp(38px,5.4vw,72px);
  line-height:1.04;
  letter-spacing:-.06em;
}
.bm-single-v7 .bm-lead{
  color:#40516a;
  font-size:clamp(18px,2vw,22px);
}
.bm-single-v7 .bm-entry-content{
  font-size:19px;
  line-height:1.86;
  color:#253149;
  letter-spacing:-.003em;
}
.bm-single-v7 .bm-entry-content p{
  color:#33445d;
  margin-bottom:1.45em;
}
.bm-single-v7 .bm-entry-content > p:first-of-type{
  font-size:21px;
  line-height:1.78;
  color:#24324a;
}
.bm-single-v7 .bm-entry-content h2{
  margin-top:2.45em;
  margin-bottom:.7em;
  font-size:clamp(31px,3.4vw,44px);
  line-height:1.12;
  letter-spacing:-.045em;
}
.bm-single-v7 .bm-entry-content h3{
  margin-top:2.1em;
  margin-bottom:.65em;
  font-size:clamp(24px,2.6vw,32px);
  line-height:1.18;
}
.bm-single-v7 .bm-entry-content ul,
.bm-single-v7 .bm-entry-content ol{
  margin:0 0 1.6em;
  padding-left:1.25em;
}
.bm-single-v7 .bm-entry-content li{
  margin-bottom:.62em;
  color:#33445d;
}
.bm-single-v7 .bm-entry-content strong{
  color:var(--bm-navy);
}
.bm-single-v7 .bm-entry-content a{
  color:var(--bm-blue);
  text-decoration-thickness:1.5px;
  text-underline-offset:.18em;
}
.bm-single-v7 .bm-entry-content blockquote{
  margin:2.2em 0;
  padding:26px 30px;
  border-left:4px solid var(--bm-blue);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 14%,rgba(56,189,248,.16),transparent 30%),
    #f7faff;
  color:var(--bm-navy);
  font-size:24px;
  line-height:1.45;
  box-shadow:0 16px 42px rgba(6,21,47,.06);
}
.bm-single-v7 .bm-entry-content table{
  width:100%;
  border-collapse:collapse;
  margin:2em 0;
  overflow:hidden;
  border-radius:18px;
  box-shadow:0 0 0 1px var(--bm-line);
}
.bm-single-v7 .bm-entry-content th,
.bm-single-v7 .bm-entry-content td{
  padding:14px 16px;
  border-bottom:1px solid var(--bm-line);
  text-align:left;
}
.bm-single-v7 .bm-entry-content th{
  background:#f7faff;
  color:var(--bm-navy);
}

/* Single article psychology card */
.bm-single-intro-card-v7{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:
    radial-gradient(circle at 96% 4%,rgba(56,189,248,.14),transparent 32%),
    #f7faff;
}
.bm-single-intro-card-v7:before{
  content:"✓";
  width:28px;
  height:28px;
  min-width:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--bm-blue);
  color:#fff;
  font-weight:900;
}

/* Related posts better layout */
.bm-related-section-v4{
  max-width:100%;
  width:100%;
  margin:48px 0 0;
}
.bm-related-section-v4 .bm-related-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.bm-related-section-v4 .bm-post-card-v6 h2{
  font-size:22px;
}

/* Small conversion strip */
.bm-blog-conversion-strip{
  border-radius:30px;
  box-shadow:0 28px 80px rgba(6,21,47,.13);
}

/* Footer polish */
.site-footer{
  background:
    radial-gradient(circle at 88% 10%,rgba(56,189,248,.09),transparent 30%),
    var(--bm-navy);
}

/* Mobile typography and layout */
@media (max-width:1100px){
  .bm-related-section-v4 .bm-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:720px){
  .bm-single-v7 .bm-entry-content{
    font-size:17px;
    line-height:1.78;
  }
  .bm-single-v7 .bm-entry-content > p:first-of-type{
    font-size:18px;
  }
  .bm-single-v7 .bm-entry-content blockquote{
    padding:22px;
    font-size:21px;
  }
  .bm-related-section-v4 .bm-related-grid{
    grid-template-columns:1fr;
  }
  .bm-post-card-v6 .bm-post-content{
    padding:24px;
  }
}
