/*
Theme Name: Cat Costs UK Child
Theme URI: https://catcosts.co.uk/
Description: A practical, editorial child theme for Cat Costs UK.
Author: Cat Costs UK
Template: twentytwentyfive
Version: 2.2.23
Text Domain: catcosts-child_8
*/

/*
 * The theme uses a small CSS layer on top of Twenty Twenty-Five's block
 * styles. It is intentionally CSS-first: the site remains fast, editable,
 * and compatible with WordPress.com's block editor.
 */

:root {
	--ccuk-cream: #fbfaf3;
	--ccuk-paper: #ffffff;
	--ccuk-ink: #1e2d27;
	--ccuk-muted: #59645e;
	--ccuk-line: #dfe5dc;
	--ccuk-sage: #e6eee0;
	--ccuk-sage-deep: #60715f;
	--ccuk-orange: #99471c;
	--ccuk-orange-dark: #99471c;
	--ccuk-orange-soft: #fae9dc;
	--ccuk-radius: 22px;
	--ccuk-shadow: 0 16px 40px rgba(30, 45, 39, 0.08);
}

body {
	background: var(--ccuk-cream);
	color: var(--ccuk-ink);
}

body.home {
	overflow-x: hidden;
}

/* The homepage has its own hero heading. Hide the static WordPress page title
 * so the site name is not repeated above it when the homepage is assigned as
 * a regular page. Scope this to the front page only; article/page titles stay
 * visible everywhere else. */
body.home .wp-block-post-title,
body.home .entry-title {
	display: none !important;
}

body.home .wp-block-post-content {
	margin-block-start: 0 !important;
}

/* The homepage is a full-width visual landing page, so remove the extra
 * template and block-gap margins that otherwise stack above the hero. */
body.home main {
	margin-block-start: 0 !important;
}

.ccuk-home {
	margin-block-start: 0 !important;
}

a {
	text-underline-offset: 0.16em;
}

a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--ccuk-orange-dark);
	outline-offset: 4px;
}

/* A darker focus ring is legible on the light site surfaces; dark panels use
 * white so the indicator is not lost against the ink background. */
.ccuk-utility-strip a:focus-visible,
.ccuk-panel a:focus-visible,
.ccuk-panel button:focus-visible,
.ccuk-calculator-result a:focus-visible,
.ccuk-calculator-result button:focus-visible {
	outline-color: #fff;
}

/* Consent is optional, concise and keyboard-operable. Both choices deliberately
 * share the same treatment so the interface does not steer a visitor to accept. */
.ccuk-privacy-choices {
	appearance: none;
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.16em;
	cursor: pointer;
}

.ccuk-consent {
	position: fixed;
	z-index: 100000;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	max-width: 37rem;
	padding: 1.25rem;
	border: 1px solid var(--ccuk-line);
	border-radius: 1rem;
	background: var(--ccuk-paper);
	box-shadow: var(--ccuk-shadow);
}

.ccuk-consent__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
}

.ccuk-consent__copy {
	margin: 0;
	color: var(--ccuk-muted);
}

