:root{
  --cm-red:#e1251b;
  --cm-red-dark:#bf1d15;
  --cm-ink:#111827;
  --cm-text:#59616d;
  --cm-muted:#8a929e;
  --cm-line:#e6e9ee;
  --cm-soft:#f7f8fa;
  --cm-white:#fff;
  --cm-radius:10px;
  --cm-shadow:0 12px 34px rgba(17,24,39,.055);
}

/* Full-bleed + isolation from Divi/theme rules */
.cm-blog-shell{
  width:100vw!important;
  max-width:none!important;
  position:relative!important;
  left:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  overflow:hidden!important;
  background:#fff!important;
  color:var(--cm-ink)!important;
}
.cm-blog-shell,.cm-blog-shell *,.cm-home-blog,.cm-home-blog *{box-sizing:border-box}
.cm-blog-shell,.cm-home-blog{font-family:Poppins,Inter,Arial,sans-serif!important;line-height:1.4}
.cm-blog-shell h1,.cm-blog-shell h2,.cm-blog-shell h3,.cm-blog-shell h4,.cm-blog-shell p,
.cm-home-blog h1,.cm-home-blog h2,.cm-home-blog h3,.cm-home-blog h4,.cm-home-blog p{padding:0!important}
.cm-blog-shell h1,.cm-blog-shell h2,.cm-blog-shell h3,.cm-blog-shell h4,
.cm-home-blog h1,.cm-home-blog h2,.cm-home-blog h3,.cm-home-blog h4{color:var(--cm-ink)!important;font-family:inherit!important}
.cm-blog-shell a,.cm-home-blog a{text-decoration:none!important}
.cm-blog-shell img,.cm-home-blog img{max-width:100%!important;border:0!important}
.cm-blog-shell button,.cm-blog-shell input,.cm-home-blog button{font:inherit!important}
.cm-blog-container{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;margin:0 auto!important;padding:0!important}
.cm-blog-main{padding-bottom:4px!important}

