/*
 * CoolCare Content Hub
 * Case study template + insights hub.
 *
 * Everything is namespaced under .cc-page and every class carries a cc- prefix, so nothing here can
 * leak into the rest of the coolcare theme and the theme's own global rules are unlikely to leak in.
 * Section headings are lowercase with a full stop; that is done in the templates, not with
 * text-transform, so proper nouns in editor-entered titles are never mangled.
 */

.cc-page {
	--cc-blue: #89D8FF;
	--cc-blue-tint: #C7ECFF;
	--cc-blue-soft: #E7F6FF;
	--cc-slate: #333333;
	--cc-slate-2: #454545;
	--cc-ink: #3a3a3a;
	--cc-muted: #6a6f73;
	--cc-orange: #D87927;
	--cc-line: #e2e6e9;
	--cc-soft: #f4f7f9;
	--cc-radius: 14px;
	--cc-shadow: 0 10px 30px rgba(30, 40, 50, .08);
	--cc-shadow-sm: 0 4px 14px rgba(30, 40, 50, .07);

	color: var(--cc-ink);
	font-family: 'Libre Franklin', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	background: #fff;
}

.cc-page *,
.cc-page *::before,
.cc-page *::after { box-sizing: border-box; }

.cc-page img { max-width: 100%; height: auto; }
.cc-page a { color: inherit; text-decoration: none; }
.cc-page p { margin: 0 0 1rem; }
.cc-page .screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- type */
.cc-page .cc-huge,
.cc-page .cc-h1,
.cc-page .cc-h2,
.cc-page .cc-h3 {
	font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 900;
	letter-spacing: -.02em;
	color: var(--cc-slate);
	line-height: 1.05;
	margin: 0;
	text-transform: none;
}
.cc-page .cc-huge { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.cc-page .cc-h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.cc-page .cc-h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.cc-page .cc-h3 { font-size: 1.12rem; display: block; }
.cc-page .cc-eyebrow {
	display: block; font-weight: 700; font-size: .74rem; letter-spacing: .12em;
	color: var(--cc-slate-2); margin-bottom: 6px;
}
.cc-page .cc-lede { font-size: 1.15rem; line-height: 1.6; color: var(--cc-slate-2); }

/* ---------------------------------------------------------------- layout */
.cc-page .cc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/*
 * Vertical rhythm lives on the inner .cc-wrap, not on the <section>.
 *
 * The theme sets section:not([class*="pt-"]){padding-top:120px} in main.css, so every section needs
 * the pt-0 / pb-0 opt-out classes in the markup. Those come from Bootstrap and carry !important,
 * which means nothing can put padding back on the section itself. Putting our spacing one level in
 * sidesteps both: the theme's rule never matches, and Bootstrap's utilities never touch .cc-wrap.
 */
.cc-page .cc-pad > .cc-wrap { padding-top: 64px; padding-bottom: 64px; }
.cc-page .cc-pad-sm > .cc-wrap { padding-top: 44px; padding-bottom: 44px; }
.cc-page section { position: relative; }

.cc-page .cc-swirl {
	position: absolute; inset: 0; z-index: 1; opacity: .10; pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23333' stroke-width='2' opacity='0.5'><path d='M0 30 a15 15 0 0 1 30 0 a15 15 0 0 0 30 0'/><path d='M0 45 a15 15 0 0 1 30 0 a15 15 0 0 0 30 0'/><path d='M0 15 a15 15 0 0 1 30 0 a15 15 0 0 0 30 0'/></g></svg>");
	background-size: 60px 60px;
}
.cc-page .cc-corner-tr,
.cc-page .cc-corner-bl { position: absolute; background: var(--cc-slate); pointer-events: none; }
.cc-page .cc-corner-tr { top: 0; right: 0; width: 104px; height: 104px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.cc-page .cc-corner-bl { bottom: 0; left: 0; width: 168px; height: 168px; clip-path: polygon(0 0, 0 100%, 100% 100%); }

/* ---------------------------------------------------------------- buttons */
.cc-page .cc-btn {
	display: inline-block; background: var(--cc-slate); color: #fff; font-weight: 800;
	font-size: .95rem; line-height: 1.2; padding: 13px 22px 13px 28px; border: 0; cursor: pointer;
	font-family: inherit; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.cc-page .cc-btn:hover { background: #1f1f1f; color: #fff; }
.cc-page .cc-btn--blue { background: var(--cc-blue); color: var(--cc-slate); }
.cc-page .cc-btn--blue:hover { background: #6fccf7; color: var(--cc-slate); }
.cc-page .cc-btn--orange { background: var(--cc-orange); color: #fff; }
.cc-page .cc-btn--orange:hover { background: #c26a1f; }
.cc-page .cc-btn--full { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.cc-page .cc-btn--ghost {
	display: inline-block; border: 2px solid var(--cc-slate); color: var(--cc-slate);
	font-weight: 700; font-size: .95rem; padding: 10px 20px; background: none; clip-path: none;
}
.cc-page .cc-btn--ghost:hover { background: var(--cc-slate); color: #fff; }

.cc-page .cc-chip {
	display: inline-block; background: var(--cc-blue-soft); color: var(--cc-slate); font-weight: 700;
	font-size: .76rem; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px;
}
.cc-page .cc-chip--sm { font-size: .68rem; padding: 3px 9px; }
.cc-page .cc-chip--slate { background: var(--cc-slate); color: #fff; }
.cc-page .cc-chip--orange { background: var(--cc-orange); color: #fff; }

/* ---------------------------------------------------------------- hero */
.cc-page .cc-hero { background: var(--cc-blue); overflow: hidden; }
/*
 * The theme's <header> renders at zero height and overlays whatever follows it, which is why every
 * theme template opens with a hero carrying pt-140. We do the same, but on the inner element rather
 * than via the Bootstrap utility, so the clearance can shrink on small screens.
 */
.cc-page .cc-hero__inner {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
	padding-top: 140px; padding-bottom: 60px; position: relative; z-index: 2;
}
.cc-page .cc-hero__inner--single { display: block; }
.cc-page .cc-hero--short .cc-hero__inner { padding-top: 140px; padding-bottom: 46px; }
.cc-page .cc-breadcrumb { font-size: .82rem; color: #2c4657; font-weight: 600; margin-bottom: 18px; }
.cc-page .cc-hero .cc-chip { background: rgba(255, 255, 255, .62); }
.cc-page .cc-hero .cc-huge { margin: 14px 0 16px; max-width: 18ch; }
.cc-page .cc-hero__inner--single .cc-huge { max-width: 22ch; }
.cc-page .cc-hero .cc-lede { max-width: 62ch; }

.cc-page .cc-facts { display: flex; gap: 26px; margin: 22px 0 26px; flex-wrap: wrap; }
.cc-page .cc-fact { margin: 0; }
.cc-page .cc-fact dd {
	margin: 0; font-family: 'Arial Black', Arial, sans-serif; font-size: 1.5rem;
	color: var(--cc-slate); letter-spacing: -.02em; line-height: 1.1;
}
.cc-page .cc-fact dt { font-size: .82rem; font-weight: 600; color: #33505f; letter-spacing: .05em; }
.cc-page .cc-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.cc-page .cc-featimg {
	position: relative; width: 100%; max-width: 548px; margin: 0 auto; border-radius: 18px;
	overflow: hidden; border: 5px solid #fff; box-shadow: 0 22px 40px rgba(20, 30, 40, .24);
	aspect-ratio: 14 / 11; background: var(--cc-blue-tint);
}
.cc-page .cc-featimg__img,
.cc-page .cc-featimg .cc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-page .cc-featcap {
	position: absolute; left: 14px; top: 14px; background: rgba(51, 51, 51, .86); color: #fff;
	font-weight: 700; font-size: .78rem; padding: 7px 13px; border-radius: 8px;
}

/* ------------------------------------------------- results, split by source */
.cc-page .cc-results { background: var(--cc-soft); }
.cc-page .cc-metricband { margin-top: 6px; }
.cc-page .cc-metricband + .cc-metricband { margin-top: 30px; }
.cc-page .cc-bandlab { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.cc-page .cc-bandlab b {
	font-family: 'Arial Black', Arial, sans-serif; font-size: .95rem; letter-spacing: -.01em;
	color: var(--cc-slate);
}
.cc-page .cc-bandlab span { font-size: .84rem; color: var(--cc-muted); }
.cc-page .cc-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cc-page .cc-metrics--narrow { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
.cc-page .cc-metric {
	background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius);
	padding: 24px 22px; box-shadow: var(--cc-shadow-sm);
}
.cc-page .cc-metric b {
	display: block; font-family: 'Arial Black', Arial, sans-serif; font-size: 2rem;
	color: var(--cc-slate); letter-spacing: -.03em; line-height: 1;
}
.cc-page .cc-metric.is-hi b { color: var(--cc-orange); }
.cc-page .cc-metric span { display: block; margin-top: 8px; font-size: .92rem; color: var(--cc-muted); font-weight: 500; }
.cc-page .cc-statnote {
	margin: 22px 0 0; font-size: .84rem; color: var(--cc-muted);
	border-left: 3px solid var(--cc-blue); padding: 6px 0 6px 14px; max-width: 78ch;
}

/* ---------------------------------------------------------------- body */
.cc-page .cc-body { display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.cc-page .cc-block { margin-bottom: 42px; }
.cc-page .cc-prose .cc-h2 { margin: 6px 0 12px; }
.cc-page .cc-ticks { margin: 0 0 18px; padding-left: 0; list-style: none; }
.cc-page .cc-ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.cc-page .cc-ticks li::before {
	content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
	background: var(--cc-blue); border-radius: 3px;
}
.cc-page .cc-screenshot { display: block; margin-top: 14px; border-radius: 12px; border: 1px solid var(--cc-line); }

.cc-page .cc-quote {
	background: var(--cc-blue); border-radius: 18px; padding: 34px; position: relative;
	overflow: hidden; margin: 6px 0 42px;
}
.cc-page .cc-quote__text {
	position: relative; z-index: 2; margin: 0 0 18px; font-family: 'Arial Black', Arial, sans-serif;
	letter-spacing: -.01em; font-size: 1.35rem; line-height: 1.25; color: var(--cc-slate);
}
.cc-page .cc-quote__by { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.cc-page .cc-avatar {
	width: 52px; height: 52px; border-radius: 50%; background: var(--cc-slate); color: #fff;
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	font-family: 'Arial Black', Arial, sans-serif; font-size: 1.05rem;
}
.cc-page .cc-quote__by b { display: block; color: var(--cc-slate); font-weight: 800; }
.cc-page .cc-quote__by span span { font-size: .88rem; color: #33505f; }

.cc-page .cc-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-page .cc-featcard {
	display: block; border: 1px solid var(--cc-line); border-radius: var(--cc-radius);
	padding: 20px; background: #fff; transition: transform .15s, border-color .15s;
}
a.cc-page .cc-featcard:hover,
.cc-page a.cc-featcard:hover { transform: translateY(-3px); border-color: var(--cc-blue); }
.cc-page .cc-featcard__tag {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--cc-slate);
	margin-bottom: 8px; font-family: 'Arial Black', Arial, sans-serif; letter-spacing: -.01em; font-size: 1.02rem;
}
.cc-page .cc-dot { width: 26px; height: 26px; border-radius: 7px; background: var(--cc-blue); display: inline-flex; flex: 0 0 auto; }
.cc-page .cc-featcard p { margin: 0; font-size: .94rem; }
.cc-page .cc-featcard__out { display: block; margin-top: 10px; font-size: .86rem; font-weight: 700; color: var(--cc-orange); }

.cc-page .cc-resultbox { background: var(--cc-slate); color: #fff; border-radius: 18px; padding: 30px 32px; }
.cc-page .cc-resultbox .cc-h3 { color: #fff; }
.cc-page .cc-resultbox__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px; }
.cc-page .cc-resultbox h3 {
	margin: 0 0 8px; font-size: .78rem; letter-spacing: .1em; color: var(--cc-blue);
	font-family: 'Libre Franklin', Arial, sans-serif; font-weight: 800;
}
.cc-page .cc-resultbox p { margin: 0; font-size: .93rem; color: #dfe3e6; }
.cc-page .cc-freeform { max-width: 72ch; }

/* ---------------------------------------------------------------- sidebar */
.cc-page .cc-side { position: sticky; top: 140px; align-self: start; }
.cc-page .cc-card {
	border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 22px;
	background: #fff; box-shadow: var(--cc-shadow-sm); margin-bottom: 20px;
}
.cc-page .cc-side__logo { display: block; max-height: 54px; width: auto; margin-bottom: 16px; }
.cc-page .cc-side__logo--text {
	height: 52px; border-radius: 9px; background: var(--cc-blue-soft); display: flex;
	align-items: center; justify-content: center; font-family: 'Arial Black', Arial, sans-serif;
	color: var(--cc-slate); letter-spacing: -.02em; margin-bottom: 16px; max-height: none;
}
.cc-page .cc-side__facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 18px; font-size: .9rem; }
.cc-page .cc-side__facts dt { color: var(--cc-muted); font-weight: 600; }
.cc-page .cc-side__facts dd { margin: 0; font-weight: 700; color: var(--cc-slate); text-align: right; }
.cc-page .cc-side__cta .cc-h3 { margin-bottom: 6px; }
.cc-page .cc-side__cta p { font-size: .9rem; color: var(--cc-muted); }
.cc-page .cc-dl { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cc-slate); font-size: .9rem; }

.cc-page .cc-reading { background: var(--cc-slate); color: #fff; }
.cc-page .cc-reading .cc-h3 { color: #fff; margin-bottom: 4px; }
.cc-page .cc-reading__sub { font-size: .86rem; color: #c9cdd0; margin-bottom: 14px; }
.cc-page .cc-reading a {
	display: flex; gap: 10px; align-items: flex-start; padding: 11px 0;
	border-top: 1px solid #4a4a4a; font-weight: 600; font-size: .92rem; color: #fff;
}
.cc-page .cc-reading a:first-of-type { border-top: 0; }
.cc-page .cc-reading a:hover { color: var(--cc-blue); }
.cc-page .cc-k { color: var(--cc-blue); font-weight: 800; flex: 0 0 auto; }

/* ---------------------------------------------------------------- cards */
.cc-page .cc-sectitle { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cc-page .cc-sectitle a { font-weight: 700; color: var(--cc-slate); font-size: .92rem; border-bottom: 2px solid var(--cc-blue); padding-bottom: 2px; }

.cc-page .cc-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cc-page .cc-art {
	border: 1px solid var(--cc-line); border-radius: 16px; overflow: hidden; background: #fff;
	box-shadow: var(--cc-shadow-sm); transition: transform .15s; display: flex; flex-direction: column;
}
.cc-page .cc-art:hover { transform: translateY(-4px); }
.cc-page .cc-art__link { display: flex; flex-direction: column; height: 100%; }
.cc-page .cc-art__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; background: var(--cc-blue-soft); }
.cc-page .cc-art__img img,
.cc-page .cc-art__img .cc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-page .cc-art__img .cc-chip { position: absolute; left: 14px; top: 14px; z-index: 2; }
.cc-page .cc-art__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-page .cc-art__body .cc-h3 { margin: 8px 0; }
.cc-page .cc-art__body p { font-size: .9rem; color: var(--cc-muted); margin: 0 0 14px; }
.cc-page .cc-ctype { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .7rem; letter-spacing: .08em; color: var(--cc-slate-2); }
.cc-page .cc-ctype.is-watch { color: var(--cc-orange); }
.cc-page .cc-meta { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--cc-muted); font-weight: 600; margin-top: auto; flex-wrap: wrap; }
.cc-page .cc-author { display: inline-flex; align-items: center; gap: 8px; }
.cc-page .cc-apic {
	width: 30px; height: 30px; border-radius: 50%; background: var(--cc-slate); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: 'Arial Black', Arial, sans-serif; font-size: .74rem; flex: 0 0 auto;
}
.cc-page .cc-flag {
	position: absolute; right: 12px; top: 12px; z-index: 3; background: var(--cc-orange); color: #fff;
	font-weight: 800; font-size: .68rem; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px;
}
.cc-page .cc-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
	width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .93);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--cc-shadow);
}
.cc-page .cc-play::after {
	content: ""; border-left: 17px solid var(--cc-slate); border-top: 11px solid transparent;
	border-bottom: 11px solid transparent; margin-left: 5px;
}

/* featured lead */
.cc-page .cc-leadgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.cc-page .cc-lead {
	border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--cc-line);
	box-shadow: var(--cc-shadow); display: flex; flex-direction: column;
}
.cc-page .cc-lead__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cc-blue-soft); }
.cc-page .cc-lead__img img,
.cc-page .cc-lead__img .cc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-page .cc-lead__img .cc-chip { position: absolute; left: 18px; top: 18px; z-index: 2; }
.cc-page .cc-lead__body { display: block; padding: 26px 28px 30px; }
.cc-page .cc-lead__body .cc-h2 { display: block; margin: 6px 0 10px; }
.cc-page .cc-secondary { display: flex; flex-direction: column; gap: 24px; }
.cc-page .cc-mini__link { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.cc-page .cc-mini__img { display: block; height: 96px; border-radius: 12px; overflow: hidden; background: var(--cc-blue-soft); }
.cc-page .cc-mini__img img,
.cc-page .cc-mini__img .cc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-page .cc-mini .cc-h3 { font-size: 1rem; margin-top: 6px; }

/* topic tiles */
.cc-page .cc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc-page .cc-tile {
	border: 1px solid var(--cc-line); border-radius: 14px; padding: 20px 18px; background: #fff;
	box-shadow: var(--cc-shadow-sm); transition: transform .15s, border-color .15s; display: block;
}
.cc-page .cc-tile:hover { transform: translateY(-4px); border-color: var(--cc-blue); }
.cc-page .cc-tile__ic { width: 30px; height: 30px; border-radius: 8px; background: var(--cc-blue-soft); display: inline-flex; margin-bottom: 12px; }
.cc-page .cc-tile .cc-h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cc-page .cc-cnt { font-size: .82rem; color: var(--cc-muted); font-weight: 600; }

/* video */
.cc-page .cc-vidgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cc-page .cc-vid { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--cc-line); box-shadow: var(--cc-shadow-sm); transition: transform .15s; }
.cc-page .cc-vid:hover { transform: translateY(-4px); }
.cc-page .cc-vid__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cc-blue-soft); }
.cc-page .cc-vid__thumb img,
.cc-page .cc-vid__thumb .cc-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-page .cc-dur {
	position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, .72); color: #fff;
	font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; z-index: 2;
}
.cc-page .cc-vid__body { display: block; padding: 16px 18px 18px; }
.cc-page .cc-vid__body .cc-h3 { font-size: 1.02rem; margin-top: 8px; }

/* events */
.cc-page .cc-rail { background: var(--cc-soft); }
.cc-page .cc-evgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cc-page .cc-event {
	display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; background: #fff;
	border: 1px solid var(--cc-line); border-radius: 16px; padding: 20px;
	box-shadow: var(--cc-shadow-sm); align-items: center;
}
.cc-page .cc-datebox { display: block; background: var(--cc-blue); color: var(--cc-slate); border-radius: 12px; text-align: center; padding: 14px 8px; }
.cc-page .cc-datebox b { display: block; font-family: 'Arial Black', Arial, sans-serif; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; }
.cc-page .cc-datebox span { display: block; font-size: .72rem; letter-spacing: .06em; font-weight: 700; }
.cc-page .cc-event__body { display: block; }
.cc-page .cc-event .cc-h3 { font-size: 1.06rem; margin: 6px 0; }
.cc-page .cc-ev-meta { display: block; font-size: .85rem; color: var(--cc-muted); }

/* most read */
.cc-page .cc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cc-page .cc-rcard { display: block; background: #fff; border: 1px solid var(--cc-line); border-radius: 14px; padding: 18px; box-shadow: var(--cc-shadow-sm); }
.cc-page .cc-rcard:hover { border-color: var(--cc-blue); }
.cc-page .cc-rcard .cc-chip { margin-bottom: 10px; font-size: .68rem; }
.cc-page .cc-rcard .cc-h3 { font-size: 1rem; }
.cc-page .cc-rcard .cc-meta { margin-top: 12px; }

/* guides */
.cc-page .cc-guides { background: var(--cc-slate); color: #fff; overflow: hidden; }
.cc-page .cc-guides__inner { position: relative; z-index: 2; }
.cc-page .cc-guides .cc-huge,
.cc-page .cc-guides .cc-h2 { color: #fff; }
.cc-page .cc-guides .cc-eyebrow { color: var(--cc-blue); }
.cc-page .cc-guidegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.cc-page .cc-guide { background: #3f3f3f; border: 1px solid #4c4c4c; border-radius: 16px; padding: 26px 24px; display: block; transition: border-color .15s; }
.cc-page .cc-guide:hover { border-color: var(--cc-blue); }
.cc-page .cc-guide__num { font-family: 'Arial Black', Arial, sans-serif; font-size: 1rem; color: var(--cc-blue); letter-spacing: -.02em; }
.cc-page .cc-guide .cc-h3 { color: #fff; margin: 10px 0 8px; font-size: 1.25rem; }
.cc-page .cc-guide p { color: #c9cdd0; font-size: .92rem; margin: 0 0 16px; }
.cc-page .cc-guide__go { color: var(--cc-blue); font-weight: 800; font-size: .92rem; }

/* finder */
.cc-page .cc-finder { background: var(--cc-slate); color: #fff; overflow: hidden; }
.cc-page .cc-finder__inner { padding-top: 44px; padding-bottom: 44px; position: relative; z-index: 2; }
.cc-page .cc-finder .cc-eyebrow { color: var(--cc-blue); }
.cc-page .cc-madlib {
	font-family: 'Arial Black', Arial, sans-serif; font-size: clamp(1.3rem, 2.9vw, 2.2rem);
	letter-spacing: -.02em; line-height: 2.3; color: #fff; margin: 20px 0 0;
}
.cc-page .cc-madlib select {
	appearance: none; -webkit-appearance: none; background: var(--cc-blue); color: var(--cc-slate);
	border: 0; border-radius: 10px; font-family: inherit; font-size: inherit; letter-spacing: -.02em;
	padding: 8px 46px 10px 18px; margin: 8px 6px; cursor: pointer; line-height: 1.2; max-width: 100%;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat; background-position: right 16px center;
}
.cc-page .cc-go-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 24px; font-family: 'Libre Franklin', Arial, sans-serif; }
.cc-page .cc-hint { color: #aeb4b9; font-size: .9rem; font-weight: 400; letter-spacing: 0; }
.cc-page .cc-tailored {
	display: none; align-items: center; gap: 14px; background: rgba(137, 216, 255, .14);
	border: 1px solid rgba(137, 216, 255, .4); border-radius: 14px; padding: 16px 20px;
	margin: 22px 0 0; color: #eaf6ff; flex-wrap: wrap;
}
.cc-page .cc-tailored.is-on { display: flex; }
.cc-page .cc-tailored .cc-k { font-family: 'Arial Black', Arial, sans-serif; color: var(--cc-blue); }
.cc-page .cc-feed-loading { opacity: .45; transition: opacity .15s; }

/* topic pills */
.cc-page .cc-topics { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.cc-page .cc-topic {
	background: rgba(255, 255, 255, .6); border: 1px solid rgba(51, 51, 51, .15); color: var(--cc-slate);
	font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: 999px;
}
.cc-page .cc-topic:hover,
.cc-page .cc-topic.is-on { background: var(--cc-slate); color: #fff; border-color: var(--cc-slate); }

/* search */
.cc-page .cc-search {
	display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px;
	padding: 12px 16px; min-width: 0; max-width: 440px; margin-top: 22px;
}
.cc-page .cc-search input { border: 0; outline: 0; font-family: inherit; font-size: .98rem; width: 100%; background: none; color: var(--cc-slate); }

/* reads */
.cc-page .cc-reads { background: var(--cc-soft); }
.cc-page .cc-readgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; }
.cc-page .cc-readcard {
	background: #fff; border: 1px solid var(--cc-line); border-radius: 14px; padding: 18px 20px;
	box-shadow: var(--cc-shadow-sm); display: flex; flex-direction: column; transition: transform .15s;
}
.cc-page .cc-readcard:hover { transform: translateY(-4px); }
.cc-page .cc-rtype { display: inline-block; font-weight: 800; font-size: .7rem; letter-spacing: .08em; color: var(--cc-slate-2); margin-bottom: 8px; }
.cc-page .cc-readcard .cc-h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.25; }
.cc-page .cc-readcard p { font-size: .86rem; color: var(--cc-muted); line-height: 1.5; margin: 0 0 14px; }
.cc-page .cc-rfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--cc-muted); font-weight: 600; }
.cc-page .cc-go { color: var(--cc-slate); font-weight: 800; }

/* band */
.cc-page .cc-band { background: var(--cc-slate); color: #fff; overflow: hidden; }
.cc-page .cc-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 50px; padding-bottom: 50px; position: relative; z-index: 2; flex-wrap: wrap; }
.cc-page .cc-band .cc-huge { color: #fff; }
.cc-page .cc-band .cc-corner-bl { background: #454545; }
.cc-page .cc-band__sub { color: #cfd4d8; max-width: 46ch; margin-top: 8px; }

/* signup */
.cc-page .cc-signup { background: var(--cc-blue); overflow: hidden; }
.cc-page .cc-signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 46px; padding-bottom: 46px; position: relative; z-index: 2; flex-wrap: wrap; }
.cc-page .cc-signup .cc-h2 { max-width: 18ch; }
.cc-page .cc-signup__sub { color: #2c4657; font-weight: 600; margin-top: 6px; font-size: .9rem; }
.cc-page .cc-signup__form { min-width: 280px; }

/* related case studies */
.cc-page .cc-relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.cc-page .cc-relgrid--wide { grid-template-columns: repeat(3, 1fr); }
.cc-page .cc-rel {
	border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden;
	background: #fff; box-shadow: var(--cc-shadow-sm); transition: transform .15s; display: block;
}
.cc-page .cc-rel:hover { transform: translateY(-4px); }

/*
 * Card image boxes use aspect-ratio rather than a fixed pixel height.
 *
 * The illustrated placeholders are drawn on a 400x260 viewBox (1.54:1) and real featured images on
 * this site are landscape. A fixed 132px height inside a ~365px column produced a 2.77:1 letterbox,
 * which cropped the roof off the placeholder and cut the top and bottom out of photographs. A ratio
 * close to the artwork's own keeps the whole subject visible and scales with the column.
 */
.cc-page .cc-rel__top { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cc-blue-soft); }
.cc-page .cc-rel__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-page .cc-rel__top .cc-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: #fff; }
.cc-page .cc-rel__body { display: block; padding: 18px 20px 20px; }

/*
 * Card reading order: client name as the title, then one line of plain English.
 *
 * An earlier version led with the headline figure. That works when every figure stands alone, like
 * "£42k", but this content yields "1 hour", "2-3 days" and "Within weeks", which mean nothing to
 * someone scanning a grid. The client is the thing a care group recognises, so it takes the title
 * position, and the figure now sits inside the sentence beneath it. Big standalone numbers stay on
 * the case study page, where the results band supplies their context.
 */
.cc-page .cc-rel__body .cc-rel__client {
	display: block; margin: 0 0 8px;
	font-family: 'Arial Black', Arial, Helvetica, sans-serif;
	font-weight: 900; font-size: 1.12rem; letter-spacing: -.02em;
	color: var(--cc-slate); line-height: 1.25; text-transform: none;
}
.cc-page .cc-rel__body p { margin: 0; font-size: .88rem; color: var(--cc-muted); line-height: 1.5; }
.cc-page .cc-rel__body .cc-go { display: inline-block; margin-top: 12px; font-size: .82rem; }

/* ---------------------------------------------------- structural odds and ends */
.cc-page .cc-hero__text { min-width: 0; }
.cc-page .cc-hero__media { min-width: 0; }
.cc-page .cc-mini__body { display: block; min-width: 0; }
.cc-page .cc-vid__link { display: block; }
.cc-page .cc-rd { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cc-page .cc-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
	.cc-page .cc-readgrid,
	.cc-page .cc-row,
	.cc-page .cc-tiles { grid-template-columns: repeat(2, 1fr); }
	.cc-page .cc-grid3,
	.cc-page .cc-vidgrid,
	.cc-page .cc-relgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.cc-page .cc-hero__inner,
	.cc-page .cc-body,
	.cc-page .cc-leadgrid,
	.cc-page .cc-feat,
	.cc-page .cc-resultbox__grid,
	.cc-page .cc-evgrid { grid-template-columns: 1fr; }
	.cc-page .cc-side { position: static; }
	.cc-page .cc-metrics,
	.cc-page .cc-metrics--narrow { grid-template-columns: repeat(2, 1fr); }
	.cc-page .cc-event { grid-template-columns: 72px 1fr; }
	.cc-page .cc-event .cc-btn { grid-column: 1 / -1; text-align: center; }
	.cc-page .cc-lead__img { aspect-ratio: 16 / 10; }
}

@media (max-width: 900px) {
	.cc-page .cc-hero__inner,
	.cc-page .cc-hero--short .cc-hero__inner { padding-top: 120px; }
}

@media (max-width: 640px) {
	.cc-page .cc-wrap { padding: 0 18px; }
	.cc-page .cc-hero__inner,
	.cc-page .cc-hero--short .cc-hero__inner { padding-top: 104px; }
	.cc-page .cc-pad > .cc-wrap { padding-top: 44px; padding-bottom: 44px; }
	.cc-page .cc-pad-sm > .cc-wrap { padding-top: 32px; padding-bottom: 32px; }
	.cc-page .cc-grid3,
	.cc-page .cc-vidgrid,
	.cc-page .cc-relgrid,
	.cc-page .cc-readgrid,
	.cc-page .cc-row,
	.cc-page .cc-tiles { grid-template-columns: 1fr; }
	.cc-page .cc-metrics,
	.cc-page .cc-metrics--narrow { grid-template-columns: 1fr; }
	.cc-page .cc-madlib { line-height: 1.9; }
	.cc-page .cc-madlib select { margin: 6px 0; width: 100%; }
	.cc-page .cc-quote { padding: 24px 20px; }
	.cc-page .cc-quote__text { font-size: 1.15rem; }
	.cc-page .cc-signup__form { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.cc-page * { transition: none !important; }
}

/* predictive search (1.0.7) */
.cc-page .cc-search-wrap { position: relative; max-width: 440px; margin-top: 22px; z-index: 20; }
.cc-page .cc-search-wrap .cc-search { margin-top: 0; max-width: none; }
.cc-page .cc-search-wrap.is-searching .cc-search svg { opacity: .4; }
.cc-page .cc-search input::-webkit-search-cancel-button { cursor: pointer; }
.cc-page .cc-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
	background: #fff; border: 1px solid var(--cc-line); border-radius: 12px; box-shadow: var(--cc-shadow);
	max-height: min(420px, 60vh); overflow-y: auto; text-align: left;
}
.cc-page .cc-suggest[hidden] { display: none; }
.cc-page .cc-suggest__item { margin: 0; padding: 0; border-radius: 8px; }
.cc-page .cc-suggest__item a { display: flex; gap: 12px; align-items: center; padding: 8px; color: var(--cc-slate); text-decoration: none; }
.cc-page .cc-suggest__item.is-active,
.cc-page .cc-suggest__item:hover { background: var(--cc-blue-soft); }
.cc-page .cc-suggest__thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--cc-soft); }
.cc-page .cc-suggest__thumb img,
.cc-page .cc-suggest__thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-page .cc-suggest__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cc-page .cc-suggest__title { font-weight: 700; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-page .cc-suggest__meta { font-size: .8rem; color: var(--cc-muted); }
.cc-page .cc-suggest__none { padding: 12px; color: var(--cc-muted); font-size: .9rem; }

/* feed: empty state and load more (1.0.7) */
.cc-page .cc-empty { grid-column: 1 / -1; color: var(--cc-muted); padding: 24px 0; margin: 0; }
.cc-page .cc-more-row { display: flex; justify-content: center; margin-top: 28px; }
.cc-page .cc-more-row [hidden] { display: none; }
.cc-page .cc-more-row .is-loading { opacity: .5; pointer-events: none; }
@media (max-width: 600px) {
	.cc-page .cc-suggest__thumb { flex-basis: 52px; width: 52px; height: 52px; }
}
/* The hero clips its decorations with overflow: hidden, which would also clip the dropdown. All of the
   decorations sit inside the hero's box (inset 0, top/bottom 0), so the hub hero can show overflow. */
.cc-page.cc-hub .cc-hero--short { overflow: visible; position: relative; z-index: 5; }
.cc-page .cc-viewing { margin: -6px 0 18px; font-size: .9rem; font-weight: 700; }
.cc-page .cc-viewing[hidden] { display: none; }
.cc-page .cc-viewing a { color: var(--cc-slate); text-decoration: underline; }

/* events page and event cards (1.0.8) */
.cc-page .cc-event__title { display: block; color: var(--cc-slate); text-decoration: none; }
.cc-page .cc-event__title:hover { text-decoration: underline; }
.cc-page .cc-ev-facts { display: block; font-size: .85rem; font-weight: 700; color: var(--cc-slate-2); margin-bottom: 4px; }
.cc-page .cc-event.is-past .cc-datebox { background: var(--cc-line); }
.cc-page .cc-event[hidden] { display: none; }
.cc-page .cc-sectitle .cc-cnt { font-size: .9rem; color: var(--cc-muted); font-weight: 700; }
.cc-page .cc-finder__inner--slim { padding-top: 34px; padding-bottom: 34px; }
.cc-page .cc-finder__inner--slim .cc-madlib { margin: 0; }
.cc-page .cc-hero a.cc-chip { text-decoration: none; color: inherit; }
