/*
Theme Name: Pohtek
Theme URI: https://valakia.fi
Description: Pohjanmaan Teknologiateollisuus ry:n lapsiteema. Pohjana Twenty Twenty-Five ja Valakian blueprint.
Author: Valakia
Author URI: https://valakia.fi
Template: twentytwentyfive
Version: 1.17.6
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: pohtek
*/

/* ================================================================
   Perusasetukset
   ================================================================ */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Sivu reunasta reunaan: TT5:n juuritason sisennykset pois */
.wp-site-blocks {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > .wp-block-group {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
/* Ei lohkoväliä ylätunnisteen, sisällön ja alatunnisteen välissä */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }

/* ================================================================
   Välit: osioiden ylä- ja alavälit tulevat teemasta, eivät sivujen lohkoista.
   Arvot ovat theme.json:n välikokoja (Erittäin pieni ... Osio).
   ================================================================ */
:root {
  --ptt-hero-top: clamp(2rem, 4vw, 3.5rem);
  --ptt-hero-bottom: clamp(2.5rem, 5vw, 4rem);
}
/* Jokainen täysleveä sisältöosio, myös itse lisätyt */
.wp-block-post-content > .wp-block-group.alignfull,
.site-main > .wp-block-group.alignfull { padding-block: var(--wp--preset--spacing--section); }
/* Alasivujen hero */
.wp-block-group.alignfull.ptt-page-hero { padding-block: var(--ptt-hero-top) var(--ptt-hero-bottom); }
/* Etusivun hero matalampi, jotta seuraava osio näkyy jo ensimmäisessä näkymässä */
.wp-block-group.alignfull.ptt-hero:not(.ptt-page-hero) { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
/* Etusivun uutiset heti heron alla */
.wp-block-group.alignfull.ptt-news-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
/* Alasivun ensimmäinen osio heron jälkeen */
.wp-block-group.alignfull:is(.ptt-news-archive, .ptt-privacy, .ptt-404, .ptt-article) { padding-top: var(--wp--preset--spacing--xl); }
.wp-block-group.alignfull.ptt-follow { padding-block: 3rem; }

/* ================================================================
   Ylätunniste ja alatunniste
   ================================================================ */
.site-header__bar { gap: 24px; }
/* Alareuna varjona, jotta ylätunniste on tasan --ptt-hdr korkea */
.site-header { box-shadow: inset 0 -1px 0 var(--wp--preset--color--line); }
.site-header__logo { margin: 0; flex: none; }
.site-header__logo img { width: clamp(190px, 22vw, 270px) !important; height: auto; }
/* Hyvin kapea näkymä (esim. 400 % zoom): logo pienemmäksi, jotta ylätunniste ei leviä */
@media (max-width: 340px) { .site-header__logo img { width: 160px !important; } .site-header__bar { gap: 12px; } }
.site-header__nav { gap: 20px; }
.site-header .wp-block-navigation { font-weight: 600; font-size: 16px; gap: 28px; }
.site-header .wp-block-navigation a { text-decoration: none; }
/* Syaani alleviivaus: kasvaa hoverissa ja fokuksessa, näkyy aina nykyisellä sivulla (uutisissa Ajankohtaista) */
.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content { position: relative; }
.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--wp--preset--color--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:is(:hover, :focus-visible, [aria-current="page"])::after,
.single-post .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) a[href$="/ajankohtaista/"]::after,
.archive .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) a[href$="/ajankohtaista/"]::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .site-header .wp-block-navigation-item__content::after { transition: none !important; }
}
.site-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent) !important; }
.site-header .wp-block-social-links { gap: 0; }
.site-header .wp-block-social-link { border: 0; border-radius: 0; padding: 0; }
.site-header .wp-block-social-link:hover { transform: none; }
.site-header .wp-block-social-link:hover svg { fill: var(--wp--preset--color--accent); }
.site-header .wp-block-social-link a { padding: 10px !important; }

/* Kiinteä ylätunniste */
:root { --ptt-hdr: 88px; }
.site-header__bar { min-height: var(--ptt-hdr); }
.wp-site-blocks > .wp-block-template-part:first-child {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
}
.site-header { transition: background-color .35s ease, box-shadow .35s ease; }
.site-header .site-header__logo img { transition: filter .35s ease; }
.site-header .wp-block-navigation a, .site-header .wp-block-social-link,
.site-header .wp-block-navigation__responsive-container-open { transition: color .35s ease, border-color .35s ease, fill .35s ease; }
.site-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--wp--preset--color--line), 0 6px 24px rgba(23, 20, 46, .08); }

/* Heron päällä (body.ptt-overlay): läpinäkyvä tausta, valkoinen logo ja tekstit */
.ptt-overlay .wp-site-blocks > .wp-block-template-part:first-child { margin-bottom: calc(var(--ptt-hdr) * -1); }
.ptt-overlay .ptt-hero { padding-top: calc(var(--ptt-hdr) + clamp(2rem, 4vw, 3.5rem)) !important; }
.ptt-overlay .ptt-hero:not(.ptt-page-hero) { padding-top: calc(var(--ptt-hdr) + clamp(1rem, 2vw, 2rem)) !important; }
.ptt-overlay .site-header:not(.is-scrolled) { background-color: transparent !important; box-shadow: none; }
.ptt-overlay .site-header:not(.is-scrolled) .site-header__logo img { filter: brightness(0) invert(1); }
.ptt-overlay .site-header:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) a,
.ptt-overlay .site-header:not(.is-scrolled) .wp-block-navigation__responsive-container-open { color: #fff !important; }
.ptt-overlay .site-header:not(.is-scrolled) .wp-block-social-link { color: #fff !important; }
.ptt-overlay .site-header:not(.is-scrolled) .wp-block-social-link svg { fill: #fff; }
.ptt-overlay .site-header:not(.is-scrolled) .wp-block-social-link:hover svg { fill: var(--wp--preset--color--accent); }
.ptt-overlay .site-header:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) a:hover { color: var(--wp--preset--color--accent) !important; }

@media (max-width: 781px) { :root { --ptt-hdr: 72px; } }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .site-header__logo img, .site-header .wp-block-navigation a { transition: none; }
}

/* Alatunniste: neljä yhtä leveää saraketta (logo, Yhteystiedot, Sivut, Seuraa) samassa jaossa kuin sivujen neljän sarakkeen osiot; mobiilissa kaksi.
   Tekijärivi (©, Tietosuojaseloste, Valakia) tulee functions.php:stä. */
.site-footer { padding-block: clamp(2.5rem, 5vw, 3.5rem) 2.5rem; }
.site-footer .wp-block-columns {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem var(--wp--preset--spacing--m); align-items: start; margin-bottom: 0;
}
.site-footer .wp-block-column { flex-basis: auto !important; min-width: 0; }
.site-footer .wp-block-image { margin: 0; }
.site-footer__title { font-size: 15px !important; font-weight: 700; letter-spacing: 0; margin: 0 0 12px; }
.site-footer__contact { font-size: 15px; line-height: 1.7; margin: 0; }
.site-footer__contact a { text-decoration: none; }
.site-footer__links { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.7; }
.site-footer__links li + li { margin-top: 4px; }
.site-footer__links a { color: var(--wp--preset--color--bg-1) !important; text-decoration: none; }
.site-footer__links a:hover { color: var(--wp--preset--color--accent) !important; }
/* Syaani alleviivaus kuten ylävalikossa: kasvaa vasemmalta hoverissa ja fokuksessa */
.site-footer__links a, .site-footer__credit-link { position: relative; }
.site-footer__links a::after, .site-footer__credit-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--wp--preset--color--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.site-footer__links a:is(:hover, :focus-visible)::after, .site-footer__credit-link:is(:hover, :focus-visible)::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .site-footer__links a::after, .site-footer__credit-link::after { transition: none; }
}
.site-footer__links a[href*="linkedin.com"] { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__links a[href*="linkedin.com"]::before {
  content: ""; flex: none; width: 15px; height: 15px; background-color: currentColor;
  -webkit-mask: var(--ptt-linkedin) center / contain no-repeat; mask: var(--ptt-linkedin) center / contain no-repeat;
}
@media (max-width: 781px) {
  /* Isompi kosketusalue footerin linkeille */
  .site-footer__links a, .site-footer__credit-link { display: inline-block; padding-block: 6px; }
  .site-footer__links a[href*="linkedin.com"] { display: inline-flex; }
  .site-footer__links li + li { margin-top: 0; }
  .site-footer .wp-block-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.25rem; }
  .site-footer .wp-block-column:first-child, .site-footer .wp-block-column:nth-child(4) { grid-column: 1 / -1; }
}
:root {
  --ptt-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.72V1.72C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E");
}
/* Tekijärivi (functions.php): sama indigo ja leveys kuin alatunnisteella, erotettu ohuella viivalla */
.site-footer__credit {
  background-color: var(--wp--preset--color--primary-dark); color: var(--wp--preset--color--soft);
  padding: 0 var(--wp--style--root--padding-right) 1.75rem var(--wp--style--root--padding-left);
}
.site-footer__credit-inner {
  max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / .14);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-footer__credit { --ptt-focus: var(--wp--preset--color--accent); }
/* Alatunnisteen sisällä (functions.php lisää <footer>-elementin loppuun): tausta ja reunat tulevat alatunnisteelta */
.site-footer > .site-footer__credit { background: none; padding: 0; margin-block: 2.5rem 0; }
.site-footer:has(> .site-footer__credit) { padding-bottom: 1.75rem; }
.site-footer__credit-copy { font-size: 14px; display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.site-footer__credit-link { color: inherit; text-decoration: none; }
.site-footer__credit-link:hover { color: #fff; }
.site-footer__credit-logo { display: inline-flex; align-items: center; opacity: .75; transition: opacity .2s; }
.site-footer__credit-logo:hover { opacity: 1; }

/* ================================================================
   Yhteiset osat
   ================================================================ */
:root {
  --ptt-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 9h13M10 4l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --ptt-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 1.75h6.5l4.25 4.25v12.25h-10.75zM11.5 1.75v4.25h4.25M7.75 11h5M7.75 14h5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Täysleveät osiot kiinni toisissaan */
.ptt-hero, .ptt-news-section, .ptt-band, .ptt-dark, .ptt-follow { margin-block: 0 !important; }

/* ---------- Painikkeet ---------- */
.ptt-hero .is-style-outline .wp-block-button__link,
.ptt-dark .is-style-outline .wp-block-button__link, .ptt-follow .is-style-outline .wp-block-button__link {
  border: 2px solid currentColor; background: transparent;
}
.ptt-follow .is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff !important;
}
.ptt-hero .is-style-outline .wp-block-button__link:hover, .ptt-dark .is-style-outline .wp-block-button__link:hover {
  background: #fff; color: var(--wp--preset--color--primary) !important;
}
.ptt-arrow .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; }
.ptt-arrow .wp-block-button__link::after {
  content: ""; width: 18px; height: 18px; background: currentColor; transition: transform .35s;
  -webkit-mask: var(--ptt-arrow) center / contain no-repeat; mask: var(--ptt-arrow) center / contain no-repeat;
}
.ptt-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }

/* ---------- Logon kaksi neliötä otsikon alla ----------
   Toinen neliö on varjo (--mx siirtymä, --mc väri); ptt-motion.js animoi sen näkyviin. */
.ptt-mark::after, .ptt-mark-sm a::after, .ptt-mark-sm:not(:has(a))::after {
  --mx: 18px; --mc: var(--wp--preset--color--primary);
  content: ""; display: block; width: 14px; height: 14px; margin-top: 18px;
  background: var(--wp--preset--color--accent); box-shadow: var(--mx) 0 0 var(--mc);
}
.ptt-mark-light::after { --mc: #fff; }
.ptt-mark-sm a::after { --mx: 13px; width: 10px; height: 10px; margin-top: 14px; }
.ptt-anim .ptt-mark::after, .ptt-anim .ptt-mark-sm a::after, .ptt-anim .ptt-mark-sm:not(:has(a))::after { opacity: 0; }
.ptt-anim .ptt-mark.is-in::after, .ptt-anim .ptt-mark-sm.is-in a::after, .ptt-anim .ptt-mark-sm.is-in:not(:has(a))::after {
  animation: ptt-mark .9s cubic-bezier(.16, 1, .3, 1) .1s both;
}
@keyframes ptt-mark {
  0%   { opacity: 0; transform: scale(.4); box-shadow: 0 0 0 var(--mc); }
  35%  { opacity: 1; transform: none; box-shadow: 0 0 0 var(--mc); }
  100% { opacity: 1; transform: none; box-shadow: var(--mx) 0 0 var(--mc); }
}

/* ================================================================
   Etusivu
   ================================================================ */
/* ---------- Hero ---------- */
.ptt-hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.05; letter-spacing: -.01em; font-weight: 800;
  overflow-wrap: break-word;
}
.ptt-accent::before { content: ""; display: block; width: 96px; height: 4px; background: var(--wp--preset--color--accent); margin-bottom: 28px; }
.ptt-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 32em; margin-block: 1.75rem 2.25rem; }
.ptt-hero-cols { gap: clamp(2rem, 5vw, 4.5rem); }

/* Kuvakaruselli: Galleria-lohko (luokka ptt-carousel), jonka ptt-carousel.js muuttaa sommitelmaksi.
   Ennen skriptin latautumista näkyy vain ensimmäinen kuva. */
.ptt-carousel:not(.is-enhanced) { display: block !important; }
.ptt-carousel:not(.is-enhanced) figure.wp-block-image:not(:first-child) { display: none !important; }
.ptt-carousel:not(.is-enhanced) figure.wp-block-image:first-child { width: 72% !important; margin-left: auto !important; }
.ptt-carousel:not(.is-enhanced) figure.wp-block-image:first-child img { aspect-ratio: 4 / 5; object-fit: cover; }
.ptt-carousel figcaption { display: none; }
.ptt-carousel.is-enhanced { display: none !important; }

