/* ==========================================================================
   Matkaopas – päätyylit
   ========================================================================== */

/* Fontit (itse isännöidyt, ei ulkoisia kutsuja) ---------------------------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/fraunces-latin-ext-600-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Muuttujat ----------------------------------------------------------------- */
:root {
	--mo-red: #b3362b;
	--mo-red-dark: #8f2a21;
	--mo-red-soft: #f8e8e5;
	--mo-ink: #1b1d22;
	--mo-ink-2: #3a3f47;
	--mo-muted: #6a6f78;
	--mo-line: #e6e1d8;
	--mo-line-2: #d8d1c4;
	--mo-bg: #faf8f4;
	--mo-sand: #f3eee5;
	--mo-surface: #ffffff;
	--mo-sun: #f2c230;
	--mo-olive: #8ba321;

	--mo-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mo-font-head: "Fraunces", Georgia, "Times New Roman", serif;

	--mo-radius: 16px;
	--mo-radius-sm: 10px;
	--mo-shadow: 0 1px 2px rgba(27, 29, 34, 0.05), 0 10px 30px rgba(27, 29, 34, 0.07);
	--mo-shadow-lg: 0 2px 6px rgba(27, 29, 34, 0.06), 0 22px 50px rgba(27, 29, 34, 0.14);
	--mo-container: 1220px;
	--mo-gutter: 20px;
	--mo-header-h: 76px;
	--mo-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Perusta -------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--mo-header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
body {
	margin: 0;
	background: var(--mo-bg);
	color: var(--mo-ink);
	font-family: var(--mo-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.is-locked {
	overflow: hidden;
}
img,
svg,
video,
iframe {
	max-width: 100%;
}
img {
	height: auto;
	border: 0;
}
a {
	color: var(--mo-red);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
a:hover {
	color: var(--mo-red-dark);
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--mo-font-head);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--mo-ink);
	margin: 0 0 0.5em;
	font-variation-settings: "SOFT" 50, "WONK" 0;
}
p {
	margin: 0 0 1em;
}
button {
	font: inherit;
}
:focus-visible {
	outline: 3px solid rgba(179, 54, 43, 0.45);
	outline-offset: 2px;
	border-radius: 4px;
}
::selection {
	background: var(--mo-red-soft);
	color: var(--mo-ink);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--mo-ink);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
}

.mo-container {
	width: 100%;
	max-width: var(--mo-container);
	margin-inline: auto;
	padding-inline: var(--mo-gutter);
}
.mo-container--narrow {
	max-width: 820px;
}
@media (max-width: 640px) {
	:root {
		--mo-gutter: 16px;
		--mo-header-h: 64px;
	}
}

.mo-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: -0.22em;
}

/* Painikkeet, merkit, sirut --------------------------------------------------- */
.mo-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.8em 1.35em;
	border: 0;
	border-radius: 999px;
	background: var(--mo-red);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s var(--mo-ease), box-shadow 0.2s;
}
.mo-btn:hover {
	background: var(--mo-red-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(179, 54, 43, 0.25);
}
.mo-btn--ghost {
	background: var(--mo-surface);
	color: var(--mo-ink);
	box-shadow: inset 0 0 0 1px var(--mo-line-2);
}
.mo-btn--ghost:hover,
.mo-btn--ghost[aria-expanded="true"] {
	background: var(--mo-surface);
	color: var(--mo-red);
	box-shadow: inset 0 0 0 1px var(--mo-red);
}

.mo-pill {
	display: inline-block;
	padding: 0.32em 0.8em;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
	text-decoration: none;
	color: var(--tone, var(--mo-ink-2));
	background: var(--tone-soft, #eeebe5);
	position: relative;
	z-index: 2;
	transition: filter 0.2s;
}
a.mo-pill:hover {
	filter: brightness(0.95);
	color: var(--tone, var(--mo-ink-2));
}
.mo-tone-blue {
	--tone: #1f5fa8;
	--tone-soft: #e6eff9;
}
.mo-tone-olive {
	--tone: #5c7012;
	--tone-soft: #edf2d9;
}
.mo-tone-green {
	--tone: #1f6a4a;
	--tone-soft: #e1f1e8;
}
.mo-tone-red {
	--tone: #a3302a;
	--tone-soft: #f8e6e3;
}
.mo-tone-amber {
	--tone: #94600c;
	--tone-soft: #faefd6;
}
.mo-tone-ink {
	--tone: #3a3f47;
	--tone-soft: #eceae5;
}

.mo-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-family: var(--mo-font);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mo-red);
}
.mo-kicker::before {
	content: "";
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--mo-red) 0 50%, var(--mo-sun) 50% 75%, var(--mo-olive) 75%);
}

.mo-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
}
.mo-chips--center {
	justify-content: center;
}
.mo-chips--scroll {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: thin;
	padding-bottom: 6px;
	margin-inline: calc(var(--mo-gutter) * -1);
	padding-inline: var(--mo-gutter);
	scroll-padding-inline: var(--mo-gutter);
}
@media (min-width: 900px) {
	.mo-chips--scroll {
		flex-wrap: wrap;
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
	}
}
.mo-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--mo-surface);
	box-shadow: inset 0 0 0 1px var(--mo-line);
	color: var(--mo-ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow 0.2s, color 0.2s, background 0.2s;
}
.mo-chip span {
	font-size: 12px;
	color: var(--mo-muted);
	font-variant-numeric: tabular-nums;
}
.mo-chip:hover {
	color: var(--mo-red);
	box-shadow: inset 0 0 0 1px var(--mo-red);
}
.mo-chip.is-active {
	background: var(--mo-ink);
	color: #fff;
	box-shadow: none;
}
.mo-chip.is-active span {
	color: rgba(255, 255, 255, 0.7);
}

