/* ==========================================================================
   SEMEDI Mentorointi – päätyylit
   Mitoitus perustuu 1920 px desktop-ulkoasuun ja 480 px mobiiliulkoasuun;
   koot skaalautuvat sujuvasti clamp()-funktioilla.
   ========================================================================== */

/* 1. Muuttujat
   ------------------------------------------------------------------------- */
:root {
	--navy: #192141;
	--orange: #ec6618;
	--orange-dark: #cf5610;
	--grey: #ededed;
	--white: #fff;
	--error: #b3261e;

	--font-display: "freight-big-pro", "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "degular", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-body: clamp(1.0625rem, 0.75rem + 0.65vw, 1.5rem);       /* 17 → 24 */
	--fs-small: clamp(0.9375rem, 0.75rem + 0.4vw, 1.25rem);      /* 15 → 20 */
	--fs-lead: clamp(1.125rem, 0.8rem + 0.9vw, 1.875rem);        /* 18 → 30 */
	--fs-h3: clamp(1.375rem, 0.85rem + 1.15vw, 2.25rem);         /* 22 → 36 */
	--fs-serif: clamp(1.75rem, 0.9rem + 2.4vw, 3.75rem);         /* 28 → 60 */
	--fs-h2: clamp(2.125rem, 1rem + 3.4vw, 5rem);                /* 34 → 80 */
	--fs-hero: clamp(3.25rem, 1.6rem + 4.3vw, 6.25rem);          /* 52 → 100 */
	--fs-nav: clamp(1rem, 0.6rem + 0.55vw, 1.375rem);            /* 16 → 22 */
	--fs-btn: clamp(1.1875rem, 0.95rem + 0.3vw, 1.375rem);       /* 19 → 22: iso teksti → kontrasti 3:1 riittää (WCAG) */

	--container: 1642px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--space-section: clamp(4rem, 2rem + 5vw, 8rem);              /* 64 → 128 */
	--space-title: clamp(2.5rem, 7vw, 8.5rem);                   /* 40 → 136 */
	--gap: clamp(1.25rem, 2vw, 2.375rem);                        /* 20 → 38 */
	--radius: clamp(10px, 0.8vw, 16px);

	--header-h: 90px;
}

/* 2. Perustyylit
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--white);
	color: var(--navy);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
	margin: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--orange);
}

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

[id] {
	scroll-margin-top: var(--header-h);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
	color: var(--white);
}

.site-main:focus {
	outline: 0;
}

/* 3. Asettelu
   ------------------------------------------------------------------------- */
.container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(900px + 2 * var(--gutter));
}

.section {
	position: relative;
	padding-block: var(--space-section);
	overflow: hidden;
}

.bg-grey {
	background: var(--grey);
}

.bg-white {
	background: var(--white);
}

/* Koristeelliset paperilennokit */
.decor {
	position: absolute;
	inset: 0;
	z-index: 0;
	color: var(--navy);
	opacity: 0.13;
	pointer-events: none;
}

.decor svg {
	width: 100%;
	height: 100%;
	max-width: none;
}

.columns {
	display: grid;
	gap: 2.5rem var(--gap);
}

@media (min-width: 900px) {
	.columns {
		grid-template-columns: 1fr 1fr;
		column-gap: clamp(3rem, 6.6vw, 8rem);
	}
}

/* 4. Typografia
   ------------------------------------------------------------------------- */
.section-title,
.hero__title,
.section-subtitle,
.quote__text,
.contact-card__value {
	font-family: var(--font-display);
	font-weight: 700;
	font-synthesis: none;
	letter-spacing: 0;
}