.ptt-car { --ar: 1.14; position: relative; aspect-ratio: 1 / var(--ar); }
.ptt-car__square {
  position: absolute; left: 6%; top: 7%; width: 30%; aspect-ratio: 1 / 1;
  background: var(--wp--preset--color--accent);
}
.ptt-car__stage { position: absolute; inset: 0; }
.ptt-car__img {
  position: absolute; margin: 0; max-width: none; object-fit: cover; opacity: 0;
  transition:
    left .95s cubic-bezier(.65, 0, .35, 1), top .95s cubic-bezier(.65, 0, .35, 1),
    width .95s cubic-bezier(.65, 0, .35, 1), height .95s cubic-bezier(.65, 0, .35, 1),
    box-shadow .95s cubic-bezier(.65, 0, .35, 1), opacity .7s ease;
}
.ptt-car__img[data-pos="big"]   { left: 28%; top: 0; width: 72%; height: 74%; z-index: 2; box-shadow: 0 0 0 0 var(--wp--preset--color--primary); }
.ptt-car__img[data-pos="small"] { left: 0; top: 52%; width: 42%; height: calc(42% / var(--ar)); z-index: 3; box-shadow: 0 0 0 10px var(--wp--preset--color--primary); }
.ptt-car__img.is-vis { opacity: 1; }
.ptt-car__img.is-leaving { z-index: 1; }
.ptt-car__img.is-entering { animation: ptt-enter .8s cubic-bezier(.16, 1, .3, 1) .45s both; }
.ptt-car__img.no-tr { transition: none !important; }
@keyframes ptt-enter { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* Numerointi, nuolet ja edistymispalkki ison kuvan alla */
.ptt-car__meta { position: absolute; left: calc(42% + 18px); right: 0; top: calc(74% + 12px); }
.ptt-car__ctrl { display: flex; align-items: center; gap: 6px; }
.ptt-car__status { display: flex; align-items: baseline; gap: 12px; min-width: 0; margin: 0 auto 0 0; }
.ptt-car__count { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--wp--preset--color--soft); }
/* Gallerian perässä oleva linkkikappale (ptt-car-link); karusellissa syaani lappu ohjainten alla */
.ptt-car-link { margin: 14px 0 0; }
.ptt-car-link a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 700; font-size: 16px; color: #fff !important; text-decoration: none;
}
.ptt-car-link a::after {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--wp--preset--color--accent); transition: transform .35s;
  -webkit-mask: var(--ptt-arrow) center / contain no-repeat; mask: var(--ptt-arrow) center / contain no-repeat;
}
.ptt-car-link a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ptt-car-link a:hover::after { transform: translateX(4px); }
.ptt-car .ptt-car-link { margin: 16px 0 0; }
.ptt-car .ptt-car-link a {
  display: flex; width: 100%; box-sizing: border-box; justify-content: space-between;
  gap: 12px; min-height: 60px; padding: 10px 18px 10px 20px; line-height: 1.2;
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-dark) !important;
  font-size: 16px; font-weight: 800;
  transition: background-color .2s;
}
.ptt-car .ptt-car-link a::after { background: currentColor; }
.ptt-car .ptt-car-link a:hover { background: #33b5ea; text-decoration: none; }
.ptt-car .ptt-car-link a { overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Kapealla työpöydällä (782–1365 px) lappu ei mahdu pienen kuvan viereen yhdelle riville: se siirtyy kuvien
   ja ohjainten alle karusellin koko leveydelle (cqw = karusellin leveys), ja karuselli varaa sille tilan. */
@media (min-width: 782px) and (max-width: 1365px) {
  /* Lappu ohjainten (100 %) tai pienen kuvan alareunan (16.92cqw - 12px ohjainten yläreunasta) alle, kumpi on alempana */
  .ptt-car { container-type: inline-size; margin-bottom: max(0px, calc(146px - 29.64%), calc(76px - 12.72%)); }
  .ptt-car .ptt-car-link { position: absolute; top: max(100%, calc(16.92cqw - 12px)); left: calc(-42cqw - 18px); width: 100cqw; }
}
.ptt-car__ctrl button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .6); color: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.ptt-car__ctrl button:hover { background: #fff; color: var(--wp--preset--color--primary); border-color: #fff; }
.ptt-car__ctrl button:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.ptt-car__ctrl svg { width: 16px; height: 16px; }
.ptt-car__bar { height: 2px; background: rgba(255, 255, 255, .2); margin-top: 12px; }
.ptt-car__bar i { display: block; height: 100%; background: var(--wp--preset--color--accent); transform: scaleX(0); transform-origin: left; }
.ptt-car__bar i.run { transform: scaleX(1); transition: transform linear var(--dur, 6s); }

@media (max-width: 781px) {
  .ptt-car { --ar: 1.12; aspect-ratio: auto; }
  .ptt-car__stage { position: relative; inset: auto; aspect-ratio: 1 / var(--ar); }
  .ptt-car__meta { position: static; width: 100%; margin-top: 16px; }
  .ptt-car .ptt-car-link a { min-height: 52px; padding: 8px 14px 8px 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ptt-car__img { transition: none; }
  .ptt-car__img.is-entering { animation: none; }
  .ptt-car__bar { display: none; }
  .ptt-car-link a::after { transition: none; }
}

/* ================================================================
   Porrasreuna osioiden välissä (luokat):
     ptt-step-top-left / -top-right, ptt-step-bottom-left / -bottom-right
     väri: ptt-step-top-white, -top-deep, -bottom-white, -bottom-deep; ilman neliötä: ptt-step-plain
   ================================================================ */
[class*="ptt-step-"] {
  --ptt-step-h: clamp(22px, 2.6vw, 40px);
  --ptt-step-w: 26%;
  --ptt-step-s: calc(var(--ptt-step-h) * .5);
  --ptt-step-top: var(--wp--preset--color--primary);
  --ptt-step-bottom: var(--wp--preset--color--primary);
  --ptt-step-square: var(--wp--preset--color--accent);
  position: relative;
}
.ptt-step-top-white { --ptt-step-top: #fff; }
.ptt-step-top-deep { --ptt-step-top: var(--wp--preset--color--primary-dark); }
.ptt-step-bottom-white { --ptt-step-bottom: #fff; }
.ptt-step-bottom-deep { --ptt-step-bottom: var(--wp--preset--color--primary-dark); }
.ptt-step-plain { --ptt-step-square: transparent; }

.ptt-step-top-left::before, .ptt-step-top-right::before,
.ptt-step-bottom-left::after, .ptt-step-bottom-right::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  width: calc(var(--ptt-step-w) + var(--ptt-step-s)); height: calc(var(--ptt-step-h) + var(--ptt-step-s));
  background-repeat: no-repeat;
}
.ptt-step-top-left::before, .ptt-step-top-right::before {
  top: 0;
  background-image: linear-gradient(var(--ptt-step-top), var(--ptt-step-top)), linear-gradient(var(--ptt-step-square), var(--ptt-step-square));
}
.ptt-step-bottom-left::after, .ptt-step-bottom-right::after {
  bottom: 0;
  background-image: linear-gradient(var(--ptt-step-bottom), var(--ptt-step-bottom)), linear-gradient(var(--ptt-step-square), var(--ptt-step-square));
}
.ptt-step-top-right::before {
  right: 0; background-size: calc(100% - var(--ptt-step-s)) var(--ptt-step-h), var(--ptt-step-s) var(--ptt-step-s);
  background-position: right top, left bottom;
}
.ptt-step-top-left::before {
  left: 0; background-size: calc(100% - var(--ptt-step-s)) var(--ptt-step-h), var(--ptt-step-s) var(--ptt-step-s);
  background-position: left top, right bottom;
}
.ptt-step-bottom-right::after {
  right: 0; background-size: calc(100% - var(--ptt-step-s)) var(--ptt-step-h), var(--ptt-step-s) var(--ptt-step-s);
  background-position: right bottom, left top;
}
.ptt-step-bottom-left::after {
  left: 0; background-size: calc(100% - var(--ptt-step-s)) var(--ptt-step-h), var(--ptt-step-s) var(--ptt-step-s);
  background-position: left bottom, right top;
}
/* Sisältö ei jää portaan alle */
.ptt-step-top-left, .ptt-step-top-right { padding-top: max(calc(var(--ptt-step-h) + var(--ptt-step-s) + 2.5rem), 4.5rem) !important; }
.ptt-step-bottom-left, .ptt-step-bottom-right { padding-bottom: max(calc(var(--ptt-step-h) + var(--ptt-step-s) + 2.5rem), 4.5rem) !important; }
.ptt-news-section[class*="ptt-step-top"] { padding-top: clamp(5rem, 8vw, 7rem) !important; }
@media (max-width: 781px) { [class*="ptt-step-"] { --ptt-step-w: 38%; } }

/* ================================================================
   Taustamuoto: kynä piirtää sivun aiheeseen liittyvän kuvion ruudukolle (luokat ptt-motif, ptt-motif--light)
   ================================================================ */
.ptt-motif { position: relative; overflow: hidden; isolation: isolate;
  --pm-w: clamp(228px, 18.2vw, 304px);
  --pm-r: max(var(--wp--style--root--padding-right, 24px), calc((100% - var(--wp--style--global--wide-size, 1300px)) / 2));
  --pm-t: calc(var(--ptt-hdr, 88px) + clamp(1rem, 2vw, 2rem));
  --pm-grid: rgba(22,16,70,.4);
}
/* Piirros: kynä ja sivun aiheeseen liittyvä kuvio (oletuksena logon laatikot) */
.ptt-motif::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: var(--pm-w); aspect-ratio: 410 / 345;
  right: var(--pm-r); top: var(--pm-t);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E  %3Cg stroke-opacity='.5'%3E%3Crect x='34' y='30' width='200' height='115'/%3E%3Crect x='34' y='151' width='200' height='115'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Cpath d='M34 20v-14M234 20v-14M34 12h200'/%3E%3Cpath d='M30 12l4 -3v6zM238 12l-4 -3v6z' fill='%23ffffff' fill-opacity='.38'/%3E %3Cpath d='M244 30h14M244 266h14M252 30v236'/%3E%3Cpath d='M252 26l-3 4h6zM252 270l-3 -4h6z' fill='%23ffffff' fill-opacity='.38'/%3E %3Cpath d='M26 30h-18M26 266h-18' stroke-dasharray='3 3'/%3E %3Ccircle cx='134' cy='87.5' r='7'/%3E%3Cpath d='M120 87.5h28M134 73.5v28'/%3E %3Ccircle cx='134' cy='208.5' r='7'/%3E%3Cpath d='M120 208.5h28M134 194.5v28'/%3E%3C/g%3E %3Crect x='34' y='30' width='12' height='12' fill='%23ffffff' fill-opacity='.5' stroke='none'/%3E %3Cg fill='%23ffffff' fill-opacity='.5' stroke='none' font-family='Arial, sans-serif' font-size='11' font-weight='700' letter-spacing='.5'%3E%3Ctext x='122' y='7'%3E230%3C/text%3E%3Ctext x='262' y='154' transform='rotate%2890 262 154%29'%3E271%3C/text%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-128 318%29 rotate%28-8%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.ptt-sivu-yhdistys .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E  %3Cg stroke-opacity='.5'%3E%3Cpath d='M46.5 123.5L47.4 120.7L50.3 116.6L51.1 119.7L55.8 117.6L53.7 108.9L50.9 107.9L47.6 111.0L45.6 109.9L45.7 111.6L48.0 111.7L48.1 114.8L46.6 112.0L43.1 113.7L41.1 111.2L42.5 111.4L45.5 105.8L44.6 103.6L43.3 106.0L43.9 102.9L40.4 104.1L40.5 107.0L42.6 106.6L41.3 108.0L37.8 107.9L34.8 104.9L39.2 119.4L41.7 120.0L41.7 118.0L44.0 122.5L46.5 123.5ZM143.6 44.3L142.2 44.6L142.2 40.8L138.9 39.3L138.5 43.8L140.7 45.9L139.5 46.8L138.0 44.0L138.0 39.7L138.8 39.1L141.0 39.3L139.8 34.9L141.1 34.9L137.1 30.3L134.5 31.3L133.1 29.9L132.6 31.9L133.3 34.0L137.5 35.3L137.2 38.5L130.7 35.5L133.0 37.4L125.9 37.8L124.8 43.0L127.3 44.5L127.2 43.1L129.5 43.2L124.4 47.8L128.7 53.4L125.7 53.2L125.0 57.5L124.1 54.5L122.7 56.3L122.9 53.7L121.0 53.0L120.0 59.6L117.6 58.8L115.6 61.4L115.9 65.3L110.7 67.4L112.8 70.4L115.7 68.6L112.5 72.4L113.8 75.5L111.7 83.4L111.1 81.7L110.0 83.4L108.6 78.9L106.7 79.3L108.3 78.2L106.0 74.0L107.4 74.0L107.8 71.3L104.7 70.1L105.6 71.7L103.0 79.4L109.2 88.1L103.4 82.1L97.9 84.0L99.6 89.0L107.8 99.2L108.6 101.5L106.1 102.8L107.2 106.7L102.6 104.1L100.1 111.2L97.8 110.3L96.9 113.9L93.9 112.6L91.3 115.6L91.4 110.9L87.8 111.3L88.9 117.7L85.0 117.5L87.1 123.0L83.3 119.5L85.0 119.5L84.1 116.0L87.6 115.5L85.6 109.8L82.4 112.1L81.6 108.2L77.1 110.9L75.0 110.3L75.5 108.6L73.8 110.7L74.8 111.3L71.8 112.8L72.5 115.7L69.5 113.4L67.6 116.6L62.7 112.1L63.1 107.2L60.5 109.5L61.7 112.1L59.7 113.2L59.3 118.4L61.8 119.5L58.3 121.5L59.8 124.0L60.2 122.3L61.8 127.9L64.0 128.0L63.1 129.9L64.9 129.0L64.6 132.7L68.8 136.3L67.3 137.8L65.1 135.4L64.3 136.5L60.9 132.9L59.6 135.9L56.5 135.9L58.5 141.5L56.7 138.9L55.2 140.6L57.9 142.6L56.7 145.1L57.8 146.8L54.2 149.4L52.8 157.9L51.0 155.0L51.8 158.7L44.2 157.2L44.2 163.0L41.7 167.5L39.9 166.1L36.8 168.4L39.9 176.7L38.3 180.1L36.0 181.6L35.2 180.3L34.5 182.0L35.9 182.8L34.8 192.0L37.6 187.6L38.1 190.9L40.9 190.0L42.6 192.1L39.7 197.1L38.7 196.5L40.8 200.2L36.3 207.1L38.6 209.2L38.9 207.8L39.8 207.4L39.9 210.3L41.8 206.5L39.8 215.7L43.6 212.3L42.7 217.5L44.3 220.1L45.7 220.0L44.2 219.7L47.2 216.7L45.9 220.0L47.3 224.4L48.6 221.9L50.7 221.8L49.6 227.7L48.3 228.4L47.6 226.8L47.1 228.5L48.0 231.0L50.2 229.3L48.0 237.7L49.8 237.3L51.7 232.4L52.5 242.9L54.7 240.6L53.2 243.5L50.6 244.3L50.5 251.0L48.5 250.2L48.6 247.9L47.3 250.2L48.2 259.9L45.8 269.1L49.1 268.2L49.4 270.5L47.4 269.7L48.6 274.0L54.1 267.0L59.6 265.1L69.7 265.6L85.0 270.8L92.6 264.2L97.7 255.3L104.5 255.3L111.9 243.4L116.1 241.9L119.8 229.3L128.5 234.0L137.1 234.6L155.2 226.4L158.4 217.2L161.9 215.0L166.7 220.9L169.7 220.3L172.1 222.2L171.3 216.3L180.3 217.1L189.0 209.8L188.2 208.4L190.0 206.4L190.2 210.7L191.9 210.6L191.8 207.5L193.6 207.6L195.0 219.3L200.0 222.8L210.7 207.8L217.5 212.2L218.0 206.8L222.0 205.4L223.3 209.0L228.3 205.3L229.5 195.9L231.3 195.5L230.5 192.1L232.3 191.7L227.7 190.5L232.2 185.0L228.6 182.4L223.5 168.5L218.6 160.7L224.6 159.2L224.5 156.1L218.7 153.4L218.9 147.6L215.6 143.2L216.7 140.8L215.0 138.9L215.0 135.0L217.2 134.7L219.6 128.5L229.2 123.4L242.9 126.4L240.6 124.7L241.9 109.8L244.6 108.5L242.9 98.2L250.2 89.1L257.8 85.7L245.6 69.7L234.2 61.6L223.3 37.9L213.3 33.3L211.6 26.3L209.4 25.6L204.9 17.1L204.2 9.0L199.5 6.4L197.6 6.0L194.3 10.1L195.3 13.4L192.5 16.4L195.3 20.7L194.3 22.3L190.5 21.7L186.8 18.3L185.0 21.2L183.8 19.7L183.0 20.7L177.7 11.8L175.7 11.0L175.0 12.8L169.7 10.8L166.1 7.3L164.3 10.9L165.2 20.5L163.5 21.9L165.8 25.2L163.6 26.8L163.8 28.8L160.4 25.6L161.1 28.1L159.1 29.2L155.0 28.1L154.4 29.8L151.3 29.6L150.1 28.2L149.8 32.0L147.3 28.7L150.4 33.8L148.7 36.0L147.8 33.2L144.4 34.4L144.0 37.2L145.5 38.2L142.8 40.0L143.6 44.3Z'/%3E%3C/g%3E %3Cg stroke-opacity='.38' stroke-dasharray='3 3' stroke-width='1.2'%3E%3Cpath d='M219.2 128.1L216.5 125.4M216.5 125.4L213.8 126.4M213.8 126.4L210.8 123.7M210.8 123.7L208.9 124.6M208.9 124.6L209.4 122.9M209.4 122.9L209.7 122.8M209.7 122.8L210.4 123.2M210.4 123.2L212.5 121.7M212.5 121.7L209.0 116.6M209.0 116.6L204.8 112.4M204.8 112.4L202.2 110.8M202.2 110.8L200.2 109.5M200.2 109.5L196.8 108.5M196.8 108.5L191.5 108.3M191.5 108.3L186.4 103.9M186.4 103.9L182.3 95.6M182.3 95.6L182.2 95.5M182.2 95.5L178.2 92.9M178.2 92.9L176.4 90.6M176.4 90.6L175.4 89.2M175.4 89.2L174.2 87.7M174.2 87.7L174.7 86.9M174.7 86.9L173.6 84.6M173.6 84.6L172.8 84.3M172.8 84.3L172.0 84.6M172.0 84.6L168.5 83.3M168.5 83.3L168.1 83.1M168.1 83.1L166.6 82.8M166.6 82.8L165.0 80.7M165.0 80.7L157.8 84.2M157.8 84.2L156.1 89.1M156.1 89.1L155.9 89.4M155.9 89.4L154.6 93.1M154.6 93.1L149.2 99.6M149.2 99.6L148.2 97.7M148.2 97.7L147.2 96.9M147.2 96.9L146.3 97.4M146.3 97.4L144.6 97.8M144.6 97.8L144.2 95.5M144.2 95.5L142.6 95.8M142.6 95.8L142.8 96.7M142.8 96.7L141.3 96.5M141.3 96.5L141.8 101.7M141.8 101.7L137.6 99.1M137.6 99.1L136.1 98.8M136.1 98.8L135.6 98.7M135.6 98.7L135.8 99.7M135.8 99.7L133.3 99.8M133.3 99.8L131.0 98.9M131.0 98.9L130.0 98.5M130.0 98.5L129.1 98.1M129.1 98.1L128.0 98.1M128.0 98.1L128.1 98.7M128.1 98.7L128.8 100.0M128.8 100.0L126.9 100.8M126.9 100.8L124.9 102.4M124.9 102.4L122.9 103.4M122.9 103.4L124.4 105.8M124.4 105.8L121.2 107.8M121.2 107.8L120.7 108.1M120.7 108.1L120.1 107.5M120.1 107.5L118.0 109.8M118.0 109.8L117.9 111.1M117.9 111.1L118.2 111.9M118.2 111.9L119.8 112.5M119.8 112.5L120.0 113.0M120.0 113.0L120.6 114.2M120.6 114.2L120.8 114.5M120.8 114.5L121.9 116.8M121.9 116.8L119.9 117.9M119.9 117.9L118.7 120.6M118.7 120.6L120.5 119.5M120.5 119.5L121.3 119.8M121.3 119.8L121.5 120.7M121.5 120.7L121.7 121.4M121.7 121.4L122.1 122.3M122.1 122.3L122.4 123.2M122.4 123.2L123.0 123.7M123.0 123.7L123.2 123.9M123.2 123.9L123.0 124.7M123.0 124.7L123.3 125.6M123.3 125.6L123.5 126.1M123.5 126.1L123.6 126.4M123.6 126.4L123.4 126.7M123.4 126.7L121.9 127.0M121.9 127.0L122.0 127.6M122.0 127.6L122.8 127.5M122.8 127.5L123.0 129.9M123.0 129.9L122.1 130.3M122.1 130.3L120.6 130.4M120.6 130.4L120.0 130.4M120.0 130.4L118.7 130.4M118.7 130.4L117.6 130.4M117.6 130.4L115.1 130.5M115.1 130.5L113.8 130.5M113.8 130.5L104.8 135.6M104.8 135.6L104.0 136.0M104.0 136.0L100.1 135.1M100.1 135.1L97.4 139.1M97.4 139.1L96.2 140.7M96.2 140.7L95.8 140.7M95.8 140.7L95.4 141.8M95.4 141.8L95.1 142.6M95.1 142.6L95.4 143.7M95.4 143.7L95.7 146.0M95.7 146.0L94.6 147.7M94.6 147.7L94.8 148.3M94.8 148.3L95.0 148.6M95.0 148.6L95.1 148.8M95.1 148.8L95.3 149.3M95.3 149.3L97.8 152.4M97.8 152.4L98.6 155.1M98.6 155.1L99.5 157.9M99.5 157.9L100.5 158.1M100.5 158.1L101.0 162.5M101.0 162.5L101.4 163.6M101.4 163.6L101.4 165.4M101.4 165.4L101.6 165.8M101.6 165.8L101.7 166.0M101.7 166.0L102.1 166.8M102.1 166.8L102.4 167.4M102.4 167.4L102.4 167.5M102.4 167.5L102.8 168.3M102.8 168.3L101.9 169.2M101.9 169.2L97.8 174.2M97.8 174.2L93.5 172.2M93.5 172.2L93.3 173.1M93.3 173.1L90.2 172.0M90.2 172.0L90.0 172.7M90.0 172.7L86.9 171.3M86.9 171.3L84.9 169.7M84.9 169.7L84.1 169.4M84.1 169.4L81.6 168.1M81.6 168.1L79.4 166.9M79.4 166.9L78.4 166.6M78.4 166.6L77.6 165.9M77.6 165.9L76.9 162.4M76.9 162.4L73.6 160.1M73.6 160.1L73.2 162.1M73.2 162.1L71.1 165.5M71.1 165.5L71.2 172.1M71.2 172.1L72.2 178.1M72.2 178.1L74.7 181.3M74.7 181.3L72.4 183.6M72.4 183.6L71.1 184.8M71.1 184.8L69.9 185.9M69.9 185.9L69.4 186.3M69.4 186.3L67.4 188.1M67.4 188.1L66.9 188.5M66.9 188.5L66.5 190.4M66.5 190.4L65.3 191.8M65.3 191.8L63.4 192.5M63.4 192.5L63.6 198.3M63.6 198.3L64.6 198.3M64.6 198.3L64.7 198.9M64.7 198.9L64.1 201.8M64.1 201.8L60.8 212.3M60.8 212.3L60.8 212.7M60.8 212.7L61.3 215.1M61.3 215.1L61.3 215.4M61.3 215.4L61.1 217.0M61.1 217.0L61.4 217.2M61.4 217.2L61.1 218.6M61.1 218.6L59.6 220.7M59.6 220.7L60.8 221.5M60.8 221.5L61.1 222.2M61.1 222.2L61.6 223.4M61.6 223.4L62.0 223.6M62.0 223.6L63.1 223.3M63.1 223.3L63.6 223.1M63.6 223.1L65.1 222.7M65.1 222.7L65.4 222.6M65.4 222.6L66.7 222.3M66.7 222.3L67.9 223.1M67.9 223.1L68.8 223.8M68.8 223.8L68.8 225.1M68.8 225.1L68.7 225.7M68.7 225.7L67.8 226.3M67.8 226.3L67.4 227.0M67.4 227.0L68.6 228.3M68.6 228.3L68.0 235.7M68.0 235.7L69.5 235.5M69.5 235.5L71.6 236.0M71.6 236.0L72.1 236.6M72.1 236.6L71.9 237.7M71.9 237.7L71.8 238.0M71.8 238.0L72.2 238.7M72.2 238.7L72.9 240.2M72.9 240.2L73.3 240.4M73.3 240.4L70.1 241.0M70.1 241.0L70.1 241.6M70.1 241.6L67.7 244.9M67.7 244.9L69.8 247.4M69.8 247.4L69.3 250.2M69.3 250.2L68.4 250.9M68.4 250.9L67.8 250.5M67.8 250.5L66.2 249.5M66.2 249.5L66.3 254.2M66.3 254.2L65.3 255.8M65.3 255.8L66.7 260.8M66.7 260.8L65.5 263.2M65.5 263.2L66.4 265.2M182.2 95.5L182.9 95.2M182.9 95.2L180.1 88.7M180.1 88.7L180.1 86.8M180.1 86.8L180.0 85.3M180.0 85.3L180.0 82.6M180.0 82.6L179.6 76.6M179.6 76.6L175.5 73.8M175.5 73.8L175.7 72.3M175.7 72.3L175.5 71.7M175.5 71.7L175.4 70.5M175.4 70.5L175.4 69.6M175.4 69.6L174.7 67.9M174.7 67.9L174.3 67.5M174.3 67.5L173.3 68.0M173.3 68.0L171.5 68.7M171.5 68.7L171.1 69.2M171.1 69.2L170.6 69.7M170.6 69.7L166.7 66.0M166.7 66.0L167.3 65.8M167.3 65.8L168.7 66.7M168.7 66.7L169.1 65.9M169.1 65.9L169.2 65.4M169.2 65.4L168.4 64.3M168.4 64.3L170.2 63.0M170.2 63.0L169.3 60.3M169.3 60.3L171.0 60.9M171.0 60.9L171.3 61.9M171.3 61.9L172.9 63.7M172.9 63.7L173.7 63.8M173.7 63.8L175.3 62.6M175.3 62.6L177.3 61.7M177.3 61.7L179.5 59.1M179.5 59.1L182.6 60.9M182.6 60.9L184.9 58.5M184.9 58.5L181.6 55.6M181.6 55.6L177.8 52.8M177.8 52.8L176.4 51.6M176.4 51.6L169.8 45.6M169.8 45.6L168.6 47.8M168.6 47.8L168.7 50.3M168.7 50.3L167.9 50.8M167.9 50.8L166.6 48.8M166.6 48.8L165.7 49.2M165.7 49.2L165.0 48.0M165.0 48.0L163.7 47.7M163.7 47.7L163.2 48.3M163.2 48.3L161.9 47.8M161.9 47.8L159.3 48.8M159.3 48.8L158.8 49.3M158.8 49.3L158.4 49.7M158.4 49.7L157.9 50.3M157.9 50.3L157.2 52.3M157.2 52.3L156.9 53.3M156.9 53.3L155.5 53.1M155.5 53.1L153.4 51.4M153.4 51.4L152.7 50.7M152.7 50.7L152.3 50.3M152.3 50.3L147.1 46.2M147.1 46.2L144.4 44.6M141.7 44.6L140.8 45.0M138.6 46.0L135.0 44.9L136.5 41.4L135.6 38.6'/%3E%3C/g%3E %3Cg stroke-opacity='.5'%3E%3Ccircle cx='64.8' cy='131.1' r='5.5'/%3E%3Ccircle cx='64.8' cy='131.1' r='2' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='133.8' cy='169.4' r='5.5'/%3E%3Ccircle cx='133.8' cy='169.4' r='2' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='150.3' cy='38.2' r='5.5'/%3E%3Ccircle cx='150.3' cy='38.2' r='2' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='126.1' cy='58.6' r='5.5'/%3E%3Ccircle cx='126.1' cy='58.6' r='2' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='96.6' cy='214.4' r='5.5'/%3E%3Ccircle cx='96.6' cy='214.4' r='2' fill='%23ffffff' fill-opacity='.5'/%3E%3C/g%3E %3Cg fill='%23ffffff' fill-opacity='.9' stroke='%23312783' stroke-width='5' stroke-linejoin='round' paint-order='stroke' font-family='Arial, sans-serif' font-size='14' font-weight='700' letter-spacing='.6'%3E%3Ctext x='55.8' y='135.1' text-anchor='end'%3EVAASA%3C/text%3E%3Ctext x='142.8' y='173.4'%3ESEIN%C3%84JOKI%3C/text%3E%3Ctext x='159.3' y='42.2'%3EKOKKOLA%3C/text%3E%3Ctext x='117.1' y='62.6' text-anchor='end'%3EPIETARSAARI%3C/text%3E%3Ctext x='87.6' y='218.4' text-anchor='end'%3EKAUHAJOKI%3C/text%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-70 60%29 rotate%2878%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
.ptt-sivu-jasenet .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E  %3Cg stroke-opacity='.5'%3E%3Cpath d='M100 230V120V80L140.5 120V80L181.0 120V80L221.5 120V80L262.0 120V230'/%3E%3Cpath d='M40 230V130H100'/%3E%3Cpath d='M66 130V44H82V130'/%3E%3Crect x='170' y='176' width='44' height='54'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Cpath d='M20 230H275'/%3E%3Cpath d='M170 188h44M170 200h44M170 212h44'/%3E %3Crect x='52' y='150' width='14' height='18'/%3E%3Crect x='76' y='150' width='14' height='18'/%3E%3Crect x='52' y='186' width='14' height='18'/%3E%3Crect x='76' y='186' width='14' height='18'/%3E %3Cpath d='M110 140h30M110 156h30M222 140h30M222 156h30'/%3E %3Cpath d='M40 242v14M262 242v14M40 250h222'/%3E%3Cpath d='M36 250l4 -3v6zM266 250l-4 -3v6z' fill='%23ffffff' fill-opacity='.38'/%3E%3Cpath d='M66 34c6 -8 2 -14 10 -22M76 30c6 -8 2 -12 8 -18' stroke-dasharray='2 4'/%3E%3C/g%3E %3Cg fill='%23ffffff' fill-opacity='.5' stroke='none' font-family='Arial, sans-serif' font-size='11' font-weight='700' letter-spacing='.5'%3E%3Ctext x='131' y='270'%3E48 000%3C/text%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-132 300%29 rotate%28-14%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
:is(.blog, .archive) .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E %3Cg stroke-opacity='.5'%3E%3Crect x='40' y='40' width='210' height='206'/%3E%3Cpath d='M40 76h210'/%3E%3Crect x='86' y='28' width='8' height='24' rx='4'/%3E%3Crect x='196' y='28' width='8' height='24' rx='4'/%3E%3C/g%3E%3Cg stroke-opacity='.38'%3E%3Cpath d='M70 76v170'/%3E%3Cpath d='M100 76v170'/%3E%3Cpath d='M130 76v170'/%3E%3Cpath d='M160 76v170'/%3E%3Cpath d='M190 76v170'/%3E%3Cpath d='M220 76v170'/%3E%3Cpath d='M40 110h210'/%3E%3Cpath d='M40 144h210'/%3E%3Cpath d='M40 178h210'/%3E%3Cpath d='M40 212h210'/%3E%3C/g%3E%3Cg stroke-opacity='.5'%3E%3Ccircle cx='175.0' cy='161.0' r='19'/%3E%3C/g%3E%3Cg stroke-opacity='.5'%3E%3Ccircle cx='85.0' cy='93.0' r='3' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='205.0' cy='127.0' r='3' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='115.0' cy='195.0' r='3' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='235.0' cy='229.0' r='3' fill='%23ffffff' fill-opacity='.5'/%3E%3C/g%3E%3Cg stroke-opacity='.38'%3E%3Cpath d='M136 116l18 22M154 116l-18 22'/%3E%3C/g%3E%3Cg stroke-opacity='.38'%3E%3C/g%3E%3Cg stroke-opacity='.38'%3E%3Cpath d='M40 220L48 212'/%3E%3Cpath d='M40 228L56 212'/%3E%3Cpath d='M40 236L64 212'/%3E%3Cpath d='M40 244L70 214'/%3E%3Cpath d='M46 246L70 222'/%3E%3Cpath d='M54 246L70 230'/%3E%3Cpath d='M62 246L70 238'/%3E%3C/g%3E%3Cg stroke-opacity='.38'%3E%3Cpath d='M52 58h60M52 66h36'/%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-135 60%29 rotate%2835%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
.single-post .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E  %3Cg stroke-opacity='.5'%3E%3Cpath d='M60 20H200L240 60V260H60Z'/%3E%3Cpath d='M200 20V60H240'/%3E%3Crect x='80' y='80' width='70' height='50'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Cpath d='M80 44h96M80 58h70'/%3E%3Cpath d='M162 84h58M162 98h58M162 112h50M162 126h58M80 150h140M80 164h140M80 178h120M80 192h140M80 206h140M80 220h96'/%3E %3Cpath d='M80 80l70 50M150 80l-70 50'/%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-120 300%29 rotate%28-20%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
.home .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E %3Cg stroke-opacity='.5'%3E%3Cpath d='M70 30H216L240 54V270H70Z'/%3E%3Cpath d='M216 30V54H240'/%3E%3Crect x='88' y='92' width='134' height='16'/%3E%3Crect x='88' y='130' width='134' height='16'/%3E%3Crect x='88' y='168' width='134' height='16'/%3E%3Crect x='88' y='200' width='10' height='10'/%3E%3Crect x='88' y='216' width='10' height='10'/%3E%3Cpath d='M90 205l3 3 5 -6'/%3E%3Cpath d='M88 254h78'/%3E%3Cpath d='M92 250c4 -10 8 -10 9 -2s5 4 8 -4 6 -6 7 0 4 3 8 -2'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Cpath d='M108 54h64M88 70h96'/%3E%3Cpath d='M88 86h34M88 124h46M88 162h28M104 205h56M104 221h44'/%3E%3Cpath d='M70 20v-14M240 20v-14M70 12h170'/%3E%3Cpath d='M66 12l4 -3v6zM244 12l-4 -3v6z' fill='%23ffffff' fill-opacity='.38'/%3E%3Cpath d='M244 30h14M244 270h14M252 30v240'/%3E%3Cpath d='M252 26l-3 4h6zM252 274l-3 -4h6z' fill='%23ffffff' fill-opacity='.38'/%3E%3C/g%3E %3Crect x='88' y='48' width='12' height='12' fill='%23ffffff' fill-opacity='.5' stroke='none'/%3E %3Cg fill='%23ffffff' fill-opacity='.5' stroke='none' font-family='Arial, sans-serif' font-size='11' font-weight='700' letter-spacing='.5'%3E%3Ctext x='145' y='7'%3E210%3C/text%3E%3Ctext x='262' y='160' transform='rotate%2890 262 160%29'%3E297%3C/text%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-134 302%29 rotate%28-5%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
/* 404: yksinkertainen selainikkuna, jossa virhekoodi */
.error404 .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E %3Cg stroke-opacity='.5'%3E%3Crect x='40' y='60' width='220' height='180' rx='8'/%3E%3Cpath d='M40 88H260'/%3E%3Ccircle cx='56' cy='74' r='3'/%3E%3Ccircle cx='68' cy='74' r='3'/%3E%3Ccircle cx='80' cy='74' r='3'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Crect x='94' y='68' width='152' height='12' rx='6'/%3E%3C/g%3E %3Ctext x='150' y='180' text-anchor='middle' fill='%23ffffff' fill-opacity='.5' stroke='none' font-family='Arial, sans-serif' font-size='48' font-weight='700' letter-spacing='2'%3E404%3C/text%3E %3Cg stroke-opacity='.5' transform='translate%28-118 70%29 rotate%2840%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
.privacy-policy .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E  %3Cg stroke-opacity='.5'%3E%3Crect x='70' y='120' width='160' height='130'/%3E%3Cpath d='M100 120V88A50 50 0 0 1 200 88V120'/%3E%3Cpath d='M116 120V90A34 34 0 0 1 184 90V120'/%3E %3Ccircle cx='150' cy='175' r='12'/%3E%3Cpath d='M145 186l-5 34h20l-5 -34'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Cpath d='M70 266v12M230 266v12M70 272h160'/%3E%3Cpath d='M66 272l4 -3v6zM234 272l-4 -3v6z' fill='%23ffffff' fill-opacity='.38'/%3E%3Cpath d='M40 175h220' stroke-dasharray='3 3'/%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-110 80%29 rotate%2862%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
.search .ptt-motif::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-140 0 410 345'%3E %3Cg fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E  %3Cg stroke-opacity='.5'%3E%3Ccircle cx='135' cy='115' r='72'/%3E%3Ccircle cx='135' cy='115' r='60'/%3E%3Cpath d='M190 166l52 52M178 178l52 52M242 218l-12 12'/%3E%3C/g%3E %3Cg stroke-opacity='.38'%3E%3Cpath d='M95 80a50 50 0 0 1 40 -22'/%3E%3Cpath d='M135 30v170M50 115h170' stroke-dasharray='3 3'/%3E%3C/g%3E %3Cg stroke-opacity='.5' transform='translate%28-130 282%29 rotate%28-35%29 scale%281.5%29'%3E %3Cpath d='M0 6L20 0V12Z'/%3E%3Cpath d='M0 6L6 4.2V7.8Z' fill='%23ffffff' fill-opacity='.5'/%3E %3Cpath d='M20 0H100V12H20'/%3E%3Cpath d='M20 4H100M20 8H100' stroke-opacity='.35'/%3E %3Cpath d='M100 0H108V12H100M104 0V12'/%3E%3Cpath d='M108 0H117Q120 0 120 3V9Q120 12 117 12H108'/%3E %3C/g%3E%3C/g%3E%3C/svg%3E"); }
/* Ruudukko piirroksen ympärillä, ulkoreuna hajoaa ruutu kerrallaan taustaan */
.ptt-motif::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  width: 768px; height: 408px;
  right: calc(var(--pm-r) + var(--pm-w) * .332 - 384px);
  top: calc(var(--pm-t) + var(--pm-w) * 345 / 410 * .43 - 204px);
  background-image: linear-gradient(var(--pm-grid) 1px, transparent 1px), linear-gradient(90deg, var(--pm-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='768' height='408'%3E%3Crect x='456' y='0' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='336' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='360' y='24' width='24' height='24'/%3E%3Crect x='408' y='24' width='24' height='24'/%3E%3Crect x='432' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='480' y='24' width='24' height='24'/%3E%3Crect x='120' y='48' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='48' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='48' width='24' height='24'/%3E%3Crect x='216' y='48' width='24' height='24'/%3E%3Crect x='240' y='48' width='24' height='24'/%3E%3Crect x='264' y='48' width='24' height='24'/%3E%3Crect x='288' y='48' width='24' height='24'/%3E%3Crect x='312' y='48' width='24' height='24'/%3E%3Crect x='336' y='48' width='24' height='24'/%3E%3Crect x='360' y='48' width='24' height='24'/%3E%3Crect x='384' y='48' width='24' height='24'/%3E%3Crect x='408' y='48' width='24' height='24'/%3E%3Crect x='432' y='48' width='24' height='24'/%3E%3Crect x='456' y='48' width='24' height='24'/%3E%3Crect x='480' y='48' width='24' height='24'/%3E%3Crect x='504' y='48' width='24' height='24'/%3E%3Crect x='552' y='48' width='24' height='24'/%3E%3Crect x='576' y='48' width='24' height='24'/%3E%3Crect x='600' y='48' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='72' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='72' width='24' height='24'/%3E%3Crect x='216' y='72' width='24' height='24'/%3E%3Crect x='240' y='72' width='24' height='24'/%3E%3Crect x='264' y='72' width='24' height='24'/%3E%3Crect x='288' y='72' width='24' height='24'/%3E%3Crect x='312' y='72' width='24' height='24'/%3E%3Crect x='336' y='72' width='24' height='24'/%3E%3Crect x='360' y='72' width='24' height='24'/%3E%3Crect x='384' y='72' width='24' height='24'/%3E%3Crect x='408' y='72' width='24' height='24'/%3E%3Crect x='432' y='72' width='24' height='24'/%3E%3Crect x='456' y='72' width='24' height='24'/%3E%3Crect x='480' y='72' width='24' height='24'/%3E%3Crect x='504' y='72' width='24' height='24'/%3E%3Crect x='528' y='72' width='24' height='24'/%3E%3Crect x='552' y='72' width='24' height='24'/%3E%3Crect x='576' y='72' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='624' y='72' width='24' height='24'/%3E%3Crect x='72' y='96' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='120' y='96' width='24' height='24'/%3E%3Crect x='144' y='96' width='24' height='24'/%3E%3Crect x='168' y='96' width='24' height='24'/%3E%3Crect x='192' y='96' width='24' height='24'/%3E%3Crect x='216' y='96' width='24' height='24'/%3E%3Crect x='240' y='96' width='24' height='24'/%3E%3Crect x='264' y='96' width='24' height='24'/%3E%3Crect x='288' y='96' width='24' height='24'/%3E%3Crect x='312' y='96' width='24' height='24'/%3E%3Crect x='336' y='96' width='24' height='24'/%3E%3Crect x='360' y='96' width='24' height='24'/%3E%3Crect x='384' y='96' width='24' height='24'/%3E%3Crect x='408' y='96' width='24' height='24'/%3E%3Crect x='432' y='96' width='24' height='24'/%3E%3Crect x='456' y='96' width='24' height='24'/%3E%3Crect x='480' y='96' width='24' height='24'/%3E%3Crect x='504' y='96' width='24' height='24'/%3E%3Crect x='528' y='96' width='24' height='24'/%3E%3Crect x='552' y='96' width='24' height='24'/%3E%3Crect x='576' y='96' width='24' height='24'/%3E%3Crect x='600' y='96' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='624' y='96' width='24' height='24'/%3E%3Crect x='648' y='96' width='24' height='24'/%3E%3Crect x='672' y='96' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='120' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='96' y='120' width='24' height='24'/%3E%3Crect x='120' y='120' width='24' height='24'/%3E%3Crect x='144' y='120' width='24' height='24'/%3E%3Crect x='168' y='120' width='24' height='24'/%3E%3Crect x='192' y='120' width='24' height='24'/%3E%3Crect x='216' y='120' width='24' height='24'/%3E%3Crect x='240' y='120' width='24' height='24'/%3E%3Crect x='264' y='120' width='24' height='24'/%3E%3Crect x='288' y='120' width='24' height='24'/%3E%3Crect x='312' y='120' width='24' height='24'/%3E%3Crect x='336' y='120' width='24' height='24'/%3E%3Crect x='360' y='120' width='24' height='24'/%3E%3Crect x='384' y='120' width='24' height='24'/%3E%3Crect x='408' y='120' width='24' height='24'/%3E%3Crect x='432' y='120' width='24' height='24'/%3E%3Crect x='456' y='120' width='24' height='24'/%3E%3Crect x='480' y='120' width='24' height='24'/%3E%3Crect x='504' y='120' width='24' height='24'/%3E%3Crect x='528' y='120' width='24' height='24'/%3E%3Crect x='552' y='120' width='24' height='24'/%3E%3Crect x='576' y='120' width='24' height='24'/%3E%3Crect x='600' y='120' width='24' height='24'/%3E%3Crect x='624' y='120' width='24' height='24'/%3E%3Crect x='648' y='120' width='24' height='24'/%3E%3Crect x='672' y='120' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='696' y='120' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='144' width='24' height='24'/%3E%3Crect x='96' y='144' width='24' height='24'/%3E%3Crect x='120' y='144' width='24' height='24'/%3E%3Crect x='144' y='144' width='24' height='24'/%3E%3Crect x='168' y='144' width='24' height='24'/%3E%3Crect x='192' y='144' width='24' height='24'/%3E%3Crect x='216' y='144' width='24' height='24'/%3E%3Crect x='240' y='144' width='24' height='24'/%3E%3Crect x='264' y='144' width='24' height='24'/%3E%3Crect x='288' y='144' width='24' height='24'/%3E%3Crect x='312' y='144' width='24' height='24'/%3E%3Crect x='336' y='144' width='24' height='24'/%3E%3Crect x='360' y='144' width='24' height='24'/%3E%3Crect x='384' y='144' width='24' height='24'/%3E%3Crect x='408' y='144' width='24' height='24'/%3E%3Crect x='432' y='144' width='24' height='24'/%3E%3Crect x='456' y='144' width='24' height='24'/%3E%3Crect x='480' y='144' width='24' height='24'/%3E%3Crect x='504' y='144' width='24' height='24'/%3E%3Crect x='528' y='144' width='24' height='24'/%3E%3Crect x='552' y='144' width='24' height='24'/%3E%3Crect x='576' y='144' width='24' height='24'/%3E%3Crect x='600' y='144' width='24' height='24'/%3E%3Crect x='624' y='144' width='24' height='24'/%3E%3Crect x='648' y='144' width='24' height='24'/%3E%3Crect x='672' y='144' width='24' height='24'/%3E%3Crect x='24' y='168' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='48' y='168' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='168' width='24' height='24'/%3E%3Crect x='96' y='168' width='24' height='24'/%3E%3Crect x='120' y='168' width='24' height='24'/%3E%3Crect x='144' y='168' width='24' height='24'/%3E%3Crect x='168' y='168' width='24' height='24'/%3E%3Crect x='192' y='168' width='24' height='24'/%3E%3Crect x='216' y='168' width='24' height='24'/%3E%3Crect x='240' y='168' width='24' height='24'/%3E%3Crect x='264' y='168' width='24' height='24'/%3E%3Crect x='288' y='168' width='24' height='24'/%3E%3Crect x='312' y='168' width='24' height='24'/%3E%3Crect x='336' y='168' width='24' height='24'/%3E%3Crect x='360' y='168' width='24' height='24'/%3E%3Crect x='384' y='168' width='24' height='24'/%3E%3Crect x='408' y='168' width='24' height='24'/%3E%3Crect x='432' y='168' width='24' height='24'/%3E%3Crect x='456' y='168' width='24' height='24'/%3E%3Crect x='480' y='168' width='24' height='24'/%3E%3Crect x='504' y='168' width='24' height='24'/%3E%3Crect x='528' y='168' width='24' height='24'/%3E%3Crect x='552' y='168' width='24' height='24'/%3E%3Crect x='576' y='168' width='24' height='24'/%3E%3Crect x='600' y='168' width='24' height='24'/%3E%3Crect x='624' y='168' width='24' height='24'/%3E%3Crect x='648' y='168' width='24' height='24'/%3E%3Crect x='672' y='168' width='24' height='24'/%3E%3Crect x='696' y='168' width='24' height='24'/%3E%3Crect x='720' y='168' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='24' y='192' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='192' width='24' height='24'/%3E%3Crect x='96' y='192' width='24' height='24'/%3E%3Crect x='120' y='192' width='24' height='24'/%3E%3Crect x='144' y='192' width='24' height='24'/%3E%3Crect x='168' y='192' width='24' height='24'/%3E%3Crect x='192' y='192' width='24' height='24'/%3E%3Crect x='216' y='192' width='24' height='24'/%3E%3Crect x='240' y='192' width='24' height='24'/%3E%3Crect x='264' y='192' width='24' height='24'/%3E%3Crect x='288' y='192' width='24' height='24'/%3E%3Crect x='312' y='192' width='24' height='24'/%3E%3Crect x='336' y='192' width='24' height='24'/%3E%3Crect x='360' y='192' width='24' height='24'/%3E%3Crect x='384' y='192' width='24' height='24'/%3E%3Crect x='408' y='192' width='24' height='24'/%3E%3Crect x='432' y='192' width='24' height='24'/%3E%3Crect x='456' y='192' width='24' height='24'/%3E%3Crect x='480' y='192' width='24' height='24'/%3E%3Crect x='504' y='192' width='24' height='24'/%3E%3Crect x='528' y='192' width='24' height='24'/%3E%3Crect x='552' y='192' width='24' height='24'/%3E%3Crect x='576' y='192' width='24' height='24'/%3E%3Crect x='600' y='192' width='24' height='24'/%3E%3Crect x='624' y='192' width='24' height='24'/%3E%3Crect x='648' y='192' width='24' height='24'/%3E%3Crect x='672' y='192' width='24' height='24'/%3E%3Crect x='696' y='192' width='24' height='24'/%3E%3Crect x='744' y='192' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='216' width='24' height='24'/%3E%3Crect x='96' y='216' width='24' height='24'/%3E%3Crect x='120' y='216' width='24' height='24'/%3E%3Crect x='144' y='216' width='24' height='24'/%3E%3Crect x='168' y='216' width='24' height='24'/%3E%3Crect x='192' y='216' width='24' height='24'/%3E%3Crect x='216' y='216' width='24' height='24'/%3E%3Crect x='240' y='216' width='24' height='24'/%3E%3Crect x='264' y='216' width='24' height='24'/%3E%3Crect x='288' y='216' width='24' height='24'/%3E%3Crect x='312' y='216' width='24' height='24'/%3E%3Crect x='336' y='216' width='24' height='24'/%3E%3Crect x='360' y='216' width='24' height='24'/%3E%3Crect x='384' y='216' width='24' height='24'/%3E%3Crect x='408' y='216' width='24' height='24'/%3E%3Crect x='432' y='216' width='24' height='24'/%3E%3Crect x='456' y='216' width='24' height='24'/%3E%3Crect x='480' y='216' width='24' height='24'/%3E%3Crect x='504' y='216' width='24' height='24'/%3E%3Crect x='528' y='216' width='24' height='24'/%3E%3Crect x='552' y='216' width='24' height='24'/%3E%3Crect x='576' y='216' width='24' height='24'/%3E%3Crect x='600' y='216' width='24' height='24'/%3E%3Crect x='624' y='216' width='24' height='24'/%3E%3Crect x='648' y='216' width='24' height='24'/%3E%3Crect x='672' y='216' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='696' y='216' width='24' height='24'/%3E%3Crect x='24' y='240' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='240' width='24' height='24'/%3E%3Crect x='96' y='240' width='24' height='24'/%3E%3Crect x='120' y='240' width='24' height='24'/%3E%3Crect x='144' y='240' width='24' height='24'/%3E%3Crect x='168' y='240' width='24' height='24'/%3E%3Crect x='192' y='240' width='24' height='24'/%3E%3Crect x='216' y='240' width='24' height='24'/%3E%3Crect x='240' y='240' width='24' height='24'/%3E%3Crect x='264' y='240' width='24' height='24'/%3E%3Crect x='288' y='240' width='24' height='24'/%3E%3Crect x='312' y='240' width='24' height='24'/%3E%3Crect x='336' y='240' width='24' height='24'/%3E%3Crect x='360' y='240' width='24' height='24'/%3E%3Crect x='384' y='240' width='24' height='24'/%3E%3Crect x='408' y='240' width='24' height='24'/%3E%3Crect x='432' y='240' width='24' height='24'/%3E%3Crect x='456' y='240' width='24' height='24'/%3E%3Crect x='480' y='240' width='24' height='24'/%3E%3Crect x='504' y='240' width='24' height='24'/%3E%3Crect x='528' y='240' width='24' height='24'/%3E%3Crect x='552' y='240' width='24' height='24'/%3E%3Crect x='576' y='240' width='24' height='24'/%3E%3Crect x='600' y='240' width='24' height='24'/%3E%3Crect x='624' y='240' width='24' height='24'/%3E%3Crect x='648' y='240' width='24' height='24'/%3E%3Crect x='672' y='240' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='696' y='240' width='24' height='24'/%3E%3Crect x='720' y='240' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='24' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='96' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='120' y='264' width='24' height='24'/%3E%3Crect x='144' y='264' width='24' height='24'/%3E%3Crect x='168' y='264' width='24' height='24'/%3E%3Crect x='192' y='264' width='24' height='24'/%3E%3Crect x='216' y='264' width='24' height='24'/%3E%3Crect x='240' y='264' width='24' height='24'/%3E%3Crect x='264' y='264' width='24' height='24'/%3E%3Crect x='288' y='264' width='24' height='24'/%3E%3Crect x='312' y='264' width='24' height='24'/%3E%3Crect x='336' y='264' width='24' height='24'/%3E%3Crect x='360' y='264' width='24' height='24'/%3E%3Crect x='384' y='264' width='24' height='24'/%3E%3Crect x='408' y='264' width='24' height='24'/%3E%3Crect x='432' y='264' width='24' height='24'/%3E%3Crect x='456' y='264' width='24' height='24'/%3E%3Crect x='480' y='264' width='24' height='24'/%3E%3Crect x='504' y='264' width='24' height='24'/%3E%3Crect x='528' y='264' width='24' height='24'/%3E%3Crect x='552' y='264' width='24' height='24'/%3E%3Crect x='576' y='264' width='24' height='24'/%3E%3Crect x='600' y='264' width='24' height='24'/%3E%3Crect x='624' y='264' width='24' height='24'/%3E%3Crect x='648' y='264' width='24' height='24'/%3E%3Crect x='672' y='264' width='24' height='24'/%3E%3Crect x='696' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='96' y='288' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='120' y='288' width='24' height='24'/%3E%3Crect x='144' y='288' width='24' height='24'/%3E%3Crect x='168' y='288' width='24' height='24'/%3E%3Crect x='192' y='288' width='24' height='24'/%3E%3Crect x='216' y='288' width='24' height='24'/%3E%3Crect x='240' y='288' width='24' height='24'/%3E%3Crect x='264' y='288' width='24' height='24'/%3E%3Crect x='288' y='288' width='24' height='24'/%3E%3Crect x='312' y='288' width='24' height='24'/%3E%3Crect x='336' y='288' width='24' height='24'/%3E%3Crect x='360' y='288' width='24' height='24'/%3E%3Crect x='384' y='288' width='24' height='24'/%3E%3Crect x='408' y='288' width='24' height='24'/%3E%3Crect x='432' y='288' width='24' height='24'/%3E%3Crect x='456' y='288' width='24' height='24'/%3E%3Crect x='480' y='288' width='24' height='24'/%3E%3Crect x='504' y='288' width='24' height='24'/%3E%3Crect x='528' y='288' width='24' height='24'/%3E%3Crect x='552' y='288' width='24' height='24'/%3E%3Crect x='576' y='288' width='24' height='24'/%3E%3Crect x='600' y='288' width='24' height='24'/%3E%3Crect x='144' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='312' width='24' height='24'/%3E%3Crect x='216' y='312' width='24' height='24'/%3E%3Crect x='240' y='312' width='24' height='24'/%3E%3Crect x='264' y='312' width='24' height='24'/%3E%3Crect x='288' y='312' width='24' height='24'/%3E%3Crect x='312' y='312' width='24' height='24'/%3E%3Crect x='336' y='312' width='24' height='24'/%3E%3Crect x='360' y='312' width='24' height='24'/%3E%3Crect x='384' y='312' width='24' height='24'/%3E%3Crect x='408' y='312' width='24' height='24'/%3E%3Crect x='432' y='312' width='24' height='24'/%3E%3Crect x='456' y='312' width='24' height='24'/%3E%3Crect x='480' y='312' width='24' height='24'/%3E%3Crect x='504' y='312' width='24' height='24'/%3E%3Crect x='528' y='312' width='24' height='24'/%3E%3Crect x='552' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='576' y='312' width='24' height='24'/%3E%3Crect x='600' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='624' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='336' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='216' y='336' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='240' y='336' width='24' height='24'/%3E%3Crect x='264' y='336' width='24' height='24'/%3E%3Crect x='288' y='336' width='24' height='24'/%3E%3Crect x='312' y='336' width='24' height='24'/%3E%3Crect x='336' y='336' width='24' height='24'/%3E%3Crect x='360' y='336' width='24' height='24'/%3E%3Crect x='384' y='336' width='24' height='24'/%3E%3Crect x='408' y='336' width='24' height='24'/%3E%3Crect x='432' y='336' width='24' height='24'/%3E%3Crect x='456' y='336' width='24' height='24'/%3E%3Crect x='480' y='336' width='24' height='24'/%3E%3Crect x='504' y='336' width='24' height='24'/%3E%3Crect x='528' y='336' width='24' height='24'/%3E%3Crect x='552' y='336' width='24' height='24'/%3E%3Crect x='288' y='360' width='24' height='24'/%3E%3Crect x='312' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='336' y='360' width='24' height='24'/%3E%3Crect x='360' y='360' width='24' height='24'/%3E%3Crect x='384' y='360' width='24' height='24'/%3E%3Crect x='408' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='432' y='360' width='24' height='24'/%3E%3Crect x='456' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='480' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='528' y='360' width='24' height='24'/%3E%3Crect x='384' y='384' width='24' height='24' fill-opacity='0.45'/%3E%3C/svg%3E") 0 0 / 768px 408px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='768' height='408'%3E%3Crect x='456' y='0' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='336' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='360' y='24' width='24' height='24'/%3E%3Crect x='408' y='24' width='24' height='24'/%3E%3Crect x='432' y='24' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='480' y='24' width='24' height='24'/%3E%3Crect x='120' y='48' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='48' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='48' width='24' height='24'/%3E%3Crect x='216' y='48' width='24' height='24'/%3E%3Crect x='240' y='48' width='24' height='24'/%3E%3Crect x='264' y='48' width='24' height='24'/%3E%3Crect x='288' y='48' width='24' height='24'/%3E%3Crect x='312' y='48' width='24' height='24'/%3E%3Crect x='336' y='48' width='24' height='24'/%3E%3Crect x='360' y='48' width='24' height='24'/%3E%3Crect x='384' y='48' width='24' height='24'/%3E%3Crect x='408' y='48' width='24' height='24'/%3E%3Crect x='432' y='48' width='24' height='24'/%3E%3Crect x='456' y='48' width='24' height='24'/%3E%3Crect x='480' y='48' width='24' height='24'/%3E%3Crect x='504' y='48' width='24' height='24'/%3E%3Crect x='552' y='48' width='24' height='24'/%3E%3Crect x='576' y='48' width='24' height='24'/%3E%3Crect x='600' y='48' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='72' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='72' width='24' height='24'/%3E%3Crect x='216' y='72' width='24' height='24'/%3E%3Crect x='240' y='72' width='24' height='24'/%3E%3Crect x='264' y='72' width='24' height='24'/%3E%3Crect x='288' y='72' width='24' height='24'/%3E%3Crect x='312' y='72' width='24' height='24'/%3E%3Crect x='336' y='72' width='24' height='24'/%3E%3Crect x='360' y='72' width='24' height='24'/%3E%3Crect x='384' y='72' width='24' height='24'/%3E%3Crect x='408' y='72' width='24' height='24'/%3E%3Crect x='432' y='72' width='24' height='24'/%3E%3Crect x='456' y='72' width='24' height='24'/%3E%3Crect x='480' y='72' width='24' height='24'/%3E%3Crect x='504' y='72' width='24' height='24'/%3E%3Crect x='528' y='72' width='24' height='24'/%3E%3Crect x='552' y='72' width='24' height='24'/%3E%3Crect x='576' y='72' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='624' y='72' width='24' height='24'/%3E%3Crect x='72' y='96' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='120' y='96' width='24' height='24'/%3E%3Crect x='144' y='96' width='24' height='24'/%3E%3Crect x='168' y='96' width='24' height='24'/%3E%3Crect x='192' y='96' width='24' height='24'/%3E%3Crect x='216' y='96' width='24' height='24'/%3E%3Crect x='240' y='96' width='24' height='24'/%3E%3Crect x='264' y='96' width='24' height='24'/%3E%3Crect x='288' y='96' width='24' height='24'/%3E%3Crect x='312' y='96' width='24' height='24'/%3E%3Crect x='336' y='96' width='24' height='24'/%3E%3Crect x='360' y='96' width='24' height='24'/%3E%3Crect x='384' y='96' width='24' height='24'/%3E%3Crect x='408' y='96' width='24' height='24'/%3E%3Crect x='432' y='96' width='24' height='24'/%3E%3Crect x='456' y='96' width='24' height='24'/%3E%3Crect x='480' y='96' width='24' height='24'/%3E%3Crect x='504' y='96' width='24' height='24'/%3E%3Crect x='528' y='96' width='24' height='24'/%3E%3Crect x='552' y='96' width='24' height='24'/%3E%3Crect x='576' y='96' width='24' height='24'/%3E%3Crect x='600' y='96' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='624' y='96' width='24' height='24'/%3E%3Crect x='648' y='96' width='24' height='24'/%3E%3Crect x='672' y='96' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='120' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='96' y='120' width='24' height='24'/%3E%3Crect x='120' y='120' width='24' height='24'/%3E%3Crect x='144' y='120' width='24' height='24'/%3E%3Crect x='168' y='120' width='24' height='24'/%3E%3Crect x='192' y='120' width='24' height='24'/%3E%3Crect x='216' y='120' width='24' height='24'/%3E%3Crect x='240' y='120' width='24' height='24'/%3E%3Crect x='264' y='120' width='24' height='24'/%3E%3Crect x='288' y='120' width='24' height='24'/%3E%3Crect x='312' y='120' width='24' height='24'/%3E%3Crect x='336' y='120' width='24' height='24'/%3E%3Crect x='360' y='120' width='24' height='24'/%3E%3Crect x='384' y='120' width='24' height='24'/%3E%3Crect x='408' y='120' width='24' height='24'/%3E%3Crect x='432' y='120' width='24' height='24'/%3E%3Crect x='456' y='120' width='24' height='24'/%3E%3Crect x='480' y='120' width='24' height='24'/%3E%3Crect x='504' y='120' width='24' height='24'/%3E%3Crect x='528' y='120' width='24' height='24'/%3E%3Crect x='552' y='120' width='24' height='24'/%3E%3Crect x='576' y='120' width='24' height='24'/%3E%3Crect x='600' y='120' width='24' height='24'/%3E%3Crect x='624' y='120' width='24' height='24'/%3E%3Crect x='648' y='120' width='24' height='24'/%3E%3Crect x='672' y='120' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='696' y='120' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='144' width='24' height='24'/%3E%3Crect x='96' y='144' width='24' height='24'/%3E%3Crect x='120' y='144' width='24' height='24'/%3E%3Crect x='144' y='144' width='24' height='24'/%3E%3Crect x='168' y='144' width='24' height='24'/%3E%3Crect x='192' y='144' width='24' height='24'/%3E%3Crect x='216' y='144' width='24' height='24'/%3E%3Crect x='240' y='144' width='24' height='24'/%3E%3Crect x='264' y='144' width='24' height='24'/%3E%3Crect x='288' y='144' width='24' height='24'/%3E%3Crect x='312' y='144' width='24' height='24'/%3E%3Crect x='336' y='144' width='24' height='24'/%3E%3Crect x='360' y='144' width='24' height='24'/%3E%3Crect x='384' y='144' width='24' height='24'/%3E%3Crect x='408' y='144' width='24' height='24'/%3E%3Crect x='432' y='144' width='24' height='24'/%3E%3Crect x='456' y='144' width='24' height='24'/%3E%3Crect x='480' y='144' width='24' height='24'/%3E%3Crect x='504' y='144' width='24' height='24'/%3E%3Crect x='528' y='144' width='24' height='24'/%3E%3Crect x='552' y='144' width='24' height='24'/%3E%3Crect x='576' y='144' width='24' height='24'/%3E%3Crect x='600' y='144' width='24' height='24'/%3E%3Crect x='624' y='144' width='24' height='24'/%3E%3Crect x='648' y='144' width='24' height='24'/%3E%3Crect x='672' y='144' width='24' height='24'/%3E%3Crect x='24' y='168' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='48' y='168' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='168' width='24' height='24'/%3E%3Crect x='96' y='168' width='24' height='24'/%3E%3Crect x='120' y='168' width='24' height='24'/%3E%3Crect x='144' y='168' width='24' height='24'/%3E%3Crect x='168' y='168' width='24' height='24'/%3E%3Crect x='192' y='168' width='24' height='24'/%3E%3Crect x='216' y='168' width='24' height='24'/%3E%3Crect x='240' y='168' width='24' height='24'/%3E%3Crect x='264' y='168' width='24' height='24'/%3E%3Crect x='288' y='168' width='24' height='24'/%3E%3Crect x='312' y='168' width='24' height='24'/%3E%3Crect x='336' y='168' width='24' height='24'/%3E%3Crect x='360' y='168' width='24' height='24'/%3E%3Crect x='384' y='168' width='24' height='24'/%3E%3Crect x='408' y='168' width='24' height='24'/%3E%3Crect x='432' y='168' width='24' height='24'/%3E%3Crect x='456' y='168' width='24' height='24'/%3E%3Crect x='480' y='168' width='24' height='24'/%3E%3Crect x='504' y='168' width='24' height='24'/%3E%3Crect x='528' y='168' width='24' height='24'/%3E%3Crect x='552' y='168' width='24' height='24'/%3E%3Crect x='576' y='168' width='24' height='24'/%3E%3Crect x='600' y='168' width='24' height='24'/%3E%3Crect x='624' y='168' width='24' height='24'/%3E%3Crect x='648' y='168' width='24' height='24'/%3E%3Crect x='672' y='168' width='24' height='24'/%3E%3Crect x='696' y='168' width='24' height='24'/%3E%3Crect x='720' y='168' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='24' y='192' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='192' width='24' height='24'/%3E%3Crect x='96' y='192' width='24' height='24'/%3E%3Crect x='120' y='192' width='24' height='24'/%3E%3Crect x='144' y='192' width='24' height='24'/%3E%3Crect x='168' y='192' width='24' height='24'/%3E%3Crect x='192' y='192' width='24' height='24'/%3E%3Crect x='216' y='192' width='24' height='24'/%3E%3Crect x='240' y='192' width='24' height='24'/%3E%3Crect x='264' y='192' width='24' height='24'/%3E%3Crect x='288' y='192' width='24' height='24'/%3E%3Crect x='312' y='192' width='24' height='24'/%3E%3Crect x='336' y='192' width='24' height='24'/%3E%3Crect x='360' y='192' width='24' height='24'/%3E%3Crect x='384' y='192' width='24' height='24'/%3E%3Crect x='408' y='192' width='24' height='24'/%3E%3Crect x='432' y='192' width='24' height='24'/%3E%3Crect x='456' y='192' width='24' height='24'/%3E%3Crect x='480' y='192' width='24' height='24'/%3E%3Crect x='504' y='192' width='24' height='24'/%3E%3Crect x='528' y='192' width='24' height='24'/%3E%3Crect x='552' y='192' width='24' height='24'/%3E%3Crect x='576' y='192' width='24' height='24'/%3E%3Crect x='600' y='192' width='24' height='24'/%3E%3Crect x='624' y='192' width='24' height='24'/%3E%3Crect x='648' y='192' width='24' height='24'/%3E%3Crect x='672' y='192' width='24' height='24'/%3E%3Crect x='696' y='192' width='24' height='24'/%3E%3Crect x='744' y='192' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='216' width='24' height='24'/%3E%3Crect x='96' y='216' width='24' height='24'/%3E%3Crect x='120' y='216' width='24' height='24'/%3E%3Crect x='144' y='216' width='24' height='24'/%3E%3Crect x='168' y='216' width='24' height='24'/%3E%3Crect x='192' y='216' width='24' height='24'/%3E%3Crect x='216' y='216' width='24' height='24'/%3E%3Crect x='240' y='216' width='24' height='24'/%3E%3Crect x='264' y='216' width='24' height='24'/%3E%3Crect x='288' y='216' width='24' height='24'/%3E%3Crect x='312' y='216' width='24' height='24'/%3E%3Crect x='336' y='216' width='24' height='24'/%3E%3Crect x='360' y='216' width='24' height='24'/%3E%3Crect x='384' y='216' width='24' height='24'/%3E%3Crect x='408' y='216' width='24' height='24'/%3E%3Crect x='432' y='216' width='24' height='24'/%3E%3Crect x='456' y='216' width='24' height='24'/%3E%3Crect x='480' y='216' width='24' height='24'/%3E%3Crect x='504' y='216' width='24' height='24'/%3E%3Crect x='528' y='216' width='24' height='24'/%3E%3Crect x='552' y='216' width='24' height='24'/%3E%3Crect x='576' y='216' width='24' height='24'/%3E%3Crect x='600' y='216' width='24' height='24'/%3E%3Crect x='624' y='216' width='24' height='24'/%3E%3Crect x='648' y='216' width='24' height='24'/%3E%3Crect x='672' y='216' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='696' y='216' width='24' height='24'/%3E%3Crect x='24' y='240' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='240' width='24' height='24'/%3E%3Crect x='96' y='240' width='24' height='24'/%3E%3Crect x='120' y='240' width='24' height='24'/%3E%3Crect x='144' y='240' width='24' height='24'/%3E%3Crect x='168' y='240' width='24' height='24'/%3E%3Crect x='192' y='240' width='24' height='24'/%3E%3Crect x='216' y='240' width='24' height='24'/%3E%3Crect x='240' y='240' width='24' height='24'/%3E%3Crect x='264' y='240' width='24' height='24'/%3E%3Crect x='288' y='240' width='24' height='24'/%3E%3Crect x='312' y='240' width='24' height='24'/%3E%3Crect x='336' y='240' width='24' height='24'/%3E%3Crect x='360' y='240' width='24' height='24'/%3E%3Crect x='384' y='240' width='24' height='24'/%3E%3Crect x='408' y='240' width='24' height='24'/%3E%3Crect x='432' y='240' width='24' height='24'/%3E%3Crect x='456' y='240' width='24' height='24'/%3E%3Crect x='480' y='240' width='24' height='24'/%3E%3Crect x='504' y='240' width='24' height='24'/%3E%3Crect x='528' y='240' width='24' height='24'/%3E%3Crect x='552' y='240' width='24' height='24'/%3E%3Crect x='576' y='240' width='24' height='24'/%3E%3Crect x='600' y='240' width='24' height='24'/%3E%3Crect x='624' y='240' width='24' height='24'/%3E%3Crect x='648' y='240' width='24' height='24'/%3E%3Crect x='672' y='240' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='696' y='240' width='24' height='24'/%3E%3Crect x='720' y='240' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='24' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='72' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='96' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='120' y='264' width='24' height='24'/%3E%3Crect x='144' y='264' width='24' height='24'/%3E%3Crect x='168' y='264' width='24' height='24'/%3E%3Crect x='192' y='264' width='24' height='24'/%3E%3Crect x='216' y='264' width='24' height='24'/%3E%3Crect x='240' y='264' width='24' height='24'/%3E%3Crect x='264' y='264' width='24' height='24'/%3E%3Crect x='288' y='264' width='24' height='24'/%3E%3Crect x='312' y='264' width='24' height='24'/%3E%3Crect x='336' y='264' width='24' height='24'/%3E%3Crect x='360' y='264' width='24' height='24'/%3E%3Crect x='384' y='264' width='24' height='24'/%3E%3Crect x='408' y='264' width='24' height='24'/%3E%3Crect x='432' y='264' width='24' height='24'/%3E%3Crect x='456' y='264' width='24' height='24'/%3E%3Crect x='480' y='264' width='24' height='24'/%3E%3Crect x='504' y='264' width='24' height='24'/%3E%3Crect x='528' y='264' width='24' height='24'/%3E%3Crect x='552' y='264' width='24' height='24'/%3E%3Crect x='576' y='264' width='24' height='24'/%3E%3Crect x='600' y='264' width='24' height='24'/%3E%3Crect x='624' y='264' width='24' height='24'/%3E%3Crect x='648' y='264' width='24' height='24'/%3E%3Crect x='672' y='264' width='24' height='24'/%3E%3Crect x='696' y='264' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='96' y='288' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='120' y='288' width='24' height='24'/%3E%3Crect x='144' y='288' width='24' height='24'/%3E%3Crect x='168' y='288' width='24' height='24'/%3E%3Crect x='192' y='288' width='24' height='24'/%3E%3Crect x='216' y='288' width='24' height='24'/%3E%3Crect x='240' y='288' width='24' height='24'/%3E%3Crect x='264' y='288' width='24' height='24'/%3E%3Crect x='288' y='288' width='24' height='24'/%3E%3Crect x='312' y='288' width='24' height='24'/%3E%3Crect x='336' y='288' width='24' height='24'/%3E%3Crect x='360' y='288' width='24' height='24'/%3E%3Crect x='384' y='288' width='24' height='24'/%3E%3Crect x='408' y='288' width='24' height='24'/%3E%3Crect x='432' y='288' width='24' height='24'/%3E%3Crect x='456' y='288' width='24' height='24'/%3E%3Crect x='480' y='288' width='24' height='24'/%3E%3Crect x='504' y='288' width='24' height='24'/%3E%3Crect x='528' y='288' width='24' height='24'/%3E%3Crect x='552' y='288' width='24' height='24'/%3E%3Crect x='576' y='288' width='24' height='24'/%3E%3Crect x='600' y='288' width='24' height='24'/%3E%3Crect x='144' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='168' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='312' width='24' height='24'/%3E%3Crect x='216' y='312' width='24' height='24'/%3E%3Crect x='240' y='312' width='24' height='24'/%3E%3Crect x='264' y='312' width='24' height='24'/%3E%3Crect x='288' y='312' width='24' height='24'/%3E%3Crect x='312' y='312' width='24' height='24'/%3E%3Crect x='336' y='312' width='24' height='24'/%3E%3Crect x='360' y='312' width='24' height='24'/%3E%3Crect x='384' y='312' width='24' height='24'/%3E%3Crect x='408' y='312' width='24' height='24'/%3E%3Crect x='432' y='312' width='24' height='24'/%3E%3Crect x='456' y='312' width='24' height='24'/%3E%3Crect x='480' y='312' width='24' height='24'/%3E%3Crect x='504' y='312' width='24' height='24'/%3E%3Crect x='528' y='312' width='24' height='24'/%3E%3Crect x='552' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='576' y='312' width='24' height='24'/%3E%3Crect x='600' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='624' y='312' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='192' y='336' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='216' y='336' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='240' y='336' width='24' height='24'/%3E%3Crect x='264' y='336' width='24' height='24'/%3E%3Crect x='288' y='336' width='24' height='24'/%3E%3Crect x='312' y='336' width='24' height='24'/%3E%3Crect x='336' y='336' width='24' height='24'/%3E%3Crect x='360' y='336' width='24' height='24'/%3E%3Crect x='384' y='336' width='24' height='24'/%3E%3Crect x='408' y='336' width='24' height='24'/%3E%3Crect x='432' y='336' width='24' height='24'/%3E%3Crect x='456' y='336' width='24' height='24'/%3E%3Crect x='480' y='336' width='24' height='24'/%3E%3Crect x='504' y='336' width='24' height='24'/%3E%3Crect x='528' y='336' width='24' height='24'/%3E%3Crect x='552' y='336' width='24' height='24'/%3E%3Crect x='288' y='360' width='24' height='24'/%3E%3Crect x='312' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='336' y='360' width='24' height='24'/%3E%3Crect x='360' y='360' width='24' height='24'/%3E%3Crect x='384' y='360' width='24' height='24'/%3E%3Crect x='408' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='432' y='360' width='24' height='24'/%3E%3Crect x='456' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='480' y='360' width='24' height='24' fill-opacity='0.45'/%3E%3Crect x='528' y='360' width='24' height='24'/%3E%3Crect x='384' y='384' width='24' height='24' fill-opacity='0.45'/%3E%3C/svg%3E") 0 0 / 768px 408px no-repeat;
}
.ptt-dark.ptt-motif { --pm-w: clamp(182px, 13.7vw, 228px); --pm-b: clamp(1.5rem, 3vw, 2.5rem); }
.ptt-dark.ptt-motif::before { top: auto; bottom: var(--pm-b); }
.ptt-dark.ptt-motif::after { top: auto; bottom: calc(var(--pm-b) + var(--pm-w) * 345 / 410 * .57 - 204px); }
/* Tumman osion kuvio ei mahdu tekstin viereen alle 1280 px:n leveydellä */
@media (max-width: 1279px) { .ptt-dark.ptt-motif::before, .ptt-dark.ptt-motif::after { display: none; } }
.ptt-motif--light { --pm-grid: rgba(49,39,131,.08); }
.ptt-motif--light::before { filter: invert(14%) sepia(58%) saturate(3400%) hue-rotate(238deg); }
.ptt-motif > * { position: relative; }

/* ================================================================
   Alasivut
   ================================================================ */
/* Alasivujen hero */
.ptt-page-hero .ptt-lead { margin-bottom: 0; max-width: 40em; }
.ptt-page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
/* Kun piirros näkyy (yli 781 px), yläosan teksti rivittyy ennen piirroksen aluetta, ettei se mene kuvion päälle */
@media (min-width: 782px) {
  .ptt-page-hero.ptt-motif :is(h1, .ptt-back) { max-width: calc(100% - var(--pm-w) - 2rem); }
  .ptt-page-hero.ptt-motif .ptt-lead { max-width: min(40em, calc(100% - var(--pm-w) - 2rem)); }
  .ptt-page-hero.ptt-motif :is(.wp-block-query-title, .ptt-post-title) { max-width: min(22em, calc(100% - var(--pm-w) - 2rem)); }
}
/* Mobiilissa heron teksti keskitetään (ei yksittäisessä uutisessa) */
@media (max-width: 781px) {
  body:not(.single) .ptt-page-hero, .ptt-hero:not(.ptt-page-hero) .ptt-hero-cols > .wp-block-column:first-child { text-align: center; }
  body:not(.single) .ptt-page-hero .ptt-accent::before, .ptt-hero:not(.ptt-page-hero) .ptt-accent::before { margin-inline: auto; }
  body:not(.single) .ptt-page-hero .ptt-lead, body:not(.single) .ptt-page-hero .wp-block-query-title,
  .ptt-hero:not(.ptt-page-hero) .ptt-lead { margin-inline: auto; }
}

/* ---------- Yhdistys-sivu ---------- */
.ptt-about-cols { gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ptt-statement { font-size: clamp(1.7rem, 3vw, 2.5rem) !important; line-height: 1.15; margin-bottom: 1.75rem; }
.ptt-about-cols p { font-size: 1.1rem; color: var(--wp--preset--color--ink); max-width: 36em; }
.ptt-about-img { margin: 0; }

.ptt-about-do h2, .ptt-about-board h2, .ptt-about-contact h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 2.5rem; }
/* Ohut viiva ja syaani neliö sen päällä */
.ptt-do, .ptt-fee { position: relative; border-top: 1px solid var(--wp--preset--color--line); padding-top: 24px; }
.ptt-do::before, .ptt-fee::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; background: var(--wp--preset--color--accent);
}
.ptt-do h3 { font-size: 1.3rem; margin: 0 0 10px; }
.ptt-do p { margin: 0; color: var(--wp--preset--color--ink); }

.ptt-board-intro { margin: -1.25rem 0 2.5rem; max-width: 65ch; color: var(--wp--preset--color--text-muted); }
.ptt-person { border-top: 1px solid var(--wp--preset--color--line); padding-top: 18px; }
.ptt-person p { margin: 0; }
.ptt-person__role { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--primary); margin-bottom: 8px !important; }
.ptt-person__name { font-size: 1.25rem; font-weight: 800; letter-spacing: 0; color: var(--wp--preset--color--primary); }
.ptt-person__org { color: var(--wp--preset--color--text-muted); }

.ptt-about-contact { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ptt-hdr, 88px)); border-top: 1px solid var(--wp--preset--color--line); }
/* Tumman osion jälkeen erotinviivaa ei tarvita (se jäisi irralleen osioiden välin alle) */
.ptt-dark + .ptt-about-contact { border-top: 0; }
/* Yhteystietojen linkit: alatunnisteen syaani viiva kasvaa vasemmalta hoverissa ja fokuksessa.
   Lepotilassa ohut vaalea alleviivaus, jotta linkki erottuu tekstistä muutenkin kuin värillä. */
