/* ============ Blog Template (scoped) ============ */
.m35b { --ink:#0f1720; --muted:#6b7280; --line:#e9edf3; --bg:#fff; --pill:#F7F8FB; --pill-active:#FFB703; --brand:#1f3a8a; --accent:#ffd54f;
  --radius:14px; --container:min(1200px,92vw); --gap:22px; --shadow:0 6px 24px rgba(15,23,32,0.08);
  color:var(--ink);
}
.m35b .container{ margin-inline:auto; padding: clamp(14px, 2vw, 20px); }
.page-template-page-blog .container {
    max-width: 1600px !important;
}
.m35b a{ color:inherit; text-decoration:none; }
.m35b img{ max-width:100%; height:auto; display:block; }

/* Featured */
/* Featured (matches mock) */
.m35b-featured{
  --panel:#f7f9fd;         /* light card background */
  --panel-line:#eef2f6;    /* subtle border */
  --title:#1C2945;         /* deep navy */
  --muted:#6b7280;         /* paragraph */
  --cta:#ffbf00;           /* yellow button */
  --cta-hover:#f5b000;
  --radius-panel:22px;
  --radius-media:16px;

  margin: 14px 0 64px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-panel);
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(16px, 3.5vw, 44px);
  align-items: center;
}

.m35b-featured__media{
  background: #dbe4f4;             /* grey-blue placeholder tone like mock */
  border-radius: var(--radius-media);
  overflow: hidden;
  min-height: auto;
}
.m35b-featured__media a{ display:block; height:100%; }
.m35b-featured__media img{
  width:100%; height:100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Right column */
.m35b-featured__content{ padding-inline: clamp(4px, 1vw, 8px); }
.m35b-featured h2{
  margin: 0 0 12px 0;
  font-weight: bold;
  letter-spacing: .2px;
  /* Big, responsive type exactly like mock */
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.12;
}
.m35b-featured p{
  color: var(--muted);
  margin: 0 0 18px 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  max-width: 52ch;
}

/* Yellow rounded CTA */
.m35b-button{
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--cta);
  color: #0f1720;
  border: 0;
  border-radius: 999px;
  padding: 7px 22px;
  font-weight: 700;
}
.m35b-button:hover{ background: var(--cta-hover); transform: translateY(-1px); }

/* Responsive stacking */
@media (max-width: 1024px){
  .m35b-featured{ grid-template-columns: 1fr; }
  .m35b-featured__media{ min-height: auto; }
}