/* Ylätunniste ------------------------------------------------------------------ */
.mo-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--mo-line);
	transition: box-shadow 0.25s;
}
.admin-bar .mo-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .mo-header {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .mo-header {
		top: 0;
	}
}
.mo-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(27, 29, 34, 0.08);
}
.mo-stripe {
	height: 4px;
	background: linear-gradient(90deg, var(--mo-red) 0 60%, var(--mo-sun) 60% 80%, var(--mo-olive) 80% 100%);
}
.mo-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--mo-header-h);
}
.mo-brand {
	margin: 0;
	flex: none;
	line-height: 0;
	font-size: 0;
}
.mo-logo,
.custom-logo-link {
	display: inline-block;
}
.mo-logo img,
.custom-logo {
	display: block;
	height: 46px;
	width: auto;
}
@media (max-width: 640px) {
	.mo-logo img,
	.custom-logo {
		height: 36px;
	}
}
.mo-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}
.mo-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--mo-ink);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.mo-iconbtn:hover,
.mo-iconbtn[aria-expanded="true"] {
	background: var(--mo-sand);
	color: var(--mo-red);
}
.mo-iconbtn .mo-icon {
	width: 22px;
	height: 22px;
}

/* Päävalikko (työpöytä) */
.mo-menu,
.mo-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mo-nav__head,
.mo-nav__search {
	display: none;
}
@media (min-width: 1100px) {
	.mo-nav {
		margin-left: auto;
	}
	.mo-nav-toggle {
		display: none;
	}
	.mo-header__actions {
		margin-left: 0;
	}
	.mo-menu {
		display: flex;
		align-items: center;
		gap: 2px;
	}
	.mo-menu > li {
		position: relative;
		display: flex;
		align-items: center;
	}
	.mo-menu > li > a {
		display: block;
		padding: 10px 11px;
		border-radius: 10px;
		color: var(--mo-ink);
		font-size: 15px;
		font-weight: 600;
		letter-spacing: -0.005em;
		text-decoration: none;
		white-space: nowrap;
		transition: color 0.2s, background 0.2s;
	}
	.mo-menu > li.menu-item-has-children > a {
		padding-right: 2px;
	}
	.mo-menu > li > a:hover,
	.mo-menu > li:hover > a,
	.mo-menu > li.is-open > a {
		color: var(--mo-red);
	}
	.mo-menu > li.current-menu-item > a,
	.mo-menu > li.current-menu-ancestor > a,
	.mo-menu > li.current-menu-parent > a,
	.mo-menu > li.current-category-ancestor > a {
		color: var(--mo-red);
		box-shadow: inset 0 -2px 0 var(--mo-red);
		border-radius: 0;
	}
	.mo-sub-toggle {
		display: inline-grid;
		place-items: center;
		width: 24px;
		height: 32px;
		margin-right: 4px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--mo-muted);
		cursor: pointer;
		border-radius: 6px;
	}
	.mo-sub-toggle .mo-icon {
		width: 16px;
		height: 16px;
		transition: transform 0.2s;
	}
	.mo-menu > li:hover .mo-sub-toggle,
	.mo-menu > li.is-open .mo-sub-toggle {
		color: var(--mo-red);
	}
	.mo-menu > li.is-open .mo-sub-toggle .mo-icon {
		transform: rotate(180deg);
	}
	.mo-menu .sub-menu {
		position: absolute;
		top: calc(100% + 8px);
		left: -6px;
		min-width: 250px;
		padding: 10px;
		background: var(--mo-surface);
		border-radius: 14px;
		box-shadow: var(--mo-shadow-lg);
		border: 1px solid var(--mo-line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.18s, transform 0.18s var(--mo-ease), visibility 0.18s;
		z-index: 20;
	}
	.mo-menu .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -12px;
		height: 12px;
	}
	.mo-menu > li.has-many > .sub-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(190px, 1fr));
		column-gap: 6px;
		min-width: 440px;
	}
	.mo-menu > li:hover > .sub-menu,
	.mo-menu > li:focus-within > .sub-menu,
	.mo-menu > li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	.mo-menu > li.is-closed > .sub-menu {
		opacity: 0;
		visibility: hidden;
	}
	.mo-menu .sub-menu a {
		display: block;
		padding: 9px 12px;
		border-radius: 8px;
		color: var(--mo-ink);
		font-size: 14.5px;
		font-weight: 500;
		text-decoration: none;
		transition: background 0.15s, color 0.15s;
	}
	.mo-menu .sub-menu a:hover,
	.mo-menu .sub-menu .current-menu-item > a {
		background: var(--mo-sand);
		color: var(--mo-red);
	}
}
@media (min-width: 1100px) and (max-width: 1240px) {
	.mo-menu > li > a {
		padding-inline: 8px;
		font-size: 14.5px;
	}
	.mo-logo img {
		height: 40px;
	}
}

/* Mobiilivalikko (laatikko) */
@media (max-width: 1099.98px) {
	.mo-nav {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 200;
		width: min(400px, 90vw);
		display: flex;
		flex-direction: column;
		background: var(--mo-surface);
		box-shadow: var(--mo-shadow-lg);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.3s var(--mo-ease), visibility 0.3s;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.mo-nav.is-open {
		transform: none;
		visibility: visible;
	}
	.mo-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 12px 12px 22px;
		border-bottom: 1px solid var(--mo-line);
	}
	.mo-nav__title {
		font-family: var(--mo-font-head);
		font-size: 20px;
		font-weight: 600;
	}
	.mo-nav__search {
		display: block;
		padding: 16px 18px 6px;
	}
	.mo-menu {
		padding: 8px 10px 30px;
	}
	.mo-menu > li {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		border-bottom: 1px solid var(--mo-line);
	}
	.mo-menu > li > a {
		display: block;
		padding: 15px 12px;
		color: var(--mo-ink);
		font-size: 17px;
		font-weight: 600;
		text-decoration: none;
	}
	.mo-menu > li.current-menu-item > a,
	.mo-menu > li.current-category-ancestor > a,
	.mo-menu > li.current-menu-ancestor > a {
		color: var(--mo-red);
	}
	.mo-sub-toggle {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: 10px;
		background: var(--mo-sand);
		color: var(--mo-ink);
		cursor: pointer;
	}
	.mo-sub-toggle .mo-icon {
		transition: transform 0.2s;
	}
	.mo-menu > li.is-open .mo-sub-toggle .mo-icon {
		transform: rotate(180deg);
	}
	.mo-menu .sub-menu {
		grid-column: 1 / -1;
		display: none;
		padding: 0 0 12px 12px;
		columns: 2;
		column-gap: 8px;
	}
	.mo-menu > li.is-open > .sub-menu {
		display: block;
	}
	.mo-menu .sub-menu li {
		break-inside: avoid;
	}
	.mo-menu .sub-menu a {
		display: block;
		padding: 8px 10px;
		border-radius: 8px;
		color: var(--mo-ink-2);
		font-size: 15px;
		text-decoration: none;
	}
	.mo-menu .sub-menu a:hover {
		background: var(--mo-sand);
		color: var(--mo-red);
	}
}
.mo-overlay {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(20, 22, 26, 0.5);
}

