/* Parts that exist only in WordPress (the shared design CSS is copied in from assets/css). */

/* Cookie banner: a quiet panel bottom-left, sharp corners like the rest of the site */
.mx-consent { position: fixed; z-index: 300; right: var(--v3-edge, 24px); bottom: var(--v3-edge, 24px); width: min(440px, calc(100vw - 2 * var(--v3-edge, 24px))); padding: 24px; background: var(--v3-raised); color: var(--v3-text); border: 1px solid var(--v3-line); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); opacity: 0; transform: translateY(12px); transition: opacity 0.25s var(--v3-ease), transform 0.25s var(--v3-ease); }
.mx-consent.is-in { opacity: 1; transform: none; }
.mx-consent [hidden] { display: none; }
.mx-consent__title { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.mx-consent__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--v3-muted); }
.mx-consent__text a { color: var(--v3-text); }
.mx-consent__prefs { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--v3-line); }
.mx-consent__row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--v3-muted); cursor: pointer; }
.mx-consent__row b { display: block; color: var(--v3-text); font-weight: 500; }
.mx-consent__row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--v3-red-fill); }
.mx-consent__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.mx-consent__btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--v3-text); background: transparent; color: var(--v3-text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 0.2s var(--v3-ease), color 0.2s var(--v3-ease); }
.mx-consent__btn:hover { background: var(--v3-text); color: var(--v3-ink); }
.mx-consent__link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--v3-muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mx-consent__link:hover { color: var(--v3-text); }
.mx-consent :focus-visible { outline: 2px solid var(--v3-red-text); outline-offset: 2px; }
.jf-legal__end .jf-cookies { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.jf-legal__end .jf-cookies:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .mx-consent { transition: none; } }
.jf-legal__end .jf-cookies { display: flex; align-items: center; min-height: 44px; font-size: 12px; }
@media (max-width: 599px) { .jf-legal__end { flex-wrap: wrap; gap: 0 20px; } }
.v3-langs a, .v3-menu__langs a, .v3-footer__langs a { display: block; padding: 8px 0; color: inherit; text-decoration: none; }
.v3-langs a:hover, .v3-menu__langs a:hover, .v3-footer__langs a:hover { color: var(--v3-red-text); }
@media (max-width: 1179px) { .v3-menu__langs a, .v3-footer__langs a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; } }

/* Languages: a long single word in a display heading (Гардеробные, Tietosuojaseloste) breaks with a hyphen
   instead of running out of its column; words under 10 letters never break. */
.v3-page__title, .v3-statement, .v3-hero__copy h1 { hyphens: auto; hyphenate-limit-chars: 10 5 3; }