:is(.ptt-about-contact, .ptt-join-contact) a:not(.wp-element-button) {
  position: relative; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
:is(.ptt-about-contact, .ptt-join-contact) a:not(.wp-element-button):is(:hover, :focus-visible) { text-decoration-color: transparent; }
:is(.ptt-about-contact, .ptt-join-contact) a:not(.wp-element-button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--wp--preset--color--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
:is(.ptt-about-contact, .ptt-join-contact) a:not(.wp-element-button):is(:hover, :focus-visible)::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  :is(.ptt-about-contact, .ptt-join-contact) a:not(.wp-element-button)::after { transition: none; }
}
/* Ladattavat tiedostot (Tiedosto-lohko): allekkaiset lohkot muodostavat listan ohuin erotinviivoin.
   Ytimen 0,8 em koko korvataan tekstin koolla; linkeissä sama kasvava syaani viiva kuin yhteystiedoissa. */
.wp-block-file:not(.wp-element-button) {
  position: relative; font-size: inherit; margin: 0; padding: 1rem 0 1rem 2.25rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
:is(:not(.wp-block-file) + .wp-block-file, .wp-block-file:first-child) { margin-top: 2rem; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.wp-block-file:not(:has(+ .wp-block-file)) { margin-bottom: 0; }
.wp-block-file::before {
  content: ""; position: absolute; left: 0; top: calc(1rem + .1em); width: 1.25rem; height: 1.25rem;
  background: var(--wp--preset--color--accent);
  -webkit-mask: var(--ptt-file) center / contain no-repeat; mask: var(--ptt-file) center / contain no-repeat;
}
.wp-block-file > a:not(.wp-element-button) {
  position: relative; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.wp-block-file > a:not(.wp-element-button):is(:hover, :focus-visible) { text-decoration-color: transparent; }
.wp-block-file > a:not(.wp-element-button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--wp--preset--color--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.wp-block-file > a:not(.wp-element-button):is(:hover, :focus-visible)::after { transform: none; }
.wp-block-file .wp-block-file__embed { margin: 1rem 0 0; }
@media (prefers-reduced-motion: reduce) {
  .wp-block-file > a:not(.wp-element-button)::after { transition: none; }
}
.ptt-contact h3 { font-size: 15px; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; }
.ptt-contact p { margin: 0; line-height: 1.8; }
.ptt-contact a { color: var(--wp--preset--color--primary); }
html { scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ptt-hdr, 88px) + 16px); }

/* ---------- Liity jäseneksi ---------- */
.ptt-join-why h2, .ptt-join-how h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 2.5rem; }
.ptt-join-cols { gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ptt-howto { list-style: none; counter-reset: ptt-howto; margin: 0; padding: 0; }
.ptt-howto li {
  max-width: 62ch;
  counter-increment: ptt-howto; position: relative; padding: 0 0 2rem 4.25rem; margin: 0;
  font-size: 1.05rem; color: var(--wp--preset--color--ink);
}
.ptt-howto li::before {
  content: counter(ptt-howto); position: absolute; left: 0; top: -.15em; width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center; background: var(--wp--preset--color--primary); color: #fff;
  font-weight: 800; font-size: 1.2rem;
}
.ptt-howto li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.375rem - 1px); top: 2.9rem; bottom: .3rem; width: 2px; background: var(--wp--preset--color--line);
}
.ptt-howto strong { display: inline-block; font-size: 1.2rem; font-weight: 800; color: var(--wp--preset--color--primary); margin-bottom: 4px; }
/* Jäsenmaksu tasaisena lohkona, ei korttina */
.ptt-fee, .ptt-fee.has-background { background: transparent !important; padding: 24px 0 0 !important; }
.ptt-fee h3 { margin: 0 0 10px; }
.ptt-join-person { line-height: 1.8; }
.ptt-join-contact { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ptt-hdr, 88px)); }