.section-title {
	max-width: 1400px;
	margin: 0 auto var(--space-title);
	font-size: var(--fs-h2);
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

.section-header {
	margin-bottom: var(--space-title);
	text-align: center;
}

.section-header .section-title {
	margin-bottom: clamp(0.75rem, 1.5vw, 1.75rem);
}

.section-subtitle {
	max-width: 1460px;
	margin-inline: auto;
	font-size: var(--fs-serif);
	line-height: 1.17;
	text-wrap: balance;
}

.subheading {
	margin-bottom: 0.65em;
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.2;
}

.prose > * + * {
	margin-top: 0.75em;
}

.prose > * + .subheading {
	margin-top: 1.4em;
}

.prose > .subheading + * {
	margin-top: 0;
}

.dot-list {
	padding: 0;
	list-style: none;
}

.dot-list li {
	position: relative;
}

.dot-list li + li {
	margin-top: 0.8em;
}


/* 5. Painikkeet
   ------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 2.75rem;
	padding: 1.1em 2.9em;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: var(--fs-btn);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn--orange {
	background: var(--orange);
	color: var(--white);
}

.btn--orange:hover {
	background: var(--orange-dark);
	color: var(--white);
}

.btn--navy {
	background: var(--navy);
	color: var(--white);
}

.btn--navy:hover {
	background: var(--orange);
	color: var(--white);
}

.btn:active {
	transform: translateY(1px);
}

.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* 6. Yläpalkki ja navigaatio
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--grey);
	transition: box-shadow 0.25s ease;
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(25, 33, 65, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: clamp(1rem, 2.6vw, 3.125rem);
	transition: padding 0.25s ease;
}

.site-header.is-scrolled .site-header__inner {
	padding-block: clamp(0.75rem, 1.2vw, 1.25rem);
}

.site-logo {
	display: block;
	flex: 0 0 auto;
	width: clamp(150px, 10.5vw, 200px);
}

.site-logo svg,
.site-logo img {
	width: 100%;
	height: auto;
}

.site-nav__list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: block;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -0.35em;
	left: 0;
	height: 2px;
	background: var(--orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current] {
	color: var(--navy);
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after {
	transform: scaleX(1);
}

.site-nav__cta {
	padding: 1em 2.4em;
	font-size: var(--fs-nav);
	white-space: nowrap;
}

.nav-toggle {
	display: none;
}

/* Desktop */
@media (min-width: 1100px) {
	.site-nav {
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
		padding-left: clamp(1rem, 22vw - 13rem, 16rem);
	}

	.site-nav__list {
		gap: clamp(1.25rem, 2.8vw, 3.4rem);
		font-size: var(--fs-nav);
	}
}

/* Mobiili */
@media (max-width: 1099.98px) {
	.nav-toggle {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		margin-right: -8px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--navy);
		cursor: pointer;
	}

	.nav-toggle__bars,
	.nav-toggle__bars::before,
	.nav-toggle__bars::after {
		display: block;
		width: 30px;
		height: 3px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.25s ease, opacity 0.2s ease;
	}

	.nav-toggle__bars {
		position: relative;
	}

	.nav-toggle__bars::before,
	.nav-toggle__bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.nav-toggle__bars::before {
		top: -9px;
	}

	.nav-toggle__bars::after {
		top: 9px;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
		background: transparent;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
		transform: translateY(9px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
		transform: translateY(-9px) rotate(-45deg);
	}

	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 0.5rem var(--gutter) 2rem;
		background: var(--grey);
		box-shadow: 0 16px 24px rgba(25, 33, 65, 0.1);
	}

	.site-nav.is-open {
		display: block;
	}

	.no-js .site-nav {
		position: static;
		display: block;
		box-shadow: none;
	}

	.site-nav__list {
		flex-direction: column;
	}

	.site-nav__list a {
		padding-block: 0.9rem;
		border-bottom: 1px solid rgba(25, 33, 65, 0.1);
		font-size: 1.125rem;
	}

	.site-nav__list a::after {
		display: none;
	}

	.site-nav__cta {
		width: 100%;
		margin-top: 1.5rem;
		font-size: var(--fs-btn);
	}
}

/* 7. Yläosa (hero)
   ------------------------------------------------------------------------- */
.hero {
	padding-top: clamp(1rem, 2.2vw, 2.5rem);
	padding-bottom: 0;
}

.hero__grid {
	display: grid;
	gap: 2.5rem;
}

.hero__content {
	max-width: 660px;
}

.hero__title {
	position: relative;
	display: inline-block;
	margin-bottom: clamp(1.25rem, 2.8vw, 3.5rem);
	padding-right: 0.08em;
	font-size: var(--fs-hero);
	line-height: 1;
	text-transform: uppercase;
}

.hero__arrow {
	position: absolute;
	top: -0.72em;
	right: 0.04em;
	width: 0.54em;
}

.hero__text {
	font-size: var(--fs-lead);
	line-height: 1.2;
}

/* Kappaleiden väliin yhden rivin verran tilaa. */
.hero__text > * + * {
	margin-top: 1.2em;
}

.hero__cta {
	margin-top: clamp(1.75rem, 2.8vw, 3.5rem);
}

