/* ============================================================
   Wirmax — Single Post styles
   Brand: white BG, #047db8 primary (blue), blue accent (brand-väri),
          #36393c headings, #54595f body text, Bebas Neue headings,
          Montserrat body.
   ============================================================ */

:root {
	--wmx-primary:    #047db8;
	--wmx-primary-d:  #035a87;
	--wmx-accent:     #047db8;
	--wmx-accent-d:   #035a87;
	--wmx-text:       #36393c;
	--wmx-text-mute:  #54595f;
	--wmx-bg:         #ffffff;
	--wmx-bg-soft:    #f5f8fa;
	--wmx-bg-card:    #ebf0f5;
	--wmx-border:     #c8d0d7;
	--wmx-success:    #71b745;
	--wmx-radius:     8px;
	--wmx-radius-lg:  14px;
	--wmx-max:        1180px;
	--wmx-shadow:     0 4px 24px rgba(0, 0, 0, .06);
	--wmx-font-body:  "Montserrat", system-ui, sans-serif;
	--wmx-font-head:  "Bebas Neue", "Montserrat", system-ui, sans-serif;
}

/* Scope reset */
.wmx-article, .wmx-article * { box-sizing: border-box; }
.wmx-article {
	color: var(--wmx-text);
	font-family: var(--wmx-font-body);
	line-height: 1.7;
	background: var(--wmx-bg);
}
.wmx-article img { max-width: 100%; height: auto; display: block; }

/* ---------- Reading progress ---------- */
.article-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 3px; z-index: 9000; pointer-events: none;
	background: transparent;
}
.article-progress span {
	display: block; height: 100%; width: 0%;
	background: var(--wmx-primary);
	transition: width 80ms linear;
}

