.elementor-5842 .elementor-element.elementor-element-716be1c0{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS *//* OnlyDay · Tietosuojaseloste · /tietosuojaseloste/
   Page Custom CSS, whole file, once. File: onlyday-tietosuoja-styles.css
   Built on the MLX Landing design system (H03 reference / yhteystiedot page): same palette,
   fonts, container, section rhythm, dark first section, final CTA + footer.
   Page-specific parts: legal header, sticky table of contents, long-form article typography, tables. */

/* ── BASE ── */
.mlx-landing * { margin: 0; padding: 0; box-sizing: border-box; }
.mlx-landing {
  --blue:       #0050b1;
  --blue-dark:  #003c85;
  --blue-soft:  #E6EEF9;
  --navy:       #0A1F44;
  --green:      #f87331;
  --green-dark: #d85f20;
  --green-soft: #FEEFE7;
  --success:    #2e7176;
  --ink:        #0A1F44;
  --muted:      #6a6c6c;
  --line:       #e8e8ec;
  --bg-soft:    #dff0f2;
  --white:      #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
}
/* Finnish headings are sentence case; the theme sets h1 { text-transform: capitalize }. */
.mlx-landing h1, .mlx-landing h2, .mlx-landing h3, .mlx-landing h4,
.mlx-landing .mlx-section-title {
  text-transform: none !important;
  font-variant-caps: normal !important;
}
.mlx-landing h1, .mlx-landing h2, .mlx-landing h3, .mlx-landing h4,
.mlx-landing p, .mlx-landing li, .mlx-landing td, .mlx-landing th, .mlx-landing button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  letter-spacing: normal;
}
.mlx-landing h1, .mlx-landing h2, .mlx-landing h3,
.mlx-landing .mlx-section-title {
  font-family: 'Sora', 'Inter', -apple-system, Arial, sans-serif;
}
.mlx-landing > section, .mlx-landing > footer { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* The theme sets body { overflow: hidden }. That turns <body> into the sticky TOC's
   scroll container — and since <body> itself never scrolls (the page scrolls on <html>),
   position:sticky never engages. overflow-x:clip still stops sideways overflow but, unlike
   hidden, does not create a scroll container; overflow-y must be visible for the same reason
   (verified on the live preview 26.09.2026). */
body { overflow-x: clip !important; overflow-y: visible !important; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.mlx-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.mlx-section { padding: 72px 0; }
.mlx-section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); margin-bottom: 14px;
}
.mlx-section-tag::before { content: ''; display: block; width: 24px; height: 3px; background: var(--blue); border-radius: 2px; }
.mlx-landing a { color: var(--blue); }

/* ── ANIMATIONS ── */
.mlx-fade { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.mlx-fade.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .mlx-fade { opacity: 1; transform: none; transition: none; } }

