/* Fonts bundled with the plugin (Fredoka and Nunito, SIL OFL): Latin with all European accents, Cyrillic, Vietnamese. */
/* Mst Fredoka = Fredoka (SIL OFL) with the Central/Eastern European letters it lacks (ā č ē ģ ī ķ ļ ņ ą ę ė į ų ł ő ű ă ș ț ć đ …) built from its own shapes – see the plugin readme. */
@font-face { font-family: 'Mst Fredoka'; font-style: normal; font-display: swap; font-weight: 100 650; src: url(fonts/mstfredoka-600.woff2) format('woff2'); }
@font-face { font-family: 'Mst Fredoka'; font-style: normal; font-display: swap; font-weight: 651 1000; src: url(fonts/mstfredoka-700.woff2) format('woff2'); }
@font-face { font-family: 'Mst Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-cyrillic-ext-wght-normal.woff2) format('woff2-variations'), url(fonts/nunito-cyrillic-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'Mst Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-cyrillic-wght-normal.woff2) format('woff2-variations'), url(fonts/nunito-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Mst Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-vietnamese-wght-normal.woff2) format('woff2-variations'), url(fonts/nunito-vietnamese-wght-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Mst Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-latin-ext-wght-normal.woff2) format('woff2-variations'), url(fonts/nunito-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Mst Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(fonts/nunito-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/nunito-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Maestrino Site 1.0 – getmaestrino.com */

.mst {
	--mst-ink: #1F1B3A;
	--mst-text: #3A3560;
	--mst-muted: #4A4570;
	--mst-violet: #7C5CFF;
	--mst-violet-d: #5B3FD9;
	--mst-violet-t: #3B2696;
	--mst-lilac: #A890FF;
	--mst-tint: #F6F3FF;
	--mst-soft: #F0ECFF;
	--mst-line: #ECE8FA;
	--mst-yellow: #FFB020;
	--mst-ok: #0E5E40;
	--mst-head: "Mst Fredoka", Fredoka, "Mst Nunito", Nunito, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
	--mst-body: "Mst Nunito", Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
	box-sizing: border-box;
}
.mst *, .mst *::before, .mst *::after { box-sizing: border-box; }

/* ---------- Home page ---------- */

.mst-home {
	font-family: var(--mst-body);
	color: var(--mst-ink);
	font-size: 17px;
	line-height: 1.55;
}
body:has(.mst-home) { overflow-x: clip; }
/* full-width sections inside a theme's content column */
.mst-home > section {
	width: 100vw;
	margin-left: 0;
	margin-right: 0;
	margin-inline-start: calc(50% - 50vw); /* 2.11: logical, so RTL pages (ar, arz, ur) are not shifted */
	margin-top: 0;
	margin-bottom: 0;
}
.mst-home h1, .mst-home h2, .mst-home h3, .mst-home p { margin: 0; }
.mst-home a { color: var(--mst-violet-t); }

.mst-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.mst-wide { max-width: 1360px; padding-left: clamp(16px, 2.4vw, 32px); padding-right: clamp(16px, 2.4vw, 32px); }
.mst-narrow { max-width: 1100px; }
.mst-faqwrap { max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.mst-section { padding: clamp(56px, 7vw, 104px) 0; }
.mst-tint { background: var(--mst-tint); }
.mst-dark { background: var(--mst-ink); color: #FFFFFF; }
.mst-last { padding-bottom: 170px; }
.mst-home .mst-center { text-align: center; margin-left: auto; margin-right: auto; }
/* the page title is not needed above the home page */
body:has(.mst-home) .wp-block-post-title, body:has(.mst-home) .entry-title { display: none; }

.mst-split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.mst-split > * { flex: 1 1 420px; min-width: 0; }
.mst-top { align-items: flex-start; }
.mst-col { display: flex; flex-direction: column; gap: 24px; }

.mst-grid { display: grid; gap: 22px; }
.mst-grid-170 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.mst-grid-230 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px 28px; }
.mst-grid-250 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.mst-grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mst-grid-320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: stretch; }

.mst-h1 { font-family: var(--mst-head); font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.01em; color: inherit; }
.mst-h2 { font-family: var(--mst-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; max-width: 760px; margin-bottom: 36px !important; color: inherit; }
.mst-h2.mst-center { max-width: 760px; }
.mst-eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mst-violet-d); margin-bottom: 10px !important; }
.mst-dark .mst-eyebrow { color: #C9BAFF; }
.mst-intro { color: #DCD5FF; max-width: 720px; margin: -20px 0 36px !important; }
.mst-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--mst-text); max-width: 520px; }
.mst-small { font-size: 15px; color: var(--mst-muted); }
.mst-note { font-size: 15px; color: var(--mst-text); }
.mst-chip { align-self: flex-start; background: #E6DEFF; color: var(--mst-violet-t); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; }

/* hero */
.mst-hero { overflow: hidden; }
.mst-hero .mst-split { padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 96px); }
.mst-hero-text { display: flex; flex-direction: column; gap: 22px; }
.mst-hero-art { position: relative; display: flex; justify-content: center; min-height: 640px; flex-basis: 380px; }
.mst-hero-circle { position: absolute; left: 50%; top: 60px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; background: #DCE7FF; }
.mst-hero-art .mst-phone { position: relative; }
.mst-hero-octo { position: absolute; left: calc(50% - 214px); bottom: -6px; }
.mst-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.mst-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; text-decoration: none; color: var(--mst-violet-t); }
.mst-store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 22px; border-radius: 14px; background: #111111; color: #FFFFFF !important; text-decoration: none; line-height: 1.15; }
.mst-store small { font-size: 12px; }
.mst-store span { font-size: 21px; font-weight: 800; }
.mst-store-soon { cursor: default; }
.mst-stores { display: inline-flex; flex-wrap: wrap; gap: 12px; }
.mst-store-play.mst-store-soon { background: #3A3A3A; }
.mst-is-android .mst-store-play { order: -1; }
.mst-cta-text .mst-stores { justify-content: center; }
.mst-home .mst-notify { margin: -6px 0 0; max-width: 520px; background: none; border-radius: 0; padding: 0; }
.mst-home .mst-notify p { margin-top: 0 !important; }
.mst-notify summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 800; color: var(--mst-violet-t); list-style: none; }
.mst-notify summary::-webkit-details-marker { display: none; }
.mst-notify-form { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.mst-notify-form p { margin: 0; }
.mst-notify-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mst-notify-row input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 52px; border: 2px solid #D9D2F5; border-radius: 14px; padding: 10px 14px; font: inherit; color: var(--mst-ink); background: #FFFFFF; }
.mst-notify-row input[type=email]:focus { outline: 3px solid #C9BAFF; border-color: var(--mst-violet); }
.mst-notify-row .mst-btn { flex: 0 0 auto; }
.mst-notify-msg:empty { display: none; }
.mst-notify-msg { font-weight: 800; }
.mst-notify-msg.is-ok { color: #1E7A4E; }
.mst-notify-msg.is-err { color: #B3261E; }
.mst-notify-note { font-size: 14px; color: var(--mst-muted); }
.mst-notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 16px; background: #FFF1F0; color: #8A1C14; }
.mst-notice.is-ok { background: #E7F7EE; color: #145C38; }
.mst .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* promises */
.mst-promises { border-bottom: 1px solid var(--mst-line); }
.mst-promises .mst-wrap { padding-top: 28px; padding-bottom: 28px; }
.mst-promise { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; }
.mst-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--mst-soft); color: var(--mst-violet-d); display: inline-flex; align-items: center; justify-content: center; }
.mst-ico-w { width: 48px; height: 48px; border-radius: 16px; background: #FFFFFF; }

/* steps */
.mst-step { background: var(--mst-tint); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.mst-step-top { display: flex; align-items: center; gap: 12px; }
.mst-num { font-family: var(--mst-head); font-weight: 700; font-size: 18px; color: var(--mst-violet-d); }
.mst-step h3, .mst-octo-card h3 { font-family: var(--mst-head); font-weight: 700; font-size: 23px; }
.mst-step p { color: var(--mst-text); }

/* octopus cards */
.mst-octo-card { background: #2C2654; border-radius: 28px; padding: 24px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mst-octo-card h3 { font-size: 20px; color: #FFFFFF; }
.mst-octo-card p { font-size: 15px; color: #DCD5FF; }

/* phones row */
.mst-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 16px; }
.mst-phones figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mst-phones figcaption { font-weight: 800; }

/* parents */
.mst-feature { display: flex; gap: 14px; }
.mst-feature h3 { font-size: 18px; font-weight: 800; font-family: var(--mst-body); }
.mst-feature p { color: var(--mst-text); margin-top: 2px !important; }
.mst-report { border: 2px solid var(--mst-line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.mst-report-full { border-color: var(--mst-violet); background: #FBFAFF; }
.mst-report strong { font-size: 17px; }
.mst-report-tag { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--mst-muted); }
.mst-report-full .mst-report-tag { color: var(--mst-violet-d); }
.mst-okt { color: var(--mst-ok); font-weight: 800; }
.mst-locked { display: flex; gap: 8px; color: var(--mst-muted); }
.mst-locked svg { flex: none; margin-top: 3px; }
.mst-plus { color: var(--mst-violet-t); font-weight: 800; }

/* pricing */
.mst-plan { background: #FFFFFF; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.mst-plan-full { border: 3px solid var(--mst-violet); }
.mst-plan h3 { font-family: var(--mst-head); font-weight: 700; font-size: 26px; }
.mst-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.mst-price { font-family: var(--mst-head); font-weight: 700; font-size: 34px; }
.mst-badge { background: #FFF1D6; color: #6B4A00; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
.mst-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mst-checks li { display: flex; gap: 10px; margin: 0; }
.mst-checks svg { flex: none; margin-top: 4px; color: var(--mst-violet-d); }
.mst-subplan { background: var(--mst-tint); border-radius: 18px; padding: 14px 16px; }
.mst-subplan strong { display: block; }
.mst-subplan span { font-size: 15px; color: var(--mst-text); }
#pricing .mst-grid-320 { margin-bottom: 36px; }

/* faq */
.mst-home details { background: var(--mst-tint); border-radius: 20px; padding: 18px 22px; }
.mst-home summary { font-weight: 800; font-size: 18px; cursor: pointer; }
.mst-home details p { margin-top: 10px !important; color: var(--mst-text); }

/* final call */
.mst-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; text-align: center; }
.mst-cta-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mst-cta-text .mst-h2 { margin-bottom: 0 !important; }

/* ---------- Content pages (contact, privacy, terms) ---------- */

.mst-page { font-family: var(--mst-body); color: var(--mst-ink); font-size: 17px; line-height: 1.6; }
.mst-page > section, .mst-page > .mst-legal-body { width: 100vw; margin-left: 0; margin-right: 0; margin-inline-start: calc(50% - 50vw); }
.mst-page > .mst-legal-body { width: min(980px, 100vw); max-width: none; margin-left: calc(50% - min(980px, 100vw) / 2); margin-right: 0; }
body:has(.mst-page) { overflow-x: clip; }
body:has(.mst-page) .wp-block-post-title, body:has(.mst-page) .entry-title { display: none; }
.mst-page h1, .mst-page h2, .mst-page h3, .mst-page p, .mst-page ul { margin-top: 0; }
.mst-page a { color: var(--mst-violet-t); font-weight: 800; }
.mst-page-pad { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.mst-contact .mst-page-pad { padding-bottom: 170px; }
.mst-h1-page { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 0; }
.mst-h3 { font-family: var(--mst-head); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin: 0 0 12px; color: var(--mst-ink); }
.mst-center-row { display: flex; justify-content: center; padding: 8px 0; }
.mst-help { background: #FFFFFF; border-radius: 22px; padding: 18px 20px; display: flex; gap: 14px; }
.mst-help p { margin: 2px 0 0; font-size: 15px; color: var(--mst-text); }
.mst-legal-wrap { max-width: 980px; }
.mst-legal-octo { flex: 0 1 200px !important; display: flex; justify-content: center; }
.mst-legal-body { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 52px); padding-top: clamp(36px, 5vw, 56px); padding-bottom: 170px; }
.mst-legal-body p, .mst-legal-body li { margin-bottom: 10px; }
.mst-legal-body ul, .mst-legal-body ol { padding-left: 22px; }
.mst-glance { margin-top: -64px; background: #FFFFFF; border: 2px solid var(--mst-line); border-radius: 28px; padding: clamp(20px, 3vw, 32px); position: relative; }
.mst-glance .mst-promise { margin: 0; font-weight: 700; }
.mst-grid-260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 24px; }
.mst-grid-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-bottom: 14px; }
.mst-card { background: var(--mst-tint); border-radius: 24px; padding: 22px; }
.mst-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; font-family: var(--mst-body); }
.mst-card p, .mst-card li { font-size: 16px; }
.mst-card dl { margin: 6px 0 0; font-size: 15px; }
.mst-card dt { display: inline; font-weight: 800; }
.mst-card dd { display: inline; margin: 0; }
.mst-card-line { background: #FFFFFF; border: 2px solid var(--mst-line); }
.mst-card-full { background: #FFFFFF; border: 3px solid var(--mst-violet); }
.mst-card ul { padding-left: 20px; margin: 0; }

/* contact form */
.mst-form { background: #FFFFFF; border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 40px rgba(31,27,58,.08); }
.mst-form p { margin: 0; }
.mst-field { display: flex; flex-direction: column; gap: 6px; }
.mst-field label { font-weight: 800; font-size: 15px; }
.mst-field label span { color: var(--mst-muted); font-weight: 600; }
.mst-form input[type=text], .mst-form input[type=email], .mst-form select, .mst-form textarea { width: 100%; min-height: 52px; border: 2px solid #D9D2F5; border-radius: 14px; padding: 10px 14px; font: inherit; color: var(--mst-ink); background: #FFFFFF; }
.mst-form textarea { resize: vertical; min-height: 140px; }
.mst-form input:focus, .mst-form select:focus, .mst-form textarea:focus { outline: 3px solid #C9BAFF; border-color: var(--mst-violet); }
.mst-btn { min-height: 52px; padding: 0 28px; border: 0; border-radius: 16px; background: var(--mst-violet-d); color: #FFFFFF; font: inherit; font-weight: 800; cursor: pointer; }
.mst-btn:hover { background: #4B31C2; }
a.mst-btn, .mst a.mst-btn { display: inline-flex; align-items: center; color: #FFFFFF !important; text-decoration: none !important; }
.mst-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mst-form-msg { border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.mst-form-ok { background: #E2F6EE; color: var(--mst-ok); }
.mst-form-err { background: #FDECEC; color: #8A1C1C; }

/* ---------- iPhone frame ---------- */

.mst-phone { display: inline-block; width: 300px; height: 620px; padding: 10px; border-radius: 50px; background: var(--mst-ink); box-shadow: 0 24px 60px rgba(31,27,58,.22); font-family: var(--mst-body); color: var(--mst-ink); text-align: left; flex: none; }
.mst-phone-screen { position: relative; display: block; width: 280px; height: 600px; border-radius: 40px; overflow: hidden; background: #F4F6FF; }
.mst-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mst-island { position: absolute; left: 100px; top: 10px; width: 80px; height: 24px; border-radius: 12px; background: var(--mst-ink); z-index: 3; }
.ps { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; }
.ps-pad { padding: 52px 16px 16px; }
.ps-center { align-items: center; text-align: center; gap: 10px; padding-top: 60px; }
.ps-top { display: flex; justify-content: space-between; align-items: center; }
.ps-top b { font-family: var(--mst-head); font-weight: 600; font-size: 16px; }
.ps-top em { font-style: normal; font-size: 13px; font-weight: 800; color: #2F55C4; }
.ps-bar { display: block; height: 8px; border-radius: 4px; background: #DCE7FF; }
.ps-bar i { display: block; height: 8px; border-radius: 4px; background: #3D6BF0; }
.ps-card { position: relative; z-index: 2; background: #FFFFFF; border-radius: 24px; padding: 30px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ps-card small { font-size: 13px; color: var(--mst-muted); }
.ps-card strong { font-family: var(--mst-head); font-weight: 700; font-size: 46px; line-height: 1; }
.ps-ok { color: #11734E !important; font-weight: 800; }
.ps-answer { height: 64px; border-radius: 18px; background: #FFFFFF; border: 2px solid var(--mst-violet); display: flex; align-items: center; justify-content: center; font-family: var(--mst-head); font-weight: 700; font-size: 32px; }
.ps-btn { height: 52px; border-radius: 16px; background: var(--mst-violet-d); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; width: 100%; }
.ps-bottom { margin-top: auto; }
.ps-octo { position: relative; display: block; height: 300px; margin-top: -40px; overflow: hidden; }
.ps-octo .mst-octo { position: absolute; left: 4px; top: 36px; }
.ps-h { font-family: var(--mst-head); font-weight: 700; font-size: 26px; line-height: 1.15; }
.ps-left { font-size: 22px; }
.ps-center small { font-size: 15px; color: var(--mst-muted); }
.ps-pill { display: inline-flex; align-items: center; gap: 8px; background: #E2F6EE; color: var(--mst-ok); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; }
.ps-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mst-violet-d); }
.ps-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ps-stats span { background: #FFFFFF; border-radius: 14px; padding: 10px 6px; text-align: center; font-size: 11px; color: var(--mst-muted); display: flex; flex-direction: column; }
.ps-stats b { font-family: var(--mst-head); font-weight: 700; font-size: 20px; color: var(--mst-ink); }
.ps-list { background: #FFFFFF; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ps-list span { display: flex; justify-content: space-between; gap: 8px; }
.ps-okline { display: flex; align-items: center; gap: 8px; color: var(--mst-ok); font-weight: 800; font-size: 13px; }

/* ---------- Octopus ---------- */

.mst-octo { position: relative; display: inline-block; width: var(--s); height: var(--s); line-height: 0; vertical-align: middle; flex: none; }
.mst-octo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mst-octo .o-body { transform-box: view-box; transform-origin: 200px 380px; }
.mst-octo .o-arm-l { transform-box: view-box; transform-origin: 132px 215px; }
.mst-octo .o-arm-r { transform-box: view-box; transform-origin: 268px 215px; }
.mst-octo .o-eye, .mst-octo .o-wink { transform-box: fill-box; transform-origin: 50% 50%; }
.mst-octo .o-eye { animation: mst-blink 4s infinite; }
.mst-octo .o-wink { animation: mst-wink 4.5s infinite; }
.mst-octo .o-star { transform-box: fill-box; transform-origin: 50% 50%; animation: mst-pop 1.2s ease-out infinite; }
.mst-octo .o-conf { transform-box: fill-box; transform-origin: 50% 50%; animation: mst-fall 2.6s linear infinite; }
.mst-octo .o-bubbles { display: none; }
.mst-octo .o-bub { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: mst-rise 1.5s ease-out forwards; }
.mst-octo.is-diving .o-bubbles { display: inline; }
.mst-octo .o-dive { transform: translateY(0); }
.mst-octo.is-diving .o-dive { transform: translateY(330px); transition: transform .45s cubic-bezier(.5,0,.9,.4); }
.mst-octo.is-gone .o-dive { transform: translateY(330px); }
.mst-octo.is-back .o-dive { transition: transform .7s cubic-bezier(.2,.8,.3,1.2); }

.a-bob { animation: mst-bob 2.4s ease-in-out infinite; }
.a-jump { animation: mst-jump 1.1s ease-in-out infinite; }
.a-jumphi { animation: mst-jumphi 1.3s ease-in-out infinite; }
.a-think { animation: mst-think 3.2s ease-in-out infinite; }
.a-dance { animation: mst-dance 1.2s ease-in-out infinite; }
.a-peek { animation: mst-peek 4.5s ease-in-out infinite; }
.a-lurk { animation: mst-lurk 3s ease-in-out infinite; }
.a-shy { animation: mst-shy 5s ease-in-out infinite; }
.a-clapl { animation: mst-clapl .45s ease-in-out infinite alternate; }
.a-clapr { animation: mst-clapr .45s ease-in-out infinite alternate; }
.a-wavel { animation: mst-wavel .6s ease-in-out infinite alternate; }
.a-waver { animation: mst-waver .6s ease-in-out infinite alternate; animation-delay: .3s; }
.a-hello { animation: mst-hello .7s ease-in-out infinite alternate; }
.a-wiggle { animation: mst-wiggle 1.4s ease-in-out infinite alternate; }
.a-chin { transform: rotate(-38deg); }
.p-up { transform: translate(-3px, -9px); }
.p-look { animation: mst-look 5s ease-in-out infinite; }

.mst-octo .o-say { position: absolute; left: 60%; top: -4%; background: #E6DEFF; color: var(--mst-violet-t, #3B2696); border-radius: 18px; padding: 8px 14px; font-family: var(--mst-head, "Mst Fredoka", Fredoka, sans-serif); font-weight: 700; line-height: 1.2; white-space: normal; width: max-content; max-width: 165px; transform-origin: 0 100%; }
.mst-octo .o-say::after { content: ""; position: absolute; left: 12px; bottom: -10px; width: 20px; height: 14px; background: #E6DEFF; clip-path: path("M0 0 L20 0 C14 4 8 9 0 14 C4 9 4 4 0 0 Z"); }
[dir="rtl"] .mst-octo .o-say { left: auto; right: 60%; }
.mst-octo .o-say-peek { animation: mst-bubble 4.5s ease-in-out infinite; }
.mst-octo .o-hide { position: absolute; left: 22%; top: 22%; width: 56%; height: 46%; border: 0; padding: 0; margin: 0; border-radius: 40%; background: transparent; cursor: pointer; pointer-events: auto; }
.mst-octo .o-hide:focus-visible { outline: 3px solid var(--mst-violet-d, #5B3FD9); outline-offset: 2px; }

@keyframes mst-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes mst-jump { 0%,100% { transform: translateY(0) scale(1,1); } 15% { transform: translateY(4px) scale(1.07,.93); } 45% { transform: translateY(-42px) scale(.96,1.05); } 70% { transform: translateY(0) scale(1.05,.95); } 85% { transform: translateY(0) scale(1,1); } }
@keyframes mst-jumphi { 0%,100% { transform: translateY(0) scale(1,1); } 12% { transform: translateY(6px) scale(1.1,.9); } 45% { transform: translateY(-78px) scale(.94,1.07) rotate(-6deg); } 72% { transform: translateY(0) scale(1.06,.94); } 86% { transform: translateY(0) scale(1,1); } }
@keyframes mst-think { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg) translateY(-4px); } }
@keyframes mst-dance { 0%,100% { transform: rotate(-9deg) translateY(0); } 25% { transform: rotate(0) translateY(-26px); } 50% { transform: rotate(9deg) translateY(0); } 75% { transform: rotate(0) translateY(-26px); } }
@keyframes mst-peek { 0%,8% { transform: translateY(300px); } 22% { transform: translateY(-14px); } 28% { transform: translateY(0); } 36% { transform: translateY(-22px); } 44%,70% { transform: translateY(0); } 86%,100% { transform: translateY(300px); } }
@keyframes mst-lurk { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes mst-shy { 0%,30%,100% { transform: translateY(0); } 45%,60% { transform: translateY(46px); } 75% { transform: translateY(-4px); } }
@keyframes mst-clapl { from { transform: rotate(0); } to { transform: rotate(40deg); } }
@keyframes mst-clapr { from { transform: rotate(0); } to { transform: rotate(-40deg); } }
@keyframes mst-wavel { from { transform: rotate(8deg); } to { transform: rotate(-24deg); } }
@keyframes mst-waver { from { transform: rotate(-8deg); } to { transform: rotate(24deg); } }
@keyframes mst-hello { from { transform: rotate(10deg); } to { transform: rotate(-28deg); } }
@keyframes mst-wiggle { from { transform: rotate(6deg); } to { transform: rotate(-16deg); } }
@keyframes mst-blink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes mst-wink { 0%,66%,84%,100% { transform: scaleY(1); } 71%,77% { transform: scaleY(.08); } }
@keyframes mst-look { 0%,20% { transform: translate(-8px,0); } 30%,70% { transform: translate(6px,0); } 80%,100% { transform: translate(-8px,0); } }
@keyframes mst-pop { 0% { transform: scale(0); opacity: 0; } 30% { transform: scale(1.25); opacity: 1; } 60% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes mst-fall { 0% { transform: translateY(-40px) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(420px) rotate(320deg); opacity: 1; } }
@keyframes mst-bubble { 0%,24% { opacity: 0; transform: scale(.6); } 30%,68% { opacity: 1; transform: scale(1); } 76%,100% { opacity: 0; transform: scale(.8); } }
@keyframes mst-rise { 0% { transform: translateY(0) scale(.6); opacity: .95; } 100% { transform: translateY(-170px) scale(1.3); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	.mst-octo *, .mst-octo .o-say-peek { animation: none !important; transition: none !important; }
	.mst-octo .o-say-peek { opacity: 1; }
}

/* ---------- Footer octopus ---------- */

.mst-peek { position: absolute; bottom: 100%; width: 150px; height: 140px; overflow: hidden; pointer-events: none; z-index: 5; }
.mst-peek[data-pos="right"] { right: clamp(20px, 9vw, 140px); }
.mst-peek[data-pos="left"] { left: clamp(20px, 9vw, 140px); }
.mst-peek[data-pos="center"] { left: 50%; margin-left: -75px; }
.mst-peek-in { position: absolute; left: 0; top: 30px; }
.mst-peek-waiting { display: none; }
.mst-peek-spacer { height: 150px; }

/* ---------- Site footer ---------- */

.mst-footer { position: relative; background: #1F1B3A; color: #DCD5FF; font-family: var(--mst-body); font-size: 15px; line-height: 1.55; margin-top: 0 !important; margin-block-start: 0 !important; }
.mst-footer-in { max-width: 1240px; margin: 0 auto; padding: 36px clamp(20px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.mst-footer-brand { display: flex; flex-direction: column; gap: 6px; }
.mst-footer-name { font-family: var(--mst-head); font-weight: 700; font-size: 20px; color: #FFFFFF; }
.mst-footer a { color: #FFFFFF; }
.mst-footer a:hover, .mst-footer a:focus-visible { color: #C9BAFF; }
.mst-footer-strong { font-weight: 800; }
.mst-footer-links { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 24px; }

/* ---------- E-mail behind a button ---------- */

.mst-email-btn { min-height: 44px; padding: 0 16px; border: 2px solid #D9D2F5; border-radius: 12px; background: #FFFFFF; color: #3B2696; font: inherit; font-weight: 800; cursor: pointer; }
.mst-email a { font-weight: 800; }

/* ---------- Phones ---------- */

@media (max-width: 600px) {
	.mst-legal-octo { display: none !important; }
}

@media (max-width: 480px) {
	.mst-hero-art { min-height: 600px; }
	.mst-hero-circle { width: 340px; height: 340px; margin-left: -170px; }
	.mst-hero-octo { left: -14px; bottom: -14px; }
	.mst-hero-octo .mst-octo { --s: 120px; }
}

/* Languages (1.5) */
.mst-langbtn-header { margin-inline-start: 16px; flex: none; }
.mst-langhint { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; background: #1F1B3A; color: #fff; font-family: var(--mst-body); font-size: 15px; text-align: center; }
.mst-langhint a { color: #FFD27A; font-weight: 800; text-decoration: none; }
.mst-langhint button { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }

/* Headings in scripts Fredoka does not have (Cyrillic, Greek, Vietnamese): the whole heading in Nunito, never mixed letters. */
html[lang="ru"] .mst, html[lang="uk"] .mst, html[lang="be"] .mst, html[lang="bg"] .mst, html[lang="mk"] .mst, html[lang="sr"] .mst, html[lang="el"] .mst, html[lang="vi"] .mst, html[lang="ha"] .mst { --mst-head: "Mst Nunito", Nunito, ui-rounded, system-ui, sans-serif; }
/* Theme header site title: the same font as our headings (the theme's Fredoka has no Latvian, Lithuanian, Polish … letters). */
.wp-block-site-title, .wp-block-site-title a { font-family: "Mst Fredoka", Fredoka, "Mst Nunito", Nunito, ui-rounded, sans-serif !important; }
html[lang="ru"] .wp-block-site-title a, html[lang="uk"] .wp-block-site-title a, html[lang="be"] .wp-block-site-title a, html[lang="bg"] .wp-block-site-title a, html[lang="mk"] .wp-block-site-title a, html[lang="sr"] .wp-block-site-title a, html[lang="el"] .wp-block-site-title a, html[lang="vi"] .wp-block-site-title a, html[lang="ha"] .wp-block-site-title a { font-family: "Mst Nunito", Nunito, ui-rounded, sans-serif !important; font-weight: 800; }
.wp-block-post-title { font-family: "Mst Fredoka", Fredoka, "Mst Nunito", Nunito, ui-rounded, sans-serif; }

html[lang="ru"] .mst :is(h1,h2,h3,.o-say), html[lang="uk"] .mst :is(h1,h2,h3,.o-say), html[lang="be"] .mst :is(h1,h2,h3,.o-say), html[lang="bg"] .mst :is(h1,h2,h3,.o-say), html[lang="mk"] .mst :is(h1,h2,h3,.o-say), html[lang="sr"] .mst :is(h1,h2,h3,.o-say), html[lang="el"] .mst :is(h1,h2,h3,.o-say), html[lang="vi"] .mst :is(h1,h2,h3,.o-say), html[lang="ha"] .mst :is(h1,h2,h3,.o-say) { font-weight: 800; }

/* Press page (2.4) – approved sketch "Presei" */
.mst-press-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: clamp(32px, 5vw, 72px); padding-bottom: 72px; }
.mst-press-intro { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mst-press-intro .mst-lead { max-width: 640px; }
.mst-press-octo { flex: 0 1 300px; display: flex; justify-content: center; }
.mst-press-chip { align-self: flex-start; background: #FFFFFF; color: var(--mst-violet-t); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 6px 14px; }
.mst-press-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.mst-press .mst-btn { gap: 10px; }
.mst a.mst-btn.mst-btn-ghost { background: #FFFFFF; color: var(--mst-violet-t) !important; border: 2px solid #D9D2F5; }
.mst a.mst-btn.mst-btn-ghost:hover { background: #F6F3FF; }
.mst-press-latest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; background: #FFFFFF; border-radius: 20px; padding: 14px 18px; color: var(--mst-ink) !important; text-decoration: none !important; box-shadow: 0 8px 28px rgba(31,27,58,.06); }
.mst-press-badge { background: var(--mst-yellow); color: var(--mst-ink); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 12px; }
.mst-press-date { font-size: 14px; font-weight: 800; color: var(--mst-muted); }
.mst-press-latest-title { flex: 1 1 100%; font-family: var(--mst-head); font-weight: 600; font-size: 19px; line-height: 1.3; }
.mst-press-more { color: var(--mst-violet-t); font-weight: 800; font-size: 15px; }
.mst-press-sec { padding: 72px 0 24px; }
.mst-press-sec.mst-tint { padding: 72px 0; margin-top: 48px; }
.mst-press-h2 { font-family: var(--mst-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 24px !important; color: inherit; }
.mst-press-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.mst-press-fact { background: #F6F3FF; border-radius: 22px; padding: 20px 22px; }
.mst-press-label { font-size: 14px; font-weight: 800; color: var(--mst-muted); }
.mst-press-value { font-weight: 700; }
.mst-press-about { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.mst-press-about > .mst-col { flex: 1 1 420px; min-width: 0; }
.mst-press-about p { color: var(--mst-text); margin: 0 0 14px; }
.mst-press-quote { flex: 1 1 420px; min-width: 0; margin: 0; background: var(--mst-ink); color: #FFFFFF; border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.mst-press-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--mst-head); font-weight: 500; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; color: #FFFFFF; }
.mst-press-quote figcaption { color: #DCD5FF; font-weight: 700; }
.mst-press-kit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.mst-press-kit-head .mst-press-h2 { margin-bottom: 6px !important; }
.mst-press-kit-head p { margin: 0; color: var(--mst-text); }
.mst-press-kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.mst-press-item { background: #FFFFFF; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mst-press-item > span, .mst-press-item > label { font-size: 15px; color: var(--mst-muted); }
.mst-press-item > a, .mst-press-pick a { color: var(--mst-violet-t); font-weight: 800; }
.mst-press-thumb { height: 170px; border-radius: 16px; background: #F6F3FF; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.mst-press-thumb img { max-width: 86%; height: auto; }
.mst-press-thumb .mst-press-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 8px 24px rgba(31,27,58,.12); }
.mst-press-thumb-octo { align-items: flex-end; gap: 4px; }
.mst-press-thumb .mst-press-shot { width: 64px; max-width: none; border-radius: 12px; border: 3px solid var(--mst-ink); }
.mst-press-pick { display: flex; gap: 10px; align-items: center; }
.mst-press-pick select { flex: 1; min-width: 0; min-height: 44px; border: 2px solid #D9D2F5; border-radius: 12px; padding: 0 10px; font: inherit; font-size: 15px; color: var(--mst-ink); background: #FFFFFF; }
.mst-press-rel { border: 2px solid #E6DEFF; border-radius: 24px; padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.mst-press-rel h3 { margin: 0; font-family: var(--mst-head); font-weight: 600; font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
.mst-press-rel h3 a { color: var(--mst-ink); text-decoration: none; }
.mst-press-rel p { margin: 0; color: var(--mst-text); }
.mst-press-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mst-press-pills span { font-size: 14px; font-weight: 700; color: var(--mst-muted); }
.mst-press-pills a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: #F0ECFF; color: var(--mst-violet-t); font-size: 14px; font-weight: 800; text-decoration: none; }
.mst-press-pills a.is-on { background: var(--mst-violet-d); color: #FFFFFF; }
.mst-press-last { padding-bottom: 170px; }
.mst-press-contact { background: #F6F3FF; border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mst-press-contact > .mst-col { flex: 1 1 420px; min-width: 0; }
.mst-press-contact .mst-press-h2 { margin-bottom: 8px !important; font-size: clamp(26px, 2.6vw, 34px); }
.mst-press-contact p { margin: 0 0 8px; color: var(--mst-text); }
.mst-press-mail { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.mst-press-mail a { color: var(--mst-violet-t); }
.mst-press-narrow { max-width: 860px; }
.mst-press-one .mst-tint .mst-wrap { display: flex; flex-direction: column; gap: 14px; }
.mst-press-rel-title { font-size: clamp(32px, 4vw, 52px); }
.mst-press-body .mst-press-contact { margin-top: 24px; }

/* Language button + panel + footer list (2.5) */
.mst-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.mst-langbtn, .mst a.mst-langbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; box-sizing: border-box; padding: 0 16px; border-radius: 999px; border: 2px solid #5B3FD9; background: #FFFFFF; color: #3B2696 !important; font-family: var(--mst-body); font-weight: 800; font-size: 15px; text-decoration: none !important; white-space: nowrap; cursor: pointer; }
a.mst-langbtn:hover, a.mst-langbtn:focus-visible { background: #F6F3FF; }
a.mst-langbtn span { max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { a.mst-langbtn { padding: 0 12px; } a.mst-langbtn span { max-width: 7.5em; } }
.mst-langdlg { position: fixed; inset: 0; z-index: 100000; display: flex; justify-content: center; align-items: flex-start; padding: 32px 20px; box-sizing: border-box; font-family: var(--mst-body); color: var(--mst-ink); font-size: 16px; line-height: 1.4; }
.mst-langdlg[hidden] { display: none; }
.mst-langdlg-back { position: absolute; inset: 0; background: rgba(31,27,58,.5); }
.mst-langdlg-box { position: relative; width: 960px; max-width: 100%; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); display: flex; flex-direction: column; background: #FFFFFF; border-radius: 28px; box-shadow: 0 24px 80px rgba(31,27,58,.28); outline: none; overflow: hidden; }
.mst-langdlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(18px, 3vw, 32px) 14px; }
.mst-langdlg-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.mst-langdlg-head h2 { margin: 0; font-family: var(--mst-head); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--mst-ink); }
.mst-langdlg-head span { font-weight: 800; font-size: 14px; color: #4A4570; }
.mst-langdlg-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: #F6F3FF; color: var(--mst-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mst-langdlg-x:hover { background: #ECE6FF; }
.mst-langdlg-search { position: relative; padding: 0 clamp(18px, 3vw, 32px) 14px; }
.mst-langdlg-search svg { position: absolute; inset-inline-start: calc(clamp(18px, 3vw, 32px) + 16px); top: 16px; color: #4A4570; pointer-events: none; }
.mst-langdlg-search input { width: 100%; min-height: 52px; box-sizing: border-box; border: 2px solid #D9D2F5; border-radius: 16px; padding: 0 16px; padding-inline-start: 46px; font: inherit; font-size: 17px; color: var(--mst-ink); background: #FFFFFF; margin: 0; }
.mst-langdlg-search input:focus { outline: none; border-color: #5B3FD9; box-shadow: 0 0 0 3px rgba(91,63,217,.2); }
.mst-langdlg-scroll { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.mst-langdlg-sug { padding: 0 clamp(18px, 3vw, 32px) 16px; display: flex; flex-direction: column; gap: 8px; }
.mst-langdlg-sug[hidden] { display: none; }
.mst-langdlg-label { font-weight: 800; font-size: 13px; color: #4A4570; text-transform: uppercase; letter-spacing: .04em; }
.mst-langdlg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mst-langdlg-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #FFFFFF; border: 2px solid #E6DEFF; color: var(--mst-ink) !important; text-decoration: none !important; font-weight: 800; }
.mst-langdlg-pills a[aria-current] { background: #F0ECFF; border-color: #C9BCFA; }
.mst-langdlg-pills small { font-weight: 600; font-size: 14px; color: #4A4570; }
.mst-langdlg-all { border-top: 2px solid #F0ECFF; padding: 16px clamp(18px, 3vw, 32px) 24px; display: flex; flex-direction: column; gap: 10px; }
.mst-langdlg-list { columns: 4 170px; column-gap: 10px; }
.mst-langdlg-list a { break-inside: avoid; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; box-sizing: border-box; margin-bottom: 4px; padding: 6px 12px; border-radius: 14px; color: var(--mst-ink) !important; text-decoration: none !important; }
.mst-langdlg-list a[hidden] { display: none; }
.mst-langdlg-list a > span { display: flex; flex-direction: column; min-width: 0; }
.mst-langdlg-list b, .mst-langdlg-pills b { font-weight: 800; font-size: 16px; }
.mst-langdlg-list small { font-weight: 600; font-size: 13px; color: #4A4570; }
.mst-langdlg-list a:hover, .mst-langdlg-pills a:hover { background: #F6F3FF; }
.mst-langdlg-list a[aria-current] { background: #F0ECFF; }
.mst-langdlg a:focus-visible, .mst-langdlg-x:focus-visible { outline: 3px solid #5B3FD9; outline-offset: 2px; }
.mst-langdlg-check { flex: none; color: #5B3FD9; }
.mst-langdlg-none { margin: 8px 0; color: #3A3560; }
.mst-langdlg-none[hidden] { display: none; }
html.mst-noscroll, html.mst-noscroll body { overflow: hidden; }
@media (max-width: 960px) { .mst-langdlg-list { columns: 3 170px; } }
@media (max-width: 640px) {
	.mst-langdlg { padding: 0; }
	.mst-langdlg-box { width: 100%; height: 100%; max-height: none; border-radius: 0; }
	.mst-langdlg-list { columns: 2 130px; }
}
.mst-footer-in2 { padding-top: 0; }
.mst-footer-langs { flex: 1 1 100%; min-width: 0; width: 100%; box-sizing: border-box; border-top: 1px solid #3A3466; padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.mst-footer-langs h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--mst-body); font-size: 15px; font-weight: 800; color: #FFFFFF; letter-spacing: 0; }
.mst-footer-langs > div { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.mst-footer .mst-footer-langs a { color: #DCD5FF; text-decoration: none; padding: 4px 0; }
.mst-footer .mst-footer-langs a:hover { color: #FFFFFF; text-decoration: underline; }
.mst-footer .mst-footer-langs a[aria-current] { color: #FFFFFF; font-weight: 800; }
.mst-footer-in2 { flex-wrap: wrap; }
/* 2.9: long single words in headings (Nutzungsbedingungen, конфиденциальности) must not widen the page on phones */
.mst h1, .mst h2, .mst h3, .mst-h1 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 480px) { .mst-h1-page { font-size: clamp(30px, 8.6vw, 38px); } }
/* 2.9: narrow phones (320–420 px) */
@media (max-width: 420px) { .mst-octo .o-say { max-width: min(150px, 34vw); font-size: 0.92em; } }
@media (max-width: 380px) { a.mst-langbtn { gap: 6px; padding: 0 10px; } a.mst-langbtn span { max-width: 5.2em; } }
@media (max-width: 340px) { a.mst-langbtn span { display: none; } }
/* safety net: nothing should make the page scroll sideways */
html, body { overflow-x: clip; }