/* Etusivun heron faktarivi */
.ptt-checks {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 32px;
  margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .16);
}
.ptt-checks li { font-weight: 600; font-size: 15px; text-wrap: balance; }

/* ---------- Yhdistys lyhyesti (etusivu) ----------
   Kuva oikeassa alakulmassa; lohkon taustakuva (ptt-yhdistys-tausta.png) jatkaa kuvan sävyjä vasemmalle. */
.ptt-intro {
  --in-w: 50vw;                          /* kuvan leveys */
  --in-h: calc(var(--in-w) * 0.6665);    /* kuvan korkeus (kuvasuhde 2000:1333) */
  --in-light: #f0f0f0;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--in-w); align-items: end;
  margin-block: 0 !important; overflow: hidden; background-color: var(--in-light);
  background-position: left bottom !important; background-repeat: no-repeat !important;
  background-size: calc(100% - var(--in-w) + 2px) var(--in-h) !important;
  padding: 0 0 0 max(var(--wp--style--root--padding-left, 1.5rem), calc((100% - 1200px) / 2)) !important;
}
.ptt-intro::before, .ptt-intro::after { content: ""; position: absolute; top: 0; pointer-events: none; }
/* Kuvan ja taustakuvan yläpuolinen alue: sama liukuma kuin kuvien yläreunoissa */
.ptt-intro::before { left: 0; right: 0; bottom: var(--in-h); background: linear-gradient(to right, #f0f0f0 calc((100% - var(--in-w)) * 0), #f0f0f0 calc((100% - var(--in-w)) * 0.05), #f0f0f0 calc((100% - var(--in-w)) * 0.1), #f0f0f0 calc((100% - var(--in-w)) * 0.15), #f0f0f0 calc((100% - var(--in-w)) * 0.2), #f0f0f0 calc((100% - var(--in-w)) * 0.25), #f0f0f0 calc((100% - var(--in-w)) * 0.3), #f0f0f0 calc((100% - var(--in-w)) * 0.35), #f0f0f0 calc((100% - var(--in-w)) * 0.4), #f0f0f0 calc((100% - var(--in-w)) * 0.45), #f0f0f0 calc((100% - var(--in-w)) * 0.5), #f0f0f0 calc((100% - var(--in-w)) * 0.55), #f0f0f0 calc((100% - var(--in-w)) * 0.6), #f1f1f1 calc((100% - var(--in-w)) * 0.65), #f1f1f1 calc((100% - var(--in-w)) * 0.7), #f1f1f1 calc((100% - var(--in-w)) * 0.75), #f1f1f1 calc((100% - var(--in-w)) * 0.8), #f1f1f1 calc((100% - var(--in-w)) * 0.85), #f1f1f1 calc((100% - var(--in-w)) * 0.9), #f1f1f1 calc((100% - var(--in-w)) * 0.95), #f1f1f1 calc((100% - var(--in-w)) * 1), #f1f1f1 calc(100% - var(--in-w) * 1), #f0f0f0 calc(100% - var(--in-w) * 0.9), #ececec calc(100% - var(--in-w) * 0.8), #eaeaea calc(100% - var(--in-w) * 0.7), #ececec calc(100% - var(--in-w) * 0.6), #ebebeb calc(100% - var(--in-w) * 0.5), #e9e9e9 calc(100% - var(--in-w) * 0.4), #e7e7e7 calc(100% - var(--in-w) * 0.3), #e3e3e3 calc(100% - var(--in-w) * 0.2), #dadada calc(100% - var(--in-w) * 0.1), #cbcbcb calc(100% - var(--in-w) * 0)); }
/* Kuvan takana (näkyy kuvan häivytetyn yläreunan läpi) */
.ptt-intro::after { right: 0; bottom: 0; top: auto; height: var(--in-h); width: var(--in-w); background: linear-gradient(to right, #f1f1f1 0%, #f0f0f0 10%, #ececec 20%, #eaeaea 30%, #ececec 40%, #ebebeb 50%, #e9e9e9 60%, #e7e7e7 70%, #e3e3e3 80%, #dadada 90%, #cbcbcb 100%); }
.ptt-intro > * { position: relative; z-index: 1; margin: 0 !important; max-width: none !important; }
.ptt-intro__text {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 7rem) calc(var(--in-h) * 0.276 + clamp(1.5rem, 3vw, 3rem)) 0;
}
.ptt-intro__text > * { max-width: 36em; }
.ptt-intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.005em; line-height: 1.08; }
.ptt-intro__text p:not(.ptt-more) { margin-block: 1.1rem 0; }
.ptt-intro__text .ptt-more { margin-top: 1.6rem; }
.ptt-intro__img img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%); mask-image: linear-gradient(to bottom, transparent 0, #000 10%);
}

/* Kapeilla näytöillä kuva tekstin alle koko leveydelle */
@media (max-width: 959px) {
  .ptt-intro { grid-template-columns: minmax(0, 1fr); padding: 0 !important; background-image: none !important; }
  .ptt-intro::before, .ptt-intro::after { display: none; }
  .ptt-intro__text { padding: clamp(2.5rem, 7vw, 4rem) var(--wp--style--root--padding-right, 1.5rem) clamp(1rem, 3vw, 1.5rem) var(--wp--style--root--padding-left, 1.5rem); }
  .ptt-intro__img img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%); }
}