/* Haku */
.mo-search-panel {
	border-top: 1px solid var(--mo-line);
	background: var(--mo-surface);
	padding: 22px 0 24px;
	box-shadow: 0 16px 30px rgba(27, 29, 34, 0.08);
}
.mo-search-panel__quick {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 14px;
	font-size: 14px;
	color: var(--mo-muted);
}
.mo-search-panel__quick a {
	color: var(--mo-ink);
	font-weight: 500;
	text-decoration: none;
}
.mo-search-panel__quick a:hover {
	color: var(--mo-red);
}
.mo-search {
	position: relative;
	display: flex;
}
.mo-search__input {
	width: 100%;
	height: 54px;
	padding: 0 60px 0 22px;
	border: 1px solid var(--mo-line-2);
	border-radius: 999px;
	background: var(--mo-surface);
	color: var(--mo-ink);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.mo-search__input::placeholder {
	color: #9a9ea6;
}
.mo-search__input:focus {
	outline: none;
	border-color: var(--mo-red);
	box-shadow: 0 0 0 4px var(--mo-red-soft);
}
.mo-search__btn {
	position: absolute;
	right: 6px;
	top: 6px;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--mo-red);
	color: #fff;
	cursor: pointer;
}
.mo-search__btn:hover {
	background: var(--mo-red-dark);
}
.mo-search__btn .mo-icon {
	width: 20px;
	height: 20px;
}

/* Murupolku -------------------------------------------------------------------- */
.mo-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	color: var(--mo-muted);
}
.mo-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
}
.mo-crumbs li + li::before {
	content: "›";
	color: #b3b0a8;
	margin-right: 2px;
}
.mo-crumbs a {
	color: var(--mo-ink-2);
	text-decoration: none;
}
.mo-crumbs a:hover {
	color: var(--mo-red);
	text-decoration: underline;
}
.mo-crumbs span[aria-current] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 46ch;
}

/* Kortit ------------------------------------------------------------------------ */
.mo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.mo-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--mo-radius);
	background: var(--mo-sand);
}
.mo-card__media img,
.mo-tile__media img,
.mo-theme__media img,
.mo-near__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--mo-ease);
}
.mo-img.is-yt {
	transform: scale(1.2);
}
.mo-card:hover .mo-card__media img {
	transform: scale(1.04);
}
.mo-card:hover .mo-card__media img.is-yt {
	transform: scale(1.25);
}
.mo-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(179, 54, 43, 0.35);
	background:
		radial-gradient(circle at 20% 20%, rgba(242, 194, 48, 0.18), transparent 45%),
		radial-gradient(circle at 80% 90%, rgba(139, 163, 33, 0.16), transparent 50%),
		linear-gradient(135deg, #f3eee5, #e9e1d3);
}
.mo-placeholder .mo-icon {
	width: 42px;
	height: 42px;
}
.mo-card__body {
	padding-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mo-card__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.mo-card__title {
	margin: 0;
	font-size: 21px;
	line-height: 1.25;
}
.mo-card__title a {
	color: var(--mo-ink);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: color 0.2s, background-size 0.3s var(--mo-ease);
}
.mo-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.mo-card:hover .mo-card__title a {
	color: var(--mo-red);
}
.mo-card__excerpt {
	margin: 0;
	color: var(--mo-ink-2);
	font-size: 15px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mo-card__meta {
	margin: 0;
	font-size: 13px;
	color: var(--mo-muted);
}

/* Leveä kortti (arkiston ensimmäinen) */
@media (min-width: 700px) {
	.mo-card--wide {
		display: grid;
		grid-template-columns: 1.15fr 1fr;
		gap: 28px;
		align-items: center;
		grid-column: 1 / -1;
	}
	.mo-card--wide .mo-card__media {
		aspect-ratio: 4 / 3;
	}
	.mo-card--wide .mo-card__body {
		padding-top: 0;
	}
	.mo-card--wide .mo-card__title {
		font-size: 30px;
	}
	.mo-card--wide .mo-card__excerpt {
		font-size: 16px;
		-webkit-line-clamp: 4;
	}
}

/* Tiivis kortti (listat) */
.mo-card--compact {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 16px;
	align-items: center;
}
.mo-card--compact .mo-card__media {
	aspect-ratio: 4 / 3;
	border-radius: 12px;
}
.mo-card--compact .mo-card__body {
	padding: 0;
	gap: 5px;
}
.mo-card--compact .mo-card__title {
	font-size: 17px;
	line-height: 1.3;
}
.mo-card--compact .mo-pill {
	font-size: 10.5px;
	padding: 0.25em 0.7em;
}
.mo-card--compact .mo-placeholder .mo-icon {
	width: 26px;
	height: 26px;
}

/* Nostokortti kuvan päällä */
.mo-card--overlay {
	height: 100%;
	border-radius: 22px;
	overflow: hidden;
	background: var(--mo-ink);
	isolation: isolate;
}
.mo-card--overlay .mo-card__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
	border-radius: 0;
}
.mo-card--overlay .mo-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 12, 16, 0) 30%, rgba(10, 12, 16, 0.35) 55%, rgba(10, 12, 16, 0.85) 100%);
}
.mo-card--overlay .mo-card__body {
	position: relative;
	z-index: 1;
	margin-top: auto;
	padding: 140px 36px 34px;
	color: #fff;
	gap: 12px;
}
.mo-card--overlay .mo-card__title {
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.12;
	max-width: 22ch;
}
.mo-card--overlay .mo-card__title a,
.mo-card--overlay:hover .mo-card__title a {
	color: #fff;
}
.mo-card--overlay:hover .mo-card__title a {
	background-size: 100% 2px;
}
.mo-card--overlay .mo-card__excerpt {
	color: rgba(255, 255, 255, 0.86);
	font-size: 16.5px;
	max-width: 60ch;
	-webkit-line-clamp: 2;
}
.mo-card--overlay .mo-card__meta {
	color: rgba(255, 255, 255, 0.75);
}
.mo-card--overlay .mo-pill {
	background: #fff;
	color: var(--tone, var(--mo-ink));
}
@media (max-width: 640px) {
	.mo-card--overlay {
		border-radius: 18px;
	}
	.mo-card--overlay .mo-card__body {
		padding: 120px 20px 22px;
	}
}