.ccuk-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.ccuk-consent__actions button {
	min-width: 10rem;
	padding: 0.7rem 1rem;
	border: 2px solid var(--ccuk-ink);
	border-radius: 0.4rem;
	background: var(--ccuk-paper);
	color: var(--ccuk-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ccuk-consent__actions button:hover {
	background: var(--ccuk-sage);
}

.ccuk-consent__close {
	margin-top: 0.75rem;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--ccuk-muted);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.16em;
	cursor: pointer;
}

@media (max-width: 480px) {
	.ccuk-consent {
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 1rem;
	}

	.ccuk-consent__actions button {
	flex: 1 1 100%;
	}
}

.ccuk-header {
	position: relative;
	z-index: 5;
	border-bottom: 1px solid rgba(30, 45, 39, 0.08);
	background: rgba(251, 250, 243, 0.94);
}

.ccuk-header-inner {
	min-height: 76px;
	padding-top: 12px;
	padding-bottom: 12px;
	width: min(calc(100vw - 40px), 1240px);
	max-width: none !important;
}

.ccuk-brand,
.ccuk-brand a {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.04em;
}

.ccuk-brand,
.ccuk-brand a {
	color: var(--ccuk-ink);
	text-decoration: none;
	white-space: nowrap;
}

.ccuk-brand {
	flex: 0 0 auto;
}

.ccuk-navigation {
	min-width: 0;
	margin-left: auto;
}

.ccuk-navigation .wp-block-navigation__container {
	justify-content: flex-end;
	gap: clamp(10px, 1.4vw, 24px);
}

.ccuk-navigation a,
.ccuk-navigation .wp-block-navigation-item__content {
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.ccuk-navigation a:hover,
.ccuk-navigation .wp-block-navigation-item__content:hover {
	color: var(--ccuk-orange-dark);
}

.ccuk-home {
	overflow: clip;
	/* Escape WordPress's default 760px reading column on the homepage. */
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.ccuk-shell {
	width: min(calc(100vw - 40px), 1240px);
	margin-right: auto;
	margin-left: auto;
}

.ccuk-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
	gap: clamp(36px, 7vw, 96px);
	align-items: center;
	padding-top: clamp(32px, 4vw, 64px);
	padding-bottom: clamp(56px, 8vw, 104px);
}

.ccuk-eyebrow,
.ccuk-section-kicker {
	margin: 0 0 18px;
	color: var(--ccuk-sage-deep);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ccuk-hero h1 {
	max-width: 680px;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3.25rem, 7vw, 6.6rem);
	font-weight: 700;
	letter-spacing: -0.065em;
	line-height: 0.94;
}

.ccuk-lede {
	max-width: 580px;
	margin: 30px 0 0;
	color: var(--ccuk-muted);
	font-size: clamp(1.1rem, 2vw, 1.34rem);
	line-height: 1.55;
}

.ccuk-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: 34px;
}

.ccuk-actions .ccuk-button {
	width: 100%;
}

.ccuk-button {
	display: inline-flex;
	box-sizing: border-box;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.ccuk-button:hover {
	transform: translateY(-2px);
}

.ccuk-button--primary {
	background: var(--ccuk-orange);
	box-shadow: 0 8px 20px rgba(201, 97, 42, 0.22);
	color: #fff;
}

.ccuk-button--primary:hover {
	background: var(--ccuk-orange-dark);
	color: #fff;
}

.ccuk-button--secondary {
	border-color: var(--ccuk-ink);
	background: transparent;
	color: var(--ccuk-ink);
}

.ccuk-button--secondary:hover {
	background: var(--ccuk-paper);
	color: var(--ccuk-ink);
}

.ccuk-hero-note {
	max-width: 500px;
	margin: 22px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.86rem;
}

.ccuk-hero-visual {
	position: relative;
}

.ccuk-hero-visual img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--ccuk-radius);
	box-shadow: var(--ccuk-shadow);
}

.ccuk-hero-caption {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	max-width: 250px;
	padding: 12px 15px;
	border-radius: 14px;
	background: rgba(30, 45, 39, 0.9);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
}

.ccuk-utility-strip {
	background: var(--ccuk-ink);
	color: #fff;
}

.ccuk-utility-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.16);
}

.ccuk-utility-link {
	display: block;
	padding: 26px 28px;
	background: var(--ccuk-ink);
	color: #fff;
	text-decoration: none;
}

.ccuk-utility-link:hover {
	background: #2c4036;
	color: #fff;
}

.ccuk-utility-link strong,
.ccuk-utility-link span {
	display: block;
}

.ccuk-utility-link strong {
	margin-bottom: 5px;
	font-size: 1.05rem;
}

.ccuk-utility-link span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.86rem;
}

.ccuk-section {
	padding-top: clamp(68px, 9vw, 120px);
	padding-bottom: clamp(68px, 9vw, 120px);
}

.ccuk-section--tint {
	background: var(--ccuk-sage);
}