/* ---------- Ajankohtaista ---------- */
.ptt-news-section h2, .ptt-dark h2, .ptt-band h2, .ptt-follow h2 {
  font-weight: 800; letter-spacing: -.005em; line-height: 1.08;
}
.ptt-news-section h2, .ptt-dark h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.ptt-more { margin: 0; }
.ptt-more a, .ptt-news .wp-block-post-excerpt__more-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  color: var(--wp--preset--color--primary); text-decoration: none;
}
.ptt-more a::after, .ptt-news .wp-block-post-excerpt__more-link::after {
  content: ""; width: 16px; height: 16px; background: var(--wp--preset--color--accent); transition: transform .35s;
  -webkit-mask: var(--ptt-arrow) center / contain no-repeat; mask: var(--ptt-arrow) center / contain no-repeat;
}
.ptt-more a:hover::after, .ptt-news .wp-block-post-excerpt__more-link:hover::after { transform: translateX(4px); }
.ptt-news .wp-block-post-template { gap: 28px; }
.ptt-news .wp-block-post-featured-image { margin: 0 0 20px; overflow: hidden; }
.ptt-news .wp-block-post-featured-image img { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.ptt-news .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
/* Uutinen ilman artikkelikuvaa: logon neliöt */
.ptt-news .wp-block-post:not(:has(.wp-block-post-featured-image))::before {
  content: ""; display: block; aspect-ratio: 3 / 2; margin-bottom: 20px;
  background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 160'%3E%3Crect width='80' height='76' fill='%23009fe3'/%3E%3Crect y='84' width='80' height='76' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E") center / auto 42% no-repeat;
}
.ptt-date { font-size: 14px; color: var(--wp--preset--color--text-muted); font-weight: 500; }
.ptt-news .wp-block-post-title { font-size: 1.35rem; line-height: 1.25; font-weight: 700; margin-top: 6px; }
.ptt-news .wp-block-post-title a { color: var(--wp--preset--color--primary); text-decoration: none; }
.ptt-news .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ptt-news .wp-block-post-excerpt__excerpt { color: var(--wp--preset--color--ink); font-size: 16px; }

/* ---------- Kuvanauha ---------- */
.ptt-band.wp-block-cover { padding-inline: var(--wp--style--root--padding-left, 1.25rem); }
.ptt-band .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size, 1200px); width: 100% !important; margin-inline: auto !important; }
.ptt-band .wp-block-cover__inner-container > * { max-width: 34rem; margin-left: 0 !important; }
/* Taustakuva peilikuvana */
.ptt-band .wp-block-cover__image-background { transform: scaleX(-1); }
.ptt-band h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.ptt-band p { font-size: 18px; }