/* Ruudukot --------------------------------------------------------------------- */
.mo-grid {
	display: grid;
	gap: 40px 28px;
}
.mo-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mo-grid--archive {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 960px) {
	.mo-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.mo-grid--3,
	.mo-grid--archive {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Osiot ------------------------------------------------------------------------- */
.mo-main {
	min-height: 50vh;
}
.mo-section {
	margin-top: 80px;
}
@media (max-width: 640px) {
	.mo-section {
		margin-top: 56px;
	}
}
.mo-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.mo-section__title {
	margin: 0;
	font-size: clamp(26px, 3vw, 36px);
}
.mo-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	color: var(--mo-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	padding-bottom: 4px;
}
.mo-more .mo-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--mo-ease);
}
.mo-more:hover {
	color: var(--mo-red);
}
.mo-more:hover .mo-icon {
	transform: translateX(3px);
}
@media (max-width: 520px) {
	.mo-section__head {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Etusivun nostot */
.mo-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 36px;
	margin-top: 32px;
}
.mo-hero__lead {
	min-height: 520px;
	display: flex;
}
.mo-hero__lead .mo-card {
	flex: 1;
}
.mo-hero__side {
	display: flex;
	flex-direction: column;
}
.mo-hero__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--mo-ink);
	font-size: 24px;
}
.mo-hero__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	flex: 1;
	justify-content: space-between;
}
.mo-hero__list .mo-card + .mo-card {
	padding-top: 18px;
	border-top: 1px solid var(--mo-line);
}
@media (max-width: 960px) {
	.mo-hero {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 20px;
	}
	.mo-hero__lead {
		min-height: 440px;
	}
}
@media (max-width: 640px) {
	.mo-hero__lead {
		min-height: 400px;
	}
}

/* Matkakohdelaatat */
.mo-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.mo-tile,
.mo-theme {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--mo-radius);
	aspect-ratio: 4 / 3;
	color: #fff;
	text-decoration: none;
	background: var(--mo-ink);
	isolation: isolate;
}
.mo-tile__media,
.mo-theme__media {
	position: absolute;
	inset: 0;
}
.mo-tile__media::after,
.mo-theme__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 12, 16, 0) 35%, rgba(10, 12, 16, 0.75) 100%);
}
.mo-tile:hover img,
.mo-theme:hover img {
	transform: scale(1.06);
}
.mo-tile__text {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
	z-index: 1;
	display: flex;
	flex-direction: column;
}
.mo-tile__name,
.mo-theme__name {
	font-family: var(--mo-font-head);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.15;
}
.mo-tile__count {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.82);
}
.mo-tile:hover,
.mo-theme:hover {
	color: #fff;
}
@media (max-width: 960px) {
	.mo-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 520px) {
	.mo-tiles {
		gap: 12px;
	}
	.mo-tile__name,
	.mo-theme__name {
		font-size: 18px;
	}
	.mo-tile__text {
		left: 14px;
		bottom: 12px;
	}
}

/* Teemat */
.mo-themes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.mo-theme {
	aspect-ratio: 3 / 4;
}
.mo-theme__name {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 1;
}
@media (max-width: 960px) {
	.mo-themes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mo-theme {
		aspect-ratio: 4 / 3;
	}
}
@media (max-width: 520px) {
	.mo-themes {
		gap: 12px;
	}
}

/* Karttanauha */
.mo-mapband {
	margin-top: 88px;
	padding: 64px 0;
	background:
		radial-gradient(circle at 10% 0%, rgba(242, 194, 48, 0.12), transparent 40%),
		var(--mo-sand);
	border-block: 1px solid var(--mo-line);
}
.mo-mapband__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
	gap: 44px;
	align-items: center;
}
.mo-mapband__text p:not(.mo-kicker) {
	color: var(--mo-ink-2);
	font-size: 17px;
	margin: 14px 0 24px;
}
.mo-mapband .mo-map {
	--mo-map-h: 440px;
	box-shadow: var(--mo-shadow);
}
@media (max-width: 960px) {
	.mo-mapband {
		padding: 48px 0;
	}
	.mo-mapband__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.mo-mapband .mo-map {
		--mo-map-h: 360px;
	}
}

/* Kaksi saraketta */
.mo-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 56px;
}
.mo-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.mo-column .mo-section__head {
	margin-bottom: 4px;
}
.mo-column .mo-card--default .mo-card__media {
	aspect-ratio: 16 / 9;
}
.mo-column .mo-card--compact {
	padding-top: 18px;
	border-top: 1px solid var(--mo-line);
}
@media (max-width: 860px) {
	.mo-columns {
		grid-template-columns: 1fr;
		gap: 56px;
	}
}