/* Filter */
.m35b-filter{ display:flex; gap:8px; flex-wrap:wrap; margin-top:22px; }
.m35b-filter button{ background:var(--pill); border:1px solid var(--line); color:#334155; padding:8px 12px; border-radius:999px; font-size:13px; cursor:pointer; box-shadow: none; }
.m35b-filter button.is-active{ background:var(--pill-active); border-color:#fde68a; color:#7a5b00; }

/* Grid */
/* Grid */
.m35b-grid {
  margin-top: 24px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.m35b-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}


.m35b-card__media {
  background: #f6f8fb;
  width: 100%;
  aspect-ratio: 1.5/1; /* square like your second screenshot */
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #e9eef8;
}
.m35b-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Content */
.m35b-card__body {
  padding: 16px 6px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m35b-badge {
  color: #FFB703;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
  width: fit-content;
}

.m35b-featured__content .m35b-badge{
    margin-bottom: 12px;
}

.m35b-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

.m35b-card__meta {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.m35b-card__more {
  font-size: 14px;
  font-weight: 600;
  color: #1f3a8a;
  margin-top: 6px;
  text-decoration: underline !important;
}
.m35b-card__more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .m35b-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .m35b-grid { grid-template-columns: 1fr; }
}


/* Pagination (exact look) */
.m35b-pagination{ display:flex; gap:6px; align-items:center; justify-content:center; margin:24px 0 8px; }
.m35b-pagination a, .m35b-pagination span{
  min-width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:8px; background:#F1F3F9; font-size:14px;
}
.m35b-pagination .current{ background:#1C2945; color:#fff; border-color:#1f3a8a; }
.m35b-pagination .m35b-prev, .m35b-pagination .m35b-next{ padding:0 6px; }

/* Responsive */
@media (max-width: 1024px){
  .m35b-featured{ grid-template-columns:1fr; }
}
@media (max-width: 900px){
  .m35b-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .m35b-grid{ grid-template-columns:1fr; }
  .m35b-featured h2{ font-size:20px; }
}


/* ===== Blog Hero (matches the attached card) ===== */
.m35b-hero{ margin: 8px 0 28px; }
.m35b-hero__card{
  border-radius:14px;
  padding:64px 20px;
  text-align:center;
}
.m35b-hero__card h1{
  margin:0 0 6px 0;
  color:#1C2945;               /* deep navy like screenshot */
  font-weight:700;
  font-size:56px;
  line-height:1.2;
  letter-spacing:.2px;
}
.m35b-hero__card p{
  margin:0;
  color:#6B7280;               /* muted gray */
  font-size:20px;
  line-height:1.55;
}

@media (max-width: 560px){
    .m35b-hero__card h1{
        font-size: 36px;
    }
}




/* =========================================
   cvsp-* SCOPED STYLES (no global leakage)
   ========================================= */
:root{
  --cvsp-ink:#0f1720;
  --cvsp-muted:#5b616b;
  --cvsp-line:#e7edf5;
  --cvsp-bg:#ffffff;
  --cvsp-bg-2:#f5f7fb;
  --cvsp-navy:#0f2745;
  --cvsp-link:#FFB703;
  --cvsp-accent:#ffbd2f;
  --cvsp-radius:18px;
  --cvsp-wrap:min(1600px, 92vw);
}
.cvsp{color:var(--cvsp-ink); margin: 50px auto;}
.cvsp .cvsp-wrap{width:var(--cvsp-wrap); margin-inline:auto; padding: 0 clamp(0px, (100vw - 767px) / 10, 20px);}
.cvsp a{color:var(--cvsp-link); text-decoration:none;}
.cvsp a:hover{text-decoration:underline}

/* top crumb + title + meta (like screenshot 2) */
/* ====== Header Section (Breadcrumb + Title + Meta) ====== */
.cvsp-crumb{
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--cvsp-muted);
  margin: 0 0 12px;                /* tighten spacing above title */
  display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cvsp-crumb a{
  color: var(--cvsp-muted);
  text-decoration: none;
}
.cvsp-crumb a:hover{ text-decoration: underline; }

.cvsp-title{
  font-weight: bold;
  font-size: clamp(2rem, 3vw, 2.6rem); /* large like reference */
  line-height: 1.2;
  color: var(--cvsp-ink);
  margin: 0 0 50px;
}

.cvsp-meta{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 26px;             /* clear spacing after meta */
  color: var(--cvsp-muted);
}
.cvsp-authorblock{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cvsp-authorblock strong{
  font-weight: 600;
  color: var(--cvsp-ink);          /* darker author name */
}
.cvsp-chip{
  font-weight: 500;
  color: var(--cvsp-muted);        /* grey like "Growth Manager, COVU" */
}
.cvsp-meta time{
  color: var(--cvsp-muted);
  font-weight: 500;
}


/* main two-column region */
.cvsp-grid{display:grid; grid-template-columns:1fr; gap:24px; margin-top:6px}

/* LEFT column */
.cvsp-main{min-width:0}
.cvsp-feat{
  background:var(--cvsp-bg-2); border:1px solid var(--cvsp-line);
  border-radius:16px; height:clamp(270px,34vw,440px);
  display:flex; align-items:center; justify-content:center; color:#aeb7c4; overflow:hidden; margin:6px 0 50px;
}
.cvsp-feat img{width:100%; height:100%; object-fit:cover; display:block}
.cvsp-content{ line-height:1.8}
.cvsp-content p{margin:0 0 1.05rem}
.cvsp-content h2{font-size:clamp(1.25rem,2.1vw,1.55rem); margin:50px 0 20px; letter-spacing:-.01em}
.cvsp-content h3{font-size:1.12rem; margin:1.4rem 0 .6rem}
.cvsp-content ul{padding-left:1.15rem; margin:.4rem 0 1rem}
.cvsp-content li{margin:.42rem 0}
.cvsp-content :where(h1,h2,h3,h4,h5,h6) { font-weight: bold }


/* RIGHT column (sidebar) */
.cvsp-side{min-width:0}
.cvsp-card{background:#fff; border:1px solid var(--cvsp-line); border-radius:var(--cvsp-radius); padding:18px}
.cvsp-hi{display:flex; gap:12px}
.cvsp-hi .cvsp-rail{width:4px; background:var(--cvsp-line); border-radius:999px}
.cvsp-hi ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px}
.cvsp-hi li a{color:var(--cvsp-ink)}


.cvsp-btn{
    background: var(--covu-gold);
    max-width: max-content;
    color: #0d0d0d !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 7px 22px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, .04);
    white-space: nowrap;
}
.cvsp-btn:hover{background: var(--covu-gold-2); text-decoration:none !important;}

/* ===== Top Posts (exact match to screenshot) ===== */
.cvsp-top{
  background: var(--cvsp-bg-2);   /* #f5f7fb */
  border: 0 !important;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(15, 23, 32, 0.04);
}

.cvsp-top h4{
  margin: 0 0 14px;
  font-weight: bold;
  font-size: 25px;             /* strong like the reference */
  line-height: 1.3;
  color: #1C2945;
}

.cvsp-top ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;                      /* space between links */
}

.cvsp-top li a{
  color: var(--cvsp-navy);        /* deep navy link color */
  font-weight: 400;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cvsp-top li a:hover{
  text-decoration-thickness: 2px; /* subtle emphasis on hover */
}


/* bottom CTA banner (same as screenshot 2) */
/* ====== Bottom CTA (match screenshot) ====== */
/* ===== Bottom CTA (two-column with clipped right panel) ===== */
.cvsp-cta{
  margin: 40px 0;
  background: #172446;          /* deep navy */
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.cvsp-cta__grid{
  display: grid;
  grid-template-columns: 1fr 38%;   /* left copy / right shape */
  align-items: center;
  gap: 24px;
}

/* Left column (copy + button) */
.cvsp-cta__left h3{
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.cvsp-cta__left p{
  margin: 0 0 18px;
  font-size: 1rem;
  color: #e4e7ee;
  max-width: 640px;
}
.cvsp-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffbd2f;
  color: #111 !important;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.2) inset;
  width: fit-content;
}
.cvsp-cta-btn:hover{ filter:brightness(.95); text-decoration:none; }

/* Right column (decorative shape only) */
.cvsp-cta__right{
  position: relative;
  height: 100%;                 /* controls visible size of the shape */
}

.cvsp-cta__left {
    padding: 40px 0px 40px 40px;
}
.cvsp-cta__shape{
  position: absolute;
  inset: 0;
  background: #f6f7fa;          /* light panel */
  /* diagonal shape—tune points to your taste */
  clip-path: polygon(45% 0, 100% 24%, 100% 100%, 0 100%);
  border-radius: 12px 0 12px 0; /* soft corners like the ref feel */
}

/* Responsive */
@media (max-width: 1024px){
  .cvsp-cta{ padding: 28px; }
  .cvsp-cta__grid{ grid-template-columns: 1fr 40%; }
  .cvsp-cta__right{ height: 200px; }
}
@media (max-width: 768px){
  .cvsp-cta{ padding: 0px; border-radius: 14px; }
  .cvsp-cta__grid{ grid-template-columns: 1fr; gap: 16px; }
  .cvsp-cta__right{ height: 140px; }
  .cvsp-cta__shape{ clip-path: polygon(55% 0, 100% 35%, 100% 100%, 0 100%); }

  .cvsp-cta__left {
    padding: 20px;
}
}




/* --------- Highlights (exact like screenshot) --------- */
.cvsp-hi-card{
  border: 0;                 /* no box border */
  padding: 0;                /* tight like ref */
  background: transparent;
  margin-bottom: 50px;
}
.cvsp-hi-card h4{
  font-size: 25px;
  margin: 0 0 20px;
  font-weight: bold;
}

.cvsp-hi-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;                 /* spacing between items */
}
.cvsp-hi-list li{
  position: relative;
  padding-left: 18px;        /* room for the tick */
  line-height: 1.45;
  border-left: 4px solid var(--covu-gold);
}

.cvsp-hi-list a{
  color: var(--cvsp-ink);
  text-decoration: none;
}
.cvsp-hi-list a:hover{ text-decoration: underline; }

/* --------- Promo (exact like screenshot) --------- */
/* Promo (match reference) */
.cvsp-promo{
  position:relative;
  background:#0f2745;                 /* deep navy */
  color:#fff;
  border-radius:16px;
  padding:20px 18px 120px;            /* reserve space for artwork */
  min-height:460px;                   /* tall card like screenshot */
  overflow:hidden;
  isolation:isolate;
}
.cvsp-promo-body{ position:relative; z-index:1; max-width: 86%; }

/* small uppercase "COVU" kicker */
.cvsp-kicker{
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:8px;
}

/* headline + highlight word in yellow */
.cvsp-promo h5{
  margin:0 0 10px;
  font-size:30px;
  line-height:1.3;
  font-weight:800;
  color: #fff;
}
.cvsp-promo h5 strong{ color:#ffbd2f; font-weight:800; }

/* CTA button (smaller, not full‑width) */

/* artwork anchored bottom-right behind content */
.cvsp-promo::after{
  content:"";
  position:absolute;
  bottom:-4px;
  width:140px;                         /* tweak if needed */
  height:170px;
  background:url('https://blogs.covu.com/wp-content/uploads/2025/08/765d0feb26dbbf4433d05b8243afb3845625e575.png')
             no-repeat right bottom / contain;
  pointer-events:none;
  z-index:0;
}

/* tighten rail spacing */
.cvsp-side > * + *{ margin-top:16px; }

/* mobile adjustments */
@media (max-width: 999.98px){
  .cvsp-promo{ padding-bottom:110px; }
  .cvsp-promo::after{ width:140px; height:170px; }
  .cvsp-promo-body{ max-width:100%; }
}


/* desktop */
@media (min-width:1000px){
  .cvsp-grid{grid-template-columns:minmax(0,1fr) 320px; gap:28px}
  .cvsp-side{position:sticky; top:92px; height:max-content}
}

.cvsp-authorblock{
  display:flex;
  flex-direction:column;
  gap:6px;              /* adjust spacing */
}


/* Base typography */
.cvsp-content {
  color: #1C2945;
	font-size: 20px;

}

@media (max-width: 767px){
	.cvsp-content{
		font-size: 18px;
	}
	
	.m35b .container{
	    padding: inherit;
	}
}

/* Headings + subheadings: bold */
.cvsp-content :where(h1,h2,h3,h4,h5,h6) {
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.6em;
  color: #1C2945;
}

/* Heading (main) */
.cvsp-content h1 { font-size: 36px; }

/* Subheading */
.cvsp-content h2,
.cvsp-content h3 { font-size: 28px; }

/* Smaller headings (optional, keep hierarchy) */
.cvsp-content h4 { font-size: 24px; }
.cvsp-content h5 { font-size: 20px; }
.cvsp-content h6 { font-size: 18px; }

/* Paragraphs */
.cvsp-content p {
  line-height: 1.7;
  margin: 0 0 1em;
  color: #1C2945;
}


/* Mobile: show the top block, hide the sidebar one */
@media (max-width: 991.98px){
  #cvsp-highlights { display: none; }
  #cvsp-highlights-mobile { display: block; }
}

/* Desktop: hide the top block, show the sidebar one */
@media (min-width: 992px){
  #cvsp-highlights-mobile { display: none; }
}



.sap-hero__badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px; list-style-type: none; padding: 0px;}
.sap-pill{
  color:#fff;font-weight:600;font-size:12px;letter-spacing:.02em;
  padding:6px 10px;border-radius:999px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
  backdrop-filter:saturate(140%) blur(2px)
}