/* CSB compact layouts. Existing fonts, palette and native controls. */
/* Override only the old logo/tagline offsets that conflict with compact rows. */
#header .site-description {margin-top:2px!important}
#header .site-logo-container .default-logo {width:var(--logo-max-height)!important;height:var(--logo-max-height)!important;margin-top:0!important}
.home .csb-home-heading {padding-top:22px}
.csb-home-heading {font:600 clamp(18px,1.8vw,23px)/1.3 "DM Sans",sans-serif;letter-spacing:-.025em;text-transform:none;margin:0 0 26px;color:var(--theme-palette-color-4,#171819)}
.csb-query-lead,.csb-home-section {margin-block:0 44px}
.csb-lead-list,.csb-stream-list {list-style:none;margin:0;padding:0}
.csb-query-lead .csb-lead-list {display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);column-gap:40px;row-gap:0;align-items:start}
.csb-lead-list>li {min-width:0;border-top:1px solid var(--theme-palette-color-5,#dce0e4);padding:22px 0;margin:0}
.csb-lead-list>li:first-child {grid-row:span 3;border-top:0;padding:0}
.csb-lead-list>li:nth-child(2) {padding-top:0;border-top:3px solid var(--theme-palette-color-1,#a31515);padding-top:20px}
.csb-lead-image {margin:0 0 20px;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#edf0f2}
.csb-lead-image a {display:block;height:100%}
.csb-lead-image img {display:block;width:100%;height:100%;object-fit:cover}
.csb-query-lead .csb-story-title {font:700 clamp(24px,2.1vw,30px)/1.18 "DM Sans",sans-serif;text-transform:none;letter-spacing:-.035em;margin:0 0 12px}
.csb-lead-list>li:first-child .csb-story-title {font-size:clamp(29px,3vw,40px);line-height:1.13}
.csb-story-title a {text-decoration:none}
.csb-story-title a:hover {color:var(--theme-palette-color-1,#a31515)}
.csb-story-date {font:400 13px/1.5 "DM Sans",sans-serif;color:#535b62;margin:0 0 12px}
.csb-lead-excerpt {font:400 16px/1.65 "DM Sans",sans-serif;color:var(--theme-palette-color-3,#333);margin-top:10px}
.csb-lead-excerpt p {margin-bottom:0}
.csb-section-heading {display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-bottom:1px solid var(--theme-palette-color-5,#dce0e4);margin-bottom:22px;padding-bottom:14px}
.csb-section-heading h2 {font:400 30px/1.1 "Bebas Neue",sans-serif;letter-spacing:.3px;margin:0}
.csb-section-link {font:600 14px/1.4 "DM Sans",sans-serif;margin:0;white-space:nowrap}
.csb-query-stream .csb-stream-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.csb-stream-list>li {margin:0;min-width:0}
.csb-stream-image {margin:0 0 14px;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:#edf0f2}
.csb-stream-image a {display:block;height:100%}
.csb-stream-image img {display:block;width:100%;height:100%;object-fit:cover}
.csb-query-stream .csb-story-title {font:650 21px/1.3 "DM Sans",sans-serif;text-transform:none;letter-spacing:-.025em;margin:0 0 8px}
.csb-community {margin-top:12px;margin-bottom:30px}
.csb-community .stk-block-heading__text {line-height:1.15}
.csb-community .stk-block-heading h3 {font-family:"DM Sans",sans-serif;font-size:19px;line-height:1.3;text-transform:none}
/* Article template: native type1 title and featured image, rather than overlay. */
.single-post main [data-vertical-spacing*="top"] {padding-top:24px}
.single-post .hero-section[data-type="type-1"] {margin-top:0}
.single-post .hero-section .entry-header {max-width:850px;margin-inline:auto;text-align:left}
.single-post .hero-section .entry-header .page-title {font:700 clamp(30px,3vw,40px)/1.14 "DM Sans",sans-serif;letter-spacing:-.04em;text-transform:none;color:var(--theme-palette-color-4,#171819)}
.single-post .hero-section .entry-meta,.single-post .hero-section .entry-meta a {color:#535b62;font-family:"DM Sans",sans-serif;font-size:13px;line-height:1.5;text-transform:none;letter-spacing:0}
.single-post .hero-section .entry-header>*:last-child {margin-bottom:0}
.single-post .ct-featured-image {max-width:850px;margin:0 auto 24px;padding:0}
.single-post .ct-featured-image .ct-media-container {aspect-ratio:16/6;max-height:280px}
.single-post .ct-featured-image img {object-fit:cover;height:100%;max-height:none}
.single-post .entry-content {--theme-content-spacing:1.25em}
.single-post .entry-content h2 {font-family:"DM Sans",sans-serif;font-size:clamp(24px,2.3vw,30px);line-height:1.25;text-transform:none;letter-spacing:-.025em}
.single-post .entry-content h3 {font-family:"DM Sans",sans-serif;font-size:22px;line-height:1.3;text-transform:none;letter-spacing:-.02em}
/* Catalog density only; query, filters, content and drawer remain native. */
.xp-hero {padding-block:26px 22px}
.xp-hero h1 {font-size:clamp(34px,4.5vw,58px);line-height:1.06}
.xp-hero__lead {margin-top:10px}
.xp-hero__search {margin-top:20px}
.xp-card__body {padding-top:16px}
.xp-card__image-frame {padding:18px}
.xp-card__hook {margin-bottom:16px}
@media(max-width:999px){
 .csb-query-lead .csb-lead-list {column-gap:26px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
 .csb-query-lead .csb-story-title {font-size:22px}
 .csb-lead-list>li:first-child .csb-story-title {font-size:30px}
 .csb-query-stream .csb-stream-list {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .csb-home-heading {font-size:18px;line-height:1.35;margin-bottom:20px}
 .csb-query-lead .csb-lead-list {display:block}
 .csb-lead-list>li {padding:17px 0}
 .csb-lead-list>li:first-child {padding-bottom:22px}
 .csb-lead-list>li:nth-child(2) {padding-top:18px;border-top-width:1px;border-top-color:var(--theme-palette-color-5,#dce0e4)}
 .csb-lead-image {margin-bottom:16px}
 .csb-lead-list>li:first-child .csb-story-title {font-size:28px;line-height:1.15}
 .csb-query-lead .csb-story-title {font-size:19px;line-height:1.3}
 .csb-lead-excerpt {font-size:14px;line-height:1.6}
 .csb-story-date {font-size:12px;margin-bottom:6px}
 .csb-query-lead,.csb-home-section {margin-bottom:32px}
 .csb-section-heading {gap:12px;padding-bottom:12px;margin-bottom:18px}
 .csb-section-heading h2 {font-size:26px}
 .csb-section-link {font-size:12px;white-space:normal;text-align:right}
 .csb-query-stream .csb-stream-list {display:block}
 .csb-stream-list>li {display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:16px;border-bottom:1px solid var(--theme-palette-color-5,#dce0e4);padding:16px 0}
 .csb-stream-list>li:first-child {padding-top:0}
 .csb-stream-image {grid-row:span 2;aspect-ratio:1;margin:0}
 .csb-query-stream .csb-story-title {font-size:17px;line-height:1.35;margin-bottom:6px}
 .csb-stream-list .csb-story-date {grid-column:2;font-size:11px}
 .csb-community .stk-block-heading__text {font-size:26px}
 .single-post .hero-section[data-type="type-1"] {margin-top:0}
 .single-post .hero-section .entry-header .page-title {font-size:30px;line-height:1.16}
 .single-post .hero-section .entry-meta {font-size:12px}
 .single-post .ct-featured-image {margin-bottom:22px}
 .single-post .ct-featured-image .ct-media-container {aspect-ratio:16/9;max-height:230px}
 .xp-hero {padding-block:20px 18px}
 .xp-hero h1 {font-size:34px}
 .xp-hero__lead {font-size:14px;line-height:1.55}
 .xp-hero__meta {margin-top:10px}
 .xp-hero__search {margin-top:16px}
 .xp-card__image-frame {padding:12px}
 .xp-card__image-frame img {max-height:150px;object-fit:contain}
 .xp-card__body {padding-top:14px}
 .xp-card__hook {font-size:14px;line-height:1.55}
}
@media(prefers-reduced-motion:reduce){.csb-query-lead a,.csb-query-stream a{transition:none}}
