/*
 * CASA Blogit – myyntisivujen yhteinen tyylipohja
 * Käytössä: page-sisallontuotanto.php, page-mainostajalle.php
 * Ladataan vain näillä sivuilla.
 */

.cl-page {
	--cl-ink: #1d1b19;          /* lämmin musta */
	--cl-text: #3a3632;
	--cl-muted: #5f5952;        /* 6.5:1 valkoisella */
	--cl-line: #e7e1d8;
	--cl-cream: #f6f2ec;
	--cl-sand: #ece4d8;
	--cl-accent: #a34a00;       /* teksti vaalealla: >4.5:1 */
	--cl-glow: #ff9a3d;         /* korostus tummalla: >7:1 */
	--cl-radius: 14px;
	--cl-shadow: 0 10px 30px rgba(29, 27, 25, .08);
	--cl-shadow-lg: 0 24px 60px rgba(29, 27, 25, .16);
	color: var(--cl-text);
	font-size: 17px;
	line-height: 1.65;
	padding-bottom: 0;
}
body:has(.cl-page) { overflow-x: clip; }

.cl-page h1, .cl-page h2, .cl-page h3, .cl-page h4 {
	color: var(--cl-ink);
	text-transform: none;
	letter-spacing: -0.01em;
	margin-top: 0;
}
.cl-page p { margin: 0 0 1em; }
.cl-page a { color: var(--cl-accent); }

/* Täysleveät osiot (rikkoo teeman containerin) */
.cl-bleed {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: max(20px, calc(50vw - 570px));
	padding-right: max(20px, calc(50vw - 570px));
}
.cl-section { padding-top: 88px; padding-bottom: 88px; }
.cl-section--tight { padding-top: 56px; padding-bottom: 56px; }
.cl-cream { background: var(--cl-cream); }
.cl-dark { background: var(--cl-ink); color: #e9e4dd; }
.cl-dark h1, .cl-dark h2, .cl-dark h3, .cl-dark h4 { color: #fff; }
.cl-dark a { color: var(--cl-glow); }

.cl-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cl-accent);
	margin-bottom: 14px;
}
.cl-dark .cl-eyebrow, .cl-hero .cl-eyebrow { color: var(--cl-glow); }