/* ---------- Hero ---------- */
.wmx-hero {
	background: var(--wmx-bg);
	padding: clamp(2rem, 4vw, 3.5rem) 0 0;
}
.wmx-hero__container {
	max-width: var(--wmx-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}
.wmx-hero__category {
	display: inline-block;
	background: var(--wmx-primary);
	color: #fff;
	padding: 0.35em 0.9em;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	margin: 0.5em 0;
}
.wmx-hero__category:hover { background: var(--wmx-primary-d); color: #fff; }
.wmx-hero__title {
	font-family: var(--wmx-font-head);
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.005em;
	color: var(--wmx-text);
	margin: 0.4em 0 0.4em;
	max-width: 24ch;
}
.wmx-hero__lead {
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	color: var(--wmx-text-mute);
	max-width: 60ch;
	margin: 0 0 1.25rem;
}
.wmx-hero__meta {
	display: flex; flex-wrap: wrap; gap: 1rem;
	font-size: 0.9rem; color: var(--wmx-text-mute);
	margin-bottom: 1.5rem;
}
.wmx-hero__meta-item { display: inline-flex; align-items: baseline; gap: 0.4em; }
.wmx-hero__meta-label { font-weight: 600; color: var(--wmx-text); }
.wmx-hero__image {
	margin: 0;
	max-width: var(--wmx-max);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}
.wmx-hero__image-img {
	width: 100%;
	border-radius: var(--wmx-radius-lg);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* ---------- Breadcrumbs ---------- */
.wmx-breadcrumb ol, .wmx-breadcrumb {
	list-style: none; margin: 0 0 0.5em; padding: 0;
	display: flex; flex-wrap: wrap; gap: 0.5rem;
	font-size: 0.85rem; color: var(--wmx-text-mute);
}
.wmx-breadcrumb a { color: var(--wmx-text-mute); text-decoration: none; }
.wmx-breadcrumb a:hover { color: var(--wmx-primary); }
.wmx-breadcrumb li + li::before {
	content: "›"; margin-right: 0.4rem; color: var(--wmx-border);
}
.wmx-breadcrumb [aria-current="page"] { color: var(--wmx-text); font-weight: 500; }

/* ---------- Layout (2-col) ---------- */
.wmx-article__container {
	max-width: var(--wmx-max);
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}
.wmx-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 1024px) {
	.wmx-article__layout {
		grid-template-columns: minmax(0, 1fr) 340px;
	}
}

.wmx-article__main { min-width: 0; }

/* ---------- Article content ---------- */
.wmx-article__content {
	font-size: 1.05rem;
	color: var(--wmx-text);
}
.wmx-article__content > * + * { margin-top: 1.25em; }
.wmx-article__content h2,
.wmx-article__content h3,
.wmx-article__content h4 {
	font-family: var(--wmx-font-head);
	color: var(--wmx-text);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 2em;
	margin-bottom: 0.5em;
	scroll-margin-top: 100px;
}
.wmx-article__content h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: 0.01em; }
.wmx-article__content h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
.wmx-article__content a {
	color: var(--wmx-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.wmx-article__content a:hover { color: var(--wmx-primary-d); }
.wmx-article__content ul, .wmx-article__content ol { padding-left: 1.4em; }
.wmx-article__content li + li { margin-top: 0.3em; }
.wmx-article__content blockquote {
	border-left: 4px solid var(--wmx-primary);
	background: var(--wmx-bg-soft);
	padding: 1em 1.25em;
	margin: 1.5em 0;
	font-style: italic;
	border-radius: 0 var(--wmx-radius) var(--wmx-radius) 0;
}
.wmx-article__content img,
.wmx-article__content figure {
	border-radius: var(--wmx-radius);
	margin: 1.5em 0;
}
.wmx-article__content figcaption {
	font-size: 0.85rem;
	color: var(--wmx-text-mute);
	margin-top: 0.4em;
	text-align: center;
}

/* ---------- TL;DR ---------- */
.wmx-tldr {
	background: linear-gradient(135deg, #f5f8fa 0%, #ebf0f5 100%);
	border-left: 5px solid var(--wmx-primary);
	border-radius: var(--wmx-radius);
	padding: 1.25rem 1.5rem;
	margin: 0 0 2rem;
}
.wmx-tldr__label {
	margin: 0 0 0.5em;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wmx-primary);
	font-weight: 700;
}
.wmx-tldr__body p:last-child { margin-bottom: 0; }
.wmx-tldr__body { color: var(--wmx-text); line-height: 1.65; }

/* ---------- Price box ---------- */
.wmx-price-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	background: #eef5fa;
	border: 1px solid #cfe4f2;
	border-left: 5px solid var(--wmx-accent);
	border-radius: var(--wmx-radius);
	padding: 1.25rem 1.5rem;
	margin: 0 0 2rem;
}
.wmx-price-box__main { flex: 1 1 250px; min-width: 0; }
.wmx-price-box__label {
	margin: 0 0 4px;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #035a87;
	font-weight: 700;
}
.wmx-price-box__value {
	margin: 0;
	font-family: var(--wmx-font-head);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 700;
	color: var(--wmx-text);
	line-height: 1.1;
}
.wmx-price-box__note {
	margin: 0.4em 0 0;
	font-size: 0.9rem;
	color: var(--wmx-text-mute);
}
.wmx-price-box__cta {
	display: inline-flex; align-items: center;
	background: var(--wmx-primary);
	color: #fff !important;
	text-decoration: none !important;
	padding: 0.8em 1.4em;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: background 0.15s, transform 0.15s;
}
.wmx-price-box__cta:hover { background: var(--wmx-primary-d); transform: translateY(-1px); }

/* ---------- TOC ---------- */
.wmx-toc {
	background: var(--wmx-bg-soft);
	border: 1px solid var(--wmx-border);
	border-radius: var(--wmx-radius);
	padding: 1rem 1.25rem;
	margin: 0 0 2rem;
}
.wmx-toc__toggle {
	display: flex; justify-content: space-between; align-items: center;
	width: 100%;
	background: transparent;
	border: 0; padding: 0; cursor: pointer;
	font: inherit;
	font-weight: 600;
	color: var(--wmx-text);
}
.wmx-toc__chevron::before {
	content: "−"; font-size: 1.3em; transition: transform 200ms;
}
.wmx-toc[data-toc-collapsed] .wmx-toc__chevron::before { content: "+"; }
.wmx-toc__list {
	list-style: decimal;
	padding-left: 1.5em;
	margin: 1em 0 0;
}
.wmx-toc__list li { margin: 0.4em 0; }
.wmx-toc__list a {
	color: var(--wmx-text-mute);
	text-decoration: none;
	transition: color 150ms;
}
.wmx-toc__list a:hover,
.wmx-toc__list a.is-active { color: var(--wmx-primary); font-weight: 500; }
.wmx-toc__list li.is-h3 { padding-left: 1.2em; list-style: none; }
.wmx-toc__list li.is-h3::before {
	content: "›"; color: var(--wmx-border); margin-right: 0.4em;
}

/* ---------- Inline CTA ---------- */
.wmx-inline-cta {
	background: linear-gradient(135deg, var(--wmx-primary) 0%, var(--wmx-primary-d) 100%);
	border-radius: var(--wmx-radius-lg);
	padding: 1.5rem 1.75rem;
	margin: 2.5em 0;
	color: #fff;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap;
}
.wmx-inline-cta__body { flex: 1 1 280px; min-width: 0; }
.wmx-inline-cta__title {
	font-family: var(--wmx-font-head);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.04em; /* Bebas Neue (caps) väljemmäksi — ei ahdasta */
	margin: 0 0 0.3em;
}
.wmx-inline-cta__lead {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
}
.wmx-inline-cta__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.wmx-inline-cta .wmx-btn--primary { background: #fff; color: var(--wmx-primary); }
.wmx-inline-cta .wmx-btn--primary:hover { background: #eaf4fb; color: var(--wmx-primary-d); }
.wmx-inline-cta .wmx-btn--ghost {
	background: transparent; color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.wmx-inline-cta .wmx-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---------- Buttons ---------- */
.wmx-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 0.4em;
	padding: 0.8em 1.5em;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none !important;
	text-align: center;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.wmx-btn--lg { padding: 1em 2em; font-size: 1.05rem; }
.wmx-btn--full { width: 100%; }
.wmx-btn--primary { background: var(--wmx-primary); color: #fff; }
.wmx-btn--primary:hover { background: var(--wmx-primary-d); color: #fff; transform: translateY(-1px); }
.wmx-btn--ghost {
	background: transparent;
	color: var(--wmx-text);
	border-color: var(--wmx-border);
}
.wmx-btn--ghost:hover { background: var(--wmx-bg-soft); color: var(--wmx-text); }
.wmx-btn--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}
.wmx-btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---------- Sidebar CTA ---------- */
.wmx-article__sidebar { min-width: 0; }
.wmx-article__sidebar-sticky {
	position: sticky;
	top: 100px;
}
.wmx-sidebar-cta {
	background: #fff;
	border: 1px solid var(--wmx-border);
	border-top: 5px solid var(--wmx-primary);
	border-radius: var(--wmx-radius);
	padding: 1.5rem 1.4rem;
	box-shadow: var(--wmx-shadow);
}
.wmx-sidebar-cta__eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wmx-primary);
	font-weight: 700;
	margin: 0 0 0.4em;
}
.wmx-sidebar-cta__title {
	font-family: var(--wmx-font-head);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wmx-text);
	margin: 0 0 0.5em;
	line-height: 1.15;
}
.wmx-sidebar-cta__lead { margin: 0 0 1em; font-size: 0.95rem; color: var(--wmx-text-mute); line-height: 1.55; }
.wmx-sidebar-cta__perks {
	list-style: none; margin: 0 0 1em; padding: 0;
	display: flex; flex-direction: column; gap: 0.4em;
	font-size: 0.9rem; color: var(--wmx-text-mute);
}
.wmx-sidebar-cta__perks li { display: flex; align-items: center; gap: 0.5em; }
.wmx-sidebar-cta__check { color: var(--wmx-success); font-weight: 700; font-size: 1.1em; }
.wmx-sidebar-cta__form { margin: 0 0 1em; }
.wmx-sidebar-cta__form .fluentform { padding: 0; margin: 0; }
.wmx-sidebar-cta__form .ff-el-form-control,
.wmx-sidebar-cta__form input[type="text"],
.wmx-sidebar-cta__form input[type="email"],
.wmx-sidebar-cta__form input[type="tel"],
.wmx-sidebar-cta__form textarea {
	width: 100%;
	border: 1px solid var(--wmx-border);
	border-radius: var(--wmx-radius);
	padding: 0.6em 0.8em;
	font: inherit;
	font-size: 0.95rem;
}
.wmx-sidebar-cta__form .ff-btn,
.wmx-sidebar-cta__form button[type="submit"] {
	width: 100%;
	background: var(--wmx-primary) !important;
	color: #fff !important;
	border-radius: 999px;
	padding: 0.85em 1em;
	font-weight: 600;
	border: 0;
	cursor: pointer;
}
.wmx-sidebar-cta__form .ff-btn:hover { background: var(--wmx-primary-d) !important; }

/* ---------- Customer story ---------- */
.wmx-customer-story {
	background: var(--wmx-bg-soft);
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}
.wmx-customer-story__inner {
	max-width: var(--wmx-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	background: #fff;
	border-radius: var(--wmx-radius-lg);
	overflow: hidden;
	box-shadow: var(--wmx-shadow);
}
@media (min-width: 768px) {
	.wmx-customer-story__inner { grid-template-columns: 1fr 1.4fr; }
}
.wmx-customer-story__image {
	display: block;
	min-height: 240px;
	background-size: cover;
	background-position: center;
	background-color: var(--wmx-bg-card);
}
@media (min-width: 768px) {
	.wmx-customer-story__image { min-height: 100%; }
}
.wmx-customer-story__body {
	padding: 1.75rem 2rem 2rem;
	display: flex; flex-direction: column; justify-content: center;
}
.wmx-customer-story__eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wmx-primary);
	font-weight: 700;
	margin: 0 0 0.5em;
}
.wmx-customer-story__title {
	font-family: var(--wmx-font-head);
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	font-weight: 700;
	margin: 0 0 0.5em;
	line-height: 1.15;
}
.wmx-customer-story__title a { color: var(--wmx-text); text-decoration: none; }
.wmx-customer-story__title a:hover { color: var(--wmx-primary); }
.wmx-customer-story__excerpt { color: var(--wmx-text-mute); margin: 0 0 1em; line-height: 1.6; }
.wmx-customer-story__link {
	color: var(--wmx-primary); font-weight: 600; text-decoration: none;
}
.wmx-customer-story__link:hover { color: var(--wmx-primary-d); text-decoration: underline; }

/* ---------- End CTA ---------- */
.wmx-article__end-cta {
	background: linear-gradient(135deg, var(--wmx-primary) 0%, var(--wmx-primary-d) 100%);
	color: #fff;
	padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
}
.wmx-end-cta__inner {
	max-width: var(--wmx-max);
	margin: 0 auto;
	text-align: center;
}
.wmx-end-cta__eyebrow {
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #cfeefc;
	font-weight: 700;
	margin: 0 0 0.5em;
}
.wmx-end-cta__title {
	font-family: var(--wmx-font-head);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	margin: 0 0 0.5em;
	color: #fff;
	line-height: 1.1;
}
.wmx-end-cta__lead {
	max-width: 60ch; margin: 0 auto 1.5em;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.05rem;
}
.wmx-end-cta__actions {
	display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
.wmx-article__end-cta .wmx-btn--primary { background: #fff; color: var(--wmx-primary); }
.wmx-article__end-cta .wmx-btn--primary:hover { background: #eaf4fb; color: var(--wmx-primary-d); }

/* ---------- Related posts ---------- */
.wmx-related {
	background: var(--wmx-bg);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}
.wmx-related__inner { max-width: var(--wmx-max); margin: 0 auto; }
.wmx-related__title {
	font-family: var(--wmx-font-head);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
}
.wmx-related__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px)  { .wmx-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wmx-related__grid { grid-template-columns: repeat(3, 1fr); } }

.wmx-related__link {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--wmx-border);
	border-radius: var(--wmx-radius);
	overflow: hidden;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.wmx-related__link:hover {
	transform: translateY(-3px);
	box-shadow: var(--wmx-shadow);
	border-color: var(--wmx-primary);
}
.wmx-related__image {
	display: block; aspect-ratio: 16 / 10;
	background-size: cover; background-position: center;
	background-color: var(--wmx-bg-card);
}
.wmx-related__body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.4em; }
.wmx-related__category {
	font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wmx-primary); font-weight: 700;
}
.wmx-related__heading {
	font-family: var(--wmx-font-head);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--wmx-text);
	line-height: 1.25;
}
.wmx-related__meta { font-size: 0.85rem; color: var(--wmx-text-mute); }

/* ---------- FAQ ---------- */
.wmx-faq { margin: 3em 0 1em; }
.wmx-faq__title {
	font-family: var(--wmx-font-head);
	font-size: clamp(1.6rem, 2.5vw, 2.1rem);
	font-weight: 700;
	color: var(--wmx-text);
	margin: 0 0 1.25rem;
}
.wmx-faq__item {
	border: 1px solid var(--wmx-border);
	border-radius: var(--wmx-radius);
	margin-bottom: 0.75em;
	overflow: hidden;
	background: #fff;
}
.wmx-faq__question {
	display: flex; justify-content: space-between; align-items: center;
	gap: 1em;
	padding: 1em 1.25em;
	cursor: pointer;
	font-weight: 600;
	color: var(--wmx-text);
	list-style: none;
}
.wmx-faq__question::-webkit-details-marker { display: none; }
.wmx-faq__icon::before { content: "+"; font-size: 1.4em; color: var(--wmx-primary); }
.wmx-faq__item[open] .wmx-faq__icon::before { content: "−"; }
.wmx-faq__answer {
	padding: 0 1.25em 1.25em;
	color: var(--wmx-text-mute);
	line-height: 1.7;
}
.wmx-faq__answer p:first-child { margin-top: 0; }
.wmx-faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Accessibility ---------- */
.wmx-article :focus-visible {
	outline: 3px solid var(--wmx-accent);
	outline-offset: 2px;
	border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ============================================================
   VISUAL LIFE — visuaalinen rytmi, hierarkkia ja brand-aksentit
   Lisätty 2026-05-14: vältä "valkoista tekstiseinää", tuo Wirmax-brändi näkyväksi.
   ============================================================ */

/* Hero: lisää keltainen koristelista vasemmalle reunalle + Wirmax-tunnusvärin tausta */
.wmx-hero {
	position: relative;
	background:
		radial-gradient(ellipse 1200px 400px at 80% -50%, rgba(4, 125, 184, 0.08), transparent 60%),
		linear-gradient(180deg, var(--wmx-bg-soft) 0%, var(--wmx-bg) 100%);
	padding-top: clamp(2.5rem, 5vw, 4rem);
}
.wmx-hero::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--wmx-accent) 0%, var(--wmx-primary) 100%);
}
@media (max-width: 768px) {
	.wmx-hero::before { display: none; }
}