/* ── LEGAL HEADER (dark first section) ── */
.mlx-legal-head { background: var(--navy); position: relative; overflow: hidden; overflow: clip; color: var(--white); }
.mlx-legal-head::before {
  content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,90,200,0.45) 0%, transparent 70%); top: -160px; left: -120px;
}
/* 100px on top is reserved for the site header that overlays the section */
.mlx-landing .mlx-legal-head { padding-top: 132px; padding-bottom: 56px; }
.mlx-legal-head .mlx-container { position: relative; z-index: 2; }
.mlx-legal-head .mlx-section-tag { color: #5BDCF0; }
.mlx-legal-head .mlx-section-tag::before { background: #5BDCF0; }
.mlx-landing .mlx-legal-h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; color: var(--white); line-height: 1.08; margin-bottom: 16px; }
.mlx-legal-lead { font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,0.82); max-width: 720px; line-height: 1.65; margin-bottom: 26px; }
.mlx-legal-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.mlx-legal-meta span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--white); background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; padding: 7px 14px;
}
.mlx-legal-meta i { color: #5BDCF0; font-size: 16px; }

/* ── LEGAL BODY: sticky TOC + article ── */
.mlx-legal { background: var(--white); }
.mlx-legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
/* Sticky on desktop: follows the page scroll. The WP admin bar (logged-in users only) is
   32px and fixed, WP exposes its height as --wp-admin--admin-bar--height. On short screens
   the list scrolls inside itself instead of running off the bottom. */
.mlx-legal-toc {
  position: -webkit-sticky; position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px);
  max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 48px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.mlx-legal-toc-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
/* !important: the WP theme's own list styles (numbered <ol> with a counter) outrank a
   plain rule here, the same way it forces h1{text-transform:capitalize} — without it the
   theme's own "1. 2. 3." numbering doubled up with the "1. Rekisterinpitäjä" text already
   in the links (found 26.09.2026, mobile Safari preview). */
.mlx-landing .mlx-legal-toc ol {
  list-style: none !important; list-style-type: none !important; padding-left: 0 !important;
  border-left: 2px solid var(--line); counter-reset: none;
}
.mlx-landing .mlx-legal-toc li { list-style: none !important; list-style-type: none !important; margin: 0; }
.mlx-landing .mlx-legal-toc li::marker { content: none !important; }
.mlx-legal-toc a {
  display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: 13.5px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color .15s, border-color .15s;
}
.mlx-legal-toc a:hover { color: var(--navy); }
.mlx-legal-toc a.active { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }

.mlx-legal-article { max-width: 760px; }
.mlx-legal-article section { scroll-margin-top: calc(var(--hdr, 0px) + 24px); padding-top: 8px; margin-bottom: 44px; }
.mlx-legal-article section:last-child { margin-bottom: 0; }
.mlx-legal-article h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.25; color: var(--navy); margin-bottom: 14px; padding-top: 8px; }
.mlx-legal-article h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.mlx-legal-article p { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 12px; }
.mlx-legal-article ul, .mlx-legal-article ol { margin: 0 0 14px 22px; }
.mlx-legal-article li { font-size: 16px; line-height: 1.65; margin-bottom: 6px; }
.mlx-legal-article li::marker { color: var(--blue); }
.mlx-legal-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.mlx-legal-article a:hover { color: var(--blue-dark); }
.mlx-legal-article strong { font-weight: 700; color: var(--navy); }
.mlx-legal-article address { font-style: normal; line-height: 1.65; margin-bottom: 12px; }