.cl-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.cl-heading h2 { font-size: 40px; line-height: 1.15; margin-bottom: 14px; }
.cl-heading p { font-size: 19px; color: var(--cl-muted); margin: 0; }
.cl-dark .cl-heading p { color: #c9c1b6; }

/* Painikkeet */
.cl-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
	text-decoration: none !important;
	border: 2px solid transparent;
	transition: transform .15s ease, background-color .15s, color .15s, box-shadow .15s;
}
.cl-btn:hover { transform: translateY(-2px); }
.cl-btn:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 3px; }
.cl-btn--light { background: #fff; color: var(--cl-ink) !important; box-shadow: var(--cl-shadow); }
.cl-btn--light:hover { box-shadow: var(--cl-shadow-lg); }
.cl-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff !important; }
.cl-btn--ghost:hover { background: rgba(255,255,255,.12); }
.cl-btn--dark { background: var(--cl-ink); color: #fff !important; }
.cl-btn--dark:hover { background: #000; box-shadow: var(--cl-shadow-lg); }
.cl-btn--outline { border-color: var(--cl-ink); color: var(--cl-ink) !important; }
.cl-btn--outline:hover { background: var(--cl-ink); color: #fff !important; }
.cl-btn svg { width: 18px; height: 18px; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.cl-hero {
	position: relative;
	color: #fff;
	padding-top: 110px;
	padding-bottom: 110px;
	overflow: hidden;
	isolation: isolate;
}
.cl-hero h1 {
	color: #fff;
	font-size: 56px;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 22px;
	font-weight: 300;
}
.cl-hero h1 em { font-style: normal; color: var(--cl-glow); }
.cl-page .cl-hero .cl-lead { font-size: 20px; line-height: 1.6; color: #ece6de; max-width: 600px; margin-bottom: 34px; }
.cl-page .cl-hero .cl-trust { margin-top: 30px; font-size: 14px; color: #cfc7bc; letter-spacing: .02em; }
.cl-hero .cl-trust strong { color: #fff; }

/* Hero-variantti 1: tumma + kuvitus oikealla */
.cl-hero--split { background: radial-gradient(1200px 600px at 85% 20%, #3a2a1c 0%, var(--cl-ink) 60%); }
.cl-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

/* Hero-variantti 2: kuvatausta */
.cl-hero--photo { background: var(--cl-ink); }
.cl-hero--photo::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--cl-hero-img);
	background-size: cover;
	background-position: center;
	z-index: -2;
	transform: scale(1.03);
}
.cl-hero--photo::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(20,18,16,.92) 0%, rgba(20,18,16,.75) 45%, rgba(20,18,16,.35) 100%);
	z-index: -1;
}
.cl-hero--photo .cl-hero-inner { max-width: 680px; }

/* Artikkelikuvitus (pelkkää CSS:ää, ei kuvaa) */
.cl-mock {
	position: relative;
	background: #fff;
	color: var(--cl-ink);
	border-radius: 18px;
	padding: 26px;
	box-shadow: 0 40px 80px rgba(0,0,0,.45);
	transform: rotate(2deg);
}
.cl-mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.cl-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cl-sand); display: block; }
.cl-mock-img {
	height: 130px; border-radius: 10px; margin-bottom: 18px;
	background: linear-gradient(135deg, #e9dccb 0%, #c9b296 55%, #a88b6a 100%);
	position: relative; overflow: hidden;
}
.cl-mock-img::after {
	content: ""; position: absolute; right: 18px; bottom: -20px; width: 110px; height: 110px;
	border-radius: 50%; background: rgba(255,255,255,.28);
}
.cl-mock-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cl-accent); }
.cl-mock-title { font-size: 21px; line-height: 1.25; margin: 6px 0 12px; font-weight: 600; }
.cl-mock-line { height: 9px; border-radius: 5px; background: #eee8df; margin-bottom: 9px; }
.cl-mock-line.s { width: 72%; }
.cl-mock-badge {
	position: absolute; left: -26px; bottom: 28px;
	background: var(--cl-ink); color: #fff;
	border-radius: 12px; padding: 12px 16px;
	font-size: 13px; line-height: 1.35;
	box-shadow: var(--cl-shadow-lg);
	transform: rotate(-2deg);
}
.cl-mock-badge strong { display: block; color: var(--cl-glow); font-size: 20px; }
.cl-mock-badge2 {
	position: absolute; right: 18px; top: -16px;
	background: var(--cl-glow); color: var(--cl-ink);
	border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700;
	transform: rotate(4deg);
}

/* ---------- Lukurivi ---------- */
.cl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.cl-stat { padding: 8px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,.14); }
.cl-stat:first-child { border-left: 0; }
.cl-stat strong { display: block; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; font-weight: 300; color: var(--cl-glow); margin-bottom: 8px; letter-spacing: -0.02em; }
.cl-stat span { font-size: 15px; color: #d9d2c8; line-height: 1.45; display: block; }

/* ---------- Kortit ---------- */
.cl-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cl-cards--3 { grid-template-columns: repeat(3, 1fr); }
.cl-cards--2 { grid-template-columns: repeat(2, 1fr); }
.cl-card {
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: var(--cl-radius);
	padding: 30px 26px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.cl-card:hover { transform: translateY(-4px); box-shadow: var(--cl-shadow-lg); border-color: transparent; }
.cl-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; font-weight: 600; }
.cl-card p { color: var(--cl-muted); font-size: 16px; margin: 0; }
.cl-icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: var(--cl-cream); color: var(--cl-accent);
	margin-bottom: 20px;
}
.cl-icon svg { width: 26px; height: 26px; }
.cl-card--feature { background: var(--cl-ink); border-color: var(--cl-ink); color: #ddd6cc; }
.cl-card--feature h3 { color: #fff; }
.cl-card--feature p { color: #cfc7bc; }
.cl-card--feature .cl-icon { background: rgba(255,154,61,.14); color: var(--cl-glow); }

/* ---------- Jaettu osio (teksti + visuaali) ---------- */
.cl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cl-split h2 { font-size: 38px; line-height: 1.15; margin-bottom: 18px; }
.cl-split .cl-lead { font-size: 18px; color: var(--cl-muted); }
.cl-checks { list-style: none; padding: 0; margin: 26px 0 0; }
.cl-checks li { position: relative; padding-left: 40px; margin-bottom: 18px; }
.cl-checks li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
	background: var(--cl-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.cl-checks strong { color: var(--cl-ink); }

.cl-quote {
	background: var(--cl-cream);
	border-radius: 22px;
	padding: 44px 40px;
	position: relative;
}
.cl-quote::before {
	content: "“"; position: absolute; top: -18px; left: 30px;
	font-size: 120px; line-height: 1; color: var(--cl-glow); font-family: Georgia, serif;
}
.cl-quote p { font-size: 22px; line-height: 1.5; color: var(--cl-ink); font-weight: 300; margin-bottom: 18px; }
.cl-quote .cl-quote-by { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--cl-muted); }

/* ---------- Prosessi ---------- */
.cl-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: cl-step; position: relative; }
.cl-steps::before {
	content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
	background: repeating-linear-gradient(90deg, var(--cl-sand) 0 10px, transparent 10px 18px);
}
.cl-steps li { position: relative; text-align: center; counter-increment: cl-step; }
.cl-steps li::before {
	content: counter(cl-step, decimal-leading-zero);
	position: relative; z-index: 1;
	display: flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--cl-ink); color: var(--cl-glow);
	font-size: 17px; font-weight: 600; letter-spacing: .04em;
	box-shadow: 0 0 0 8px #fff;
}
.cl-cream .cl-steps li::before { box-shadow: 0 0 0 8px var(--cl-cream); }
.cl-steps h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.cl-steps p { color: var(--cl-muted); font-size: 16px; margin: 0; }

/* ---------- Blogikortit (Mainostajalle) ---------- */
.cl-blogs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cl-blog {
	display: block;
	background: #fff;
	border-radius: var(--cl-radius);
	overflow: hidden;
	box-shadow: var(--cl-shadow);
	text-decoration: none !important;
	color: var(--cl-text) !important;
	transition: transform .2s ease, box-shadow .2s ease;
}
.cl-blog:hover { transform: translateY(-4px); box-shadow: var(--cl-shadow-lg); }
.cl-blog-img { aspect-ratio: 5 / 1; background: var(--cl-sand) center/cover no-repeat; border-bottom: 1px solid var(--cl-line); }
.cl-blog-body { padding: 22px 24px 24px; }
.cl-blog-body h3 { font-size: 21px; margin-bottom: 4px; font-weight: 600; }
.cl-blog-body p { color: var(--cl-muted); font-size: 15px; margin-bottom: 14px; }
.cl-blog-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chip { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: var(--cl-cream); color: var(--cl-text); }
.cl-chip--live { background: #e7f3e9; color: #1f5a2b; }
.cl-page .cl-archive-note { text-align: center; margin-top: 34px; color: var(--cl-muted); }

/* ---------- Ristiinmyyntinauha ---------- */
.cl-band {
	display: flex; align-items: center; justify-content: space-between; gap: 30px;
	background: linear-gradient(120deg, #2a211a 0%, var(--cl-ink) 70%);
	color: #e9e4dd; border-radius: 22px; padding: 40px 44px;
}
.cl-band h3 { color: #fff; font-size: 26px; margin-bottom: 6px; font-weight: 400; }
.cl-band p { margin: 0; color: #cfc7bc; }

/* ---------- UKK ---------- */
.cl-faq { max-width: 820px; margin: 0 auto; }
.cl-faq details { background: #fff; border: 1px solid var(--cl-line); border-radius: 12px; margin-bottom: 12px; transition: box-shadow .2s; }
.cl-faq details[open] { box-shadow: var(--cl-shadow); border-color: transparent; }
.cl-faq summary {
	cursor: pointer; list-style: none; position: relative;
	padding: 22px 64px 22px 26px; font-size: 18px; color: var(--cl-ink); font-weight: 600;
}
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after {
	content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
	border-radius: 50%; background: var(--cl-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a34a00' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
	transition: transform .2s;
}
.cl-faq details[open] summary::after { transform: rotate(45deg); }
.cl-faq summary:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 2px; border-radius: 12px; }
.cl-faq details p { padding: 0 26px 22px; margin: 0; color: var(--cl-muted); }

/* ---------- Yhteys ---------- */
.cl-cta { text-align: center; }
.cl-cta h2 { font-size: 44px; line-height: 1.12; margin-bottom: 14px; font-weight: 300; }
.cl-cta > p { font-size: 19px; color: #cfc7bc; max-width: 620px; margin: 0 auto 40px; }
.cl-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 40px; }
.cl-person {
	display: flex; align-items: center; gap: 18px; text-align: left;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
	border-radius: 18px; padding: 18px 26px 18px 18px; min-width: 300px;
}
.cl-person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.cl-person strong { color: #fff; font-size: 18px; display: block; }
.cl-person span { display: block; font-size: 14px; color: #c9c1b6; margin-bottom: 4px; }
.cl-person a { display: block; font-size: 15px; }
.cl-cta .cl-actions { justify-content: center; }

/* ---------- Ihminen + tekoäly ---------- */
.cl-duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.cl-duo-col { border-radius: 18px; padding: 32px 30px; }
.cl-duo-col h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cl-duo-col h3 .cl-icon { margin: 0; width: 44px; height: 44px; }
.cl-duo-col ul { list-style: none; padding: 0; margin: 0; }
.cl-duo-col li { padding: 12px 0; border-top: 1px solid var(--cl-line); }
.cl-duo-col li:first-child { border-top: 0; }
.cl-duo-ai { background: #fff; border: 1px solid var(--cl-line); }
.cl-duo-human { background: var(--cl-ink); color: #e3ddd4; }
.cl-duo-human h3 { color: #fff; }
.cl-duo-human li { border-color: rgba(255,255,255,.12); }
.cl-duo-human .cl-icon { background: rgba(255,154,61,.14); color: var(--cl-glow); }
.cl-duo-plus {
	align-self: center; width: 54px; height: 54px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--cl-glow); color: var(--cl-ink); font-size: 28px; font-weight: 300;
}
.cl-page .cl-duo-note { text-align: center; margin: 30px auto 0; max-width: 700px; color: var(--cl-muted); font-size: 16px; }

/* ---------- Hinnasto ---------- */
.cl-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.cl-plan {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--cl-line); border-radius: 20px;
	padding: 36px 30px 32px;
}
.cl-plan h3 { font-size: 22px; margin-bottom: 6px; font-weight: 600; }
.cl-page .cl-plan-for { color: var(--cl-muted); font-size: 15px; margin-bottom: 22px; min-height: 52px; }
.cl-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; color: var(--cl-ink); }
.cl-price strong { font-size: 52px; line-height: 1; font-weight: 300; letter-spacing: -0.03em; }
.cl-price span { font-size: 17px; color: var(--cl-muted); }
.cl-page .cl-vat { font-size: 13px; color: var(--cl-muted); margin-bottom: 24px; }
.cl-plan ul { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.cl-plan li { position: relative; padding: 9px 0 9px 32px; font-size: 16px; border-top: 1px solid var(--cl-line); }
.cl-plan li:first-child { border-top: 0; }
.cl-plan li::before {
	content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--cl-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a34a00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.cl-plan li strong { color: var(--cl-ink); }
.cl-plan .cl-btn { justify-content: center; width: 100%; }
.cl-plan--featured {
	background: var(--cl-ink); border-color: var(--cl-ink); color: #e3ddd4;
	box-shadow: var(--cl-shadow-lg);
	/* Kortti kasvaa tasaisesti ylös ja alas, jotta sisältö pysyy samalla linjalla muiden korttien kanssa */
	margin: -16px 0; padding-top: 52px; padding-bottom: 48px;
}
.cl-plan--featured h3, .cl-plan--featured .cl-price, .cl-plan--featured li strong { color: #fff; }
.cl-plan--featured .cl-plan-for, .cl-plan--featured .cl-price span, .cl-plan--featured .cl-vat { color: #c9c1b6; }
.cl-plan--featured li { border-color: rgba(255,255,255,.12); }
.cl-plan--featured li::before { background-color: rgba(255,154,61,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cl-plan-badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--cl-glow); color: var(--cl-ink);
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.cl-pricing-extra {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px;
	margin-top: 40px; color: var(--cl-muted); font-size: 16px;
}
.cl-pricing-extra span { display: inline-flex; align-items: center; gap: 8px; }
.cl-pricing-extra svg { width: 18px; height: 18px; color: var(--cl-accent); flex: none; }

/* ---------- Yhteystiedot ---------- */
.cl-hero--compact { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.cl-hero--compact h1 { font-size: 48px; }
.cl-hero--compact .cl-lead { margin-left: auto; margin-right: auto; }
.cl-card--link {
	display: flex; flex-direction: column;
	text-decoration: none !important; color: var(--cl-text) !important;
}
.cl-card--link p { flex: 1; margin-bottom: 20px; }
.cl-card-cta {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 15px; color: var(--cl-accent);
}
.cl-card-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.cl-card--link:hover .cl-card-cta svg { transform: translateX(4px); }
.cl-card--link:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 3px; }
.cl-card--feature .cl-card-cta { color: var(--cl-glow); }
.cl-people--light .cl-person { background: #fff; border-color: var(--cl-line); box-shadow: var(--cl-shadow); }
.cl-people--light .cl-person strong { color: var(--cl-ink); }
.cl-people--light .cl-person span { color: var(--cl-muted); }
.cl-company {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	background: var(--cl-line); border: 1px solid var(--cl-line); border-radius: 18px; overflow: hidden;
	max-width: 900px; margin: 0 auto;
}
.cl-company > div { background: #fff; padding: 26px 28px; }
.cl-company dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cl-muted); margin-bottom: 6px; }
.cl-company dd { margin: 0; font-size: 18px; color: var(--cl-ink); line-height: 1.5; }


/* ---------- Blogiesittely ---------- */
.cl-about-hero { padding-top: 72px; padding-bottom: 72px; }
.cl-about-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; max-width: 980px; margin: 0 auto; }
.cl-about-grid--nophoto { grid-template-columns: minmax(0, 1fr); text-align: center; }
.cl-about-grid--nophoto .cl-actions { justify-content: center; }
.cl-about-photo img {
	width: 300px; height: 300px; max-width: 100%; object-fit: cover; display: block;
	border-radius: 50%; border: 8px solid #fff; box-shadow: var(--cl-shadow-lg);
}
.cl-about-hero h1 { font-size: 52px; margin-bottom: 12px; }
.cl-about-hero .cl-lead { margin-bottom: 28px; }

.cl-prose { max-width: 700px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--cl-text); }
.cl-prose p { margin: 0 0 1.2em; }
.cl-prose h2, .cl-prose h3 { margin: 1.6em 0 .6em; font-weight: 500; }
.cl-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.cl-prose a { color: var(--cl-accent); text-decoration: underline; text-underline-offset: 3px; }
.cl-prose figure { margin: 1.6em 0; }
.cl-about-body { padding-bottom: 72px; }

.cl-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cl-post {
	display: block; background: #fff; border-radius: var(--cl-radius); overflow: hidden;
	box-shadow: var(--cl-shadow); text-decoration: none !important; color: var(--cl-text) !important;
	transition: transform .2s ease, box-shadow .2s ease;
}
.cl-post:hover { transform: translateY(-4px); box-shadow: var(--cl-shadow-lg); }
.cl-post:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 3px; }
.cl-post-img { aspect-ratio: 4 / 3; background: var(--cl-sand) center/cover no-repeat; }
.cl-post-body { padding: 18px 20px 22px; }
.cl-post time { font-size: 13px; color: var(--cl-muted); letter-spacing: .04em; }
.cl-post h3 { font-size: 19px; line-height: 1.35; margin: 6px 0 0; font-weight: 600; }
.cl-about-band { padding-top: 56px; }


/* ---------- Reseptit ---------- */
.cl-recipes-section { padding-top: 48px; }
.cl-recipe-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.cl-recipe-search { position: relative; flex: 1 1 320px; min-width: 0; }
.cl-recipe-search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--cl-muted); stroke-width: 2; stroke-linecap: round; }
.cl-recipe-search input {
	width: 100%; height: 50px; padding: 0 20px 0 48px;
	border: 1px solid var(--cl-line); border-radius: 999px; background: var(--cl-cream);
	font-size: 16px; color: var(--cl-ink);
}
.cl-recipe-search input:focus { outline: none; border-color: var(--cl-ink); background: #fff; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chip-btn {
	height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cl-line);
	background: #fff; color: var(--cl-text); font-size: 14px; font-weight: 600; cursor: pointer;
}
.cl-chip-btn span { color: var(--cl-muted); font-weight: 500; margin-left: 4px; }
.cl-chip-btn[aria-pressed="true"] { background: var(--cl-ink); border-color: var(--cl-ink); color: #fff; }
.cl-chip-btn[aria-pressed="true"] span { color: #d9d1c6; }
.cl-chip-btn:focus-visible, .cl-recipe-blog:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 2px; }
.cl-recipe-blog {
	height: 42px; padding: 0 14px; border: 1px solid var(--cl-line); border-radius: 999px;
	background: #fff; color: var(--cl-text); font-size: 14px; max-width: 100%;
}
.cl-page .cl-recipe-count { color: var(--cl-muted); font-size: 15px; margin: 0 0 22px; }
.cl-recipes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cl-recipes li[hidden] { display: none; }
.cl-recipe-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cl-sand); }
.cl-recipe-img--empty { background: linear-gradient(135deg, #efe5d8, #e2d3bf); }
.cl-recipe-meta { font-size: 12.5px; color: var(--cl-muted); letter-spacing: .03em; }
.cl-recipes .cl-post h3 { font-size: 17px; }
.cl-page .cl-recipe-empty { text-align: center; color: var(--cl-muted); padding: 40px 0; }
.cl-recipe-more-wrap { justify-content: center; margin-top: 40px; }


/* Reseptit: esittely ja ryhmät */
.cl-recipe-intro { padding-bottom: 0; }
.cl-recipe-intro .cl-prose { font-size: 17px; }
#reseptit { scroll-margin-top: 100px; }
.cl-recipe-chips { margin-bottom: 18px; }
.cl-recipe-group { margin-bottom: 56px; }
.cl-recipe-group[hidden] { display: none; }
.cl-recipe-group-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
	padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--cl-line);
}
.cl-recipe-group-head h2 { font-size: 30px; line-height: 1.15; margin-bottom: 4px; }
.cl-page .cl-recipe-group-head p { margin: 0; color: var(--cl-muted); font-size: 15px; max-width: 60ch; }
.cl-recipe-showall {
	flex: none; display: inline-flex; align-items: center; gap: 8px;
	border: 0; background: none; padding: 8px 0; cursor: pointer;
	font-size: 15px; font-weight: 600; color: var(--cl-accent);
}
.cl-recipe-showall[hidden] { display: none; }
.cl-recipe-showall svg { width: 16px; height: 16px; transition: transform .2s; }
.cl-recipe-showall:hover svg { transform: translateX(4px); }
.cl-recipe-showall:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 2px; border-radius: 6px; }


/* ---------- Pääsivun etusivu ---------- */
.cl-cover-section { padding-top: 40px; padding-bottom: 48px; background: var(--cl-cream); border-bottom: 1px solid var(--cl-line); }
.cl-cover { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
.cl-cover-main {
	position: relative; display: block; min-height: 480px; border-radius: 20px; overflow: hidden;
	text-decoration: none !important; color: #fff !important; background: var(--cl-ink);
	box-shadow: var(--cl-shadow-lg);
}
.cl-cover-img { position: absolute; inset: 0; background: #3a332b center/cover no-repeat; transition: transform .6s ease; }
.cl-cover-main:hover .cl-cover-img { transform: scale(1.03); }
.cl-cover-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,0) 30%, rgba(20,18,16,.85) 100%); }
.cl-cover-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 36px; z-index: 1; }
.cl-cover-text .cl-eyebrow { color: var(--cl-glow); }
.cl-cover-text h2 { color: #fff; font-size: 38px; line-height: 1.12; margin: 0 0 10px; font-weight: 300; }
.cl-page .cl-cover-text p { color: #ece6de; font-size: 16px; max-width: 560px; margin: 0 0 14px; }
.cl-cover-text .cl-card-cta { color: #fff; }
.cl-cover-main:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 3px; }
.cl-cover-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.cl-cover-item {
	display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center;
	background: #fff; border-radius: 16px; padding: 12px; text-decoration: none !important; color: var(--cl-text) !important;
	box-shadow: var(--cl-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.cl-cover-item:hover { transform: translateY(-3px); box-shadow: var(--cl-shadow-lg); }
.cl-cover-item:focus-visible { outline: 3px solid var(--cl-glow); outline-offset: 3px; }
.cl-cover-thumb { aspect-ratio: 1 / 1; border-radius: 12px; background: var(--cl-sand) center/cover no-repeat; }
.cl-cover-item h3 { font-size: 17px; line-height: 1.3; margin: 4px 0 0; font-weight: 600; }

.cl-latest-section { padding-top: 56px; }
.cl-latest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.cl-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cl-latest-grid .cl-post h3 { font-size: 17px; }
.cl-latest-side { position: relative; }
.cl-latest-side .blog-sidebar, .cl-latest-side .main-site-sidebar { width: auto; float: none; padding: 0; margin: 0; }
.cl-latest-side h2 { font-size: 22px; }
.cl-home-business { padding-top: 24px; padding-bottom: 72px; }


/* ---------- Blogit: listaukset ---------- */
.cl-bloglist .cl-latest-section, .cl-article-page .cl-latest-section { padding-top: 40px; }
.cl-latest-grid .cl-post--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.cl-post--featured .cl-recipe-img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.cl-post--featured .cl-post-body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.cl-latest-grid .cl-post--featured h3 { font-size: 30px; line-height: 1.15; font-weight: 300; margin: 8px 0 12px; }
.cl-page .cl-post--featured p { color: var(--cl-muted); margin: 0; }
.cl-grid-ad { grid-column: 1 / -1; }
.cl-grid-ad:not(.is-filled) { margin-bottom: -22px; }
.cl-pagination { display: flex; justify-content: space-between; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.cl-pagination .cl-btn a { color: inherit !important; text-decoration: none !important; }
.cl-pagination .cl-btn:only-child { margin-left: auto; }
.cl-archive-head { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--cl-line); }
.cl-archive-head h1 { font-size: 40px; line-height: 1.1; margin: 6px 0 8px; font-weight: 300; text-transform: none; }
.cl-page .cl-archive-desc, .cl-archive-desc p { color: var(--cl-muted); margin: 0; }
.cl-search-again { display: flex; gap: 10px; max-width: 520px; margin: 14px 0 10px; }
.cl-search-again input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--cl-line); border-radius: 999px; background: var(--cl-cream); font-size: 16px; }
.cl-search-again .cl-btn { padding: 0 24px; height: 48px; }

/* ---------- Blogit: artikkeli ---------- */
.cl-article-head { margin-bottom: 26px; }
.cl-article-head .cl-eyebrow { text-decoration: none; }
.cl-article-head h1 { font-size: 46px; line-height: 1.1; margin: 8px 0 14px; font-weight: 300; text-transform: none; letter-spacing: -0.015em; }
.cl-page .cl-article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--cl-muted); font-size: 15px; margin: 0; }
.cl-article-meta a { color: var(--cl-accent); }
.cl-article-body { font-size: 18px; line-height: 1.8; color: var(--cl-text); }
.cl-article-body p { margin: 0 0 1.3em; }
.cl-article-body h2, .cl-article-body h3 { margin: 1.6em 0 .6em; line-height: 1.25; text-transform: none; }
.cl-article-body img:not(.social-icon) { max-width: 100%; height: auto; border-radius: 10px; }
/* Ad Inserterin somekuvakkeet (Omakotivalkoinen) käyttävät omia kokojaan 50/40/30 px */
.cl-article-body .social-icons-wrapper { margin: 8px 0 4px; }
.cl-article-body figure, .cl-article-body .wp-block-image { margin: 1.6em 0; }
.cl-article-body figcaption { font-size: 14px; color: var(--cl-muted); text-align: center; margin-top: 8px; }
.cl-article-body a { color: var(--cl-accent); text-decoration: underline; text-underline-offset: 3px; }
.cl-article-body blockquote { border-left: 3px solid var(--cl-glow); margin: 1.6em 0; padding: 4px 0 4px 22px; font-size: 20px; color: var(--cl-ink); font-style: italic; }
.cl-article-body iframe { max-width: 100%; }
.cl-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--cl-line); }
.cl-article-tags .cl-chip { text-decoration: none; text-transform: none; }
.cl-article-tags .cl-chip:hover { background: var(--cl-sand); }
.cl-article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0; }
.cl-article-nav a {
	display: block; padding: 20px 22px; border: 1px solid var(--cl-line); border-radius: 14px;
	text-decoration: none !important; color: var(--cl-text) !important; transition: box-shadow .2s, border-color .2s;
}
.cl-article-nav a:hover { box-shadow: var(--cl-shadow); border-color: transparent; }
.cl-article-nav span { display: block; font-size: 13px; color: var(--cl-muted); letter-spacing: .04em; margin-bottom: 4px; }
.cl-article-nav strong { color: var(--cl-ink); font-weight: 600; line-height: 1.35; }
.cl-article-nav-next { grid-column: 2; text-align: right; }
.cl-related { margin: 10px 0 40px; }
.cl-related h2 { font-size: 26px; margin-bottom: 18px; text-transform: none; }

/* Kommentit */
.cl-article-page .comments-area { margin-top: 20px; padding-top: 30px; border-top: 1px solid var(--cl-line); }
.cl-article-page .comments-title, .cl-article-page .comment-reply-title { font-size: 24px; text-transform: none; }
.cl-article-page .comment-list { list-style: none; padding: 0; }
.cl-article-page .comment-list .children { list-style: none; padding-left: 28px; }
.cl-article-page .comment-body { background: var(--cl-cream); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.cl-article-page .comment-form input[type=text], .cl-article-page .comment-form input[type=email], .cl-article-page .comment-form input[type=url], .cl-article-page .comment-form textarea {
	width: 100%; border: 1px solid var(--cl-line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff;
}
.cl-article-page .comment-form .submit { background: var(--cl-ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 600; }

/* ---------- Blogit: sivupalkki ---------- */
.cl-latest-side .blog-sidebar { margin-bottom: 30px; text-align: left; }
.cl-latest-side .sidebar-about {
	background: var(--cl-cream); border-radius: 18px; padding: 24px; text-align: center; margin-bottom: 26px;
	font-size: 15px; line-height: 1.6; color: var(--cl-text);
}
.cl-latest-side .sidebar-about .widget-title { font-size: 22px; margin: 0 0 14px; text-transform: none; }
.cl-latest-side .sidebar-about img:first-of-type {
	width: 140px !important; height: 140px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px;
	border: 6px solid #fff; box-shadow: var(--cl-shadow);
}
.cl-latest-side .sidebar-about a {
	float: none !important; display: inline-block; width: auto !important; margin: 14px 4px 0;
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--cl-ink); background: #fff;
	color: var(--cl-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important;
}
.cl-latest-side .sidebar-about a:first-of-type { background: var(--cl-ink); color: #fff !important; }
.cl-latest-side .widget { margin-bottom: 26px; }
.cl-latest-side .widget-title, .cl-latest-side .blog-sidebar > h2 { font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: 0; margin: 0 0 12px; color: var(--cl-ink); }
.cl-latest-side img { max-width: 100%; height: auto; border-radius: 10px; }
.cl-latest-side .favorite-blog { border-bottom: 1px solid var(--cl-line); padding: 14px 0; margin: 0; text-align: left; }
.cl-latest-side .favorite-blog h3 { font-size: 17px; font-weight: 600; margin: 4px 0; line-height: 1.3; color: var(--cl-ink); }
.cl-latest-side .favorite-blog .date { font-size: 13px; color: var(--cl-muted); }
.cl-latest-side .favorite-blog .from { font-size: 13px; color: var(--cl-accent); }
.cl-latest-side .main-site-sidebar > span { display: block; color: var(--cl-muted); font-size: 14px; margin-bottom: 4px; }

/* ---------- Blogit: alavalikko ---------- */
.blog-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; border-bottom: 0 !important; margin: 18px 0 0 !important; padding: 0; }
.blog-nav > li { float: none !important; }
.blog-nav > li.divider { display: none; }
.blog-nav > li > a {
	padding: 9px 18px !important; border-radius: 999px !important; border: 1px solid var(--cl-line, #e7e1d8) !important;
	font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3a3632 !important; background: #fff !important;
	margin: 0 !important;
}
.blog-nav > li > a:hover, .blog-nav > li.open > a { background: #f6f2ec !important; border-color: #1d1b19 !important; }
.blog-nav .dropdown-menu { border-radius: 14px; border: 1px solid #e7e1d8; box-shadow: 0 24px 60px rgba(29,27,25,.16); padding: 14px 18px; }


/* Hienosäätö: sivupalkki ja kortit */
.cl-latest-side .sidebar-about { display: flex; flex-direction: column; align-items: center; }
.cl-latest-side .sidebar-about { -webkit-line-clamp: unset; }
.cl-latest-side .sidebar-about-text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.cl-latest-side h2, .cl-latest-side .widget-title, .cl-latest-side .widgettitle, .cl-latest-side .widget h2 {
	font-family: inherit !important; font-size: 17px !important; font-weight: 600 !important; text-transform: none !important;
	letter-spacing: 0 !important; color: var(--cl-ink) !important; border: 0 !important; padding: 0 0 10px !important;
	margin: 0 0 14px !important; border-bottom: 1px solid var(--cl-line) !important;
}
.cl-latest-side .sidebar-about .widget-title { border: 0 !important; text-align: center; font-size: 22px !important; padding: 0 !important; }
.cl-latest-side ul { padding-left: 0; }
.cl-latest-side li { font-size: 15px; }
.cl-post--featured .cl-recipe-img { max-height: 460px; }
/* Blogin banneri laidasta laitaan kuten vanhassa teemassa. Korkeat kuvat näkyvät kokonaan
   (enintään 420 px korkeina) ja sivuille jäävä tila täytetään saman kuvan sumennetulla versiolla. */
.cx-banner { position: relative; display: block; overflow: hidden; background: #f6f2ec; }
.cx-banner-bg { position: absolute; inset: -40px; background: center/cover no-repeat; filter: blur(30px) saturate(1.1); opacity: .6; }
.cx-banner .header-image { position: relative; display: block; width: 100% !important; max-width: none; height: auto; max-height: 420px; object-fit: contain; margin: 0; }

/* ---------- Mobiili ja tabletti ---------- */
@media (max-width: 1199px) {
	.cl-cards { grid-template-columns: repeat(2, 1fr); }
	.cl-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cl-recipes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.cl-latest-layout { grid-template-columns: minmax(0, 1fr); }
	.cl-hero h1 { font-size: 44px; }
	.cl-hero-grid { grid-template-columns: 1fr; }
	.cl-mock { max-width: 420px; margin: 10px auto 0; }
	.cl-cards { grid-template-columns: repeat(2, 1fr); }
	.cl-cards--3 { grid-template-columns: 1fr; }
	.cl-split { grid-template-columns: 1fr; gap: 40px; }
	.cl-stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
	.cl-stat:nth-child(3) { border-left: 0; }
	.cl-pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 34px; }
	.cl-plan--featured { margin: 0; padding-top: 36px; padding-bottom: 32px; order: -1; }
	.cl-page .cl-plan-for { min-height: 0; }
	.cl-duo { grid-template-columns: 1fr; }
	.cl-duo-plus { margin: -8px auto; }
}
@media (max-width: 767px) {
	.cl-page { font-size: 16px; }
	.cl-section { padding-top: 64px; padding-bottom: 64px; }
	.cl-hero { padding-top: 64px; padding-bottom: 72px; }
	.cl-hero h1 { font-size: 36px; }
	.cl-hero .cl-lead { font-size: 17px; }
	.cl-actions .cl-btn { width: 100%; justify-content: center; }
	.cl-heading h2, .cl-split h2 { font-size: 30px; }
	.cl-cta h2 { font-size: 32px; }
	.cl-stat strong { font-size: 34px; }
	.cl-stat { padding: 4px 10px; }
	.cl-cards, .cl-cards--2, .cl-blogs { grid-template-columns: 1fr; }
	.cl-steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
	.cl-steps::before { display: none; }
	.cl-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
	.cl-mock-badge { left: -8px; }
	.cl-mock-badge2 { right: 12px; }
	.cl-person { min-width: 0; width: 100%; }
	.cl-hero--compact h1 { font-size: 34px; }
	.cl-about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
	.cl-about-grid .cl-actions { justify-content: center; }
	.cl-about-photo img { width: 200px; height: 200px; margin: 0 auto; }
	.cl-about-hero h1 { font-size: 36px; }
	.cl-prose { font-size: 17px; }
	.cl-posts { grid-template-columns: minmax(0, 1fr); }
	.cl-recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.cl-recipes .cl-post h3 { font-size: 15px; }
	.cl-recipes .cl-post-body { padding: 12px 14px 16px; }
	.cl-recipe-blog { width: 100%; }
	.cl-recipe-group-head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.cl-recipe-group-head h2 { font-size: 24px; }
	.cl-recipe-group { margin-bottom: 40px; }
	.cl-cover { grid-template-columns: minmax(0, 1fr); }
	.cl-cover-main { min-height: 380px; }
	.cl-cover-text { padding: 24px 22px; }
	.cl-cover-text h2 { font-size: 28px; }
	.cl-cover-item { grid-template-columns: 96px minmax(0, 1fr); }
	.cl-latest-layout { grid-template-columns: minmax(0, 1fr); }
	.cl-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.cl-latest-grid .cl-post h3 { font-size: 15px; }
	.cl-latest-grid .cl-post--featured { display: block; }
	.cl-post--featured .cl-recipe-img { min-height: 0; height: auto; max-height: none; aspect-ratio: 4 / 3; }
	.cl-post--featured .cl-post-body { padding: 18px 20px 22px; }
	.cl-latest-grid .cl-post--featured h3 { font-size: 24px; }
	.cl-article-head h1, .cl-archive-head h1 { font-size: 32px; }
	.cl-article-body { font-size: 17px; }
	.cl-article-nav { grid-template-columns: 1fr; }
	.cl-article-nav-next { grid-column: auto; }
	.blog-nav > li > a { padding: 8px 12px !important; letter-spacing: .08em; }
	.cl-company { grid-template-columns: 1fr; }
	.cl-quote { padding: 40px 26px 30px; }
	.cl-quote p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	.cl-page * { transition: none !important; }
	.cl-btn:hover, .cl-card:hover, .cl-blog:hover { transform: none; }
}

/* =====================================================================
 * VAALEA VERSIO (.cl-light) – sama rakenne, mutta tummat osiot vaaleiksi.
 * Tumma väri jää painikkeisiin, prosessin numeroihin ja korostettuun
 * hinnastokorttiin. (Tumma versio: lisää sivun osoitteeseen ?tumma=1.)
 * ===================================================================== */
.cl-light .cl-hero { color: var(--cl-ink); }
.cl-light .cl-hero h1 { color: var(--cl-ink); }
.cl-light .cl-hero h1 em { color: var(--cl-accent); }
.cl-light .cl-hero .cl-eyebrow { color: var(--cl-accent); }
.cl-light .cl-hero .cl-lead { color: var(--cl-muted); }
.cl-light .cl-hero .cl-trust { color: var(--cl-muted); }
.cl-light .cl-hero .cl-trust strong { color: var(--cl-ink); }

.cl-light .cl-hero--split {
	background:
		radial-gradient(900px 500px at 88% 10%, #f3e3cf 0%, transparent 60%),
		linear-gradient(180deg, var(--cl-cream) 0%, #fbf9f6 100%);
	border-bottom: 1px solid var(--cl-line);
}
.cl-light .cl-mock { box-shadow: 0 30px 70px rgba(29,27,25,.16); }

.cl-light .cl-hero--photo { background: var(--cl-cream); }
.cl-light .cl-hero--photo::after {
	background: linear-gradient(90deg, rgba(251,249,246,.97) 0%, rgba(251,249,246,.9) 42%, rgba(251,249,246,.25) 100%);
}

/* Painikkeet vaaleilla pohjilla: valkoinen -> tumma, haamu -> ääriviiva */
.cl-light .cl-hero .cl-btn--light,
.cl-light .cl-cta .cl-btn--light,
.cl-light .cl-band .cl-btn--light { background: var(--cl-ink); color: #fff !important; box-shadow: none; }
.cl-light .cl-hero .cl-btn--light:hover,
.cl-light .cl-cta .cl-btn--light:hover,
.cl-light .cl-band .cl-btn--light:hover { background: #000; }
.cl-light .cl-hero .cl-btn--ghost { border-color: var(--cl-ink); color: var(--cl-ink) !important; }
.cl-light .cl-hero .cl-btn--ghost:hover { background: rgba(29,27,25,.06); }

/* Tummat osiot (lukurivi, yhteydenotto) vaaleiksi */
.cl-light .cl-dark { background: #fff; color: var(--cl-text); }
.cl-light .cl-dark h1, .cl-light .cl-dark h2, .cl-light .cl-dark h3, .cl-light .cl-dark h4 { color: var(--cl-ink); }
.cl-light .cl-dark a { color: var(--cl-accent); }
.cl-light .cl-dark .cl-eyebrow { color: var(--cl-accent); }
.cl-light .cl-dark .cl-heading p { color: var(--cl-muted); }
.cl-light .cl-dark.cl-section--tight { border-top: 0 !important; border-bottom: 1px solid var(--cl-line); }
.cl-light .cl-stat { border-left-color: var(--cl-line); }
.cl-light .cl-stat strong { color: var(--cl-accent); }
.cl-light .cl-stat span { color: var(--cl-muted); }

/* Valkoinen, jotta beige uutiskirjeosio erottuu sen alla */
.cl-light .cl-cta { background: #fff; border-top: 1px solid var(--cl-line); }
.cl-light .cl-cta > p { color: var(--cl-muted); }
.cl-light .cl-person { background: #fff; border-color: var(--cl-line); box-shadow: var(--cl-shadow); }
.cl-light .cl-person strong { color: var(--cl-ink); }
.cl-light .cl-person span { color: var(--cl-muted); }

/* Korostetut kortit: tumman sijaan lämmin sävy ja oranssi yläreuna */
.cl-light .cl-card--feature { background: #fdf6ee; border-color: #f0dcc4; border-top: 3px solid var(--cl-glow); color: var(--cl-text); }
.cl-light .cl-card--feature h3 { color: var(--cl-ink); }
.cl-light .cl-card--feature p { color: var(--cl-muted); }
.cl-light .cl-card--feature .cl-icon { background: #fbe7d2; color: var(--cl-accent); }
.cl-light .cl-card--feature .cl-card-cta { color: var(--cl-accent); }

.cl-light .cl-duo-human { background: #fdf6ee; border: 1px solid #f0dcc4; color: var(--cl-text); }
.cl-light .cl-duo-human h3 { color: var(--cl-ink); }
.cl-light .cl-duo-human li { border-color: #f0dcc4; }
.cl-light .cl-duo-human .cl-icon { background: #fbe7d2; color: var(--cl-accent); }

.cl-light .cl-band { background: var(--cl-cream); border: 1px solid var(--cl-line); color: var(--cl-text); }
.cl-light .cl-band h3 { color: var(--cl-ink); }
.cl-light .cl-band p { color: var(--cl-muted); }

/* ---------- Mainospaikat: oma rajattu alue vasta kun mainos on latautunut ---------- */
.cl-ad.is-filled {
	background: #f6f2ec; border-radius: var(--cl-radius); padding: 14px 16px 20px;
	margin: 0 0 32px; text-align: center; overflow: hidden;
}
.cl-ad.is-filled::before {
	content: "Mainos"; display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--cl-muted); margin-bottom: 12px;
}
.cl-grid-ad .cl-ad.is-filled { margin: 0; }
.cl-article-body + .cl-ad.is-filled, .cl-latest-grid + .cl-ad.is-filled { margin: 32px 0; }
@media (max-width: 767px) {
	.cl-ad.is-filled { padding: 10px 0 14px; margin-bottom: 24px; }
}

/* ---------- Blogit-sivu (hakemisto) ---------- */
.cl-dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.cl-dir-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--cl-radius);
	overflow: hidden; box-shadow: var(--cl-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.cl-dir-card:hover { transform: translateY(-4px); box-shadow: var(--cl-shadow-lg); }
/* Banneri näkyy kokonaan; ylijäävä tila täytetään saman kuvan sumennetulla versiolla */
.cl-dir-banner { position: relative; display: block; aspect-ratio: 2.4 / 1; overflow: hidden; background: var(--cl-cream); border-bottom: 1px solid var(--cl-line); }
.cl-dir-banner-bg { position: absolute; inset: -30px; background: center/cover no-repeat; filter: blur(22px) saturate(1.1); opacity: .55; }
.cl-dir-banner img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.cl-dir-card:hover .cl-dir-banner img { transform: scale(1.03); }
.cl-dir-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 26px; }
.cl-dir-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.cl-dir-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; background: var(--cl-cream); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--cl-line); }
.cl-dir-title { min-width: 0; }
.cl-dir-body h2 { font-size: 24px; font-weight: 600; margin: 0 0 4px; line-height: 1.2; overflow-wrap: anywhere; }
.cl-dir-body h2 a { color: var(--cl-ink) !important; text-decoration: none !important; }
.cl-dir-body h2 a:hover { text-decoration: underline !important; }
.cl-page .cl-dir-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--cl-muted); margin: 0; }
.cl-dir-meta .cl-chip { font-size: 11px; padding: 3px 9px; }
.cl-page .cl-dir-intro {
	font-size: 16px; line-height: 1.6; color: var(--cl-text); margin: 0 0 20px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cl-dir-latest {
	display: block; margin-top: auto; padding: 14px 0; border-top: 1px solid var(--cl-line); border-bottom: 1px solid var(--cl-line);
	text-decoration: none !important; color: var(--cl-text) !important;
}
.cl-dir-latest span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cl-muted); margin-bottom: 4px; }
.cl-dir-latest strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; font-weight: 600; }
.cl-dir-latest:hover strong { text-decoration: underline; }
.cl-dir-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.cl-dir-actions .cl-btn { padding: 12px 22px; font-size: 15px; }
.cl-dir-actions .cl-btn svg { width: 16px; height: 16px; }
.cl-dir-about { font-size: 15px; font-weight: 600; color: var(--cl-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.cl-blogdir-cta { padding-top: 24px; }
@media (max-width: 767px) {
	.cl-dir-grid { grid-template-columns: 1fr; gap: 22px; }
	.cl-dir-body { padding: 20px 20px 22px; }
	.cl-dir-body h2 { font-size: 21px; }
	.cl-dir-photo { width: 54px; height: 54px; }
	.cl-dir-banner { aspect-ratio: 3 / 1; }
}

/* Blogiesittely: blogin alavalikon ja esittelyosion väliin tilaa (sivulla ei ole banneria) */
.cl-about-hero { margin-top: 32px; }
@media (max-width: 767px) { .cl-about-hero { margin-top: 20px; } }

/* Etusivun kansikuvat <img>-elementteinä (selain valitsee koon srcsetistä) */
img.cl-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
img.cl-cover-thumb { display: block; width: 100%; height: auto; object-fit: cover; }

/* Reseptikortit: rivin kortit yhtä korkeita, pitkä otsikko enintään 3 rivillä */
.cl-recipes li { display: flex; }
.cl-recipes li > .cl-post { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cl-recipes .cl-post-body { flex: 1; }
.cl-recipes .cl-post h3, .cl-latest-grid .cl-post:not(.cl-post--featured) h3 {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* Pitkät yhdyssanat (esim. mansikkatäytekakku) tavutetaan kapeissa korteissa */
.cl-post h3, .cl-dir-body h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Hinnasto: Aloitus-paketin aloitusmaksu */
.cl-page .cl-setup {
	font-size: 13px; line-height: 1.45; color: var(--cl-text); background: var(--cl-cream);
	border-radius: 10px; padding: 9px 12px; margin: -12px 0 20px;
}

/* Mainostajalle: mediakortti-linkki lukurivissä */
a.cl-stat--link { text-decoration: none !important; display: block; transition: opacity .2s; }
a.cl-stat--link:hover { opacity: .8; }
a.cl-stat--link span svg { width: 15px; height: 15px; vertical-align: -2px; }
.cl-light .cl-cta .cl-btn--ghost { border-color: var(--cl-ink); color: var(--cl-ink) !important; }
.cl-light .cl-cta .cl-btn--ghost:hover { background: var(--cl-ink); color: #fff !important; }
