/* CokeGas design system, Awwwards edition on white: Inter Tight, ink #222, 8px radii, gray trays, one yellow action. Loads on the front end and inside the block editor. */

@font-face {
	font-family: "Inter Tight";
	src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* Arial scaled to Inter Tight's metrics, so the font swap doesn't move the layout (CLS). */
@font-face {
	font-family: "Inter Tight Fallback";
	src: local("Arial"), local("ArialMT");
	ascent-override: 101.57%;
	descent-override: 25.29%;
	line-gap-override: 0%;
	size-adjust: 95.37%;
}

:root {
	--cg-font: "Inter Tight", "Inter Tight Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cg-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--cg-ink: #222;
	--cg-ink-2: #545454;
	--cg-mute: #6f6f6f;
	--cg-bg: #fff;
	--cg-soft: #f5f5f5;
	--cg-tray: #ededed;
	--cg-line: #e6e6e6;
	--cg-dark: #222;
	--cg-dark-line: #4e4e4e;
	--cg-yellow: #fff083;
	--cg-yellow-hover: #ffe94a;
	--cg-orange: #ff9a62;

	--cg-radius: 8px;
	--cg-radius-lg: 14px;
	--cg-pad: clamp(16px, 3.6vw, 52px);
	--cg-measure: 720px;
	--cg-control: 42px;
}

/* ── Prose ──────────────────────────────────────────────────── */
/* Posts and pages read the same on the site and in the editor canvas. Each rule has two selectors:
   - the site's, wrapped in :where() so it adds no weight: any component class (toolbar, cards, calculator, picks, BLUF) beats it;
   - the editor's, ".editor-styles-wrapper .is-root-container > …" for top-level blocks only, weighty enough to beat
     GeneratePress's editor styles, and never reaching inside components. */

.editor-styles-wrapper {
	font-family: var(--cg-font);
	color: var(--cg-ink);
}

:where(.editor-styles-wrapper) :is(.wp-block-heading, .editor-post-title) {
	color: var(--cg-ink);
	font-weight: 600;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

/* The editor iframe's body carries the post type; the home page (one .cg-home pattern) stays full width.
   Like the site, the column itself is 720px, so blocks sit flush inside it whatever their margins. */
.editor-styles-wrapper:is(.post-type-post, .post-type-page:not(:has(.cg-home))) {
	--content-width: var(--cg-measure) !important; /* GeneratePress sets its container width here, partly inline. */
}

.editor-styles-wrapper:is(.post-type-post, .post-type-page:not(:has(.cg-home))) .is-root-container {
	box-sizing: border-box;
	max-width: calc(var(--cg-measure) + 2 * var(--cg-pad));
	margin-inline: auto;
	padding-inline: var(--cg-pad);
}

/* The title as the post page sets it: centered, tight, up to 20 characters a line. */
.editor-styles-wrapper:is(.post-type-post, .post-type-page) .editor-post-title.wp-block {
	max-width: 20ch;
	margin-inline: auto;
	margin-bottom: clamp(40px, 5vw, 64px);
	font-size: clamp(2.25rem, 1rem + 3.6vw, 5rem);
	line-height: 1;
	letter-spacing: -0.04em;
	text-align: center;
}

body:is(.single, .page:not(.home)) .entry-content,
.editor-styles-wrapper:is(.post-type-post, .post-type-page:not(:has(.cg-home))) .is-root-container {
	margin-top: 0;
	font-size: 18px;
	line-height: 1.7;
}

:where(.entry-content) p,
.editor-styles-wrapper .is-root-container > :is(p, blockquote p) {
	margin: 0 0 1.3em;
}

:where(.entry-content) > h2,
.editor-styles-wrapper .is-root-container > h2 {
	margin: 56px 0 16px;
	font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

:where(.entry-content) > h3,
.editor-styles-wrapper .is-root-container > h3 {
	margin: 40px 0 12px;
	font-size: 1.375rem;
	line-height: 1.25;
}

:where(.entry-content) > :is(h4, h5, h6),
.editor-styles-wrapper .is-root-container > :is(h4, h5, h6) {
	margin: 32px 0 8px;
	font-size: 1.0625rem;
	line-height: 1.4;
}

:where(body:is(.single, .page:not(.home)) .entry-content :is(p, li, td, figcaption, blockquote), .editor-styles-wrapper :is(p, li, td, figcaption, blockquote)) a:not(.wp-block-button__link, [class*="cg-"]) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	color: var(--cg-ink);
}

:where(body:is(.single, .page:not(.home)) .entry-content :is(p, li, td, figcaption, blockquote), .editor-styles-wrapper :is(p, li, td, figcaption, blockquote)) a:not(.wp-block-button__link, [class*="cg-"]):hover {
	text-decoration-thickness: 2px;
}

:where(.entry-content) :is(ul, ol),
.editor-styles-wrapper .is-root-container > :is(ul, ol) {
	margin: 0 0 1.3em;
	padding-left: 1.25em;
}

:where(.entry-content) li,
.editor-styles-wrapper .is-root-container > :is(ul, ol) li {
	margin-bottom: 0.4em;
}

:where(.entry-content) blockquote,
.editor-styles-wrapper .is-root-container > blockquote.wp-block-quote.wp-block { /* GeneratePress's editor quote rule weighs 0,3,1. */
	margin: 40px 0;
	padding: 28px 32px;
	border: 0;
	border-radius: var(--cg-radius-lg);
	background: var(--cg-soft);
	font-size: 22px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.015em;
	color: var(--cg-ink);
}

:where(.entry-content) blockquote p:last-child,
.editor-styles-wrapper .is-root-container > blockquote p:last-child {
	margin-bottom: 0;
}

:where(.entry-content) blockquote cite,
.editor-styles-wrapper .is-root-container > blockquote cite {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	color: var(--cg-mute);
}

:where(.entry-content) :is(hr, .wp-block-separator),
.editor-styles-wrapper .is-root-container > :is(hr, .wp-block-separator) {
	height: 0;
	margin: 48px 0;
	border: 0;
	border-top: 1px solid var(--cg-line);
	background: none;
}

:where(.entry-content) :is(code, kbd),
.editor-styles-wrapper .is-root-container > :not(pre) :is(code, kbd) {
	padding: 0.15em 0.35em;
	border-radius: 4px;
	background: var(--cg-soft);
	font-family: var(--cg-mono);
	font-size: 0.85em;
}

:where(.entry-content) pre,
.editor-styles-wrapper .is-root-container > pre {
	padding: 20px;
	border-radius: var(--cg-radius-lg);
	background: var(--cg-dark);
	font-family: var(--cg-mono);
	font-size: 14px;
	line-height: 1.6;
	color: #f2f2f2;
}

:where(.entry-content) pre code {
	padding: 0;
	background: none;
}

:where(.entry-content) figure,
.editor-styles-wrapper .is-root-container > figure:not(.wp-block-table) {
	margin-block: 40px;
}

:where(.entry-content) img,
.editor-styles-wrapper .is-root-container > figure:not(.wp-block-table) img {
	border-radius: var(--cg-radius);
}

:where(.entry-content) :is(figcaption, .wp-element-caption),
.editor-styles-wrapper .is-root-container > figure:not(.wp-block-table) :is(figcaption, .wp-element-caption) {
	margin-top: 10px;
	font-size: 13px;
	text-align: left;
	color: var(--cg-mute);
}

/* As on the site: button rows sit flush (the editor adds 28px above and below), and the last block has no bottom margin. */
.editor-styles-wrapper .is-root-container > .wp-block-buttons {
	margin-block: 0;
}

.editor-styles-wrapper .is-root-container > :nth-last-child(1 of .wp-block) {
	margin-bottom: 0;
}

/* ── Atoms ──────────────────────────────────────────────────── */

.cg-icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: var(--cg-control);
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: var(--cg-radius);
	background: transparent;
	font-family: var(--cg-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.cg-btn--dark { background: var(--cg-dark); color: #fff; }
.cg-btn--dark:hover { background: #000; color: #fff; }
.cg-btn--outline { border-color: var(--cg-ink); color: var(--cg-ink); }
.cg-btn--outline:hover { background: var(--cg-ink); color: #fff; }
.cg-btn--yellow { background: var(--cg-yellow); color: var(--cg-ink); font-weight: 600; }
.cg-btn--yellow:hover { background: var(--cg-yellow-hover); color: var(--cg-ink); }

/* Round initial, standing in for Awwwards' creator avatars. */
.cg-avatar {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--cg-dark);
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}

/* Avatar + underlined name, as under an Awwwards site title. */
.cg-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: clamp(16px, 0.8rem + 0.6vw, 22px);
	font-weight: 600;
	letter-spacing: -0.02em;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	color: var(--cg-ink);
}

.cg-name .cg-avatar {
	width: 30px;
	height: 30px;
	font-size: 13px;
}

a.cg-name:hover {
	text-decoration-thickness: 2px;
}

/* Section heading row: title, a boxed count, optional text and action. */
.cg-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 24px;
	margin: 0 0 32px;
}

.cg-head .cg-head__title {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	font-size: clamp(28px, 1.2rem + 1.8vw, 44px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.035em;
	color: var(--cg-ink);
}

.cg-head .cg-head__count,
.cg-crumb__count {
	display: inline-block;
	align-self: flex-start;
	margin: 0;
	padding: 0 3px;
	border: 1px solid var(--cg-ink);
	border-radius: 2px;
	font-size: 11px;
	font-weight: 400;
	line-height: 14px;
	letter-spacing: 0;
	color: var(--cg-ink);
}

.cg-head .cg-head__desc {
	max-width: 30rem;
	margin: 0 0 0 auto;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--cg-ink);
}

.cg-head > :last-child:not(:first-child, .cg-head__desc, .cg-head__count) {
	margin-left: auto;
}

/* Awwwards score box: label on top, the number under it. */
.cg-score {
	display: inline-flex;
	flex-direction: column;
	min-width: 72px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--cg-ink);
	border-radius: var(--cg-radius);
	text-align: center;
	color: var(--cg-ink);
}

.cg-score__label {
	padding: 7px 14px;
	border-bottom: 1px solid var(--cg-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}

.cg-score__value {
	padding: 9px 14px 8px;
	font-size: 11px;
	line-height: 1;
}

.cg-score__value strong {
	display: block;
	margin-bottom: 3px;
	font-size: 23px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

/* ── Cards and the grid ─────────────────────────────────────── */

.cg-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cg-dense .cg-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 16px;
}

.cg-grid > li {
	margin: 0;
}

.cg-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background: var(--cg-soft);
	color: inherit;
	text-decoration: none;
}

.cg-card__media > .cg-cover {
	width: 100%;
	height: 100%;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-card:hover .cg-card__media > .cg-cover {
	transform: scale(1.03);
}

/* Rollover: dark fade, a white "Read now" pill, title and arrow along the bottom. */
.cg-card__hover {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: minmax(0, 1fr) auto;
	align-items: end;
	gap: 12px;
	padding: 20px 24px;
	background: linear-gradient(to top, rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.15) 55%, rgb(0 0 0 / 0.05));
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s;
}

.cg-card:is(:hover, :focus-within) .cg-card__hover {
	opacity: 1;
}

.cg-card__pill {
	display: inline-flex;
	grid-column: 1 / -1;
	align-items: center;
	place-self: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: var(--cg-radius);
	background: #fff;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--cg-ink);
	transform: translateY(8px);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-card:hover .cg-card__pill {
	transform: none;
}

.cg-card__peek {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 15px;
	line-height: 1.3;
}

/* Generated covers already print the title; the rollover only repeats it over real photos. */
.cg-card__media > span.cg-cover ~ .cg-card__hover .cg-card__peek {
	visibility: hidden;
}

.cg-card__peek small {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.85;
}

.cg-card__hover > .cg-icon {
	width: 22px;
	height: 22px;
}

/* Touch screens have no hover; the title row below carries everything. */
@media (hover: none) {
	.cg-card__hover {
		display: none;
	}
}

.cg-card__info {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding-top: 16px;
}

.cg-card__info .cg-avatar {
	margin-top: 1px;
}

.cg-card .cg-card__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.005em;
	color: var(--cg-ink);
}

.cg-card__title a {
	padding-block: 3px; /* 24px-tall tap target even for one-line titles */
	text-decoration: none;
	color: inherit;
}

.cg-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Small yellow "New" pill. Kept on the text line (not raised like a true superscript) so it can't overlap a wrapped title. */
.cg-card__title sup {
	display: inline-block;
	margin-left: 6px;
	padding: 0 5px;
	border-radius: 4px;
	background: var(--cg-yellow);
	color: var(--cg-ink);
	font-size: 9px;
	font-weight: 600;
	line-height: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: 2px;
	white-space: nowrap;
	/* GeneratePress gives every <sup> height: 0 and a relative offset. */
	position: static;
	height: auto;
}

.cg-card__time {
	flex: none;
	font-size: 13px;
	line-height: 20px;
	color: var(--cg-mute);
}

@media (max-width: 1023px) {
	.cg-grid,
	.cg-dense .cg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.cg-grid,
	.cg-dense .cg-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Generated cover: a tiny "screenshot" of the article, so cards read like Awwwards site thumbnails. */
.cg-cover {
	--c-bg: #151515;
	--c-ink: #f2f2f2;
	--c-accent: var(--cg-yellow);
	container-type: inline-size;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 5% 6%;
	background: var(--c-bg);
	font-family: var(--cg-font);
	text-align: left;
	color: var(--c-ink);
}

img.cg-cover {
	display: block;
	padding: 0;
	object-fit: cover;
}

.cg-cover--1 { --c-bg: #efe9dd; --c-ink: #1d1b16; --c-accent: #ff6b3d; }
.cg-cover--2 { --c-bg: #dfe5ff; --c-ink: #161b3d; --c-accent: #4c5cff; }
.cg-cover--3 { --c-bg: #e3f2cf; --c-ink: #14290c; --c-accent: #3f8f2f; }
.cg-cover--4 { --c-bg: #ffd9c7; --c-ink: #3a1709; --c-accent: #ff5a1f; }
.cg-cover--5 { --c-bg: #0f2b25; --c-ink: #e5fbf3; --c-accent: #7ff0c3; }

.cg-cover__nav {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 3cqw;
	font-size: 3.4cqw;
	line-height: 1;
	letter-spacing: -0.02em;
}

.cg-cover__nav b {
	margin-right: auto;
	font-weight: 700;
}

.cg-cover__nav i {
	display: block;
	width: 7cqw;
	height: 1.1cqw;
	border-radius: 1cqw;
	background: currentColor;
	opacity: 0.35;
}

.cg-cover__nav i:last-child {
	width: 12cqw;
	height: 4.6cqw;
	border-radius: 1.2cqw;
	background: var(--c-accent);
	opacity: 1;
}

.cg-cover__kicker {
	position: relative;
	z-index: 1;
	margin-top: auto;
	font-size: 2.8cqw;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.cg-cover__title {
	position: relative;
	z-index: 1;
	display: -webkit-box;
	max-width: 84%;
	margin-top: 2cqw;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	font-size: 7.2cqw;
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.04em;
}

/* Accent shapes vary by palette: a disc, rising bars, a ring. */
.cg-cover__art {
	position: absolute;
	top: 18cqw;
	right: -12cqw;
	width: 50cqw;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--c-accent);
}

:is(.cg-cover--1, .cg-cover--4) .cg-cover__art {
	top: 14cqw;
	right: 5cqw;
	width: 40cqw;
	border-radius: 0;
	background: repeating-linear-gradient(90deg, var(--c-accent) 0 12%, transparent 12% 20%);
	clip-path: polygon(0 100%, 0 78%, 20% 70%, 40% 55%, 60% 42%, 80% 22%, 100% 0, 100% 100%);
}

:is(.cg-cover--2, .cg-cover--5) .cg-cover__art {
	border: 3cqw solid var(--c-accent);
	background: none;
}

/* ── Buttons (core/button) ──────────────────────────────────── */
/* Selectors start at .wp-block-buttons so they outrank GeneratePress, whose main.css loads after this file. */

.wp-block-buttons .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--cg-radius);
	font-family: var(--cg-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.2s, color 0.2s;
}

.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
	background: var(--cg-dark);
}

.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color) {
	color: #fff;
}

.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover {
	background: #000;
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid currentColor;
	padding: 0 21px;
	background: transparent;
	color: var(--cg-ink);
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--cg-ink);
	color: #fff;
}

/* "Affiliate CTA" block style: Awwwards' yellow "Visit Site". The :not()s match the default-button selectors above. */
.wp-block-buttons .wp-block-button.is-style-cg-cta .wp-block-button__link:not(.has-background, .has-text-color) {
	min-height: 52px;
	background: var(--cg-yellow);
	font-weight: 600;
	color: var(--cg-ink);
}

.wp-block-buttons .wp-block-button.is-style-cg-cta .wp-block-button__link:not(.has-background, .has-text-color):hover {
	background: var(--cg-yellow-hover);
	color: var(--cg-ink);
}

.wp-block-buttons .wp-block-button.is-style-cg-cta .wp-block-button__link::after {
	content: "\2197";
	font-size: 1.1em;
}

/* ── BLUF verdict card ──────────────────────────────────────── */

.cg-bluf {
	container-type: inline-size;
	margin-block: 2.5rem;
	border-radius: var(--cg-radius-lg);
	background: var(--cg-soft);
	color: var(--cg-ink);
	font-family: var(--cg-font);
}

/* Classic themes wrap each group's children in an inner container; let the grids see straight through it. */
.cg-bluf .wp-block-group__inner-container {
	display: contents;
}

.cg-bluf :is(.cg-bluf__head, .cg-bluf__body, .cg-bluf__col, .cg-bluf__foot, .cg-bluf__eyebrow, .cg-bluf__title, .cg-bluf__score, .cg-bluf__label, .cg-bluf__list, .cg-bluf__disclosure, .wp-block-buttons) {
	margin: 0;
}

.cg-bluf .cg-bluf__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px 24px;
	padding: 28px 28px 20px;
}

.cg-bluf .cg-bluf__eyebrow {
	grid-column: 1;
	justify-self: start;
	padding: 0 6px;
	border-radius: 4px;
	background: var(--cg-yellow);
	font-size: 12px;
	font-weight: 600;
	line-height: 22px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.cg-bluf .cg-bluf__title {
	grid-column: 1;
	font-size: clamp(22px, 1rem + 1vw, 30px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--cg-ink);
	text-wrap: balance;
}

.cg-bluf .cg-bluf__score {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 76px;
	padding: 10px 14px;
	border: 1px solid var(--cg-ink);
	border-radius: var(--cg-radius);
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

.cg-bluf .cg-bluf__score strong {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.cg-bluf .cg-bluf__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0 28px;
}

.cg-bluf .cg-bluf__col {
	padding: 18px 20px 12px;
	border-radius: 10px;
	background: #fff;
}

.cg-bluf .cg-bluf__label {
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cg-mute);
}

.cg-bluf .cg-bluf__list {
	padding: 0;
	list-style: none;
}

.cg-bluf .cg-bluf__list li {
	position: relative;
	margin: 0;
	padding: 9px 0 9px 30px;
	border-top: 1px solid var(--cg-line);
	font-size: 15px;
	line-height: 1.5;
}

.cg-bluf .cg-bluf__list li:first-child {
	border-top: 0;
}

.cg-bluf .cg-bluf__list li::before {
	position: absolute;
	top: 11px;
	left: 0;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.cg-bluf .cg-bluf__col--pros li::before { content: "+"; background: var(--cg-dark); color: #fff; }
.cg-bluf .cg-bluf__col--cons li::before { content: "\2013"; background: var(--cg-tray); color: var(--cg-ink); }

.cg-bluf .cg-bluf__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 20px 28px 28px;
}

.cg-bluf .cg-bluf__disclosure {
	flex: 1 1 16rem;
	font-size: 12px;
	line-height: 1.5;
	color: var(--cg-mute);
}

.cg-bluf .cg-bluf__disclosure a {
	color: inherit;
	text-decoration: underline;
}

@container (max-width: 560px) {
	.cg-bluf .cg-bluf__head,
	.cg-bluf .cg-bluf__foot {
		padding-inline: 18px;
	}

	.cg-bluf .cg-bluf__body {
		grid-template-columns: minmax(0, 1fr);
		padding-inline: 18px;
	}

	.cg-bluf .wp-block-buttons,
	.cg-bluf .wp-block-button,
	.cg-bluf .wp-block-button .wp-block-button__link {
		justify-content: center;
		width: 100%;
	}
}

/* ── Post containers ──────────────────────────────────────────── */
/* Key takeaways, Tip, Offer button and Calculator card (patterns/containers, "Add a container" in the editor).
   Two-class selectors, like the BLUF, so they also beat GeneratePress's editor styles. */

.cg-box,
.cg-promo {
	margin-block: 2.5rem;
	padding: 24px 28px 26px;
	border-radius: var(--cg-radius-lg);
	font-family: var(--cg-font);
}

.cg-box {
	background: var(--cg-soft);
	color: var(--cg-ink);
}

/* As in the BLUF: see straight through the classic-theme inner container (GeneratePress pads it 40px in the editor). */
:is(.cg-box, .cg-offer, .cg-promo) .wp-block-group__inner-container {
	display: contents;
}

.cg-box.cg-box--tip {
	border: 1px solid var(--cg-line);
	background: var(--cg-bg);
}

.cg-box :is(.cg-box__label, .cg-box__body) {
	margin: 0;
}

.cg-box .cg-box__label {
	width: fit-content;
	padding: 0 6px;
	border-radius: 4px;
	background: var(--cg-yellow);
	font-size: 12px;
	font-weight: 600;
	line-height: 22px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.cg-box .cg-box__body {
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.6;
}

.cg-box ul.cg-box__body {
	padding-left: 1.2em;
}

.cg-box .cg-box__body li {
	margin: 0 0 0.35em;
}

.cg-box .cg-box__body li:last-child {
	margin-bottom: 0;
}

.cg-offer {
	margin-block: 2rem;
}

.cg-offer :is(.wp-block-buttons, .cg-offer__note) {
	margin: 0;
}

.cg-offer .cg-offer__note {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--cg-mute);
}

.cg-offer .cg-offer__note a {
	color: inherit;
	text-decoration: underline;
}

.cg-promo {
	padding: clamp(24px, 4vw, 36px);
	background: var(--cg-dark);
	color: #fff;
}

.cg-promo :is(.cg-promo__title, .cg-promo__text, .wp-block-buttons) {
	margin: 0;
}

.cg-promo .cg-promo__title {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
}

.cg-promo .cg-promo__text {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.55;
	color: #c4c4c4;
}

.cg-promo .wp-block-buttons {
	margin-top: 20px;
}

/* ── Data tables ────────────────────────────────────────────── */

:is(.entry-content, .editor-styles-wrapper) .wp-block-table {
	position: relative; /* So the scroll box also clips absolutely positioned screen-reader text inside it. */
	margin-block: 2.5rem;
	overflow-x: auto;
	border: 1px solid var(--cg-line);
	border-radius: var(--cg-radius-lg);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table :is(thead, tfoot) {
	border: 0;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table :is(th, td) {
	padding: 14px 16px;
	border: 0;
	border-top: 1px solid var(--cg-line);
	vertical-align: top;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table :is(th, td):not([class*="has-text-align-"]) {
	text-align: left;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table table > :first-child > tr:first-child > * {
	border-top: 0;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table thead th {
	background: var(--cg-soft);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--cg-mute);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table tbody :is(td, th):first-child {
	font-weight: 600;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--cg-soft);
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table tfoot td {
	background: var(--cg-soft);
	font-weight: 600;
}

:is(.entry-content, .editor-styles-wrapper) .wp-block-table figcaption {
	margin: 0;
	padding: 12px 16px;
	border-top: 1px solid var(--cg-line);
	font-size: 13px;
	text-align: left;
	color: var(--cg-mute);
}

/* ── Home (CokeGas Home pattern) ────────────────────────────── */

.cg-home .wp-block-group__inner-container {
	display: contents;
}

/* Low-specificity reset, so each component below keeps its own spacing. */
.cg-home :where(p, h1, h2, h3, figure, .wp-block-buttons, .wp-block-group, .wp-block-table) {
	margin: 0;
}

.cg-home .cg-head {
	margin-bottom: 32px;
}

.cg-section {
	padding-top: clamp(48px, 7vw, 96px);
}

/* Hero: the Awwwards site-detail layout, with the projection as the "screenshot". */
.cg-hero {
	padding-top: clamp(24px, 4vw, 48px);
	text-align: center;
}

.cg-hero__date {
	font-size: 14px;
	line-height: 1.5;
}

.cg-hero .cg-hero__title {
	max-width: 13ch;
	margin: 20px auto 0;
	font-size: clamp(2.75rem, 1rem + 6vw, 8.25rem);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.045em;
	color: var(--cg-ink);
	text-wrap: balance;
}

.cg-hero .cg-hero__lede {
	max-width: 36rem;
	margin: 24px auto 0;
	font-size: 18px;
	line-height: 1.55;
	color: var(--cg-ink-2);
}

.cg-hero .cg-hero__names {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin-top: 28px;
}

.cg-hero .cg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.cg-hero .cg-hero__figure {
	position: relative;
	margin-top: clamp(40px, 5vw, 56px);
	padding: 4.3%;
	border-radius: var(--cg-radius-lg);
	background: var(--cg-dark);
}

.cg-hero .cg-hero__note {
	max-width: 1000px;
	margin: 14px auto 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
	color: #c4c4c4;
}

/* Browser window holding the projection dashboard. */
.cg-shot {
	max-width: 1000px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	text-align: left;
	box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}

.cg-shot__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 14px;
	border-bottom: 1px solid var(--cg-line);
	background: #f8f8f8;
}

.cg-shot__bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #dcdcdc;
}

.cg-shot__bar span {
	flex: 0 1 320px;
	height: 24px;
	margin-left: 12px;
	padding: 0 10px;
	overflow: hidden;
	border-radius: 6px;
	background: #ececec;
	font-size: 12px;
	line-height: 24px;
	white-space: nowrap;
	color: var(--cg-ink-2);
}

.cg-dash__kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid var(--cg-line);
}

.cg-kpi {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 22px;
}

.cg-kpi + .cg-kpi {
	border-left: 1px solid var(--cg-line);
}

.cg-kpi__label {
	font-size: 12px;
	font-weight: 500;
	color: var(--cg-mute);
}

.cg-kpi__value {
	font-size: clamp(22px, 1rem + 1.4vw, 34px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: var(--cg-ink);
}

.cg-kpi__note {
	font-size: 12px;
	line-height: 1.35;
	color: var(--cg-mute);
}

.cg-kpi__note--pos {
	align-self: flex-start;
	padding: 0 6px;
	border-radius: 4px;
	background: var(--cg-yellow);
	font-weight: 600;
	color: var(--cg-ink);
}

.cg-dash__chart {
	display: block;
	width: 100%;
	height: auto;
	padding: 16px 12px 8px;
}

.cg-dash__chart text { font-family: var(--cg-font); font-size: 11px; fill: var(--cg-mute); }
.cg-dash__chart .cg-chart__grid line { stroke: var(--cg-line); stroke-width: 1; }
.cg-dash__chart .cg-chart__area { fill: var(--cg-yellow); fill-opacity: 0.45; }
.cg-dash__chart .cg-chart__line { fill: none; stroke: var(--cg-ink); stroke-width: 2.25; stroke-linejoin: round; }
.cg-dash__chart .cg-chart__target { stroke: var(--cg-mute); stroke-width: 1.25; stroke-dasharray: 4 4; }
.cg-dash__chart .cg-chart__paid { fill: none; stroke: var(--cg-mute); stroke-width: 1.5; stroke-dasharray: 2 4; }
.cg-dash__chart .cg-chart__dot { fill: var(--cg-ink); stroke: #fff; stroke-width: 2.5; }
.cg-dash__chart .cg-chart__label { font-weight: 500; fill: var(--cg-ink-2); }
.cg-dash__chart .cg-chart__callout { font-weight: 600; fill: var(--cg-ink); }

/* Floating dark toolbar: Awwwards' "Creator / Font & Color / Details / Score / Visit Site". */
.cg-float {
	display: flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	max-width: calc(100vw - 24px);
	padding: 6px;
	border-radius: 12px;
	background: var(--cg-dark);
	font-family: var(--cg-font);
	color: #dedede;
	box-shadow: 0 12px 32px rgb(0 0 0 / 0.22);
}

.cg-float__logo {
	display: grid;
	flex: none;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: var(--cg-radius);
	background: #111;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.04em;
	text-decoration: none;
	color: #fff;
}

.cg-float__nav {
	display: flex;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.cg-float__nav li {
	margin: 0;
}

.cg-float__nav a {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 12px;
	border: 1px solid var(--cg-dark-line);
	border-radius: var(--cg-radius);
	font-size: 13px;
	white-space: nowrap;
	text-decoration: none;
	color: #dedede;
	transition: background-color 0.2s, color 0.2s;
}

.cg-float__nav a:hover {
	background: #333;
	color: #fff;
}

.cg-float__cta {
	display: flex;
	flex: none;
	align-items: center;
	height: 60px;
	padding: 0 16px;
	border-radius: var(--cg-radius);
	background: var(--cg-yellow);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	color: var(--cg-ink);
	transition: background-color 0.2s;
}

.cg-float__cta:hover {
	background: var(--cg-yellow-hover);
	color: var(--cg-ink);
}

.cg-hero__figure .cg-float {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}

/* Playbook: four soft tiles. */
.cg-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.cg-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 280px;
	padding: 24px;
	border-radius: var(--cg-radius-lg);
	background: var(--cg-soft);
	text-align: left;
}

.cg-step .cg-step__num {
	align-self: flex-start;
	padding: 0 6px;
	border: 1px solid var(--cg-ink);
	border-radius: 4px;
	font-size: 12px;
	line-height: 20px;
}

.cg-step .cg-step__title {
	margin-top: 24px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--cg-ink);
}

.cg-step__text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--cg-ink-2);
}

.cg-step .cg-step__link {
	margin-top: auto;
	font-size: 14px;
	font-weight: 500;
}

.cg-step__link a {
	text-decoration: underline;
	text-underline-offset: 0.25em;
	color: var(--cg-ink);
}

/* Top picks: an Awwwards-style ranked list. */
.cg-home .cg-picks {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--cg-ink);
	border-radius: 0;
	overflow: visible;
}

.cg-picks thead th {
	background: none;
}

.cg-picks :is(td, th) {
	vertical-align: middle;
}

.cg-picks tbody td {
	padding-block: 18px;
}

.cg-picks tbody td:first-child {
	font-size: 13px;
	font-weight: 400;
	color: var(--cg-mute);
}

.cg-picks tbody td:nth-child(2) {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.cg-picks tbody td:nth-child(3) {
	color: var(--cg-ink-2);
}

.cg-picks tbody td:nth-child(4) {
	font-size: 20px;
	font-weight: 600;
	white-space: nowrap;
}

.cg-picks tbody td:nth-child(4)::after {
	content: "/5";
	margin-left: 2px;
	font-size: 12px;
	font-weight: 400;
	color: var(--cg-mute);
}

.cg-picks tbody td:nth-child(2) a {
	text-decoration: none;
	color: inherit;
}

.cg-picks tbody td:nth-child(2) a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.cg-picks td:last-child {
	text-align: right;
	white-space: nowrap;
}

.cg-picks td:last-child a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border-radius: var(--cg-radius);
	background: var(--cg-dark);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
}

.cg-picks td:last-child a::after {
	content: "\2197";
}

.cg-picks td:last-child a:hover {
	background: #000;
}

.cg-fine {
	margin-top: 16px;
	font-size: 13px;
	color: var(--cg-mute);
}

.cg-fine a {
	color: inherit;
}

/* Dark closing banner, Awwwards' "Be Pro" block. */
.cg-banner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 24px 48px;
	margin-top: clamp(48px, 7vw, 96px);
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--cg-radius-lg);
	background: var(--cg-dark);
	color: #fff;
}

.cg-banner .cg-banner__title {
	max-width: 16ch;
	font-size: clamp(32px, 1rem + 3vw, 64px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #fff;
}

.cg-banner .cg-banner__text {
	max-width: 32rem;
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.55;
	color: #c4c4c4;
}

.cg-banner .wp-block-button.is-style-outline .wp-block-button__link {
	color: #fff;
}

.cg-banner .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--cg-ink);
}

/* Phones: tighter cells so more columns fit before the table scrolls sideways. */
@media (max-width: 767px) {
	:is(.entry-content, .editor-styles-wrapper) .wp-block-table table {
		font-size: 14px;
	}

	:is(.entry-content, .editor-styles-wrapper) .wp-block-table :is(th, td) {
		padding: 12px;
	}
}

@media (max-width: 1023px) {
	.cg-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cg-banner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.cg-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.cg-step {
		min-height: 0;
	}

	.cg-hero .cg-hero__figure {
		padding: 12px;
	}

	.cg-dash__kpis .cg-kpi {
		padding: 12px;
	}

	.cg-dash__chart text {
		font-size: 15px;
	}

	.cg-head .cg-head__desc {
		margin-left: 0;
	}

	/* Picks collapse from table rows into stacked tiles. */
	.cg-home .cg-picks thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.cg-home .cg-picks :is(table, tbody) {
		display: block;
	}

	.cg-home .cg-picks tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"cat score"
			"pick score"
			"why why"
			"cta cta";
		gap: 2px 12px;
		padding: 16px 0;
		border-bottom: 1px solid var(--cg-line);
	}

	.cg-home .cg-picks tr :is(td, th) {
		padding: 0;
		border: 0;
	}

	.cg-picks td:nth-child(1) { grid-area: cat; }
	.cg-picks td:nth-child(2) { grid-area: pick; }
	.cg-picks td:nth-child(3) { grid-area: why; margin-top: 4px; }
	.cg-picks td:nth-child(4) { grid-area: score; align-self: center; }
	.cg-picks td:nth-child(5) { grid-area: cta; margin-top: 10px; text-align: left; }
}