/* ---------- Tumma osio ---------- */
.ptt-split .wp-block-media-text__content { padding-inline: clamp(1.5rem, 5vw, 4.5rem); }
.ptt-split.has-media-on-the-right .wp-block-media-text__content { padding-left: 0; }
.ptt-split:not(.has-media-on-the-right) .wp-block-media-text__content { padding-right: 0; }
.ptt-split .wp-block-media-text__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.ptt-dark { position: relative; overflow: hidden; }

/* ---------- LinkedIn ---------- */
.ptt-follow h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0; }
.ptt-follow p { margin: 6px 0 0; }

/* ---------- Mobiili ---------- */
@media (max-width: 781px) {
  .ptt-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .ptt-stack { margin-top: 1.5rem; }
  .ptt-news .wp-block-post-template { grid-template-columns: 1fr !important; }
  .ptt-split .wp-block-media-text__content { padding: 2rem 0 0 !important; }
  /* Pinoutuu jo 781 px:stä (WP pinoaa vasta alle 600 px:n), muuten kuva ja teksti osuvat yhteen */
  .ptt-split.wp-block-media-text.is-stacked-on-mobile { grid-template-columns: 100% !important; }
  .ptt-split.is-stacked-on-mobile .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
  .ptt-split.is-stacked-on-mobile .wp-block-media-text__content { grid-column: 1; grid-row: 2; }
  .ptt-band { min-height: 0 !important; padding-block: 4rem; }
  .ptt-band .wp-block-cover__background { background: linear-gradient(180deg, rgba(30,23,87,.78) 0%, rgba(30,23,87,.94) 60%) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ptt-arrow .wp-block-button__link::after, .ptt-news .wp-block-post-featured-image img,
  .ptt-more a::after, .ptt-news .wp-block-post-excerpt__more-link::after { transition: none; }
}

/* ================================================================
   Typografia: otsikot leveämpinä kuten logossa (Archivon wdth-akseli)
   ================================================================ */
:root { --ptt-wdth: 112%; }
h1, h2, h3, h4, h5, h6, .ptt-person__name, .ptt-howto strong { font-stretch: var(--ptt-wdth); }
@media (max-width: 781px) { :root { --ptt-wdth: 104%; } }
::selection { background: #cfeefd; color: var(--wp--preset--color--ink); }

/* Mobiilivalikon painikkeet vähintään 44 px */
.site-header .wp-block-navigation__responsive-container-open { box-sizing: content-box; padding: 10px; margin: -10px; }
.site-header .wp-block-navigation__responsive-container-close { box-sizing: content-box; padding: 10px; }
/* Hampurilaisvalikko 781 px:iin asti (WP:n oletus 600 px), koska täysi valikko ei mahdu riville kapeammalla */
@media (min-width: 600px) and (max-width: 781px) {
  .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ================================================================
   Ajankohtaista: arkisto ja yksittäinen uutinen
   ================================================================ */
.ptt-news-archive .wp-block-post-template { gap: 56px 28px; }
.ptt-news-archive .wp-block-post-title { font-size: 1.35rem; }

.ptt-pagination { margin-top: clamp(2.5rem, 5vw, 4rem); gap: 8px; font-weight: 700; font-size: 15px; }
.ptt-pagination a, .ptt-pagination .page-numbers {
  box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--primary); text-decoration: none;
}
.ptt-pagination a:hover { border-color: var(--wp--preset--color--primary); }
.ptt-pagination .page-numbers.current { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.ptt-pagination .page-numbers.dots { border-color: transparent; }

/* Paluulinkki: nuoli vasemmalle */
.ptt-back { margin: 0; }
.ptt-back a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; }
.ptt-back a::before {
  content: ""; width: 16px; height: 16px; background: var(--wp--preset--color--accent); transform: scaleX(-1); transition: transform .35s;
  -webkit-mask: var(--ptt-arrow) center / contain no-repeat; mask: var(--ptt-arrow) center / contain no-repeat;
}
.ptt-back a:hover::before { transform: scaleX(-1) translateX(4px); }
.ptt-hero .ptt-back { margin-bottom: 1.5rem; }
.ptt-hero .ptt-back a { color: var(--wp--preset--color--soft) !important; }
.ptt-hero .ptt-back a:hover { color: #fff !important; }

.ptt-page-hero .wp-block-query-title, .ptt-post-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; max-width: 22em; margin: 0; overflow-wrap: break-word; }
.ptt-post-date { margin: 1.25rem 0 0; font-size: 15px; font-weight: 600; }

.ptt-article__image { margin-top: 0 !important; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.ptt-article .wp-block-post-content > p:first-child { font-size: 1.2rem; line-height: 1.55; }
.ptt-article .wp-block-post-content a { text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ptt-article__foot { margin-top: clamp(2.5rem, 5vw, 4rem) !important; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--line); }
.ptt-article__foot .ptt-back a { color: var(--wp--preset--color--primary); }

@media (prefers-reduced-motion: reduce) {
  .ptt-back a::before { transition: none; }
}

/* ================================================================
   Fokus: näkyvä rengas kaikilla taustoilla. Vaalealla indigo, tummalla syaani.
   ================================================================ */
:root { --ptt-focus: var(--wp--preset--color--primary); }
.has-primary-background-color, .has-primary-dark-background-color, .ptt-band,
.ptt-overlay .site-header:not(.is-scrolled) { --ptt-focus: var(--wp--preset--color--accent); }
.wp-block-navigation__responsive-container.is-menu-open { --ptt-focus: var(--wp--preset--color--primary); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--ptt-focus); outline-offset: 3px; }
/* Ei kehystä hiiren klikkauksesta (WP:n :focus-oletus), vain näppäimistöllä */
:where(.wp-site-blocks *:focus):not(:focus-visible) { outline: none; }

/* ================================================================
   Mobiilivalikko
   ================================================================ */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
  padding: 0 var(--wp--style--root--padding-right, 16px) 2rem var(--wp--style--root--padding-left, 16px);
}
.site-header .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; }
.site-header .is-menu-open .wp-block-navigation__responsive-dialog::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 190px; height: 30px;
  background: url("/wp-content/uploads/2026/10/logo-color.png") left center / contain no-repeat;
}
.site-header .is-menu-open .wp-block-navigation__responsive-container-close { top: 14px; right: 0; margin: 0; }
.site-header .is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 96px !important; align-items: stretch !important;
}
.site-header .is-menu-open .wp-block-navigation__container {
  width: 100%; gap: 0 !important; align-items: stretch !important; border-top: 1px solid var(--wp--preset--color--line);
}
.site-header .is-menu-open .wp-block-navigation__responsive-container-content,
.site-header .is-menu-open .wp-block-navigation__container { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
.site-header .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid var(--wp--preset--color--line); }
.site-header .is-menu-open .wp-block-navigation-item__content {
  display: flex !important; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 60px; padding: 0 !important;
  font-size: 1.5rem; font-weight: 800; font-stretch: var(--ptt-wdth); color: var(--wp--preset--color--primary) !important;
  text-decoration: none !important;
}
/* Etusivu-linkki (functions.php) vain avatussa mobiilivalikossa */
.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .ptt-nav-home { display: none; }
.site-header .is-menu-open .current-menu-item > .wp-block-navigation-item__content::before {
  content: ""; width: 10px; height: 10px; flex: none; background: var(--wp--preset--color--accent);
}