.hero__media {
	display: flex;
	justify-content: center;
	align-self: end;
}

.hero__image {
	width: min(100%, 640px);
	margin-bottom: -2px;
}

@media (max-width: 899.98px) {
	.hero__grid {
		padding-top: clamp(2.5rem, 8vw, 3.5rem);
	}

	.hero__cta {
		display: flex;
		width: 100%;
	}

	.hero__image {
		width: min(82%, 480px);
	}
}

@media (min-width: 900px) {
	.hero__grid {
		grid-template-columns: 55fr 45fr;
		align-items: center;
		min-height: min(54vw, 930px);
	}

	.hero__content {
		order: 2;
		padding-bottom: 4vw;
	}

	.hero__media {
		order: 1;
		align-self: end;
	}
}

/* 8. Palvelut
   ------------------------------------------------------------------------- */
.palvelut .columns {
	max-width: 1560px;
}

/* 9. Erityisosaaminen
   ------------------------------------------------------------------------- */
.cards {
	display: grid;
	gap: var(--gap);
}

@media (min-width: 900px) {
	.cards {
		grid-template-columns: 1fr 1fr;
	}
}

.card {
	display: grid;
	gap: 1.5rem clamp(1.5rem, 3.6vw, 4.5rem);
	align-content: start;
	min-height: clamp(0px, 21vw, 402px);
	padding: clamp(2rem, 3.6vw, 4.25rem) clamp(1.75rem, 3.6vw, 4.25rem) clamp(2rem, 3vw, 3.75rem) clamp(1.75rem, 3.2vw, 3.9rem);
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
}

.card__icon svg {
	width: 100%;
	height: auto;
}

.card__title {
	margin-bottom: 0.8em;
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.2;
}

.card__body p + p {
	margin-top: 0.75em;
}

@media (max-width: 599.98px) {
	.card__icon {
		width: 60%;
		max-width: 200px;
		margin: 1rem auto 1.5rem;
	}
}

@media (min-width: 600px) {
	.card {
		grid-template-columns: clamp(90px, 8vw, 150px) 1fr;
	}
}

/* 10. Tausta ja hinnoittelu
   ------------------------------------------------------------------------- */
.split {
	display: grid;
	gap: 2.5rem;
}

.section--media-bottom {
	padding-bottom: 0;
}

.split__content {
	padding-bottom: var(--space-section);
}

.split__media {
	display: flex;
	justify-content: center;
	align-self: end;
}

.split__media img {
	margin-bottom: -2px;
}

@media (max-width: 899.98px) {
	.split__content {
		padding-bottom: 0;
	}
}

@media (min-width: 900px) {
	.tausta .split {
		grid-template-columns: 48fr 52fr;
		gap: 0;
	}

	.tausta .split__content {
		max-width: 802px;
	}
}

.tausta__image {
	width: min(100%, 730px);
}

@media (max-width: 899.98px) {
	.tausta__image {
		width: min(80%, 460px);
	}
}

.quote {
	max-width: 760px;
	margin: clamp(3rem, 4.6vw, 5.5rem) auto clamp(3rem, 5vw, 6rem);
	text-align: center;
}

.quote__arrow {
	width: clamp(100px, 8.3vw, 160px);
	margin: 0 auto clamp(1.5rem, 2.8vw, 3.4rem);
}

.quote__text {
	font-size: var(--fs-serif);
	line-height: 1.2;
	text-wrap: balance;
}

.quote__author {
	margin-top: clamp(1rem, 1.8vw, 2.2rem);
	font-weight: 700;
}

.price-box {
	padding: clamp(1.75rem, 3.6vw, 4.375rem);
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
}

.price-box__title {
	margin-bottom: 0.7em;
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1.2;
}

.price-box p {
	line-height: 1.3;
}

.price-box p + p {
	margin-top: 1em;
}

/* 11. Arvot
   ------------------------------------------------------------------------- */
.values {
	display: grid;
	gap: 0 clamp(2rem, 3vw, 3.75rem);
	max-width: 1530px;
	margin-inline: auto;
}

.value + .value {
	margin-top: clamp(1.75rem, 2.2vw, 2.5rem);
}

.values__col + .values__col {
	margin-top: clamp(1.75rem, 2.2vw, 2.5rem);
}

.value .subheading {
	margin-bottom: 0.5em;
}