/* Hero */
.cm-blog-hero{
  position:relative!important;
  min-height:410px!important;
  display:flex!important;
  align-items:center!important;
  background-color:#18202a!important;
  background-image:linear-gradient(90deg,rgba(6,10,15,.92) 0%,rgba(6,10,15,.78) 36%,rgba(6,10,15,.34) 64%,rgba(6,10,15,.16) 100%),var(--cm-hero-image,linear-gradient(135deg,#252e38,#111820))!important;
  background-size:cover!important;
  background-position:center 48%!important;
  isolation:isolate;
}
.cm-blog-hero:after{content:"";position:absolute;inset:auto 0 0;height:90px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.18));z-index:-1}
.cm-blog-hero-overlay{position:absolute!important;inset:0!important;background:radial-gradient(circle at 75% 45%,rgba(255,255,255,.06),transparent 28%)!important;pointer-events:none!important}
.cm-blog-hero-inner{position:relative!important;z-index:2!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:48px!important;padding:58px 0 52px!important}
.cm-blog-hero-copy{max-width:650px!important;color:#fff!important}
.cm-eyebrow,.cm-cta-eyebrow{display:flex!important;align-items:center!important;gap:10px!important;font-size:12px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase!important}
.cm-eyebrow{color:#fff!important}
.cm-eyebrow span,.cm-cta-eyebrow span{width:34px!important;height:3px!important;background:var(--cm-red)!important;display:inline-block!important;border-radius:999px!important;flex:0 0 auto!important}
.cm-blog-hero .cm-eyebrow span:last-child{width:24px!important}
.cm-blog-hero h1{margin:16px 0 10px!important;font-size:clamp(48px,5.2vw,72px)!important;line-height:1.02!important;letter-spacing:-.045em!important;color:#fff!important;font-weight:500!important}
.cm-blog-hero p{font-size:17px!important;line-height:1.58!important;max-width:590px!important;color:rgba(255,255,255,.94)!important;margin:0 0 26px!important;font-weight:400!important}
.cm-blog-hero-side{max-width:180px!important;color:#fff!important;font-size:12px!important;line-height:1.35!important;font-weight:700!important;letter-spacing:.035em!important;text-transform:uppercase!important;padding-bottom:6px!important}
.cm-blog-hero-side span{display:block!important;width:34px!important;height:3px!important;background:var(--cm-red)!important;margin:0 0 11px!important;border-radius:999px!important}
.cm-blog-search{display:flex!important;align-items:stretch!important;width:min(470px,100%)!important;background:#fff!important;border-radius:999px!important;overflow:hidden!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;margin:0!important}
.cm-blog-search input{flex:1!important;min-width:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:#fff!important;color:#1f2937!important;padding:15px 20px!important;font-size:14px!important;height:auto!important;border-radius:0!important}
.cm-blog-search input::placeholder{color:#8d949d!important;opacity:1!important}
.cm-blog-search button{width:60px!important;min-width:60px!important;border:0!important;background:var(--cm-red)!important;color:#fff!important;display:grid!important;place-items:center!important;cursor:pointer!important;border-radius:0!important;padding:0!important;transition:background .18s ease!important}
.cm-blog-search button:hover{background:var(--cm-red-dark)!important}
.cm-blog-search svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}

/* Category navigation */
.cm-category-nav{position:relative!important;background:#fff!important;border-bottom:1px solid var(--cm-line)!important;box-shadow:0 4px 16px rgba(17,24,39,.025)!important;z-index:3!important}
.cm-category-nav-track{display:flex!important;align-items:stretch!important;justify-content:center!important;gap:0!important;overflow-x:auto!important;scrollbar-width:none!important}
.cm-category-nav-track::-webkit-scrollbar{display:none!important}
.cm-category-item{flex:1 0 125px!important;min-width:125px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:18px 10px 15px!important;color:#303640!important;position:relative!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;transition:color .18s ease!important}
.cm-category-item:after{content:""!important;position:absolute!important;left:28%!important;right:28%!important;bottom:0!important;height:3px!important;background:transparent!important;border-radius:999px!important}
.cm-category-item.is-active,.cm-category-item:hover{color:var(--cm-red)!important}
.cm-category-item.is-active:after{background:var(--cm-red)!important}
.cm-category-icon{display:grid!important;place-items:center!important;height:29px!important}
.cm-category-icon svg,.cm-topic-card svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.45!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Sections */
.cm-blog-section{padding-top:46px!important;margin:0!important}
.cm-section-head{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:24px!important;margin:0 0 18px!important}
.cm-section-head h2{margin:0!important;font-size:22px!important;line-height:1.22!important;letter-spacing:-.025em!important;color:var(--cm-ink)!important;font-weight:750!important}
.cm-section-head p{margin:7px 0 0!important;color:var(--cm-text)!important;max-width:700px!important;line-height:1.58!important;font-size:14px!important}
.cm-link-arrow{display:inline-flex!important;align-items:center!important;gap:8px!important;color:var(--cm-red)!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important;white-space:nowrap!important}
.cm-link-arrow span{transition:transform .2s ease!important}
.cm-link-arrow:hover span{transform:translateX(3px)!important}

/* Featured */
.cm-featured-card{display:grid!important;grid-template-columns:1.06fr .94fr!important;min-height:350px!important;border:1px solid var(--cm-line)!important;border-radius:var(--cm-radius)!important;overflow:hidden!important;background:#fff!important;box-shadow:var(--cm-shadow)!important}
.cm-featured-media,.cm-post-media,.cm-guide-media{display:block!important;position:relative!important;overflow:hidden!important;background:#edf0f3!important;margin:0!important}
.cm-featured-media{min-height:350px!important}
.cm-featured-media img,.cm-post-media img,.cm-guide-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;margin:0!important;transition:transform .35s ease!important}
.cm-featured-media:hover img,.cm-post-media:hover img,.cm-guide-media:hover img{transform:scale(1.025)!important}
.cm-badge{position:absolute!important;top:16px!important;left:16px!important;z-index:2!important;background:var(--cm-red)!important;color:#fff!important;border-radius:999px!important;padding:7px 14px!important;font-size:10px!important;line-height:1!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.025em!important;box-shadow:0 6px 15px rgba(225,37,27,.18)!important}
.cm-featured-copy{padding:32px 34px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;background:#fff!important}
.cm-meta{color:#8a929d!important;font-size:10px!important;line-height:1.35!important;text-transform:uppercase!important;letter-spacing:.045em!important;margin:0 0 10px!important}
.cm-meta span{margin:0 5px!important}
.cm-featured-copy h3{font-size:30px!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:0 0 14px!important;font-weight:750!important}
.cm-featured-copy h3 a,.cm-post-copy h3 a,.cm-guide-copy h3 a{color:var(--cm-ink)!important}
.cm-featured-copy p{font-size:15px!important;line-height:1.62!important;color:var(--cm-text)!important;margin:0 0 22px!important;max-width:500px!important}
.cm-primary-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;background:var(--cm-red)!important;color:#fff!important;border-radius:999px!important;padding:12px 21px!important;font-size:12px!important;line-height:1.1!important;font-weight:700!important;box-shadow:0 8px 18px rgba(225,37,27,.18)!important;transition:background .18s ease,transform .18s ease!important}
.cm-primary-btn:hover{background:var(--cm-red-dark)!important;transform:translateY(-1px)!important}

/* Standard post cards */
.cm-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.cm-card-grid-more{row-gap:26px!important}
.cm-post-card{border:1px solid var(--cm-line)!important;border-radius:var(--cm-radius)!important;overflow:hidden!important;background:#fff!important;box-shadow:0 7px 22px rgba(17,24,39,.035)!important;min-width:0!important;display:flex!important;flex-direction:column!important;margin:0!important;transition:transform .2s ease,box-shadow .2s ease!important}
.cm-post-card:hover{transform:translateY(-2px)!important;box-shadow:0 12px 30px rgba(17,24,39,.065)!important}
.cm-post-media{height:200px!important;flex:0 0 200px!important}
.cm-post-copy{padding:16px 17px 18px!important;display:flex!important;flex-direction:column!important;flex:1!important}
.cm-post-copy h3{font-size:17px!important;line-height:1.34!important;margin:0 0 9px!important;letter-spacing:-.018em!important;font-weight:720!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:45px!important}
.cm-post-copy p{font-size:13px!important;line-height:1.55!important;color:var(--cm-text)!important;margin:0 0 14px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:40px!important}
.cm-post-copy .cm-link-arrow{margin-top:auto!important}

/* Topics */
.cm-topics-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
.cm-topic-card{border:1px solid var(--cm-line)!important;border-radius:9px!important;min-height:76px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;color:#303640!important;background:#fff!important;padding:12px!important;transition:border-color .2s,transform .2s,box-shadow .2s,color .2s!important;min-width:0!important}
.cm-topic-card:hover{border-color:#d6dbe2!important;transform:translateY(-2px)!important;box-shadow:var(--cm-shadow)!important;color:var(--cm-red)!important}
.cm-topic-icon{display:grid!important;place-items:center!important;flex:0 0 auto!important}
.cm-topic-card strong{font-size:12px!important;font-weight:550!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Guide carousel */
.cm-guides-head{align-items:center!important}
.cm-track-controls{display:flex!important;gap:8px!important}
.cm-track-controls button{width:36px!important;height:36px!important;border-radius:50%!important;border:1px solid var(--cm-line)!important;background:#fff!important;color:var(--cm-ink)!important;display:grid!important;place-items:center!important;padding:0!important;font-size:18px!important;line-height:1!important;cursor:pointer!important;transition:.18s ease!important}
.cm-track-controls button:hover{background:var(--cm-red)!important;border-color:var(--cm-red)!important;color:#fff!important}
.cm-track-wrap{position:relative!important;min-width:0!important}
.cm-guide-track,.cm-home-blog-track{display:flex!important;gap:16px!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;padding:2px 2px 8px!important;cursor:grab!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important}
.cm-guide-track::-webkit-scrollbar,.cm-home-blog-track::-webkit-scrollbar{display:none!important}
.cm-guide-track.is-dragging,.cm-home-blog-track.is-dragging{cursor:grabbing!important;user-select:none!important;scroll-snap-type:none!important}
.cm-guide-card{flex:0 0 calc((100% - 48px)/4)!important;min-width:235px!important;border:1px solid var(--cm-line)!important;border-radius:9px!important;overflow:hidden!important;background:#fff!important;scroll-snap-align:start!important;box-shadow:0 5px 16px rgba(17,24,39,.025)!important;margin:0!important}
.cm-guide-media{height:132px!important}
.cm-guide-copy{padding:13px 13px 12px!important}
.cm-guide-copy h3{font-size:13px!important;line-height:1.34!important;margin:0 0 12px!important;min-height:35px!important;font-weight:680!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.cm-guide-bottom{display:flex!important;justify-content:space-between!important;align-items:center!important;color:#8a929b!important;font-size:10px!important;line-height:1.2!important}
.cm-guide-bottom a{width:32px!important;height:32px!important;border:1px solid var(--cm-line)!important;border-radius:50%!important;display:grid!important;place-items:center!important;color:var(--cm-ink)!important;font-size:16px!important;line-height:1!important;transition:.18s ease!important}
.cm-guide-bottom a:hover{background:var(--cm-red)!important;border-color:var(--cm-red)!important;color:#fff!important}

/* Empty, image placeholder, pagination */
.cm-image-placeholder{width:100%!important;height:100%!important;display:flex!important;align-items:flex-end!important;padding:22px!important;background:linear-gradient(135deg,#dfe4e9,#f4f6f8)!important;color:#69717c!important;font-weight:700!important;line-height:1.3!important;font-size:14px!important}
.cm-empty{padding:30px!important;border:1px dashed #d7dce2!important;border-radius:10px!important;color:var(--cm-text)!important;background:#fafbfc!important;font-size:14px!important}
.cm-pagination{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:32px 0 4px!important;margin:0!important}
.cm-pagination a{width:37px!important;height:37px!important;display:grid!important;place-items:center!important;border:1px solid var(--cm-line)!important;border-radius:50%!important;color:var(--cm-ink)!important;font-size:12px!important;line-height:1!important;background:#fff!important}
.cm-pagination a.is-current,.cm-pagination a:hover{background:var(--cm-red)!important;border-color:var(--cm-red)!important;color:#fff!important}
.cm-pagination-gap{color:#9aa1aa!important;padding:0 2px!important}

/* Inventory CTA */
.cm-blog-cta{margin-top:56px!important;background:linear-gradient(118deg,#f7f8fa 0%,#f2f4f6 56%,#e9edf1 100%)!important;border-top:1px solid var(--cm-line)!important;overflow:hidden!important;position:relative!important}
.cm-blog-cta:before{content:""!important;position:absolute!important;width:380px!important;height:380px!important;border-radius:50%!important;background:rgba(255,255,255,.72)!important;right:-120px!important;top:-180px!important}
.cm-blog-cta-inner{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:1.05fr .95fr!important;gap:28px!important;align-items:center!important;min-height:245px!important;padding:36px 0 32px!important}
.cm-cta-eyebrow{color:var(--cm-ink)!important;font-size:11px!important}
.cm-blog-cta h2{font-size:30px!important;line-height:1.16!important;letter-spacing:-.032em!important;margin:10px 0 7px!important;font-weight:760!important}
.cm-blog-cta p{margin:0 0 18px!important;color:var(--cm-text)!important;max-width:570px!important;font-size:13px!important;line-height:1.55!important}
.cm-cta-visual{height:185px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;position:relative!important}
.cm-cta-visual img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;display:block!important}
.cm-cars-svg{width:100%!important;max-width:610px!important;height:auto!important;display:block!important;filter:drop-shadow(0 12px 12px rgba(17,24,39,.10))!important}

/* Home shortcode */
.cm-home-blog{padding:42px 0!important;background:#fff!important;color:var(--cm-ink)!important}
.cm-home-blog-head{align-items:flex-start!important}
.cm-home-blog-head h2{font-size:29px!important;text-transform:none!important}
.cm-home-blog-track{gap:20px!important}
.cm-post-card-home{flex:0 0 calc((100% - 40px)/3)!important;scroll-snap-align:start!important}

.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media (max-width:1024px){
  .cm-blog-container{width:min(100% - 36px,1180px)!important}
  .cm-blog-hero{min-height:390px!important}
  .cm-blog-hero-inner{padding:48px 0!important}
  .cm-blog-hero-side{display:none!important}
  .cm-category-item{flex-basis:118px!important;min-width:118px!important}
  .cm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cm-topics-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .cm-guide-card{flex-basis:calc((100% - 32px)/3)!important}
  .cm-post-card-home{flex-basis:calc((100% - 20px)/2)!important}
  .cm-featured-copy h3{font-size:27px!important}
  .cm-blog-cta h2{font-size:27px!important}
}

@media (max-width:767px){
  .cm-blog-container{width:min(100% - 28px,1180px)!important}
  .cm-blog-hero{min-height:405px!important;background-image:linear-gradient(90deg,rgba(6,10,15,.91) 0%,rgba(6,10,15,.72) 65%,rgba(6,10,15,.4) 100%),var(--cm-hero-image,linear-gradient(135deg,#252e38,#111820))!important;background-position:center!important}
  .cm-blog-hero-inner{padding:46px 0 44px!important}
  .cm-blog-hero h1{font-size:46px!important}
  .cm-blog-hero p{font-size:15px!important;line-height:1.55!important}
  .cm-blog-search{width:100%!important;max-width:470px!important}
  .cm-category-nav-track{justify-content:flex-start!important;width:100%!important;padding:0 2px!important}
  .cm-category-item{flex:0 0 94px!important;min-width:94px!important;padding:14px 9px 12px!important;font-size:11px!important}
  .cm-category-icon svg{width:23px!important;height:23px!important}
  .cm-blog-section{padding-top:34px!important}
  .cm-section-head{align-items:flex-start!important;margin-bottom:15px!important;gap:14px!important}
  .cm-section-head h2{font-size:20px!important}
  .cm-link-arrow{font-size:11px!important}
  .cm-featured-card{grid-template-columns:1fr!important;min-height:0!important}
  .cm-featured-media{min-height:245px!important;height:245px!important}
  .cm-featured-copy{padding:23px 21px 25px!important}
  .cm-featured-copy h3{font-size:24px!important}
  .cm-featured-copy p{font-size:14px!important}
  .cm-card-grid{grid-template-columns:1fr!important;gap:17px!important}
  .cm-post-card{display:grid!important;grid-template-columns:1fr!important}
  .cm-post-media{height:215px!important;flex-basis:215px!important}
  .cm-post-copy h3{min-height:0!important}
  .cm-post-copy p{min-height:0!important}
  .cm-topics-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .cm-topic-card{min-height:69px!important;justify-content:flex-start!important;padding:0 14px!important}
  .cm-topic-card strong{font-size:11px!important}
  .cm-track-controls{display:none!important}
  .cm-guide-track,.cm-home-blog-track{overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-right:12%!important}
  .cm-guide-card{flex:0 0 82%!important;min-width:82%!important}
  .cm-blog-cta-inner{grid-template-columns:1fr!important;gap:20px!important;min-height:0!important;padding:32px 0 24px!important}
  .cm-blog-cta h2{font-size:25px!important}
  .cm-cta-visual{height:145px!important}
  .cm-home-blog{padding:34px 0!important}
  .cm-home-blog-head{display:block!important}
  .cm-home-blog-head h2{font-size:24px!important}
  .cm-home-blog-all{display:inline-flex!important;margin-top:13px!important}
  .cm-post-card-home{flex:0 0 84%!important;min-width:84%!important}
}

@media (max-width:420px){
  .cm-blog-hero h1{font-size:40px!important}
  .cm-blog-search input{padding:14px 16px!important;font-size:13px!important}
  .cm-blog-search button{width:54px!important;min-width:54px!important}
  .cm-featured-media{height:220px!important;min-height:220px!important}
  .cm-post-media{height:200px!important;flex-basis:200px!important}
  .cm-topic-card{padding:0 11px!important;gap:8px!important}
  .cm-topic-card svg{width:22px!important;height:22px!important}
  .cm-blog-cta h2{font-size:23px!important}
}

/* v1.0.2 — true full-width layout + reliable interactions */
.cm-blog-shell{
  width:100vw!important;
  max-width:100vw!important;
  margin-inline:calc(50% - 50vw)!important;
  left:auto!important;
  right:auto!important;
}
.cm-blog-shell .cm-blog-container{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:clamp(28px,4vw,76px)!important;
  padding-right:clamp(28px,4vw,76px)!important;
}
.cm-blog-shell .cm-category-nav-track{
  width:100%!important;
  max-width:none!important;
}
.cm-clickable-card{cursor:pointer!important}
.cm-blog-shell a[data-cm-nav],
.cm-home-blog a[data-cm-nav],
.cm-category-item,
.cm-topic-card{
  pointer-events:auto!important;
  position:relative!important;
  z-index:2!important;
  cursor:pointer!important;
}
.cm-post-card,.cm-featured-card,.cm-guide-card{position:relative!important}
.cm-guide-track.is-dragging a,.cm-home-blog-track.is-dragging a{pointer-events:none!important}

@media (max-width:1024px){
  .cm-blog-shell .cm-blog-container{
    width:100%!important;
    max-width:none!important;
    padding-left:22px!important;
    padding-right:22px!important;
  }
}
@media (max-width:767px){
  .cm-blog-shell .cm-blog-container{
    width:100%!important;
    max-width:none!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .cm-blog-shell .cm-category-nav-track{
    padding-left:8px!important;
    padding-right:8px!important;
  }
}


/* v1.0.3 — pagination + placeholder topic */
.cm-pagination a,.cm-pagination span.is-current{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:38px!important;height:38px!important;padding:0 10px!important;border-radius:8px!important;
}
.cm-pagination span.is-current{background:var(--cm-red)!important;color:#fff!important;font-weight:700!important}
.cm-category-placeholder,.cm-topic-placeholder{cursor:default!important;pointer-events:none!important}
.cm-category-placeholder{opacity:.9!important}
.cm-topic-placeholder:hover{transform:none!important;box-shadow:none!important;border-color:var(--cm-line)!important;color:#303640!important}

/* =========================================================
   v1.0.4 — header flush, two-row mobile nav, 4-up Home carousel,
   and modern single article template
   ========================================================= */

/* v1.0.6 — safe Divi spacing reset.
   No classes are injected into ancestor elements. Only the top spacing of a wrapper
   that actually contains our blog is removed; widths, floats and clearfixes are untouched. */
@supports selector(.et_pb_section:has(.cm-blog-shell)) {
  .et_pb_section:has(.cm-blog-shell),
  .et_pb_row:has(.cm-blog-shell),
  .et_pb_column:has(.cm-blog-shell),
  .et_pb_code:has(.cm-blog-shell),
  .et_pb_code_inner:has(.cm-blog-shell){
    padding-top:0!important;
    margin-top:0!important;
  }
}

/* Full-width recent carousel for Home. */
.cm-home-blog-full{
  width:100vw!important;
  max-width:100vw!important;
  position:relative!important;
  margin-inline:calc(50% - 50vw)!important;
  overflow:hidden!important;
  background:#fff!important;
}
.cm-home-blog-wide{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:clamp(28px,4vw,76px)!important;
  padding-right:clamp(28px,4vw,76px)!important;
}

/* v1.0.10 — Home recent-articles section: 95vw and truly centered in the viewport.
   Auto margins do not center a block wider than its Divi parent, so we use the
   standard full-bleed centering calculation from the parent center. */
@media (min-width: 981px){
  .cm-home-blog-full{
    width:95vw!important;
    max-width:95vw!important;
    margin-left:calc(50% - 47.5vw)!important;
    margin-right:calc(50% - 47.5vw)!important;
    margin-inline-start:calc(50% - 47.5vw)!important;
    margin-inline-end:calc(50% - 47.5vw)!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
}
.cm-home-blog-four .cm-home-blog-track-four{gap:20px!important}
.cm-home-blog-four .cm-post-card-home-four{
  flex:0 0 calc((100% - 60px)/4)!important;
  min-width:0!important;
  scroll-snap-align:start!important;
}
.cm-home-blog-four .cm-post-card-home-four .cm-post-media{height:205px!important;flex-basis:205px!important}
.cm-home-blog-four .cm-post-card-home-four .cm-post-copy{padding:18px 18px 19px!important}
.cm-home-blog-four .cm-post-card-home-four .cm-post-copy h3{font-size:17px!important;line-height:1.35!important;min-height:46px!important}
.cm-home-blog-four .cm-post-card-home-four .cm-post-copy p{font-size:12px!important;line-height:1.5!important;min-height:54px!important}

/* Modern single article page. */
.cm-single-shell,.cm-single-shell *{box-sizing:border-box}
.cm-single-shell{font-family:Poppins,Inter,Arial,sans-serif!important;background:#fff!important;color:var(--cm-ink)!important;overflow:hidden!important}
.cm-single-shell a{text-decoration:none!important}
.cm-single-shell img{max-width:100%;height:auto}
.cm-single-header{background:linear-gradient(180deg,#fbfbfc 0%,#fff 100%)!important;border-bottom:1px solid var(--cm-line)!important;padding:58px 24px 52px!important}
.cm-single-header-inner{width:min(940px,100%)!important;margin:0 auto!important}
.cm-single-breadcrumb{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 28px!important;font-size:12px!important;font-weight:600!important;color:#89919c!important}
.cm-single-breadcrumb a{color:#727b86!important;transition:color .18s ease!important}
.cm-single-breadcrumb a:hover{color:var(--cm-red)!important}
.cm-single-category{display:inline-flex!important;align-items:center!important;border-radius:999px!important;background:#fbe9e7!important;color:var(--cm-red-dark)!important;padding:7px 12px!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.045em!important;margin-bottom:17px!important}
.cm-single-header h1{font-family:inherit!important;font-size:clamp(36px,4.1vw,58px)!important;line-height:1.08!important;letter-spacing:-.044em!important;font-weight:720!important;color:var(--cm-ink)!important;margin:0!important;padding:0!important;max-width:920px!important}
.cm-single-intro{font-size:18px!important;line-height:1.65!important;color:#606975!important;margin:20px 0 0!important;padding:0!important;max-width:800px!important}
.cm-single-meta{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin-top:25px!important;color:#8a929c!important;font-size:12px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.035em!important}
.cm-single-meta i{width:4px!important;height:4px!important;background:var(--cm-red)!important;border-radius:50%!important;display:block!important}
.cm-single-featured{width:min(1320px,calc(100% - 48px))!important;margin:42px auto 0!important;border-radius:16px!important;overflow:hidden!important;background:#eff1f3!important;box-shadow:0 18px 54px rgba(17,24,39,.08)!important;aspect-ratio:2.05/1!important}
.cm-single-featured img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.cm-single-reading-layout{width:min(1100px,calc(100% - 48px))!important;margin:56px auto 72px!important;display:grid!important;grid-template-columns:120px minmax(0,820px)!important;gap:42px!important;justify-content:center!important;align-items:start!important}
.cm-single-side{position:sticky!important;top:120px!important;display:flex!important;flex-direction:column!important;gap:10px!important;color:#9aa1aa!important;font-size:10px!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important;padding-top:8px!important}
.cm-single-side-label{color:var(--cm-red)!important}
.cm-single-side-rule{display:block!important;width:34px!important;height:2px!important;background:var(--cm-red)!important}
.cm-single-content{min-width:0!important;font-family:Poppins,Inter,Arial,sans-serif!important;color:#3d4651!important;font-size:17px!important;line-height:1.82!important}
.cm-single-content p{font:inherit!important;color:inherit!important;line-height:1.82!important;margin:0 0 25px!important;padding:0!important}
.cm-single-content h2,.cm-single-content h3,.cm-single-content h4{font-family:inherit!important;color:var(--cm-ink)!important;letter-spacing:-.025em!important;font-weight:730!important;padding:0!important}
.cm-single-content h2{font-size:31px!important;line-height:1.2!important;margin:48px 0 18px!important}
.cm-single-content h3{font-size:24px!important;line-height:1.28!important;margin:38px 0 15px!important}
.cm-single-content h4{font-size:20px!important;line-height:1.32!important;margin:30px 0 13px!important}
.cm-single-content ul,.cm-single-content ol{margin:0 0 27px 1.25em!important;padding:0!important}
.cm-single-content li{font:inherit!important;color:inherit!important;line-height:1.75!important;margin:0 0 8px!important}
.cm-single-content a{color:var(--cm-red)!important;text-decoration:underline!important;text-underline-offset:3px!important}
.cm-single-content blockquote{margin:36px 0!important;padding:8px 0 8px 24px!important;border-left:4px solid var(--cm-red)!important;color:#333d48!important;font-size:20px!important;line-height:1.6!important;font-weight:500!important}
.cm-single-content img{display:block!important;border-radius:12px!important;margin:30px auto!important}
.cm-single-content figure{max-width:100%!important;margin:34px 0!important}
.cm-single-content figcaption{font-size:11px!important;color:#8a929c!important;text-align:center!important;margin-top:9px!important}
.cm-single-content iframe,.cm-single-content video{max-width:100%!important;border-radius:12px!important}

/* Tame legacy Divi article modules inside the new reading canvas without deleting content. */
.cm-single-content .et_pb_section{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
.cm-single-content .et_pb_row{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.cm-single-content .et_pb_column{width:100%!important;margin:0!important;padding:0!important;float:none!important}
.cm-single-content .et_pb_module{margin-bottom:0!important}
.cm-single-content .et_pb_text,.cm-single-content .et_pb_text_inner{font-family:inherit!important;color:inherit!important;font-size:inherit!important;line-height:inherit!important}
.cm-single-content .et_pb_text_inner p{font:inherit!important;color:inherit!important;line-height:1.82!important}

.cm-single-related{background:#f7f8fa!important;border-top:1px solid var(--cm-line)!important;padding:52px 0 58px!important}
.cm-single-wide{width:100%!important;max-width:none!important;padding-left:clamp(28px,4vw,76px)!important;padding-right:clamp(28px,4vw,76px)!important;margin:0!important}
.cm-single-related .cm-section-head{margin-bottom:20px!important}
.cm-single-related .cm-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.cm-single-shell .cm-blog-cta{margin-top:0!important}

@media (max-width:1100px){
  .cm-home-blog-four .cm-post-card-home-four{flex-basis:calc((100% - 40px)/3)!important}
  .cm-single-reading-layout{grid-template-columns:minmax(0,820px)!important}
  .cm-single-side{display:none!important}
}

@media (max-width:900px){
  .cm-home-blog-four .cm-post-card-home-four{flex-basis:calc((100% - 20px)/2)!important}
  .cm-single-related .cm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:767px){
  /* v1.0.6 — mobile category filters become a horizontal swipe carousel. */
  .cm-blog-shell .cm-category-nav{
    overflow:hidden!important;
  }
  .cm-blog-shell .cm-category-nav-track{
    display:flex!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:7px!important;
    width:100%!important;
    max-width:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 14px!important;
    scroll-snap-type:x proximity!important;
    scroll-padding-left:14px!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x!important;
  }
  .cm-blog-shell .cm-category-nav-track::-webkit-scrollbar{display:none!important}
  .cm-blog-shell .cm-category-item{
    flex:0 0 104px!important;
    width:104px!important;
    min-width:104px!important;
    scroll-snap-align:start!important;
    white-space:normal!important;
    text-align:center!important;
    padding:12px 8px 11px!important;
    font-size:10px!important;
    line-height:1.2!important;
    overflow-wrap:normal!important;
    border-radius:0!important;
  }
  .cm-blog-shell .cm-category-icon svg{width:21px!important;height:21px!important}
  .cm-blog-shell .cm-category-item:after{left:24%!important;right:24%!important}

  .cm-home-blog-wide,.cm-single-wide{padding-left:14px!important;padding-right:14px!important}
  .cm-home-blog-four .cm-home-blog-track-four{padding-right:12%!important}
  .cm-home-blog-four .cm-post-card-home-four{flex:0 0 84%!important;min-width:84%!important}
  .cm-home-blog-four .cm-post-card-home-four .cm-post-media{height:215px!important;flex-basis:215px!important}

  .cm-single-header{padding:34px 18px 34px!important}
  .cm-single-breadcrumb{margin-bottom:21px!important}
  .cm-single-header h1{font-size:36px!important;line-height:1.1!important}
  .cm-single-intro{font-size:15px!important;line-height:1.6!important;margin-top:15px!important}
  .cm-single-meta{margin-top:18px!important;font-size:10px!important}
  .cm-single-featured{width:calc(100% - 28px)!important;margin-top:24px!important;border-radius:11px!important;aspect-ratio:1.48/1!important}
  .cm-single-reading-layout{width:calc(100% - 36px)!important;margin:38px auto 52px!important;display:block!important}
  .cm-single-content{font-size:16px!important;line-height:1.78!important}
  .cm-single-content p{line-height:1.78!important;margin-bottom:22px!important}
  .cm-single-content h2{font-size:25px!important;margin-top:38px!important}
  .cm-single-content h3{font-size:21px!important;margin-top:30px!important}
  .cm-single-content blockquote{font-size:18px!important;margin:29px 0!important}
  .cm-single-related{padding:38px 0 44px!important}
  .cm-single-related .cm-card-grid{grid-template-columns:1fr!important}
}

@media (max-width:420px){
  .cm-blog-shell .cm-category-item{flex-basis:96px!important;width:96px!important;min-width:96px!important;font-size:9.5px!important;padding-left:6px!important;padding-right:6px!important}
  .cm-single-header h1{font-size:32px!important}
}