/* Sivujen otsikkoalue ----------------------------------------------------------- */
.mo-pagehead {
	padding: 36px 0 34px;
	margin-bottom: 44px;
	background:
		radial-gradient(circle at 92% -20%, rgba(242, 194, 48, 0.16), transparent 42%),
		linear-gradient(180deg, var(--mo-sand), var(--mo-bg));
	border-bottom: 1px solid var(--mo-line);
}
.mo-pagehead--tight {
	margin-bottom: 24px;
}
.mo-pagehead__title {
	margin: 0;
	font-size: clamp(32px, 4.4vw, 50px);
	line-height: 1.1;
}
.mo-pagehead__page {
	font-family: var(--mo-font);
	font-size: 0.42em;
	font-weight: 500;
	color: var(--mo-muted);
	letter-spacing: 0;
	vertical-align: middle;
	margin-left: 6px;
}
.mo-pagehead__desc {
	max-width: 70ch;
	margin-top: 14px;
	font-size: 17px;
	color: var(--mo-ink-2);
}
.mo-pagehead__count {
	margin: 10px 0 0;
	color: var(--mo-muted);
	font-size: 15px;
}
.mo-pagehead__search {
	max-width: 640px;
	margin-top: 22px;
}
.mo-catmap {
	margin-top: 22px;
}
.mo-catmap__panel {
	margin-top: 18px;
}
.mo-catmap .mo-map {
	--mo-map-h: 380px;
}

/* Asettelu sivupalkilla --------------------------------------------------------- */
.mo-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
}
@media (min-width: 1024px) {
	.has-sidebar .mo-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}
.mo-layout__main {
	min-width: 0;
}

/* Sivupalkki ja vimpaimet */
.mo-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}
.mo-sidebar .widget {
	padding: 24px;
	background: var(--mo-surface);
	border: 1px solid var(--mo-line);
	border-radius: var(--mo-radius);
	font-size: 15px;
}
.widget__title,
.mo-sidebar .wp-block-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-family: var(--mo-font);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mo-ink);
}
.widget__title::before {
	content: "";
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: var(--mo-olive);
}
.mo-sidebar .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mo-sidebar .widget li {
	padding: 10px 0;
	border-top: 1px solid var(--mo-line);
	line-height: 1.4;
}
.mo-sidebar .widget li:first-child {
	border-top: 0;
	padding-top: 0;
}
.mo-sidebar .widget li:last-child {
	padding-bottom: 0;
}
.mo-sidebar .widget a {
	color: var(--mo-ink);
	text-decoration: none;
	font-weight: 500;
}
.mo-sidebar .widget a:hover {
	color: var(--mo-red);
}
.mo-sidebar .textwidget {
	line-height: 2;
	color: var(--mo-muted);
}
.mo-sidebar .textwidget a {
	font-weight: 500;
}
@media (max-width: 1023.98px) {
	.mo-sidebar {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
}

/* Artikkeli -------------------------------------------------------------------- */
.mo-article__head {
	padding-top: 30px;
	padding-bottom: 28px;
}
.mo-article__head > * {
	max-width: 900px;
}
.mo-article__pills {
	margin-bottom: 14px;
}
.mo-article__title {
	margin: 0 0 18px;
	font-size: clamp(32px, 4.6vw, 52px);
	line-height: 1.08;
}
.mo-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: 0;
	color: var(--mo-muted);
	font-size: 14.5px;
}
.mo-article__meta > * {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.mo-article__meta a {
	color: var(--mo-muted);
	text-decoration: none;
}
.mo-article__meta a:hover {
	color: var(--mo-red);
}
.mo-article__meta .mo-icon {
	width: 17px;
	height: 17px;
	color: var(--mo-red);
}
.mo-article__hero {
	margin-block: 0 44px;
}
.mo-article__hero img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: 22px;
	background: var(--mo-sand);
}
.mo-article__hero figcaption {
	margin-top: 10px;
	font-size: 13.5px;
	color: var(--mo-muted);
}
@media (max-width: 640px) {
	.mo-article__hero img {
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}
}
.mo-prose .mo-article__lead-img {
	margin: 0 0 1.6em;
}
.mo-prose .mo-article__lead-img img {
	display: block;
	width: auto;
	max-width: 100%;
	border-radius: 16px;
}
.mo-article__foot {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--mo-line);
}
.mo-article__foot .mo-chips {
	margin-top: 0;
}

/* Tekstisisältö (prose) */
.mo-prose {
	max-width: 740px;
	font-size: 18px;
	line-height: 1.75;
	color: #2a2d33;
	overflow-wrap: break-word;
}
.mo-prose::after {
	content: "";
	display: table;
	clear: both;
}
.mo-prose > :first-child {
	margin-top: 0;
}
.mo-prose p,
.mo-prose ul,
.mo-prose ol,
.mo-prose blockquote,
.mo-prose table,
.mo-prose figure,
.mo-prose pre {
	margin: 0 0 1.25em;
}
.mo-prose h2 {
	margin: 1.9em 0 0.6em;
	font-size: clamp(25px, 2.6vw, 31px);
}
.mo-prose h3 {
	margin: 1.6em 0 0.5em;
	font-size: clamp(21px, 2.2vw, 24px);
}
.mo-prose h4 {
	margin: 1.5em 0 0.5em;
	font-size: 19px;
	font-family: var(--mo-font);
	font-weight: 700;
}
.mo-prose a {
	color: var(--mo-red);
	text-decoration: underline;
	text-decoration-color: rgba(179, 54, 43, 0.35);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}