@media (min-width: 900px) {
	.values {
		grid-template-columns: 1fr 1fr;
	}

	.values__col + .values__col {
		margin-top: 0;
	}
}

.arvot__bottom {
	margin-top: clamp(3rem, 5vw, 6rem);
}

.arvot__image {
	width: min(100%, 760px);
}

.arvot__quote {
	align-self: center;
}

.arvot__quote .quote {
	margin-block: 0;
}

@media (max-width: 899.98px) {
	.split--reverse-mobile .split__media {
		order: 2;
	}

	.arvot__image {
		width: min(85%, 460px);
	}
}

@media (min-width: 900px) {
	.arvot__bottom {
		grid-template-columns: 1fr 1fr;
		gap: clamp(2rem, 5vw, 6rem);
	}

	.arvot__media {
		justify-content: flex-start;
	}

	.arvot__quote {
		padding-bottom: var(--space-section);
	}
}

/* 12. Yhteystiedot ja lomake
   ------------------------------------------------------------------------- */
.contact-cards {
	display: grid;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.contact-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.contact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	min-height: clamp(9rem, 13.3vw, 16rem);
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
	text-align: center;
}

.contact-card__label {
	font-size: var(--fs-h3);
	line-height: 1.1;
}

.contact-card__value {
	font-size: clamp(1.75rem, 0.9rem + 2.4vw, 3.75rem);
	line-height: 1.1;
	overflow-wrap: anywhere;
}

@media (min-width: 900px) {
	.contact-card__value {
		font-size: clamp(1.5rem, 0.2rem + 2.3vw, 3.75rem);
	}
}

.contact-card__value a {
	color: inherit;
	text-decoration: none;
}

.contact-card__value a:hover {
	color: var(--white);
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.section-title--form {
	margin-top: clamp(4rem, 7.5vw, 9rem);
	margin-bottom: clamp(2.5rem, 4.8vw, 5.75rem);
}

.contact-form__grid {
	display: grid;
	gap: clamp(1.25rem, 2.2vw, 2.6rem) var(--gap);
}

@media (min-width: 900px) {
	.contact-form__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.field--full {
		grid-column: 1 / -1;
	}
}

.field__label {
	display: block;
	margin-bottom: clamp(0.5rem, 0.9vw, 1rem);
	font-size: var(--fs-small);
}

.field__input {
	display: block;
	width: 100%;
	min-height: clamp(3.25rem, 3.75vw, 4.5rem);
	padding: 0.75em 1em;
	border: 2px solid transparent;
	border-radius: 4px;
	background: var(--grey);
	color: var(--navy);
	font: inherit;
	font-size: max(16px, var(--fs-small));
	transition: border-color 0.2s ease, background-color 0.2s ease;
	appearance: none;
}

.field__input:hover {
	border-color: rgba(25, 33, 65, 0.15);
}

.field__input:focus {
	border-color: var(--navy);
	background: var(--white);
	outline: 0;
}

.field__input--textarea {
	min-height: clamp(10rem, 15.2vw, 18.25rem);
	resize: vertical;
}

.field.is-invalid .field__input {
	border-color: var(--error);
}

.field__error {
	margin-top: 0.4em;
	color: var(--error);
	font-size: var(--fs-small);
}

.contact-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: clamp(1.75rem, 2.6vw, 3.1rem);
}

.contact-form__submit {
	min-width: min(100%, 322px);
}

.contact-form__privacy {
	font-size: var(--fs-small);
	opacity: 0.75;
}

@media (max-width: 599.98px) {
	.contact-form__submit {
		width: 100%;
	}
}

.form-status {
	margin-top: 1.5rem;
	padding: 1em 1.25em;
	border-left: 4px solid var(--navy);
	border-radius: 4px;
	background: var(--grey);
	font-weight: 700;
}

.form-status--success {
	border-left-color: #2e7d32;
}

.form-status--error {
	border-left-color: var(--error);
}

.form-status[hidden] {
	display: none;
}

/* 13. Alatunniste
   ------------------------------------------------------------------------- */
.site-footer {
	background: var(--navy);
	color: var(--white);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	padding-block: clamp(2rem, 3vw, 3.5rem);
}

.site-footer__copy {
	font-size: var(--fs-small);
}

.site-footer__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}

.site-footer__sep {
	margin-inline: 0.15em;
	opacity: 0.6;
}

.site-footer__part {
	white-space: nowrap;
}

