/*
Theme Name:   ClickOptim
Template:     astra
Description:  Thème enfant Astra pour clickoptim.com
Version:      2.0.0
Text Domain:  clickoptim
*/

/* Palette: Atlantic navy, cobalt for actions, argan-sun yellow used sparingly, mist surfaces. */
:root {
	--co-navy: #0e2235;
	--co-text: #3d4c5c;
	--co-muted: #66778a;
	--co-line: #d8e0e7;
	--co-mist: #eef2f5;
	--co-cobalt: #0f5fd7;
	--co-cobalt-dark: #0b4aa8;
	--co-sun: #f2b33d;
	--co-wrap: 1200px;
	--co-display: "Bricolage Grotesque", "Source Sans 3", system-ui, sans-serif;
	--co-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
	background: #fff;
	color: var(--co-text);
	font-family: var(--co-body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.site-title, .entry-title {
	color: var(--co-navy);
	font-family: var(--co-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

a { color: var(--co-cobalt); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--co-cobalt-dark); }
:focus-visible { outline: 3px solid var(--co-sun); outline-offset: 2px; border-radius: 2px; }
::selection { background: rgba(242, 179, 61, 0.45); }

/* ---------- Full-width section pages ---------- */

.co-page .site-content > .ast-container { max-width: 100%; padding: 0; display: block; }
.co-page #primary { margin: 0; padding: 0; }
.co-page .entry-header { display: none; }
.co-page .entry-content > * { margin-top: 0; margin-bottom: 0; }
.co-page .ast-article-single, .co-page article.page { padding: 0 !important; margin: 0 !important; background: none; border: 0; }

.entry-content .co-section {
	padding: 96px 24px;
	margin: 0;
}
.co-section > *,
.co-section.is-layout-constrained > * {
	max-width: var(--co-wrap);
	margin-left: auto !important;
	margin-right: auto !important;
}
.co-section.co-alt { background: var(--co-mist); }
.co-section h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 16px; max-width: 760px; }
.co-section h3 { font-size: 22px; margin: 0 0 8px; }
.co-section p { max-width: 70ch; }
.co-intro { font-size: 20px; color: var(--co-muted); margin-bottom: 48px !important; }

/* Kicker: sentence case, small, a short sun-coloured rule before it */
.co-eyebrow {
	color: var(--co-cobalt);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 14px !important;
	display: flex;
	align-items: center;
	gap: 10px;
}
.co-eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--co-sun); border-radius: 2px; flex: none; }

/* ---------- Hero ---------- */

.entry-content .co-hero { padding-top: 72px; padding-bottom: 88px; }
.co-hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 24px; }
.co-hero .co-intro { font-size: 21px; color: var(--co-text); margin-bottom: 8px !important; max-width: 34em; }
.co-hero-cols { gap: 64px !important; align-items: center !important; }
.co-hero-cols > .wp-block-column:first-child { flex-basis: 54% !important; }
.co-hero .wp-block-image img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; }
.co-hero .wp-block-image { position: relative; }
.co-hero .wp-block-image::after {
	content: ""; position: absolute; left: -14px; bottom: -14px; width: 38%; height: 38%;
	border-left: 3px solid var(--co-sun); border-bottom: 3px solid var(--co-sun); z-index: -1;
}
.co-hero figcaption { font-size: 14px; color: var(--co-muted); margin-top: 22px; }