.ccuk-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.ccuk-section-heading h2 {
	max-width: 650px;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.2rem, 5vw, 4.5rem);
	letter-spacing: -0.06em;
	line-height: 0.98;
}

.ccuk-section-heading p {
	max-width: 390px;
	margin: 0;
	color: var(--ccuk-muted);
}

.ccuk-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ccuk-card-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ccuk-card {
	display: flex;
	min-height: 220px;
	flex-direction: column;
	justify-content: space-between;
	padding: 26px;
	border: 1px solid var(--ccuk-line);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-paper);
	box-shadow: 0 6px 18px rgba(30, 45, 39, 0.03);
	color: var(--ccuk-ink);
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ccuk-card:hover {
	transform: translateY(-5px);
	border-color: var(--ccuk-orange);
	box-shadow: var(--ccuk-shadow);
	color: var(--ccuk-ink);
}

.ccuk-card-label {
	margin: 0 0 28px;
	color: var(--ccuk-orange-dark);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ccuk-card h3 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.45rem, 2vw, 2.15rem);
	letter-spacing: -0.045em;
	line-height: 1.03;
}

.ccuk-card p {
	margin: 12px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.95rem;
}

.ccuk-card-arrow {
	margin-top: 28px;
	font-size: 1.15rem;
	font-weight: 800;
}

.ccuk-featured-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ccuk-featured-card {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 225px;
	overflow: hidden;
	border: 1px solid var(--ccuk-line);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-paper);
	color: var(--ccuk-ink);
	text-decoration: none;
}

.ccuk-featured-card:hover {
	border-color: var(--ccuk-orange);
	color: var(--ccuk-ink);
}

.ccuk-featured-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	min-height: 0;
	object-fit: cover;
}

.ccuk-featured-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 26px 28px 30px;
}

.ccuk-featured-copy h3 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	letter-spacing: -0.045em;
	line-height: 1.04;
}

.ccuk-featured-copy p {
	margin: 11px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.92rem;
}

.ccuk-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 6vw, 80px);
	align-items: center;
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-ink);
	color: #fff;
}

.ccuk-panel h2 {
	margin: 0;
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 5vw, 4.25rem);
	letter-spacing: -0.06em;
	line-height: 0.98;
}

.ccuk-panel p {
	color: rgba(255, 255, 255, 0.78);
}

.ccuk-panel .ccuk-card-grid {
	gap: 12px;
}

.ccuk-panel .ccuk-card {
	min-height: 180px;
	border-color: rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
}

.ccuk-panel .ccuk-card h3,
.ccuk-panel .ccuk-card-arrow {
	color: #fff;
}

.ccuk-panel .ccuk-card:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.ccuk-panel .ccuk-card p {
	color: rgba(255, 255, 255, 0.74);
}

.ccuk-panel .ccuk-card-label {
	color: #f5b68d;
}

.ccuk-ad-slot {
	display: none;
	width: min(100% - 40px, 970px);
	min-height: 90px;
	margin: 0 auto;
	padding: 12px;
	border-top: 1px solid var(--ccuk-line);
	border-bottom: 1px solid var(--ccuk-line);
	color: var(--ccuk-muted);
	font-size: 0.7rem;
	text-align: center;
	text-transform: uppercase;
}

.ccuk-ad-slot:not(:empty) {
	display: grid;
	place-items: center;
}

.ccuk-trust {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(28px, 8vw, 120px);
	align-items: start;
}

.ccuk-trust h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.1rem, 4vw, 3.8rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.ccuk-trust-copy {
	max-width: 680px;
	color: var(--ccuk-muted);
	font-size: 1.05rem;
}

.ccuk-trust-copy strong {
	color: var(--ccuk-ink);
}

.ccuk-footer {
	border-top: 1px solid var(--ccuk-line);
	background: var(--ccuk-paper);
}

.ccuk-footer-inner {
	padding-top: 48px;
	padding-bottom: 32px;
}

.ccuk-footer-brand {
	max-width: 330px;
}

.ccuk-footer-brand p {
	color: var(--ccuk-muted);
	font-size: 0.9rem;
}

