
:root{--cpp-news-ink:#16283a;--cpp-news-muted:#657585;--cpp-news-line:#dce3e8;--cpp-news-soft:#f5f7f8;--cpp-news-accent:#e9b94b;--cpp-news-dark:#142b3a}
.cpp-news-page{background:#fff;color:var(--cpp-news-ink)}
.cpp-news-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.cpp-news-article-narrow{width:min(760px,calc(100% - 40px));margin-inline:auto}
.cpp-news-hero{padding:88px 0 62px;background:linear-gradient(180deg,#f8fafb 0%,#fff 100%);border-bottom:1px solid var(--cpp-news-line)}
.cpp-news-hero-inner{max-width:900px}
.cpp-news-kicker{margin:0 0 12px;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:#947127}
.cpp-news-kicker a{color:inherit;text-decoration:none}
.cpp-news-hero h1,.cpp-news-article-header h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.04em;margin:0;color:var(--cpp-news-dark)}
.cpp-news-deck{font-size:clamp(20px,2.5vw,28px);line-height:1.35;margin:22px 0 28px;color:#384f61;max-width:760px}
.cpp-news-intro{font-size:17px;line-height:1.7;max-width:760px;color:#4e6170}
.cpp-news-intro p{margin:0 0 12px}
.cpp-news-body{padding:44px 0 90px}
.cpp-news-topics{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px}
.cpp-news-topics a{display:inline-flex;padding:9px 14px;border:1px solid var(--cpp-news-line);border-radius:999px;text-decoration:none;color:var(--cpp-news-ink);font-size:13px;font-weight:700;background:#fff}
.cpp-news-topics a:hover{background:var(--cpp-news-dark);border-color:var(--cpp-news-dark);color:#fff}
.cpp-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.cpp-news-card{border-top:1px solid var(--cpp-news-line);padding-top:22px}
.cpp-news-card.is-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:36px;border-top:0;padding:0 0 38px;border-bottom:1px solid var(--cpp-news-line)}
.cpp-news-image{display:block;overflow:hidden;background:var(--cpp-news-soft);aspect-ratio:16/9}
.cpp-news-card.is-featured .cpp-news-image{aspect-ratio:4/3}
.cpp-news-image img,.cpp-news-featured-image img{width:100%;height:100%;object-fit:cover;display:block}
.cpp-news-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--cpp-news-muted);margin-bottom:10px}
.cpp-news-meta span:first-child{color:#947127;font-weight:800}
.cpp-news-card h2{font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.025em;margin:0 0 12px}
.cpp-news-card.is-featured h2{font-size:clamp(34px,4.5vw,56px)}
.cpp-news-card h2 a{color:var(--cpp-news-dark);text-decoration:none}
.cpp-news-excerpt{color:#526675;line-height:1.65;font-size:15px}
.cpp-news-card-footer{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:18px}
.cpp-news-read,.cpp-news-comment-count{font-size:13px;font-weight:800;text-decoration:none}
.cpp-news-read{color:var(--cpp-news-dark)}
.cpp-news-comment-count{color:#7b8790}
.cpp-news-pagination{margin-top:50px}
.cpp-news-empty{padding:30px 0}
.cpp-news-article-header{padding:64px 0 32px}
.cpp-news-article-header h1{font-size:clamp(42px,7vw,78px)}
.cpp-news-standfirst{font-size:21px;line-height:1.5;color:#4a6070;margin-top:25px}
.cpp-news-byline{display:flex;gap:8px;align-items:center;color:var(--cpp-news-muted);font-size:13px;margin-top:26px}
.cpp-news-featured-image{margin-top:16px;margin-bottom:42px;max-height:650px;overflow:hidden}
.cpp-news-featured-image img{height:auto}
.cpp-news-article-content{font-size:18px;line-height:1.8;color:#243c4d;padding-bottom:42px}
.cpp-news-article-content p{margin:0 0 1.35em}
.cpp-news-article-content h2{font-size:34px;line-height:1.15;color:var(--cpp-news-dark);margin:1.7em 0 .55em}
.cpp-news-article-content blockquote{border-left:3px solid var(--cpp-news-accent);margin:2em 0;padding:.2em 0 .2em 22px;font-size:22px;line-height:1.5;color:#344b5b}
.cpp-news-article-footer{border-top:1px solid var(--cpp-news-line);padding:38px 0 42px}
.cpp-news-conversation-label{text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800;color:#947127}
.cpp-news-article-footer h2{font-size:32px;margin:6px 0 8px}
@media(max-width:780px){
  .cpp-news-hero{padding:58px 0 42px}
  .cpp-news-grid{grid-template-columns:1fr}
  .cpp-news-card.is-featured{display:block}
  .cpp-news-card.is-featured .cpp-news-image{margin-bottom:22px}
  .cpp-news-article-header{padding-top:42px}
  .cpp-news-article-content{font-size:17px}
}


/* 1.0.4 — desktop archive/topic sidebar */
.cpp-news-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:58px;
  align-items:start;
}
.cpp-news-main{min-width:0}
.cpp-news-sidebar{
  position:sticky;
  top:32px;
  border-left:1px solid var(--cpp-news-line);
  padding-left:28px;
}
.cpp-news-widget + .cpp-news-widget{
  margin-top:38px;
  padding-top:32px;
  border-top:1px solid var(--cpp-news-line);
}
.cpp-news-widget h2{
  margin:0 0 20px;
  font-size:21px;
  line-height:1.1;
  color:var(--cpp-news-dark);
}
.cpp-news-archive-year + .cpp-news-archive-year{margin-top:24px}
.cpp-news-archive-year h3{
  margin:0 0 8px;
  font-size:13px;
  letter-spacing:.08em;
  color:#947127;
}
.cpp-news-widget ul{list-style:none;margin:0;padding:0}
.cpp-news-widget li{margin:0;border-bottom:1px solid #edf0f2}
.cpp-news-widget li:last-child{border-bottom:0}
.cpp-news-widget li a{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 0;
  color:#425767;
  text-decoration:none;
  font-size:14px;
}
.cpp-news-widget li a:hover{color:var(--cpp-news-dark)}
.cpp-news-count{
  min-width:24px;
  text-align:right;
  color:#8b969e;
  font-size:12px;
}
.cpp-news-widget-empty{
  margin:0;
  color:#71808b;
  font-size:13px;
  line-height:1.55;
}
.cpp-news-filter-heading{
  margin:0 0 32px;
  padding:0 0 24px;
  border-bottom:1px solid var(--cpp-news-line);
}
.cpp-news-filter-heading h2{
  margin:0 0 8px;
  font-size:34px;
  color:var(--cpp-news-dark);
}
.cpp-news-filter-heading a{
  font-size:13px;
  font-weight:700;
  color:#647785;
}

@media(max-width:900px){
  .cpp-news-layout{grid-template-columns:1fr;gap:48px}
  .cpp-news-sidebar{
    position:static;
    border-left:0;
    border-top:1px solid var(--cpp-news-line);
    padding:34px 0 0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:36px;
  }
  .cpp-news-widget + .cpp-news-widget{
    margin:0;
    padding:0;
    border-top:0;
  }
}
@media(max-width:580px){
  .cpp-news-sidebar{grid-template-columns:1fr}
  .cpp-news-widget + .cpp-news-widget{
    margin-top:4px;
    padding-top:28px;
    border-top:1px solid var(--cpp-news-line);
  }
}


/* 1.0.5 — calmer article typography and single metadata treatment */

/*
 * Vexora prints the post title above the_content. We keep that one title,
 * but hide theme-generated date/meta fragments on CPP News singles where possible.
 * Selectors are deliberately scoped to the News post type.
 */
body.cpp-news-single .wp-block-post-date{
  display:none !important;
}
body.cpp-news-single .wp-block-post-author,
body.cpp-news-single .wp-block-post-author-name{
  display:none !important;
}

/* Tame Vexora's theme-owned article title without affecting ordinary pages/posts. */
body.cpp-news-single .wp-block-post-title{
  font-size:clamp(36px,4.6vw,54px) !important;
  line-height:1.05 !important;
  letter-spacing:-.035em !important;
  max-width:900px;
}

/* Plugin-owned article details beneath the theme title. */
.cpp-news-article-header{
  padding:18px 0 28px;
}
.cpp-news-single-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
  font-size:12px;
  line-height:1.4;
  color:var(--cpp-news-muted);
}
.cpp-news-single-meta .cpp-news-kicker{
  margin:0;
}
.cpp-news-standfirst{
  font-size:19px;
  line-height:1.5;
  margin-top:14px;
}
.cpp-news-byline{
  margin-top:16px;
  font-size:13px;
}

/* Featured image: broad enough to feel editorial, but not a billboard. */
.cpp-news-featured-image{
  width:min(980px,calc(100% - 40px));
  margin:10px auto 42px;
  max-height:none;
}
.cpp-news-featured-image img{
  width:100%;
  height:auto;
  max-height:620px;
  object-fit:cover;
}

/* Keep archive/card headlines editorial rather than landing-page scale. */
.cpp-news-card h2{
  font-size:clamp(23px,2.6vw,34px);
}
.cpp-news-card.is-featured h2{
  font-size:clamp(30px,3.7vw,44px);
}

@media(max-width:780px){
  body.cpp-news-single .wp-block-post-title{
    font-size:clamp(34px,10vw,40px) !important;
    line-height:1.08 !important;
  }
  .cpp-news-standfirst{font-size:18px}
  .cpp-news-featured-image{
    width:min(100% - 28px,980px);
    margin-bottom:30px;
  }
}


/* 1.0.6 — no excerpt on individual News articles.
 * Excerpts remain available on /news/ article cards.
 */
body.cpp-news-single .wp-block-post-excerpt{
  display:none !important;
}
body.cpp-news-single .cpp-news-standfirst{
  display:none !important;
}


/* 1.0.7 — one title, one clean featured image */
body.cpp-news-single .wp-block-post-title,
body.cpp-news-single .wp-block-post-featured-image{
  display:none !important;
}

/* Fallback for a theme cover hero if it survives block filtering. */
body.cpp-news-single .wp-block-cover:has(.wp-block-post-title){
  display:none !important;
}

.cpp-news-single-title{
  margin:0 0 18px;
  max-width:900px;
  font-size:clamp(38px,4.4vw,52px);
  line-height:1.06;
  letter-spacing:-.035em;
  color:var(--cpp-news-dark);
}

.cpp-news-article-header{
  padding:38px 0 24px;
}

.cpp-news-featured-image{
  margin-top:6px;
}

@media(max-width:780px){
  .cpp-news-single-title{
    font-size:clamp(34px,9vw,40px);
    line-height:1.08;
  }
  .cpp-news-article-header{
    padding-top:28px;
  }
}