/* Home hero: the method drawn as a process line */
.co-schema { margin: 0; background: var(--co-navy); border-radius: 6px; padding: 28px 22px; }
.co-schema svg { width: 100%; height: auto; display: block; overflow: visible; }
.co-schema-line { fill: none; stroke: #4f7fc4; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1100; stroke-dashoffset: 0; }
.co-node circle { fill: var(--co-navy); stroke: #8fb3e8; stroke-width: 3; }
.co-node-on circle { fill: var(--co-sun); stroke: var(--co-sun); }
.co-node text { fill: #fff; font-family: var(--co-display); font-size: 21px; font-weight: 700; }
.co-node text.co-sub { fill: #a9bbd0; font-family: var(--co-body); font-size: 14px; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
	.co-schema-line { animation: co-draw 1.8s cubic-bezier(.6, 0, .3, 1) both .2s; }
	.co-node { animation: co-pop .4s ease-out both; }
	.co-node:nth-of-type(1) { animation-delay: .2s; }
	.co-node:nth-of-type(2) { animation-delay: .7s; }
	.co-node:nth-of-type(3) { animation-delay: 1.2s; }
	.co-node:nth-of-type(4) { animation-delay: 1.8s; }
	@keyframes co-draw { from { stroke-dashoffset: 1100; } }
	@keyframes co-pop { from { opacity: 0; } }
}

.co-markets { color: var(--co-muted); font-size: 16px; margin-top: 18px !important; }

/* Statement band */
.entry-content .co-statement { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--co-line); border-bottom: 1px solid var(--co-line); }
.co-statement-text {
	font-family: var(--co-display);
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--co-navy);
	font-weight: 600;
	max-width: 24em !important;
}

/* ---------- Index rows (linked services) ---------- */

.co-rows { border-top: 1px solid var(--co-line); }
.co-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 32px;
	gap: 32px;
	align-items: baseline;
	padding: 26px 8px;
	border-bottom: 1px solid var(--co-line);
	transition: background-color .15s;
}
.co-row > * { margin: 0 !important; }
.co-row h2, .co-row h3 { font-size: 23px; }
.co-row h2 a, .co-row h3 a { color: var(--co-navy); text-decoration: none; }
.co-row h2 a::after, .co-row h3 a::after { content: ""; position: absolute; inset: 0; }
.co-row p { color: var(--co-muted); }
.co-row:hover { background: var(--co-mist); }
.co-alt .co-row:hover { background: #fff; }
.co-row:hover h2 a, .co-row:hover h3 a { color: var(--co-cobalt); }
.co-arrow { width: 26px; height: 26px; fill: none; stroke: var(--co-cobalt); stroke-width: 2; align-self: center; }

/* ---------- Photo tiles (solutions) ---------- */

.co-tiles { display: grid; gap: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-tile { position: relative; }
.co-tile > * { margin: 0 !important; }
.co-tile .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.co-tile h2, .co-tile h3 { font-size: 21px; margin-top: 18px !important; margin-bottom: 6px !important; }
.co-tile h2 a, .co-tile h3 a { color: var(--co-navy); text-decoration: none; }
.co-tile h2 a::after, .co-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.co-tile:hover h2 a, .co-tile:hover h3 a { color: var(--co-cobalt); text-decoration: underline; }
.co-tile p { font-size: 16px; color: var(--co-muted); }

/* ---------- Open feature columns ---------- */

.co-features { display: grid; gap: 40px 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-features.co-n2, .co-features.co-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.co-features.co-n1 { grid-template-columns: minmax(0, 1fr); }
.co-feature { border-top: 3px solid var(--co-navy); padding-top: 20px; }
.co-feature > * { margin: 0 !important; }
.co-feature h2, .co-feature h3 { font-size: 22px; margin-bottom: 10px !important; }
.co-alt .co-feature { border-top-color: var(--co-cobalt); }

/* ---------- Method timeline (a real sequence) ---------- */

.co-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: step; margin-top: 8px; }
.co-step { counter-increment: step; position: relative; padding: 56px 28px 0 0; }
.co-step > * { margin: 0 !important; }
.co-step::before {
	content: counter(step);
	position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
	background: var(--co-navy); color: #fff; font-family: var(--co-display); font-weight: 700;
	display: flex; align-items: center; justify-content: center; font-size: 17px; z-index: 1;
}
.co-step::after { content: ""; position: absolute; top: 18px; left: 38px; right: 0; height: 2px; background: var(--co-line); }
.co-step:last-child::after { display: none; }
.co-step h3 { font-size: 21px; margin-bottom: 6px !important; }
.co-step p { color: var(--co-muted); font-size: 17px; }

/* ---------- Lists, links, guides ---------- */

.co-checklist { list-style: none; padding: 0; margin: 8px 0 24px; }
.co-checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.co-checklist li::before {
	content: ""; position: absolute; left: 4px; top: 8px; width: 13px; height: 7px;
	border-left: 2.5px solid var(--co-cobalt); border-bottom: 2.5px solid var(--co-cobalt); transform: rotate(-45deg);
}

.co-section h3:not(.wp-block-heading:first-child) { margin-top: 40px; }
.co-links { list-style: none; padding: 0; margin: 4px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.co-links li { margin: 0; }
.entry-content .co-links li a {
	display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--co-line); background: #fff;
	border-radius: 999px; padding: 9px 18px; text-decoration: none; color: var(--co-navy); font-weight: 600; font-size: 16px;
}
.entry-content .co-links li a:hover { border-color: var(--co-navy); }

.co-guides { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--co-line); }
.co-guides li { border-bottom: 1px solid var(--co-line); padding: 20px 0; margin: 0; }
.entry-content .co-guides li a { font-family: var(--co-display); font-weight: 600; font-size: 20px; color: var(--co-navy); text-decoration: none; letter-spacing: -0.01em; }
.entry-content .co-guides li a:hover { color: var(--co-cobalt); text-decoration: underline; }
.co-guides li span { display: block; color: var(--co-muted); font-size: 16px; margin-top: 4px; }

.co-media img { border-radius: 4px; width: 100%; height: auto; }
.co-media figcaption, .co-section figcaption { font-size: 14px; color: var(--co-muted); }
.co-split { gap: 64px !important; align-items: center !important; }

.co-breadcrumb { font-size: 15px; color: var(--co-muted); margin-bottom: 22px; }
.entry-content .co-breadcrumb a { color: var(--co-muted); text-decoration: none; }
.entry-content .co-breadcrumb a:hover { color: var(--co-cobalt); text-decoration: underline; }

/* ---------- Buttons ---------- */

.wp-block-buttons { margin-top: 32px !important; gap: 12px; }
.entry-content .wp-block-button__link, .co-form button, .ast-custom-button {
	background: var(--co-cobalt);
	border: 2px solid var(--co-cobalt);
	border-radius: 4px;
	color: #fff;
	font-weight: 600;
	font-size: 17px;
	padding: 14px 26px;
	text-decoration: none;
	line-height: 1.2;
}
.entry-content .wp-block-button__link:hover, .co-form button:hover { background: var(--co-cobalt-dark); border-color: var(--co-cobalt-dark); color: #fff; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--co-navy); border-color: var(--co-navy); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--co-navy); color: #fff; }

/* ---------- Dark closing band ---------- */

.entry-content .co-dark { background: var(--co-navy); color: #c4d0dd; }
.co-dark h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); }
.co-dark .co-eyebrow { color: var(--co-sun); }
.co-dark p { color: #c4d0dd; }
.co-dark .wp-block-button__link { background: var(--co-sun) !important; border-color: var(--co-sun) !important; color: var(--co-navy) !important; }
.co-dark .wp-block-button__link:hover { background: #fff !important; border-color: #fff !important; }

/* ---------- FAQ ---------- */

.co-faq { max-width: 880px; border-top: 1px solid var(--co-line); }
.co-faq .wp-block-details { border-bottom: 1px solid var(--co-line); padding: 22px 0; margin: 0; }
.co-faq summary {
	font-family: var(--co-display); font-weight: 600; color: var(--co-navy); font-size: 20px; letter-spacing: -0.01em;
	cursor: pointer; list-style: none; position: relative; padding-right: 44px;
}
.co-faq summary::-webkit-details-marker { display: none; }
.co-faq summary::after {
	content: ""; position: absolute; right: 8px; top: 6px; width: 12px; height: 12px;
	border-right: 2.5px solid var(--co-cobalt); border-bottom: 2.5px solid var(--co-cobalt); transform: rotate(45deg); transition: transform .2s;
}
.co-faq details[open] summary::after { transform: rotate(-135deg); top: 12px; }
.co-faq .wp-block-details p { margin: 12px 0 0; color: var(--co-text); }

/* ---------- Lead form ---------- */

.co-form-cols { gap: 64px !important; }
.co-form { background: #fff; border: 1px solid var(--co-line); border-top: 4px solid var(--co-cobalt); border-radius: 4px; padding: 34px; }
.co-form h3 { font-size: 24px; margin-bottom: 4px; }
.co-form .co-form-sub { color: var(--co-muted); font-size: 16px; margin-bottom: 24px; }
.co-form label { display: block; font-weight: 600; color: var(--co-navy); font-size: 15px; margin-bottom: 6px; }
.co-form input[type=text], .co-form input[type=email], .co-form input[type=tel], .co-form textarea {
	width: 100%; border: 1px solid #c3ced9; border-radius: 4px; padding: 12px 14px; font-size: 17px; background: #fff; margin-bottom: 18px; color: var(--co-navy);
}
.co-form input:focus, .co-form textarea:focus { outline: 3px solid rgba(15, 95, 215, 0.2); border-color: var(--co-cobalt); }
.co-form .co-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--co-text); font-size: 14px; }
.co-form .co-consent input { margin-top: 4px; }
.co-form .co-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.co-form button { cursor: pointer; width: 100%; margin-top: 12px; }
.co-form .co-form-error { color: #b42318; font-size: 15px; display: none; margin-top: 12px; }

/* ---------- Header ---------- */

.ast-primary-header-bar { border-bottom: 1px solid var(--co-line); background: #fff; }
.site-title { font-size: 26px; margin: 0; }
.site-title a, .site-title a:hover { color: var(--co-navy); font-weight: 800; letter-spacing: -0.03em; }
.site-title a::after { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--co-sun); margin-left: 3px; border-radius: 1px; }
.main-header-menu .menu-link { font-weight: 600; color: var(--co-navy); font-size: 17px; }
.main-header-menu .current-menu-item > .menu-link, .main-header-menu .current-page-ancestor > .menu-link,
.main-header-menu .menu-link:hover { color: var(--co-cobalt); }
.ast-header-button-1 .ast-custom-button { border-radius: 4px; padding: 11px 20px; font-size: 16px; }

/* ---------- Footer ---------- */

.co-footer { background: var(--co-navy); color: #a9bbd0; padding: 72px 24px 28px; font-size: 16px; }
.co-footer-inner { max-width: var(--co-wrap); margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; }
.co-footer h4 { color: #fff; font-family: var(--co-body); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.co-footer ul { list-style: none; margin: 0; padding: 0; }
.co-footer li { margin-bottom: 9px; }
.co-footer a { color: #a9bbd0; text-decoration: none; }
.co-footer a:hover { color: #fff; text-decoration: underline; }
.co-footer .co-brand { color: #fff; font-family: var(--co-display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.co-footer .co-brand::after { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--co-sun); margin-left: 3px; }
.co-footer .co-footer-cta a { color: var(--co-sun); font-weight: 600; }
.co-footer-bottom { max-width: var(--co-wrap); margin: 56px auto 0; border-top: 1px solid #23394f; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; font-size: 15px; }
.co-footer-bottom nav a { margin-left: 20px; }

/* ---------- WhatsApp ---------- */

.co-wa { position: fixed; right: 20px; bottom: 20px; z-index: 99; background: #1d8f4e; color: #fff !important; border-radius: 999px; padding: 12px 20px 12px 16px; display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 6px 18px rgba(14, 34, 53, 0.22); }
.co-wa:hover { background: #17773f; }
.co-wa svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Blog ---------- */

.blog .site-content, .single-post .site-content, .archive .site-content { background: #fff; }
.ast-separate-container { background: #fff; }
.co-blog-intro { max-width: var(--co-wrap); margin: 0 auto; padding: 72px 0 24px; }
.co-blog-intro h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; max-width: 15em; margin: 0 0 18px; }
.co-blog-intro p:not(.co-eyebrow) { font-size: 20px; color: var(--co-muted); max-width: 44em; }

.blog .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-post {
	background: transparent; border: 0; padding: 0 !important; margin-bottom: 0;
}
.blog .ast-article-inner, .blog .ast-article-post > div { padding: 0 !important; background: none !important; box-shadow: none !important; }
.blog .post-thumb-img-content img, .blog .ast-blog-featured-section img { border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.blog .entry-title { font-size: 24px; line-height: 1.2; margin-top: 18px; }
.blog .entry-title a { color: var(--co-navy); }
.blog .entry-title a:hover { color: var(--co-cobalt); }
.blog .entry-meta, .blog .entry-meta a { color: var(--co-muted); font-size: 15px; }
.blog .ast-excerpt-container p { font-size: 17px; color: var(--co-text); }
.blog .read-more a { font-weight: 600; }
.blog .ast-row { row-gap: 56px; }

.single-post .ast-article-single { border: 0 !important; background: none !important; padding: 0 !important; }
.single-post .site-content > .ast-container { max-width: 820px; padding-top: 56px; }
.single-post .entry-title { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.single-post .entry-meta { color: var(--co-muted); font-size: 16px; }
.single-post .post-thumb img, .single-post .ast-single-post-featured-section img { border-radius: 4px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 12px 0 8px; }
.single-post .entry-content { font-size: 19px; line-height: 1.7; }
.single-post .entry-content > p:first-child { font-size: 22px; color: var(--co-navy); line-height: 1.5; }
.single-post .entry-content h2 { font-size: 30px; margin: 48px 0 14px; }
.co-post-related { border-top: 1px solid var(--co-line); margin-top: 48px; padding-top: 28px; }
.co-post-related h3 { font-size: 20px; }
.co-post-cta { background: var(--co-navy); color: #c4d0dd; padding: 30px 32px; margin-top: 40px; border-radius: 4px; font-size: 18px; }
.co-post-cta strong { color: #fff; }
.co-post-cta a { color: var(--co-sun); font-weight: 600; }
.single-post .post-navigation { border-top: 1px solid var(--co-line); padding-top: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.co-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
	.entry-content .co-section { padding: 64px 20px; }
	.entry-content .co-hero { padding-top: 40px; padding-bottom: 56px; }
	.co-hero-cols, .co-split, .co-form-cols { gap: 36px !important; }
	.co-features, .co-features.co-n2, .co-features.co-n4 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.co-row { grid-template-columns: minmax(0, 1fr) 26px; gap: 6px 16px; }
	.co-row p { grid-column: 1; grid-row: 2; }
	.co-row .co-arrow, .co-row > .wp-block-html, .co-row > svg { grid-column: 2; grid-row: 1 / span 2; }
	.co-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.co-step { padding: 0 0 0 58px; }
	.co-step::after { top: 38px; left: 18px; width: 2px; height: calc(100% - 10px); right: auto; }
	.co-footer-inner { grid-template-columns: 1fr 1fr; }
	.co-blog-intro { padding: 40px 20px 12px; }
	.co-wa span { display: none; }
	.co-wa { padding: 13px; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.co-tiles { grid-template-columns: minmax(0, 1fr); }
	.co-footer-inner { grid-template-columns: 1fr; }
	.co-form { padding: 24px 18px; }
	.co-schema { padding: 16px 10px; }
	.co-footer-bottom nav a { margin: 0 16px 0 0; }
}

/* ---------- v2 fixes ---------- */
.co-hero-cols > .wp-block-column { min-width: 0; }
.co-hero-home .co-hero-cols > .wp-block-column:first-child { flex: 1 1 56% !important; }
.co-hero-home .co-hero-cols > .wp-block-column:last-child { flex: 1 1 44% !important; }
.co-statement-text { max-width: var(--co-wrap) !important; text-wrap: balance; padding-right: 12%; }
.entry-content .co-row a, .entry-content .co-tile h2 a, .entry-content .co-tile h3 a { text-decoration: none !important; }
.entry-content .co-tile:hover h2 a, .entry-content .co-tile:hover h3 a { text-decoration: underline !important; }
.co-tile .wp-block-image img { height: auto !important; aspect-ratio: 4 / 3 !important; }
.co-step h3, .co-feature h3, .co-feature h2, .co-row h3, .co-row h2 { margin-top: 0 !important; }
.co-hero-cols > .wp-block-column:first-child { flex: 1 1 56% !important; }
.co-hero-cols > .wp-block-column:last-child { flex: 1 1 44% !important; }
.entry-content ul.co-guides, .entry-content ul.co-links, .entry-content ul.co-checklist { margin-left: 0; }
.co-features > *, .co-tiles > *, .co-rows > *, .co-steps > * { margin: 0 !important; }
.single-post .entry-content > p, .single-post .entry-content > h2 { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.single-post .co-post-related { padding-left: 0; padding-right: 0; }
.single-post .co-post-related > * { margin-left: 0 !important; }
.co-section > .co-media img { aspect-ratio: 21 / 8; object-fit: cover; }
.co-section > .co-media { margin-top: 56px !important; }
.single-post h1.entry-title { font-size: clamp(34px, 4.4vw, 50px) !important; line-height: 1.06; letter-spacing: -0.03em; }

/* ---------- Long-form content: prose sections, tables, callouts ---------- */
.co-prose { max-width: 780px; }
.co-prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 14px !important; }
.co-prose > h2:first-child { margin-top: 0 !important; }
.co-prose h3 { font-size: 21px; margin: 28px 0 8px !important; }
.co-prose p, .co-prose li { font-size: 18px; }
.co-prose ul, .co-prose ol, .single-post .entry-content ul, .single-post .entry-content ol { margin: 0 0 22px 1.2em; }
.co-prose li, .single-post .entry-content li { margin-bottom: 8px; }
.co-table { margin: 20px 0 30px !important; overflow-x: auto; }
.co-table table { width: 100%; border-collapse: collapse; font-size: 16px; border: 0; }
.co-table th { background: var(--co-navy); color: #fff; text-align: left; font-weight: 600; padding: 12px 14px; border: 0; }
.co-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--co-line); vertical-align: top; }
.co-table tr:nth-child(even) td { background: var(--co-mist); }
.co-callout { border-left: 4px solid var(--co-sun); background: var(--co-mist); padding: 18px 22px; font-size: 19px; color: var(--co-navy); border-radius: 0 4px 4px 0; }
.single-post .entry-content h3 { font-size: 22px; margin: 30px 0 8px; }
.single-post .co-faq { margin-top: 12px; }

/* Single post: featured image above the title, cropped inside its own box */
.single-post .ast-single-post-featured-section { max-width: 820px; margin: 0 auto 36px !important; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; position: relative; }
.single-post .ast-single-post-featured-section img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; margin: 0 !important; }
.single-post .site-content > .ast-container { padding-top: 48px; }

/* Comments */
.single-post .comments-area { max-width: 820px; margin: 56px auto 0; border-top: 1px solid var(--co-line); padding-top: 32px; }
.comments-area .comments-title, .comment-reply-title { font-family: var(--co-display); font-size: 26px; color: var(--co-navy); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { border: 1px solid #c3ced9; border-radius: 4px; padding: 12px 14px; font-size: 17px; width: 100%; }
.comment-form .submit { background: var(--co-cobalt) !important; border-radius: 4px !important; padding: 13px 26px !important; font-weight: 600; }
.comment-form .comment-form-url { display: none; }
.ast-separate-container .site-content .ast-single-post-featured-section + article { margin-top: 0 !important; }
.ast-no-sidebar .site-content .ast-article-image-container--wide { margin-left: auto !important; margin-right: auto !important; max-width: 820px; }

/* Blog cards: compact image, visible title, spacing */
.blog #main > .ast-row, .archive #main > .ast-row { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.blog .ast-row > article, .archive .ast-row > article { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.blog .post-thumb img, .blog .ast-blog-featured-section img, .archive .post-thumb img { aspect-ratio: 16 / 10 !important; height: auto !important; max-height: 230px; object-fit: cover; border-radius: 4px; }
.blog .entry-title, .archive .entry-title { display: block !important; font-size: 22px !important; margin: 16px 0 6px !important; }
@media (max-width: 921px) { .blog #main > .ast-row, .archive #main > .ast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .blog #main > .ast-row, .archive #main > .ast-row { grid-template-columns: minmax(0, 1fr); } }