.ccuk-footer-links .wp-block-navigation-item__content {
	font-size: 0.9rem;
	text-decoration: none;
}

.ccuk-footer-disclosure {
	max-width: 620px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--ccuk-line);
	color: var(--ccuk-muted);
	font-size: 0.78rem;
}

.ccuk-footer-meta {
	margin-top: 30px;
	padding-top: 18px;
	border-top: 1px solid var(--ccuk-line);
	color: var(--ccuk-muted);
	font-size: 0.75rem;
}

@media (max-width: 960px) {
	.ccuk-hero,
	.ccuk-panel,
	.ccuk-trust {
		grid-template-columns: 1fr;
	}

	.ccuk-hero-visual {
		max-width: 720px;
	}

	.ccuk-card-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	/* On phones, stay inside the available layout width. Using 100vw here can
	 * include the scrollbar/gutter and create a small right-hand page clip. */
	.ccuk-home {
		box-sizing: border-box;
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.ccuk-shell {
		box-sizing: border-box;
		width: min(calc(100% - 28px), 1240px);
	}

	.ccuk-header-inner {
		min-height: 68px;
		box-sizing: border-box;
		width: min(calc(100% - 28px), 1240px);
	}

	.ccuk-hero {
		gap: 32px;
		padding-top: 28px;
	}

	.ccuk-hero h1 {
		font-size: clamp(3rem, 17vw, 4.8rem);
	}

	.ccuk-actions {
		align-items: center;
		flex-direction: column;
	}

	.ccuk-actions .ccuk-button {
		max-width: 100%;
	}

	.ccuk-utility-inner,
	.ccuk-card-grid,
	.ccuk-card-grid--four,
	.ccuk-featured-grid {
		grid-template-columns: 1fr;
	}

	.ccuk-utility-link {
		padding: 20px 22px;
	}

	.ccuk-section-heading {
		align-items: start;
		flex-direction: column;
	}

	.ccuk-featured-card {
		grid-template-columns: 1fr;
	}

	.ccuk-featured-card img {
		min-height: 190px;
		max-height: 250px;
	}

	.ccuk-panel {
		padding: 28px 22px;
	}

	.ccuk-panel .ccuk-card-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* The post-content block inherits Twenty Twenty-Five's narrow reading width.
 * The homepage is an intentional full-width decision hub, so release that
 * constraint while keeping article content readable elsewhere. */
.ccuk-page-main > .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
}

.page-id-95 .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
}

/* Keep the product hub's comparison table inside the narrow mobile column.
 * Long guide titles should wrap rather than create page-level horizontal scroll. */
.page-id-150 .wp-block-table table {
	table-layout: fixed;
	width: 100%;
}

.page-id-150 .wp-block-table th,
.page-id-150 .wp-block-table td {
	overflow-wrap: anywhere;
}

/* Interactive budgeting tool */
.ccuk-calculator-page {
	width: min(100% - 40px, 1120px);
	max-width: none !important;
	margin: 0 auto;
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(64px, 9vw, 120px);
}

.ccuk-calculator-intro {
	max-width: 760px;
	margin-bottom: 38px;
}

.ccuk-calculator-intro h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 6vw, 5.4rem);
	letter-spacing: -0.06em;
	line-height: 0.96;
}

.ccuk-calculator-intro > p:not(.ccuk-section-kicker) {
	max-width: 650px;
	margin: 22px 0 0;
	color: var(--ccuk-muted);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.55;
}

.ccuk-calculator-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
	gap: 22px;
	align-items: start;
}

.ccuk-calculator-form,
.ccuk-calculator-result {
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--ccuk-line);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-paper);
	box-shadow: var(--ccuk-shadow);
}

.ccuk-calculator-form fieldset {
	margin: 0;
	padding: 0 0 28px;
	border: 0;
	border-bottom: 1px solid var(--ccuk-line);
}

.ccuk-calculator-form fieldset + fieldset {
	padding-top: 28px;
}