.site-footer__meta > * {
	max-width: 100%;
}

.legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-small);
}

.legal-links a,
.link-button {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.link-button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
}

.link-button:hover {
	color: var(--orange);
}

.site-footer a:hover {
	color: var(--orange);
}

.site-footer__social {
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social a {
	display: block;
	width: clamp(28px, 2vw, 38px);
}

.site-footer__social svg {
	width: 100%;
	height: auto;
}

@media (max-width: 599.98px) {
	.site-footer__inner,
	.site-footer__meta {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.legal-links {
		justify-content: center;
	}
}

/* 14. Evästebanneri
   ------------------------------------------------------------------------- */
.btn--outline {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--white);
}

.btn--outline:hover {
	border-color: var(--orange);
	color: var(--orange);
}

.cookie-banner {
	position: fixed;
	right: var(--gutter);
	bottom: var(--gutter);
	left: var(--gutter);
	z-index: 200;
	max-width: 760px;
	max-height: calc(100vh - 2 * var(--gutter));
	margin-left: auto;
	overflow-y: auto;
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 20px 50px rgba(25, 33, 65, 0.35);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner__inner {
	padding: clamp(1.25rem, 2.2vw, 2.25rem);
}

.cookie-banner__title {
	margin-bottom: 0.5em;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1rem + 1vw, 2.25rem);
	font-weight: 700;
	line-height: 1.1;
}

.cookie-banner__title:focus {
	outline: 0;
}

.cookie-banner__text {
	font-size: var(--fs-small);
	line-height: 1.4;
}

.cookie-banner__text > * + * {
	margin-top: 0.6em;
}

.cookie-banner__text a {
	color: var(--white);
}

.cookie-banner__text a:hover {
	color: var(--orange);
}

.cookie-banner__choices fieldset {
	display: grid;
	gap: 0.75rem;
	margin: 1.25rem 0 0;
	padding: 0;
	border: 0;
}

.cookie-banner__choices[hidden] {
	display: none;
}

.cookie-toggle {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: var(--fs-small);
	line-height: 1.35;
	cursor: pointer;
}

.cookie-toggle input {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.1em 0 0;
	accent-color: var(--orange);
}

.cookie-toggle input:disabled + span {
	opacity: 0.8;
}

.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.cookie-banner__actions .btn {
	padding: 0.85em 1.5em;
	font-size: 1.1875rem; /* ≥ 19 px lihavoitu = iso teksti, valkoinen oranssilla täyttää WCAG AA:n */
}

.cookie-banner__actions .btn[hidden] {
	display: none;
}

@media (max-width: 599.98px) {
	.cookie-banner {
		right: 0;
		bottom: 0;
		left: 0;
		border-radius: var(--radius) var(--radius) 0 0;
	}

	.cookie-banner__actions .btn {
		flex: 1 1 100%;
	}
}

@media print {
	.cookie-banner {
		display: none;
	}
}

/* 15. Alasivut (esim. tietosuojaseloste)
   ------------------------------------------------------------------------- */
.page-content {
	padding-block: var(--space-section);
}

.entry + .entry {
	margin-top: 3rem;
}

.entry__title {
	margin-bottom: 0.6em;
	font-family: var(--font-display);
	font-size: var(--fs-serif);
	font-weight: 700;
	line-height: 1.1;
}

.entry__content > * + * {
	margin-top: 1em;
}

.entry__content h2,
.entry__content h3 {
	margin-top: 1.6em;
	font-size: var(--fs-h3);
	line-height: 1.2;
}

.entry__content ul,
.entry__content ol {
	padding-left: 1.25em;
}

/* Kokemus: erityisosaaminen oikeassa palstassa kuvan yläpuolella. */
@media (min-width: 900px) {
	.tausta .tausta__media {
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		align-self: stretch;
		gap: 2.5rem;
	}

	.tausta__extra {
		align-self: stretch;
		padding-left: clamp(2rem, 5vw, 6rem);
	}
}

@media (max-width: 899.98px) {
	.tausta .split__content,
	.tausta .tausta__media {
		display: contents;
	}

	.tausta .split__content > .prose { order: 1; }
	.tausta__extra { order: 2; }
	.tausta .quote { order: 3; }
	.tausta .price-box { order: 4; }

	.tausta__image {
		order: 5;
		justify-self: center;
		margin-bottom: -2px;
	}
}