/* Summary card ("Lyhyesti") */
.mlx-legal-summary { background: var(--bg-soft); border: 1.5px solid #cfd6e0; border-radius: 16px; padding: 24px 26px; margin-bottom: 40px; }
.mlx-legal-summary h2 { font-size: 20px; margin-bottom: 12px; padding-top: 0; }
.mlx-legal-summary ul { margin: 0 0 0 20px; }
.mlx-legal-summary li { font-size: 15.5px; margin-bottom: 8px; }
.mlx-legal-summary p:last-child { margin-bottom: 0; }

/* Info / warning note */
.mlx-legal-note { display: flex; gap: 12px; align-items: flex-start; background: var(--blue-soft); border-radius: 12px; padding: 14px 16px; margin: 14px 0 16px; }
.mlx-legal-note i { color: var(--blue); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.mlx-legal-note p { margin: 0; font-size: 15px; line-height: 1.6; }

/* Tables */
.mlx-legal-table { margin: 14px 0 18px; }
.mlx-legal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.mlx-legal-article table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }

/* Horizontal-scroll hint: a plain right-pointing arrow above and below the table (outside it,
   never covering its content), drifting slightly left-right to say "this table scrolls
   sideways". Shown only when JS confirms the table overflows (.mlx-scroll-x on .mlx-legal-table);
   after the visitor scrolls that table once (.mlx-scrolled) the arrows fade out but keep their
   space, so nothing below jumps. Decorative — aria-hidden. */
.mlx-legal-scroll-hint { display: none; justify-content: flex-end; height: 22px; padding-right: 6px; color: var(--blue); transition: opacity .4s ease; }
.mlx-legal-scroll-hint.top { margin-bottom: 4px; }
.mlx-legal-scroll-hint.bottom { margin-top: 4px; }
.mlx-legal-scroll-hint svg { width: 34px; height: 22px; display: block; animation: mlx-hint-nudge 1.4s ease-in-out infinite; }
.mlx-legal-table.mlx-scroll-x .mlx-legal-scroll-hint { display: flex; }
.mlx-legal-table.mlx-scrolled .mlx-legal-scroll-hint { opacity: 0; }
@keyframes mlx-hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .mlx-legal-scroll-hint svg { animation: none; }
}
.mlx-legal-article th, .mlx-legal-article td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.mlx-legal-article th { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.mlx-legal-article tr:last-child td { border-bottom: none; }
.mlx-legal-article td:first-child { font-weight: 600; color: var(--navy); }
.mlx-legal-article td ul { margin: 0 0 0 18px; }
.mlx-legal-article td li { font-size: 14.5px; margin-bottom: 3px; }

/* Rights as cards */
.mlx-legal-rights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 18px; }
.mlx-legal-right { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; }
.mlx-legal-right i { color: var(--blue); font-size: 24px; display: block; margin-bottom: 8px; }
.mlx-legal-right h3 { font-size: 15.5px; margin: 0 0 6px; }
.mlx-legal-right p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Contact box at the end of the article */
.mlx-legal-contact { background: var(--navy); color: var(--white); border-radius: 16px; padding: 24px 26px; margin-top: 8px; }
.mlx-legal-contact h3 { color: var(--white); margin: 0 0 8px; }
.mlx-legal-contact p { color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.mlx-legal-contact p:last-child { margin-bottom: 0; }
.mlx-legal-contact a { color: #5BDCF0; }

/* ── FINAL CTA + FOOTER (as on the hubs) ── */
.mlx-final {
  background: linear-gradient(115deg, #0A1F44 0%, #132E66 65%, #1D4090 100%);
  text-align: center; position: relative; overflow: hidden; overflow: clip; padding-bottom: 0;
}
.mlx-final::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,220,240,0.16) 0%, transparent 70%);
  bottom: -200px; left: 50%; transform: translateX(-50%);
}
.mlx-final-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.mlx-final h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.mlx-final p { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 17px; color: rgba(255,255,255,0.82); margin-bottom: 30px; line-height: 1.65; }
.mlx-final-stores { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.mlx-final-stores img { height: 52px; width: auto; display: block; transition: transform 0.2s; }
.mlx-final-stores a:hover img { transform: translateY(-2px); }
.mlx-final-footer { position: relative; z-index: 2; margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.14); padding: 32px 0 36px; font-size: 14px; color: #B9C6DE; text-align: left; }
.odf-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.mlx-final-footer a { color: #fff; text-decoration: none; transition: color .15s; }
.odf-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.odf-nav a:hover { color: #5BDCF0; }
.odf-logo { --lc-h: 38px; position: relative; display: block; flex: 0 0 auto; height: var(--lc-h); width: calc(var(--lc-h) * 592 / 174); aspect-ratio: 592 / 174; overflow: hidden; }
.odf-logo img { position: absolute; max-width: none; width: calc(var(--lc-h) * 4.5574); height: calc(var(--lc-h) * 3.2296); left: calc(var(--lc-h) * -0.5519); top: calc(var(--lc-h) * -1.115); }
.odf-socials { display: flex; gap: 8px; align-items: center; }
.odf-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; transition: .15s; }
.odf-socials a:hover { background: #fff; color: #0A1F44; }
.odf-socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* minmax(0, 1fr), not plain 1fr: a bare 1fr keeps the grid item's content-based
     min-width (the classic CSS Grid min-width:auto trap), so the TOC's two-column
     list and the article's tables refused to shrink below their intrinsic width
     and pushed the whole page into horizontal scroll on mobile (found 26.09.2026). */
  .mlx-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mlx-legal-toc { position: static; min-width: 0; max-height: none; overflow: visible; background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; }
  .mlx-legal-toc ol { border-left: none; columns: 2; column-gap: 24px; }
  .mlx-legal-toc a { border-left: none; padding: 5px 0; margin: 0; break-inside: avoid; }
  .mlx-legal-toc a.active { border-left: none; }
  .mlx-legal-article { min-width: 0; max-width: none; }
}
@media (max-width: 820px) {
  .odf-wrap { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand social" "nav nav"; gap: 18px 12px; align-items: center; }
  .odf-logo { grid-area: brand; }
  .odf-nav { grid-area: nav; width: 100%; justify-content: space-around; gap: 8px 10px; text-align: center; }
  .odf-socials { grid-area: social; justify-self: end; }
}
@media (max-width: 640px) {
  .mlx-landing .mlx-legal-head { padding-top: 104px; padding-bottom: 44px; }
  .mlx-legal-toc ol { columns: 1; }
  .mlx-legal-rights { grid-template-columns: 1fr; }
  .mlx-final-stores img { height: 48px; }
}
@media (max-width: 560px) {
  .mlx-section { padding: 52px 0; }
  .mlx-legal-summary { padding: 20px 18px; }
  .mlx-legal-contact { padding: 20px 18px; }
  .mlx-legal-article p, .mlx-legal-article li { font-size: 15.5px; }
}
@media (max-width: 420px) {
  .mlx-final-stores img { height: 46px; }
  .odf-socials a { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .odf-logo { --lc-h: 32px; }
  .odf-socials { gap: 6px; }
  .odf-socials a { width: 34px; height: 34px; }
  .odf-socials svg { width: 18px; height: 18px; }
}/* End custom CSS */