.ccuk-calculator-form legend {
	margin-bottom: 16px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.ccuk-profile-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.ccuk-profile-button {
	min-height: 62px;
	padding: 10px 12px;
	border: 1px solid var(--ccuk-line);
	border-radius: 14px;
	background: var(--ccuk-cream);
	color: var(--ccuk-ink);
	font: inherit;
	font-size: 0.85rem;
	font-weight: 800;
	cursor: pointer;
}

.ccuk-profile-button:hover,
.ccuk-profile-button.is-active {
	border-color: var(--ccuk-orange);
	background: var(--ccuk-orange-soft);
}

.ccuk-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ccuk-form-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 16px;
	font-size: 0.92rem;
	font-weight: 800;
}

.ccuk-form-field:last-child {
	margin-bottom: 0;
}

.ccuk-form-field small {
	color: var(--ccuk-muted);
	font-size: 0.76rem;
	font-weight: 400;
	line-height: 1.4;
}

.ccuk-form-field input {
	width: 100%;
	min-height: 46px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #aebbb0;
	border-radius: 10px;
	background: #fff;
	color: var(--ccuk-ink);
	font: inherit;
	font-weight: 600;
}

.ccuk-form-field input:focus {
	border-color: var(--ccuk-orange-dark);
	outline: 3px solid var(--ccuk-orange-dark);
	outline-offset: 1px;
}

.ccuk-form-field select,
.ccuk-form-field textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #aebbb0;
	border-radius: 10px;
	background: #fff;
	color: var(--ccuk-ink);
	font: inherit;
}

.ccuk-form-field select:focus,
.ccuk-form-field textarea:focus {
	border-color: var(--ccuk-orange-dark);
	outline: 3px solid var(--ccuk-orange-dark);
	outline-offset: 1px;
}

.ccuk-calculator-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.ccuk-calculator-result {
	position: sticky;
	top: 20px;
	background: var(--ccuk-ink);
	color: #fff;
}

.ccuk-calculator-result:focus {
	outline: 3px solid var(--ccuk-orange);
	outline-offset: 5px;
}

.ccuk-result-kicker {
	margin: 0;
	color: #f5b68d;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.ccuk-calculator-result h2 {
	margin: 8px 0 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.ccuk-result-summary,
.ccuk-result-note {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	line-height: 1.5;
}

.ccuk-result-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin: 24px 0;
}

.ccuk-result-card {
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
}

.ccuk-result-card span,
.ccuk-result-card strong {
	display: block;
}

.ccuk-result-card span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.78rem;
}

.ccuk-result-card strong {
	margin-top: 4px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	letter-spacing: -0.04em;
}

.ccuk-result-breakdown {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ccuk-result-breakdown div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	font-size: 0.88rem;
}

.ccuk-result-breakdown dt {
	color: rgba(255, 255, 255, 0.74);
}

.ccuk-result-breakdown dd {
	margin: 0;
	font-weight: 800;
}

.ccuk-calculator-note {
	max-width: 720px;
	margin: 28px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.ccuk-calculator-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-top: 24px;
	font-weight: 800;
}

.ccuk-food-retailer-options {
	max-width: 760px;
	margin: 34px 0 0;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid var(--ccuk-line);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-sage);
}

.ccuk-food-retailer-options h2 {
	margin-top: 0;
}

.ccuk-food-retailer-options .ccuk-actions {
	margin-top: 20px;
}

.ccuk-commercial-note {
	margin: 18px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

/* Device-local new-cat checklist. The page keeps its static table for
 * crawlability and no-JavaScript access; this layer adds progress, filtering,
 * print support, measured guide routes, and stable ad slots when available. */
.ccuk-checklist-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
	gap: 24px;
	margin: 28px 0 24px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid var(--ccuk-line);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-paper);
	box-shadow: var(--ccuk-shadow);
}

.ccuk-checklist__intro {
	min-width: 0;
}

.ccuk-checklist__intro h3 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.85rem, 4vw, 2.7rem);
	letter-spacing: -0.055em;
	line-height: 1;
}

.ccuk-checklist__intro > p:not(.ccuk-section-kicker) {
	max-width: 540px;
	margin: 16px 0 0;
	color: var(--ccuk-muted);
	line-height: 1.55;
}