.mo-prose a:hover {
	text-decoration-color: currentColor;
}
.mo-prose ul,
.mo-prose ol {
	padding-left: 1.3em;
}
.mo-prose li {
	margin-bottom: 0.4em;
}
.mo-prose li::marker {
	color: var(--mo-red);
}
.mo-prose strong {
	color: var(--mo-ink);
}
.mo-prose blockquote {
	margin-left: 0;
	padding: 6px 0 6px 24px;
	border-left: 4px solid var(--mo-red);
	font-family: var(--mo-font-head);
	font-size: 1.15em;
	color: var(--mo-ink);
}
.mo-prose hr {
	border: 0;
	height: 1px;
	background: var(--mo-line);
	margin: 2.5em 0;
}
.mo-prose img {
	border-radius: 12px;
}
.mo-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	display: block;
	overflow-x: auto;
}
.mo-prose th,
.mo-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--mo-line);
	text-align: left;
	vertical-align: top;
}
.mo-prose th {
	background: var(--mo-sand);
	font-weight: 600;
}
.mo-prose iframe {
	border: 0;
	border-radius: 12px;
}
.mo-prose .wp-caption,
.mo-prose figure {
	max-width: 100%;
}
.mo-prose .wp-caption img,
.mo-prose figure img {
	display: block;
}
.mo-prose .wp-caption-text,
.mo-prose figcaption {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mo-muted);
}
.alignleft,
.alignright,
.aligncenter,
.alignnone {
	max-width: 100%;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.mo-prose .aligncenter {
	margin-bottom: 1.4em;
}
@media (min-width: 600px) {
	.mo-prose .alignleft {
		float: left;
		max-width: 48%;
		margin: 0.35em 1.6em 1em 0;
	}
	.mo-prose .alignright {
		float: right;
		max-width: 48%;
		margin: 0.35em 0 1em 1.6em;
	}
}
@media (max-width: 599.98px) {
	.mo-prose .alignleft,
	.mo-prose .alignright {
		display: block;
		margin: 0 auto 1.2em;
	}
}
.mo-prose .alignwide,
.mo-prose .alignfull {
	max-width: none;
}
.mo-prose .wp-block-image,
.mo-prose .wp-block-embed {
	margin-block: 1.6em;
}

/* Mainospaikat (sivuston oma mainoslisäosa) */
.acontent {
	clear: both;
	margin: 2em auto;
	padding-top: 22px;
	position: relative;
	text-align: center;
	max-width: 100%;
	overflow: hidden;
}
.acontent::before {
	content: "Mainos";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #a3a6ad;
}

/* Videot ja upotukset */
.mo-video {
	position: relative;
	margin: 1.6em 0;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
}
.mo-yt {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
}
.mo-yt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	border-radius: 0 !important;
	opacity: 0.92;
	transition: opacity 0.2s;
}
.mo-yt:hover img {
	opacity: 1;
}
.mo-yt__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mo-red);
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s var(--mo-ease), background 0.2s;
}
.mo-yt__play .mo-icon {
	width: 32px;
	height: 32px;
	margin-left: 4px;
	stroke: none;
}
.mo-yt:hover .mo-yt__play {
	transform: scale(1.08);
	background: var(--mo-red-dark);
}
.mo-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 0;
}
.mo-embed iframe,
.mo-prose iframe[src*="youtube"],
.mo-prose iframe[src*="vimeo"] {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Paneelit: sijainti, lähellä */
.mo-panel {
	margin-top: 44px;
	padding: 26px;
	background: var(--mo-surface);
	border: 1px solid var(--mo-line);
	border-radius: 20px;
}
.mo-panel__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 24px;
}
.mo-panel__title .mo-icon {
	color: var(--mo-red);
}
.mo-geo .mo-map {
	--mo-map-h: 340px;
}
.mo-geo__subtitle {
	margin: 26px 0 14px;
	font-family: var(--mo-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mo-muted);
}
.mo-near {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (max-width: 600px) {
	.mo-near {
		grid-template-columns: 1fr;
	}
}
.mo-near a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 12px;
	color: var(--mo-ink);
	text-decoration: none;
	transition: background 0.2s;
}
.mo-near a:hover {
	background: var(--mo-sand);
}
.mo-near__media {
	position: relative;
	flex: none;
	width: 72px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--mo-sand);
}
.mo-near__media .mo-placeholder .mo-icon {
	width: 22px;
	height: 22px;
}
.mo-near__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.mo-near__title {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
}
.mo-near a:hover .mo-near__title {
	color: var(--mo-red);
}
.mo-near__km {
	font-size: 13px;
	color: var(--mo-muted);
}

/* Lue myös */
.mo-related {
	margin-top: 56px;
}
.mo-related__title {
	margin: 0 0 22px;
	font-size: 28px;
}
.mo-related .mo-card__title {
	font-size: 18px;
}

/* Sivut */
.mo-page .mo-pagehead {
	margin-bottom: 36px;
}
.mo-page__hero {
	margin: 0 0 32px;
}
.mo-page__hero img {
	width: 100%;
	border-radius: 18px;
}
.mo-mappage__text {
	margin-top: 36px;
}
.mo-map--page {
	--mo-map-h: 72vh;
	min-height: 420px;
}

/* 404 ja tyhjä */
.mo-404 {
	padding: 70px 0 10px;
	text-align: center;
}
.mo-404 .mo-pagehead__title {
	margin-bottom: 14px;
}
.mo-404 .mo-search {
	max-width: 560px;
	margin: 28px auto 0;
}
.mo-404__icon,
.mo-empty__icon {
	margin: 0 0 16px;
	color: var(--mo-red);
}
.mo-404__icon .mo-icon,
.mo-empty__icon .mo-icon {
	width: 54px;
	height: 54px;
	stroke-width: 1.4;
}
.mo-lead {
	font-size: 19px;
	color: var(--mo-ink-2);
}
.mo-empty {
	padding: 48px 24px;
	text-align: center;
	background: var(--mo-surface);
	border: 1px dashed var(--mo-line-2);
	border-radius: 20px;
}

/* Sivutus */
.mo-pagination {
	margin-top: 56px;
}
.mo-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mo-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--mo-surface);
	box-shadow: inset 0 0 0 1px var(--mo-line);
	color: var(--mo-ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: box-shadow 0.2s, color 0.2s;
}
.mo-pagination a.page-numbers:hover {
	color: var(--mo-red);
	box-shadow: inset 0 0 0 1px var(--mo-red);
}
.mo-pagination .page-numbers.current {
	background: var(--mo-ink);
	color: #fff;
	box-shadow: none;
}
.mo-pagination .page-numbers.dots {
	background: none;
	box-shadow: none;
}
.mo-pagination .mo-icon {
	width: 18px;
	height: 18px;
}
.mo-pagelinks {
	margin-top: 24px;
	font-weight: 600;
}