/* Iso lead-paragraph: visuaalisesti erottuvampi */
.wmx-hero__lead {
	position: relative;
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	font-weight: 500;
	color: var(--wmx-text);
	padding-left: 1rem;
	border-left: 3px solid var(--wmx-accent);
}

/* H2-aksentti: keltainen pieni neliö ennen */
.wmx-article__content h2 {
	position: relative;
	padding-left: 1rem;
}
.wmx-article__content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 0.7em;
	background: var(--wmx-accent);
	border-radius: 2px;
}

/* Drop-cap: ensimmäisen kappaleen ensimmäinen kirjain isompi ja brand-värinen */
.wmx-article__content > p:first-of-type::first-letter {
	font-family: var(--wmx-font-head);
	font-size: 4em;
	float: left;
	line-height: 0.9;
	padding: 0.1em 0.15em 0 0;
	margin: 0;
	color: var(--wmx-primary);
	font-weight: 700;
}

/* Vahvistettu blockquote */
.wmx-article__content blockquote {
	position: relative;
	background: linear-gradient(135deg, #f5f8fa 0%, #ebf0f5 100%);
	border-left: 4px solid var(--wmx-primary);
	padding: 1.5em 1.5em 1.5em 4em;
	margin: 2em 0;
	font-style: italic;
	font-size: 1.1em;
	color: var(--wmx-text);
	border-radius: 0 var(--wmx-radius) var(--wmx-radius) 0;
}
.wmx-article__content blockquote::before {
	content: "";
	position: absolute;
	left: 1em;
	top: 1em;
	width: 2em;
	height: 2em;
	background: var(--wmx-accent);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.983 3v7.391c0 5.704-3.731 9.57-8.983 10.609l-.995-2.151c2.432-.917 3.995-3.638 3.995-5.849h-4v-10h9.983zm14.017 0v7.391c0 5.704-3.748 9.571-9 10.609l-.996-2.151c2.433-.917 3.996-3.638 3.996-5.849h-3.983v-10h9.983z'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.983 3v7.391c0 5.704-3.731 9.57-8.983 10.609l-.995-2.151c2.432-.917 3.995-3.638 3.995-5.849h-4v-10h9.983zm14.017 0v7.391c0 5.704-3.748 9.571-9 10.609l-.996-2.151c2.433-.917 3.996-3.638 3.996-5.849h-3.983v-10h9.983z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Korostetut bullet-list — keltainen aksentti ennen */
.wmx-article__content ul:not(.wmx-tldr__body ul) {
	list-style: none;
	padding-left: 0;
}
.wmx-article__content ul:not(.wmx-tldr__body ul) > li {
	position: relative;
	padding-left: 1.75em;
	margin-bottom: 0.5em;
}
.wmx-article__content ul:not(.wmx-tldr__body ul) > li::before {
	content: "";
	position: absolute;
	left: 0.25em;
	top: 0.55em;
	width: 0.7em;
	height: 0.7em;
	background: var(--wmx-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(4, 125, 184, 0.22);
}

/* Strong / bold-painotus: brand-värinen */
.wmx-article__content strong {
	color: var(--wmx-text);
	font-weight: 700;
	background: linear-gradient(180deg, transparent 65%, rgba(4, 125, 184, 0.16) 65%);
	padding: 0 0.1em;
}

/* TL;DR: enemmän visuaalista voimaa — quote-ikon vasemmalla */
.wmx-tldr {
	position: relative;
	background: linear-gradient(135deg, #eef5fa 0%, #dfeaf3 100%);
	border-left: 5px solid var(--wmx-primary);
	border-radius: var(--wmx-radius);
	padding: 1.5rem 1.75rem 1.5rem 4.5rem;
	margin: 0 0 2rem;
	overflow: hidden;
}
.wmx-tldr::before {
	content: "";
	position: absolute;
	left: 1.25rem;
	top: 1.5rem;
	width: 2rem;
	height: 2rem;
	background: var(--wmx-primary);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-6h2v6zm0-8h-2V7h2v4z'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-6h2v6zm0-8h-2V7h2v4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wmx-tldr__label {
	background: var(--wmx-primary);
	color: #fff;
	padding: 2px 10px;
	border-radius: 999px;
	display: inline-block;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 0.6em;
	font-weight: 700;
}

/* Hintahaarukka: korostettu numero + decoration */
.wmx-price-box {
	position: relative;
	background: #eef5fa;
	border: 2px solid #cfe4f2;
	border-left: 6px solid var(--wmx-accent);
	border-radius: var(--wmx-radius);
	padding: 1.25rem 1.5rem 1.25rem 4rem;
	margin: 0 0 2rem;
	box-shadow: 0 4px 16px rgba(4, 125, 184, 0.12);
}
.wmx-price-box::before {
	content: "€";
	position: absolute;
	left: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	background: var(--wmx-accent);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wmx-font-head);
	font-size: 1.3rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(4, 125, 184, 0.4);
}
.wmx-price-box__label { color: #035a87; }
.wmx-price-box__value {
	font-family: var(--wmx-font-head);
	letter-spacing: 0.005em;
}

/* TOC: pieni paranus — laittaa "Sisältö"-otsikon korostetusti */
.wmx-toc {
	background: linear-gradient(135deg, #f7fafc 0%, #ebf0f5 100%);
	border-color: var(--wmx-border);
	border-top: 4px solid var(--wmx-primary);
}
.wmx-toc__toggle { color: var(--wmx-text); font-family: var(--wmx-font-head); font-weight: 700; }

/* Inline-CTA: tunnustaa Wirmax-brändin paremmin */
.wmx-inline-cta {
	background: linear-gradient(135deg, var(--wmx-primary) 0%, #0469a0 100%);
	box-shadow: 0 10px 30px rgba(4, 125, 184, 0.25);
	position: relative;
	overflow: hidden;
}
.wmx-inline-cta::after {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

/* Sidebar CTA: top-border keltainen, jättää visuaalisen "lähetä"-painikkeen voimakkaammaksi */
.wmx-sidebar-cta {
	border-top: 5px solid var(--wmx-accent);
}
.wmx-sidebar-cta__title { font-family: var(--wmx-font-head); }
.wmx-sidebar-cta__form .ff-btn,
.wmx-sidebar-cta__form button[type="submit"] {
	background: linear-gradient(135deg, var(--wmx-primary) 0%, #0469a0 100%) !important;
	box-shadow: 0 4px 12px rgba(4, 125, 184, 0.3);
}

/* Customer story: lisätään pikku tähti-merkki + accent border */
.wmx-customer-story {
	background:
		radial-gradient(ellipse 800px 200px at 50% -50%, rgba(4, 125, 184, 0.08), transparent 60%),
		var(--wmx-bg-soft);
}
.wmx-customer-story__inner {
	position: relative;
	border-top: 4px solid var(--wmx-accent);
}

/* End-CTA: lisää koriste-shape brand-värisillä */
.wmx-article__end-cta {
	position: relative;
	overflow: hidden;
}
.wmx-article__end-cta::before {
	content: "";
	position: absolute;
	bottom: -200px;
	right: -200px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
	pointer-events: none;
}
.wmx-article__end-cta::after {
	content: "";
	position: absolute;
	top: -100px;
	left: -100px;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
	pointer-events: none;
}
.wmx-end-cta__inner { position: relative; z-index: 1; }

/* Related posts: paranna kortin visuaalisuus, lisätään category-pillin tausta */
.wmx-related__link { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.wmx-related__link:hover { transform: translateY(-5px); }
.wmx-related__category {
	background: rgba(4, 125, 184, 0.08);
	color: var(--wmx-primary);
	padding: 0.25em 0.7em;
	border-radius: 999px;
	display: inline-block;
	font-size: 0.7rem;
	width: fit-content;
}

/* FAQ: vähän tilaa + selvempi hover */
.wmx-faq__item {
	transition: border-color 0.2s, box-shadow 0.2s;
}
.wmx-faq__item:hover {
	border-color: var(--wmx-primary);
	box-shadow: 0 4px 12px rgba(4, 125, 184, 0.08);
}
.wmx-faq__item[open] {
	border-color: var(--wmx-primary);
	box-shadow: 0 4px 16px rgba(4, 125, 184, 0.1);
}

/* Korostuslaatikko: avaa class="wp-block-callout" tai "wmx-callout" sisältöön */
.wmx-article__content .wp-block-callout,
.wmx-article__content .wmx-callout {
	background: linear-gradient(135deg, #eef5fa 0%, #dcebf6 100%);
	border-left: 4px solid var(--wmx-accent);
	padding: 1.25em 1.5em;
	border-radius: 0 var(--wmx-radius) var(--wmx-radius) 0;
	margin: 1.5em 0;
}

/* Tilastokortit — wmx_render_stats() voi tulostaa nämä */
.wmx-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin: 2em 0;
}
.wmx-stat {
	background: #fff;
	border: 1px solid var(--wmx-border);
	border-top: 4px solid var(--wmx-primary);
	border-radius: var(--wmx-radius);
	padding: 1.25em 1em;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.wmx-stat__num {
	font-family: var(--wmx-font-head);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--wmx-primary);
	line-height: 1;
	display: block;
}
.wmx-stat__label {
	font-size: 0.85rem;
	color: var(--wmx-text-mute);
	display: block;
	margin-top: 0.4em;
}

/* Article body p-fontti: hieman suurempi luettavuus */
.wmx-article__content p { line-height: 1.75; }
.wmx-article__content > p:first-of-type { font-size: 1.1rem; }

/* Toinen taustabändi article-section välissä — auto-injectaa elämää */
.wmx-article__content::before,
.wmx-article__content::after { content: ""; display: block; }

/* ============================================================
   Bugikorjaukset 2026-05-15
   ============================================================ */

/* Bug 1: Sticky CTA — mahtuu näytölle (max-height + sisäinen scroll),
   ja tiivistetty muotoilu jotta lomake näkyy paremmin pienillä näytöillä. */
.wmx-article__sidebar-sticky {
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--wmx-border) transparent;
}
.wmx-article__sidebar-sticky::-webkit-scrollbar { width: 6px; }
.wmx-article__sidebar-sticky::-webkit-scrollbar-track { background: transparent; }
.wmx-article__sidebar-sticky::-webkit-scrollbar-thumb {
	background: var(--wmx-border); border-radius: 3px;
}
.wmx-sidebar-cta { padding: 1.15rem 1.1rem 1.25rem; }
.wmx-sidebar-cta__eyebrow { font-size: 0.7rem; margin: 0 0 0.3em; }
.wmx-sidebar-cta__title { font-size: 1.3rem; margin: 0 0 0.35em; line-height: 1.12; }
.wmx-sidebar-cta__lead { font-size: 0.85rem; margin: 0 0 0.7em; line-height: 1.45; }
.wmx-sidebar-cta__perks { font-size: 0.82rem; gap: 0.25em; margin: 0 0 0.7em; }
.wmx-sidebar-cta__check { font-size: 1em; }
.wmx-sidebar-cta__form { margin: 0 0 0.7em; }
.wmx-sidebar-cta__form .ff-el-form-control,
.wmx-sidebar-cta__form input[type="text"],
.wmx-sidebar-cta__form input[type="email"],
.wmx-sidebar-cta__form input[type="tel"],
.wmx-sidebar-cta__form textarea {
	padding: 0.45em 0.65em; font-size: 0.88rem;
}
.wmx-sidebar-cta__form textarea { min-height: 60px; }
.wmx-sidebar-cta__form .ff-el-input--label label,
.wmx-sidebar-cta__form .ff-el-input--label,
.wmx-sidebar-cta__form label {
	font-size: 0.72rem !important; margin-bottom: 0.15em !important;
}
.wmx-sidebar-cta__form .ff-el-group { margin-bottom: 0.5em !important; }
.wmx-sidebar-cta__form .ff-btn,
.wmx-sidebar-cta__form button[type="submit"] {
	padding: 0.7em 1em; font-size: 0.92rem;
}
.wmx-sidebar-cta .wmx-btn { padding: 0.65em 1em; font-size: 0.88rem; }

/* Bug 2: Hero — poista täysreunan keltainen pystystrippi joka ei kohdistu
   sisäisten keltaisten aksenttien (lead border-left, h2::before) kanssa. */
.wmx-hero::before { display: none !important; }

/* Bug 3: Kategoria-pilli — pakota valkoinen teksti, koska Breakdancen globaali
   linkki-väri (.breakdance a) ohittaa muuten color: #fff. */
.wmx-hero__category,
.wmx-hero__category:link,
.wmx-hero__category:visited {
	background: var(--wmx-primary) !important;
	color: #fff !important;
}
.wmx-hero__category:hover,
.wmx-hero__category:focus {
	background: var(--wmx-primary-d) !important;
	color: #fff !important;
}


/* ============================================================
   Palautekorjaukset 2026-07-16
   ============================================================ */

/* Artikkelikuva keskelle — BD:n .breakdance figure -sääntö (0,1,1) yliajoi
   .wmx-hero__image-luokan margin: 0 auto -keskityksen. */
.wmx-article .wmx-hero__image { margin: 0 auto; }

/* Loppu-CTA: BD:n .breakdance h2 { color: var(--bde-headings-color) } yliajoi
   valkoisen otsikon — tummansininen sinisellä pohjalla, huono kontrasti. */
.wmx-article__end-cta .wmx-end-cta__title { color: #fff; }
.wmx-article__end-cta .wmx-btn--outline { color: #fff; }

/* CTA:t piilotettavissa per artikkeli (ACF hide_cta_elements):
   ilman sivupalkkia sisältö kavennetaan lukumitalle ja keskitetään. */
.wmx-article--no-sidebar .wmx-article__layout { grid-template-columns: minmax(0, 1fr); }
.wmx-article--no-sidebar .wmx-article__main { max-width: 800px; width: 100%; margin: 0 auto; }
/* No-sidebar: hero samaan 800px-linjaan sisällön kanssa (padding-kompensointi
   samalla clampilla kuin containerissa). */
.wmx-article--no-sidebar .wmx-hero__container,
.wmx-article--no-sidebar .wmx-hero__image {
	max-width: calc(800px + 2 * clamp(1rem, 4vw, 2rem));
}