/* Pitkät yhdyssanat tavutetaan */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

@media (max-width: 781px) {
  .ptt-checks { flex-direction: column; align-items: center; gap: 8px; }
  /* Etusivun hero puhelimella: faktarivi karusellin alle. Tekstisarake puretaan (display: contents),
     jotta sen kappaleet ja karuselli voidaan järjestää samassa ruudukossa. */
  .ptt-hero:not(.ptt-page-hero) .ptt-hero-cols { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ptt-hero:not(.ptt-page-hero) .ptt-hero-cols > .wp-block-column:first-child { display: contents; }
  .ptt-hero:not(.ptt-page-hero) .ptt-hero-cols > .wp-block-column:first-child > * { text-align: center; min-width: 0; }
  .ptt-hero:not(.ptt-page-hero) .ptt-hero-cols > .ptt-stack { order: 2; margin: .75rem 0 0; }
  .ptt-hero:not(.ptt-page-hero) .ptt-hero-cols .ptt-checks { order: 3; margin: 1.75rem 0 0 !important; }
  .ptt-motif::before, .ptt-motif::after { display: none; }
}

/* 404: isot linkkirivit */
.ptt-404__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.ptt-404__links li { margin: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.ptt-404__links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  font-size: 1.4rem; font-weight: 800; font-stretch: var(--ptt-wdth); color: var(--wp--preset--color--primary); text-decoration: none;
}
.ptt-404__links a::after {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--wp--preset--color--accent); transition: transform .35s;
  -webkit-mask: var(--ptt-arrow) center / contain no-repeat; mask: var(--ptt-arrow) center / contain no-repeat;
}
.ptt-404__links a:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .ptt-404__links a::after { transition: none; } }
.ptt-404 > .ptt-404__links { margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size, 1300px)) / 2)) !important; margin-right: auto !important; }