/* Kommentit */
.mo-comments {
	margin-top: 56px;
	padding-top: 36px;
	border-top: 1px solid var(--mo-line);
	max-width: 740px;
}
.mo-comments__title {
	font-size: 26px;
	margin-bottom: 22px;
}
.mo-comments__list,
.mo-comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mo-comments__list .children {
	margin-left: 28px;
	padding-left: 18px;
	border-left: 2px solid var(--mo-line);
}
.mo-comments__list .comment-body {
	padding: 20px 0;
	border-bottom: 1px solid var(--mo-line);
}
.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin-bottom: 10px;
	font-size: 14px;
}
.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}
.comment-author .avatar {
	border-radius: 50%;
}
.comment-author .fn {
	font-weight: 700;
	font-style: normal;
}
.comment-author .says {
	display: none;
}
.comment-metadata a {
	color: var(--mo-muted);
	text-decoration: none;
}
.comment-content {
	font-size: 16px;
}
.reply a {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.comment-respond {
	margin-top: 36px;
}
.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--mo-line-2);
	border-radius: 12px;
	background: var(--mo-surface);
	font: inherit;
	font-size: 16px;
	color: var(--mo-ink);
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--mo-red);
	box-shadow: 0 0 0 4px var(--mo-red-soft);
}
.comment-form p {
	margin-bottom: 16px;
}
.comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
}
.comment-form-cookies-consent label {
	font-weight: 400;
}
.comment-notes,
.logged-in-as {
	font-size: 14px;
	color: var(--mo-muted);
}

/* Kartta ------------------------------------------------------------------------ */
.mo-map {
	position: relative;
	height: var(--mo-map-h, 420px);
	border-radius: var(--mo-radius);
	overflow: hidden;
	background: #dfe8ea;
	z-index: 0;
}
.mo-map__status {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #6c7a80;
	font-size: 15px;
	background:
		repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.5) 39px 40px),
		repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.5) 39px 40px),
		#dfe8ea;
	z-index: 500;
	transition: opacity 0.3s;
}
.mo-map__status .mo-icon {
	width: 34px;
	height: 34px;
	animation: mo-spin 6s linear infinite;
}
.mo-map.is-ready .mo-map__status {
	opacity: 0;
	pointer-events: none;
}
@keyframes mo-spin {
	to {
		transform: rotate(360deg);
	}
}
.mo-map .leaflet-container,
.mo-map.leaflet-container {
	font-family: var(--mo-font);
	background: #dfe8ea;
}
.mo-map .leaflet-control-attribution {
	font-size: 11px;
	background: rgba(255, 255, 255, 0.8);
}
.mo-map .leaflet-bar {
	border: 0;
	box-shadow: var(--mo-shadow);
	border-radius: 12px;
	overflow: hidden;
}
.mo-map .leaflet-bar a {
	width: 36px;
	height: 36px;
	line-height: 36px;
	color: var(--mo-ink);
}
.mo-map__tip {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 600;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(27, 29, 34, 0.82);
	color: #fff;
	font-size: 13px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s;
}
.mo-map__tip.is-visible {
	opacity: 1;
}

.mo-marker {
	background: none;
	border: 0;
}
.mo-marker span {
	position: absolute;
	left: 50%;
	bottom: 6px;
	width: 26px;
	height: 26px;
	margin-left: -13px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	transform-origin: center;
	background: var(--mo-red);
	border: 2px solid #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.15s;
}
.mo-marker span::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: #fff;
}
.mo-marker:hover span {
	transform: rotate(-45deg) scale(1.15);
}
.mo-marker.is-current span {
	width: 34px;
	height: 34px;
	margin-left: -17px;
	bottom: 8px;
	background: var(--mo-ink);
	box-shadow: 0 0 0 6px rgba(179, 54, 43, 0.25), 0 4px 10px rgba(0, 0, 0, 0.35);
}
.mo-cluster {
	background: none;
}
.mo-cluster div {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--mo-red);
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	box-shadow: 0 0 0 5px rgba(179, 54, 43, 0.25), 0 4px 10px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s;
}
.mo-cluster.is-medium div {
	background: #9a2d24;
	box-shadow: 0 0 0 7px rgba(179, 54, 43, 0.22), 0 4px 10px rgba(0, 0, 0, 0.25);
}
.mo-cluster.is-large div {
	background: var(--mo-ink);
	box-shadow: 0 0 0 8px rgba(27, 29, 34, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3);
}
.mo-cluster:hover div {
	transform: scale(1.08);
}

.mo-map .leaflet-popup-content-wrapper {
	border-radius: 16px;
	padding: 0;
	box-shadow: var(--mo-shadow-lg);
	overflow: hidden;
}
.mo-map .leaflet-popup-content {
	margin: 0;
	width: 250px !important;
	font-size: 14px;
	line-height: 1.4;
}
.mo-map .leaflet-popup-close-button {
	top: 6px !important;
	right: 6px !important;
	width: 28px !important;
	height: 28px !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9) !important;
	color: var(--mo-ink) !important;
	font: 20px/26px var(--mo-font) !important;
	text-align: center;
	z-index: 2;
}
.mo-pop__img {
	display: block;
	height: 130px;
	background: var(--mo-sand) center / cover no-repeat;
}
.mo-pop__body {
	padding: 12px 16px 14px;
}
.mo-pop__cat {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tone, var(--mo-red));
}
.mo-pop__title {
	display: block;
	font-family: var(--mo-font-head);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--mo-ink) !important;
	text-decoration: none;
	margin-bottom: 8px;
}
.mo-pop__title:hover {
	color: var(--mo-red) !important;
}
.mo-pop__more {
	font-size: 13px;
	font-weight: 600;
	color: var(--mo-red) !important;
	text-decoration: none;
}
.mo-pop__here {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--mo-muted);
}

/* Alatunniste -------------------------------------------------------------------- */
.mo-footer {
	margin-top: 96px;
	background: #15171b;
	color: #b8bcc4;
	font-size: 15px;
}
.mo-footer a {
	color: #e3e5e9;
	text-decoration: none;
}
.mo-footer a:hover {
	color: #fff;
	text-decoration: underline;
}
.mo-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-top: 60px;
	padding-bottom: 44px;
}
.mo-footer__logo img {
	display: block;
	height: 44px;
	width: auto;
}
.mo-footer__brand p {
	margin-top: 20px;
	max-width: 38ch;
	line-height: 1.65;
}
.mo-footer__title {
	margin: 0 0 14px;
	font-family: var(--mo-font);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}