.ccuk-checklist__progress-area {
	margin-top: 24px;
}

.ccuk-checklist__progress-label {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 800;
}

.ccuk-checklist__progress {
	display: block;
	width: 100%;
	height: 10px;
	border: 0;
	border-radius: 999px;
	background: var(--ccuk-sage);
	appearance: none;
}

.ccuk-checklist__progress::-webkit-progress-bar {
	border-radius: 999px;
	background: var(--ccuk-sage);
}

.ccuk-checklist__progress::-webkit-progress-value {
	border-radius: 999px;
	background: var(--ccuk-orange);
}

.ccuk-checklist__progress::-moz-progress-bar {
	border-radius: 999px;
	background: var(--ccuk-orange);
}

.ccuk-checklist__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	align-items: center;
	margin-top: 22px;
}

.ccuk-checklist__actions .ccuk-button {
	min-height: 44px;
	padding: 10px 18px;
	font-size: 0.9rem;
}

.ccuk-checklist__text-button {
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: var(--ccuk-orange-dark);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}

.ccuk-checklist__guides {
	align-self: start;
	padding: 20px;
	border-radius: 16px;
	background: var(--ccuk-sage);
}

.ccuk-checklist__guides p {
	margin: 7px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.ccuk-checklist__guide-links {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 14px;
}

.ccuk-checklist__guide-link {
	font-size: 0.9rem;
	font-weight: 800;
}

.ccuk-checklist__more-guides,
.ccuk-checklist__complete-note {
	color: var(--ccuk-muted);
	font-size: 0.82rem;
}

.ccuk-checklist__filters {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	gap: 8px;
	align-items: center;
	padding-top: 4px;
}

.ccuk-checklist__filter-label {
	margin-right: 4px;
	color: var(--ccuk-muted);
	font-size: 0.8rem;
	font-weight: 800;
}

.ccuk-checklist__filter {
	padding: 7px 12px;
	border: 1px solid var(--ccuk-line);
	border-radius: 999px;
	background: var(--ccuk-cream);
	color: var(--ccuk-ink);
	font-size: 0.8rem;
	font-weight: 800;
	cursor: pointer;
}

.ccuk-checklist__filter.is-active,
.ccuk-checklist__filter:hover {
	border-color: var(--ccuk-ink);
	background: var(--ccuk-ink);
	color: #fff;
}

.ccuk-checklist-table {
	overflow-x: auto;
}

.ccuk-checklist-table table {
	width: 100%;
}

.ccuk-checklist-table .ccuk-checklist__row {
	transition: background-color 160ms ease;
}

.ccuk-checklist-table .ccuk-checklist__row.is-complete {
	background: rgba(230, 238, 224, 0.72);
}

.ccuk-checklist__item-cell {
	min-width: 190px;
}

.ccuk-checklist__checkbox {
	width: 1.15em;
	height: 1.15em;
	margin: 0 9px 0 0;
	accent-color: var(--ccuk-orange);
	vertical-align: -0.15em;
}

.ccuk-checklist__row.is-complete .ccuk-checklist__item-name {
	color: var(--ccuk-muted);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.ccuk-ad-slot[data-ad-slot^="new-cat-checklist-"] {
	min-height: 120px;
	margin: 34px 0;
	padding: 14px;
	border: 1px solid var(--ccuk-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.62);
	color: var(--ccuk-muted);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.ccuk-ad-slot:empty {
	display: none;
}

/* Printable lead magnet: useful without an email gate, and easy to convert
 * into a permission-based download once the owner connects a mail provider. */
.ccuk-budget-planner {
	width: min(100% - 40px, 1000px);
	max-width: none !important;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
}

.ccuk-budget-planner-intro {
	max-width: 760px;
	margin-bottom: 28px;
}

.ccuk-budget-planner-intro h2,
.ccuk-budget-sheet-heading h2,
.ccuk-budget-notes h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.ccuk-budget-planner-intro h2 {
	font-size: clamp(2.5rem, 6vw, 5rem);
}

.ccuk-budget-planner-intro > p:not(.ccuk-section-kicker) {
	max-width: 680px;
	margin: 20px 0 0;
	color: var(--ccuk-muted);
	font-size: 1.08rem;
	line-height: 1.55;
}

.ccuk-budget-planner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0;
}

.ccuk-budget-sheet {
	margin-top: 22px;
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid var(--ccuk-line);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-paper);
	box-shadow: var(--ccuk-shadow);
}

.ccuk-budget-sheet-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 24px;
	align-items: end;
	margin-bottom: 24px;
}

.ccuk-budget-sheet-heading h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.ccuk-budget-sheet-heading > p {
	margin: 0;
	color: var(--ccuk-muted);
	line-height: 1.5;
}

.ccuk-budget-sheet table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.ccuk-budget-sheet th,
.ccuk-budget-sheet td {
	padding: 13px 12px;
	border-top: 1px solid var(--ccuk-line);
	text-align: left;
	vertical-align: top;
}

.ccuk-budget-sheet thead th {
	color: var(--ccuk-muted);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ccuk-budget-sheet tbody th {
	width: 25%;
}

.ccuk-budget-line {
	width: 23%;
	min-width: 120px;
	color: var(--ccuk-ink);
	font-size: 1rem;
	font-weight: 800;
}

.ccuk-budget-total th,
.ccuk-budget-total td {
	border-top: 2px solid var(--ccuk-ink);
	font-weight: 800;
}

.ccuk-budget-notes {
	margin-top: 22px;
	padding: clamp(22px, 4vw, 36px);
	border-radius: var(--ccuk-radius);
	background: var(--ccuk-cream);
}

.ccuk-budget-notes h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.ccuk-budget-notes ul {
	margin: 18px 0 0;
	padding-left: 20px;
	color: var(--ccuk-muted);
	line-height: 1.6;
}

.ccuk-budget-footer {
	margin: 24px 0 0;
	color: var(--ccuk-muted);
	font-size: 0.82rem;
}

@media (max-width: 860px) {
	.ccuk-calculator-layout {
		grid-template-columns: 1fr;
	}

	.ccuk-calculator-result {
		position: static;
	}
}

@media (max-width: 520px) {
	.ccuk-calculator-page {
		width: min(calc(100% - 28px), 1120px);
	}

	.ccuk-profile-grid,
	.ccuk-form-grid {
		grid-template-columns: 1fr;
	}

	.ccuk-calculator-form,
	.ccuk-calculator-result {
		padding: 22px 18px;
	}

	.ccuk-budget-planner {
		width: min(calc(100% - 28px), 1000px);
	}

	.ccuk-budget-sheet {
		padding: 18px 14px;
		overflow-x: auto;
	}

	.ccuk-budget-sheet-heading {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ccuk-budget-sheet table {
		min-width: 620px;
	}

	.ccuk-checklist-panel {
		display: block;
	}

	.ccuk-checklist__guides {
		margin-top: 24px;
	}

	.ccuk-checklist__item-cell {
		min-width: 165px;
	}
}

@media print {
	.ccuk-header,
	.ccuk-footer,
	.ccuk-budget-planner-actions,
	.ccuk-budget-footer a {
		display: none !important;
	}

	.ccuk-budget-planner {
		width: 100%;
		padding: 0;
	}

	.ccuk-budget-sheet,
	.ccuk-budget-notes {
		box-shadow: none;
		break-inside: avoid;
	}

	.ccuk-budget-planner-intro h2,
	.ccuk-budget-sheet-heading h2,
	.ccuk-budget-notes h2 {
		color: #000;
	}

	.ccuk-checklist-panel {
		display: block;
		box-shadow: none;
	}

	.ccuk-checklist__actions,
	.ccuk-checklist__filters,
	.ccuk-checklist__guides,
	.ccuk-ad-slot {
		display: none !important;
	}

	.ccuk-checklist-table .ccuk-checklist__row[hidden] {
		display: table-row !important;
	}
}