.mo-footer__title a {
	color: #fff;
}
.mo-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mo-footer li {
	margin-bottom: 8px;
}
.mo-footer__widgets .widget__title {
	color: #fff;
}
.mo-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 20px;
	padding-top: 20px;
	padding-bottom: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}
.mo-footer__bottom p {
	margin: 0;
}
.mo-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--mo-red) 0 60%, var(--mo-sun) 60% 80%, var(--mo-olive) 80% 100%);
}
@media (max-width: 960px) {
	.mo-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mo-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 520px) {
	.mo-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.mo-footer {
		margin-top: 72px;
	}
}

/* WordPressin vakioluokat ----------------------------------------------------- */
.sticky,
.bypostauthor,
.gallery-caption {
	/* WordPress-teemavaatimus */
}
.wp-block-image figcaption {
	text-align: left;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 1.5em;
}
.gallery-columns-2 {
	--cols: 2;
}
.gallery-columns-4 {
	--cols: 4;
}
.gallery-item {
	margin: 0;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1;
}
@media print {
	.mo-header,
	.mo-footer,
	.mo-sidebar,
	.mo-related,
	.mo-geo,
	.mo-comments,
	.acontent {
		display: none !important;
	}
}

/* ==========================================================================
   Artikkelin rakenteet (1.1): pikatiedot, sisällys, taulukot, huomiolaatikot,
   usein kysytyt, alakohteet ja sisarkohteet
   ========================================================================== */
.mo-facts {
	margin: 0 0 1.6em;
	padding: 20px 22px 8px;
	background: var(--mo-sand);
	border: 1px solid var(--mo-line);
	border-radius: var(--mo-radius);
	font-size: 15.5px;
	line-height: 1.5;
}
.mo-prose .mo-facts__title {
	margin: 0 0 12px;
	font-family: var(--mo-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mo-red);
}
.mo-facts__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 28px;
	margin: 0;
}
@media (min-width: 640px) {
	.mo-facts__list {
		grid-template-columns: 1fr 1fr;
	}
}
.mo-facts__row {
	display: grid;
	grid-template-columns: minmax(110px, 38%) 1fr;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--mo-line-2);
}
.mo-facts dt {
	font-weight: 600;
	color: var(--mo-ink);
}
.mo-facts dd {
	margin: 0;
	color: var(--mo-ink-2);
}
.mo-toc {
	margin: 0 0 1.8em;
	padding: 16px 22px;
	border: 1px solid var(--mo-line);
	border-left: 4px solid var(--mo-red);
	border-radius: var(--mo-radius-sm);
	background: var(--mo-surface);
	font-size: 16px;
}
.mo-toc summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--mo-ink);
}
.mo-prose .mo-toc ol {
	margin: 10px 0 4px;
	padding-left: 1.4em;
	columns: 1;
}
@media (min-width: 760px) {
	.mo-prose .mo-toc ol {
		columns: 2;
		column-gap: 32px;
	}
}
.mo-prose .mo-toc li {
	break-inside: avoid;
	margin-bottom: 0.3em;
}
.mo-prose .mo-toc a {
	text-decoration: none;
}
.mo-table {
	margin: 0 0 1.4em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--mo-line);
	border-radius: var(--mo-radius-sm);
}
.mo-prose .mo-table table {
	display: table;
	margin: 0;
	min-width: 100%;
	font-size: 15px;
}
.mo-prose .mo-table table th:first-child,
.mo-prose .mo-table table td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	background: var(--mo-surface);
	font-weight: 600;
}
.mo-prose .mo-table table th:first-child {
	background: var(--mo-sand);
}
.mo-prose .mo-table tr:last-child td {
	border-bottom: 0;
}
.mo-climate td,
.mo-climate th {
	text-align: center !important;
	white-space: nowrap;
}
.mo-note,
.mo-tip,
.mo-warning {
	margin: 0 0 1.4em;
	padding: 16px 20px;
	border-radius: var(--mo-radius-sm);
	font-size: 16px;
	line-height: 1.6;
}
.mo-note > :last-child,
.mo-tip > :last-child,
.mo-warning > :last-child {
	margin-bottom: 0;
}
.mo-note {
	background: #eef4f8;
	border-left: 4px solid #3f7aa3;
}
.mo-tip {
	background: #f1f5e6;
	border-left: 4px solid var(--mo-olive);
}
.mo-warning {
	background: var(--mo-red-soft);
	border-left: 4px solid var(--mo-red);
}
.mo-faq {
	margin: 0 0 1.6em;
}
.mo-faq__item {
	border-bottom: 1px solid var(--mo-line);
}
.mo-faq__item summary {
	cursor: pointer;
	position: relative;
	padding: 14px 36px 14px 0;
	font-weight: 600;
	color: var(--mo-ink);
	list-style: none;
}
.mo-faq__item summary::-webkit-details-marker {
	display: none;
}
.mo-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: var(--mo-red);
}
.mo-faq__item[open] summary::after {
	content: "\2212";
}
.mo-faq__item[open] summary {
	color: var(--mo-red);
}
.mo-faq__item > :not(summary) {
	margin-top: 0;
}
.mo-subplaces {
	margin-top: 44px;
}
.mo-siblings__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mo-siblings__list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1px solid var(--mo-line-2);
	border-radius: 999px;
	color: var(--mo-ink);
	font-size: 15px;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}
.mo-siblings__list a:hover {
	border-color: var(--mo-red);
	color: var(--mo-red);
}
.mo-siblings__parent a {
	background: var(--mo-sand);
	font-weight: 600;
}
.mo-siblings__parent .mo-icon {
	width: 16px;
	height: 16px;
}
.mo-sources {
	margin-top: 2em;
	font-size: 14.5px;
	color: var(--mo-muted);
}
.mo-sources h2 {
	font-size: 20px;
}

.mo-credit {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--mo-muted);
}
.mo-credit a {
	color: inherit;
}
