

/* ===== Consolidated from ris-header-desktop-controls-3583.css; original cascade order retained ===== */
/* Desktop header control styles — scoped only to .ris-header-desktop */
@media screen and (min-width:1201px) {
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-menu-toggle,
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-account-login,
  html body.ris-modern-v5 .ris-header-desktop a.ris-language-switcher {
    box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
    height:58px; min-height:58px; max-height:58px; border:1px solid rgba(210,247,255,.32);
    border-radius:13px; background:rgba(255,255,255,.10); color:#fff; text-decoration:none;
  }
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-menu-toggle {
    min-width:100px; max-width:160px; padding:0 10px;
  }
  html body.ris-modern-v5 .ris-header-desktop a.ris-language-switcher {
    width:58px; min-width:58px; max-width:58px; padding:0;
  }
}


/* ===== Consolidated from ris-header-desktop-dropdown-3588.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.88 — desktop dropdown repair only. Tablet and phone are untouched. */
@media screen and (min-width:1201px) {
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state {
    display:flex!important; flex-flow:row nowrap!important; align-items:center!important;
    justify-content:flex-end!important; gap:8px!important; position:relative!important;
    overflow:visible!important; white-space:nowrap!important;
  }
  /* The menu wrapper is a positioning anchor, never a second header button. */
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu {
    display:block!important; position:relative!important; flex:0 0 auto!important;
    width:auto!important; min-width:0!important; max-width:none!important;
    height:auto!important; min-height:0!important; max-height:none!important;
    align-self:center!important; margin:0!important; padding:0!important;
    overflow:visible!important; line-height:normal!important; z-index:100!important;
  }
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-menu-toggle {
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
    box-sizing:border-box!important; width:auto!important; min-width:100px!important; max-width:160px!important;
    height:58px!important; min-height:58px!important; max-height:58px!important;
    margin:0!important; padding:0 10px!important; border:1px solid rgba(210,247,255,.32)!important;
    border-radius:13px!important; background:rgba(255,255,255,.10)!important; color:#fff!important;
    gap:7px!important; font-size:13px!important; font-weight:750!important; white-space:nowrap!important;
    position:relative!important; z-index:2!important; cursor:pointer!important;
  }
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-dropdown[hidden] {
    display:none!important;
  }
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-dropdown:not([hidden]) {
    display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:5px!important;
    box-sizing:border-box!important; position:absolute!important; top:calc(100% + 7px)!important;
    right:0!important; left:auto!important; bottom:auto!important;
    width:160px!important; min-width:160px!important; max-width:220px!important;
    height:auto!important; min-height:0!important; max-height:none!important;
    margin:0!important; padding:7px!important; border:1px solid rgba(210,247,255,.35)!important;
    border-radius:12px!important; background:rgba(5,82,105,.98)!important;
    box-shadow:0 8px 24px rgba(0,22,38,.28)!important; overflow:hidden!important;
    white-space:normal!important; z-index:10050!important;
  }
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-dropdown > a {
    display:flex!important; flex:0 0 auto!important; align-items:center!important; justify-content:center!important;
    box-sizing:border-box!important; width:100%!important; min-width:0!important; max-width:none!important;
    height:auto!important; min-height:42px!important; max-height:none!important; margin:0!important;
    padding:10px 12px!important; border:1px solid rgba(210,247,255,.22)!important; border-radius:9px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important; font-size:13px!important;
    font-weight:750!important; line-height:1.2!important; text-align:center!important;
    text-decoration:none!important; white-space:normal!important;
  }
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-dropdown > a:hover,
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > .ris-user-menu > .ris-user-dropdown > a:focus-visible {
    background:rgba(255,255,255,.20)!important;
  }
}


/* ===== Consolidated from ris-header-tablet-controls-3583.css; original cascade order retained ===== */
/* Tablet header control styles — scoped only to .ris-header-tablet */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-user-menu > .ris-user-menu-toggle,
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-account-login,
  html body.ris-modern-v5 .ris-header-tablet a.ris-language-switcher {
    box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
    height:38px; min-height:38px; max-height:38px; border:1px solid rgba(210,247,255,.32);
    border-radius:11px; background:rgba(255,255,255,.10); color:#fff; text-decoration:none;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-user-menu > .ris-user-menu-toggle {
    min-width:92px; max-width:150px; padding:0 9px;
  }
  html body.ris-modern-v5 .ris-header-tablet a.ris-language-switcher {
    width:42px; min-width:42px; max-width:42px; padding:0;
  }
}


/* ===== Consolidated from ris-header-tablet-adapted-35116.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.116 — tablet header adaptation.
   Scope is tablet DOM and tablet breakpoint only; mobile and desktop remain unchanged. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top {
    align-items:center!important;
  }
  /* Brand and emblem keep their own layout nodes, but use desktop-style glow. */
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top > a.ris-brand span {
    animation:ukrris-brand-glow 4.8s ease-in-out infinite!important;
    text-shadow:0 1px 5px rgba(0,25,40,.30)!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top > .ris-national-emblem img {
    animation:ukrris-identity-glow 4.8s ease-in-out infinite!important;
    transform-origin:center center!important;
  }
  /* Account and language controls have independent intrinsic widths. */
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top > .ris-account-state {
    display:flex!important; flex:0 1 auto!important; width:max-content!important;
    min-width:0!important; max-width:calc(100% - 70px)!important; align-items:center!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > a.ris-account-login {
    display:inline-flex!important; flex:0 0 auto!important; width:max-content!important;
    min-width:0!important; max-width:180px!important; padding:0 12px!important;
    height:38px!important; min-height:38px!important; box-sizing:border-box!important;
    align-items:center!important; justify-content:center!important; white-space:nowrap!important;
    border-radius:11px!important; text-decoration:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-user-menu {
    position:relative!important; display:block!important; flex:0 1 auto!important;
    width:max-content!important; min-width:0!important; max-width:100%!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-user-menu > .ris-user-menu-toggle {
    display:flex!important; flex:0 1 auto!important; width:max-content!important;
    min-width:92px!important; max-width:clamp(110px, 18vw, 190px)!important;
    height:38px!important; min-height:38px!important; box-sizing:border-box!important;
    align-items:center!important; justify-content:flex-start!important; gap:7px!important;
    padding:0 9px!important; border-radius:11px!important; overflow:hidden!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-menu-toggle .ris-user-name {
    display:block!important; flex:0 1 auto!important; width:auto!important; min-width:0!important;
    max-width:none!important; overflow:hidden!important; text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-user-menu > .ris-user-dropdown[hidden] {
    display:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-account-state > .ris-user-menu > .ris-user-dropdown:not([hidden]) {
    display:flex!important; position:absolute!important; z-index:10090!important;
    top:calc(100% + 7px)!important; right:0!important; left:auto!important;
    flex-direction:column!important; align-items:stretch!important; gap:5px!important;
    width:166px!important; min-width:166px!important; height:auto!important;
    margin:0!important; padding:7px!important; box-sizing:border-box!important;
    overflow:visible!important; border:1px solid rgba(190,240,255,.4)!important;
    border-radius:12px!important; background:rgba(5,82,105,.98)!important;
    box-shadow:0 8px 24px rgba(0,22,38,.3)!important; pointer-events:auto!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown > a.ris-account-profile,
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown > a.ris-account-logout {
    display:flex!important; flex:0 0 42px!important; width:100%!important; min-width:0!important;
    height:42px!important; min-height:42px!important; margin:0!important; padding:8px 10px!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
    border:1px solid rgba(210,247,255,.3)!important; border-radius:10px!important;
    background:rgba(255,255,255,.12)!important; color:#fff!important;
    font-weight:700!important; text-align:center!important; text-decoration:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet a.ris-language-switcher.ris-language-toggle {
    display:inline-flex!important; flex:0 0 42px!important; width:42px!important;
    min-width:42px!important; max-width:42px!important; height:38px!important;
    min-height:38px!important; max-height:38px!important; box-sizing:border-box!important;
    align-items:center!important; justify-content:center!important; padding:0!important;
    margin:0!important; border-radius:11px!important; white-space:nowrap!important;
    line-height:1!important; text-align:center!important;
  }
  html body.ris-modern-v5 .ris-header-tablet a.ris-language-switcher .ris-language-label {
    display:block!important; width:auto!important; min-width:0!important; margin:0!important;
    padding:0!important; line-height:1!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top > a.ris-brand span,
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top > .ris-national-emblem img {
    animation:none!important;
  }
}


/* ===== Consolidated from ris-header-tablet-single-header-35117.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.117 — tablet breakpoint: exactly one header, tablet DOM only. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 #main_in_bl.ris-header-desktop,
  html body.ris-modern-v5 .ris-header-mobile {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet {
    display:flex!important;
    visibility:visible!important;
    pointer-events:auto!important;
    position:relative!important;
    z-index:10020!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-nav {
    display:flex!important;
    visibility:visible!important;
  }
  /* Do not let a legacy/responsive nav outside the tablet header leak below it. */
  html body.ris-modern-v5 .ris-header-tablet ~ .ris-mobile-scroll-nav,
  html body.ris-modern-v5 .ris-header-tablet ~ .ris-mobile-primary-nav,
  html body.ris-modern-v5 .ris-header-tablet ~ .ris-mobile-more,
  html body.ris-modern-v5 body > .ris-mobile-scroll-nav {
    display:none!important;
  }
}


/* ===== Consolidated from ris-header-tablet-mobile-parity-35118.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.118 — tablet bar mirrors the approved mobile structure.
   Tablet only: combined brand+emblem, separate account/language controls, scrollable nav. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    gap:7px!important; box-sizing:border-box!important; padding:10px 12px!important;
    border-radius:18px!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top {
    display:flex!important; flex-flow:row nowrap!important; align-items:center!important;
    justify-content:space-between!important; gap:10px!important; width:100%!important;
    min-width:0!important; box-sizing:border-box!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand {
    display:inline-flex!important; flex:0 1 auto!important; align-items:center!important;
    justify-content:flex-start!important; gap:7px!important; width:max-content!important;
    min-width:0!important; max-width:44%!important; padding:7px 10px!important;
    box-sizing:border-box!important; border-radius:12px!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label {
    display:block!important; flex:0 1 auto!important; min-width:0!important;
    white-space:nowrap!important; font-weight:800!important; overflow:hidden!important;
    text-overflow:ellipsis!important; animation:ukrris-brand-glow 4.8s ease-in-out infinite!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem {
    display:flex!important; flex:0 0 22px!important; width:22px!important; height:28px!important;
    align-items:center!important; justify-content:center!important; overflow:visible!important;
    border:0!important; background:transparent!important; box-shadow:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    display:block!important; width:20px!important; height:26px!important; object-fit:contain!important;
    animation:ukrris-identity-glow 4.8s ease-in-out infinite!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions {
    display:flex!important; flex:0 1 auto!important; align-items:center!important;
    justify-content:flex-end!important; gap:8px!important; min-width:0!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state {
    display:flex!important; flex:0 1 auto!important; width:max-content!important;
    min-width:0!important; max-width:calc(100% - 50px)!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state > a.ris-account-login {
    display:inline-flex!important; flex:0 0 auto!important; width:max-content!important;
    min-width:0!important; max-width:150px!important; padding:0 12px!important;
    height:38px!important; min-height:38px!important; box-sizing:border-box!important;
    align-items:center!important; justify-content:center!important; white-space:nowrap!important;
    border-radius:11px!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state > .ris-user-menu {
    position:relative!important; display:block!important; flex:0 1 auto!important;
    width:max-content!important; min-width:0!important; max-width:100%!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-user-menu-toggle {
    display:flex!important; flex:0 1 auto!important; width:max-content!important;
    min-width:88px!important; max-width:clamp(105px, 20vw, 185px)!important;
    height:38px!important; min-height:38px!important; box-sizing:border-box!important;
    align-items:center!important; justify-content:flex-start!important; gap:6px!important;
    padding:0 9px!important; border-radius:11px!important; overflow:hidden!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-menu-toggle .ris-user-name {
    display:block!important; flex:0 1 auto!important; min-width:0!important; max-width:none!important;
    overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions > a.ris-language-switcher.ris-language-toggle {
    display:inline-flex!important; flex:0 0 42px!important; width:42px!important;
    min-width:42px!important; max-width:42px!important; height:38px!important;
    min-height:38px!important; max-height:38px!important; align-items:center!important;
    justify-content:center!important; box-sizing:border-box!important; padding:0!important;
    margin:0!important; border-radius:11px!important; white-space:nowrap!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-nav {
    display:flex!important; flex-flow:row nowrap!important; align-items:stretch!important;
    gap:7px!important; width:100%!important; min-width:0!important; max-width:100%!important;
    overflow-x:auto!important; overflow-y:hidden!important; overscroll-behavior-x:contain!important;
    scrollbar-width:none!important; -webkit-overflow-scrolling:touch!important;
    padding:0!important; margin:0!important; box-sizing:border-box!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-nav::-webkit-scrollbar {display:none!important}
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-nav > a {
    display:flex!important; flex:0 0 calc((100% - 7px)/2)!important; min-width:0!important;
    width:calc((100% - 7px)/2)!important; max-width:calc((100% - 7px)/2)!important;
    min-height:38px!important; box-sizing:border-box!important; align-items:center!important;
    justify-content:center!important; text-align:center!important; white-space:normal!important;
    border-radius:11px!important; text-decoration:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-nav > a.ris-responsive-nav-link {
    flex-basis:calc((100% - 7px)/2)!important; width:calc((100% - 7px)/2)!important;
    max-width:calc((100% - 7px)/2)!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown[hidden] {display:none!important}
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown:not([hidden]) {
    display:flex!important; position:absolute!important; z-index:10090!important;
    top:calc(100% + 6px)!important; right:0!important; left:auto!important;
    flex-direction:column!important; align-items:stretch!important; gap:5px!important;
    width:166px!important; min-width:166px!important; height:auto!important;
    margin:0!important; padding:7px!important; box-sizing:border-box!important;
    border:1px solid rgba(190,240,255,.4)!important; border-radius:12px!important;
    background:rgba(5,82,105,.98)!important; box-shadow:0 8px 24px rgba(0,22,38,.3)!important;
    overflow:visible!important; pointer-events:auto!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown > a.ris-account-profile,
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown > a.ris-account-logout {
    display:flex!important; flex:0 0 42px!important; width:100%!important; min-width:0!important;
    height:42px!important; min-height:42px!important; margin:0!important; padding:8px 10px!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
    border:1px solid rgba(210,247,255,.3)!important; border-radius:10px!important;
    background:rgba(255,255,255,.12)!important; color:#fff!important;
    font-weight:700!important; text-align:center!important; text-decoration:none!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {animation:none!important}
}


/* ===== Consolidated from ris-header-tablet-controls-35119.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.119 — tablet-only correction from actual tablet DOM.
   Keep the header over the hero, show account/login and language as independent controls. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet {
    margin-top:8px!important;
    margin-bottom:-96px!important;
    position:relative!important;
    z-index:10020!important;
  }
  /* Desktop-inspired combined brand + emblem block. */
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand {
    display:inline-flex!important; flex:0 0 auto!important; align-items:center!important;
    justify-content:space-between!important; gap:8px!important; min-width:132px!important;
    width:auto!important; max-width:42%!important; min-height:42px!important; height:42px!important;
    padding:0 10px!important; border:1px solid rgba(210,247,255,.28)!important;
    border-radius:12px!important; background:linear-gradient(115deg,rgba(0,69,108,.98),rgba(0,146,181,.94))!important;
    box-shadow:0 0 16px rgba(38,210,255,.16)!important; box-sizing:border-box!important;
    text-decoration:none!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label {
    display:block!important; flex:0 1 auto!important; min-width:0!important;
    color:#fff!important; font-size:16px!important; font-weight:800!important;
    white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem {
    display:flex!important; flex:0 0 25px!important; width:25px!important; height:34px!important;
    align-items:center!important; justify-content:center!important; border:0!important;
    background:transparent!important; box-shadow:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    display:block!important; width:24px!important; height:32px!important; object-fit:contain!important;
  }
  /* The mobile account renderer is reused for behavior only; tablet CSS explicitly enables it. */
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions {
    display:flex!important; flex:0 1 auto!important; align-items:center!important;
    justify-content:flex-end!important; gap:8px!important; min-width:0!important; margin-left:auto!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state.ris-mobile-account-state {
    display:flex!important; visibility:visible!important; flex:0 1 auto!important;
    width:max-content!important; min-width:0!important; max-width:calc(100% - 48px)!important;
    opacity:1!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-mobile-account-menu,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-user-menu {
    display:block!important; visibility:visible!important; position:relative!important;
    flex:0 1 auto!important; min-width:0!important; max-width:100%!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-mobile-account-button,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state > .ris-account-login {
    display:inline-flex!important; visibility:visible!important; opacity:1!important;
    flex:0 1 auto!important; width:max-content!important; min-width:84px!important;
    max-width:clamp(84px,22vw,190px)!important; height:38px!important; min-height:38px!important;
    align-items:center!important; justify-content:center!important; gap:6px!important;
    padding:0 10px!important; box-sizing:border-box!important; border:1px solid rgba(210,247,255,.38)!important;
    border-radius:11px!important; background:rgba(255,255,255,.12)!important;
    color:#fff!important; white-space:nowrap!important; text-decoration:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-user-name {
    display:block!important; flex:0 1 auto!important; min-width:0!important; max-width:none!important;
    overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions > a.ris-language-switcher.ris-language-toggle {
    display:inline-flex!important; visibility:visible!important; opacity:1!important;
    flex:0 0 42px!important; width:42px!important; min-width:42px!important; max-width:42px!important;
    height:38px!important; min-height:38px!important; max-height:38px!important;
    align-items:center!important; justify-content:center!important; padding:0!important; margin:0!important;
    box-sizing:border-box!important; border-radius:11px!important; white-space:nowrap!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown[hidden] {display:none!important}
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown:not([hidden]) {
    display:flex!important; position:absolute!important; z-index:10090!important;
    top:calc(100% + 6px)!important; right:0!important; left:auto!important;
    flex-direction:column!important; align-items:stretch!important; gap:5px!important;
    width:166px!important; min-width:166px!important; height:auto!important; margin:0!important;
    padding:7px!important; box-sizing:border-box!important; border:1px solid rgba(190,240,255,.4)!important;
    border-radius:12px!important; background:rgba(5,82,105,.98)!important;
    box-shadow:0 8px 24px rgba(0,22,38,.3)!important; overflow:visible!important; pointer-events:auto!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown > a.ris-account-profile,
  html body.ris-modern-v5 .ris-header-tablet .ris-user-dropdown > a.ris-account-logout {
    display:flex!important; flex:0 0 42px!important; width:100%!important; min-width:0!important;
    height:42px!important; min-height:42px!important; margin:0!important; padding:8px 10px!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
    border:1px solid rgba(210,247,255,.3)!important; border-radius:10px!important;
    background:rgba(255,255,255,.12)!important; color:#fff!important; font-weight:700!important;
    text-align:center!important; text-decoration:none!important;
  }
}


/* ===== Consolidated from ris-header-order-hero-glow-35120.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.120 — account before language, remove top hero gap, steady gold glow. */

/* All header variants: account/login first, language switch second. */
@media screen and (min-width:1201px) {
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state {order:0!important}
  html body.ris-modern-v5 .ris-header-desktop a.ris-language-switcher {order:1!important}
}
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state {order:0!important}
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions > a.ris-language-switcher {order:1!important}
}
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state {order:0!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a.ris-language-switcher {order:1!important}
}

/* Tablet: eliminate the white strip above the hero without changing desktop/mobile. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5,
  html body.ris-modern-v5 #Wrap,
  html body.ris-modern-v5 #wrap,
  html body.ris-modern-v5 #main,
  html body.ris-modern-v5 .site,
  html body.ris-modern-v5 .site-content {
    margin-top:0!important; padding-top:0!important;
  }
  html body.ris-modern-v5 .ris-header-tablet {
    margin-top:0!important;
    margin-bottom:-96px!important;
  }
  html body.ris-modern-v5 .ris-hero,
  html body.ris-modern-v5 .hero,
  html body.ris-modern-v5 .home-hero,
  html body.ris-modern-v5 .ris-home-hero,
  html body.ris-modern-v5 .hero-section,
  html body.ris-modern-v5 .wp-block-cover:first-child {
    margin-top:0!important;
  }
}

/* Match the desktop identity treatment: warm yellow glow only, no wave/sweep animation. */
@keyframes ukrris-identity-gold-glow-35120 {
  0%,100% {filter:drop-shadow(0 0 2px rgba(255,218,48,.38)) drop-shadow(0 0 5px rgba(255,198,0,.22))}
  50% {filter:drop-shadow(0 0 4px rgba(255,226,72,.95)) drop-shadow(0 0 11px rgba(255,190,0,.7))}
}
@keyframes ukrris-brand-gold-glow-35120 {
  0%,100% {text-shadow:0 0 2px rgba(255,214,45,.3)}
  50% {text-shadow:0 0 5px rgba(255,225,65,.8),0 0 10px rgba(255,190,0,.45)}
}
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label {
    animation:ukrris-brand-gold-glow-35120 3.8s ease-in-out infinite!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    animation:ukrris-identity-gold-glow-35120 3.8s ease-in-out infinite!important;
    filter:none!important;
  }
}
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-brand,
  html body.ris-modern-v5 .ris-header-mobile .ris-brand span {
    animation:ukrris-brand-gold-glow-35120 3.8s ease-in-out infinite!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-national-emblem img {
    animation:ukrris-identity-gold-glow-35120 3.8s ease-in-out infinite!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img,
  html body.ris-modern-v5 .ris-header-mobile .ris-brand,
  html body.ris-modern-v5 .ris-header-mobile .ris-brand span,
  html body.ris-modern-v5 .ris-header-mobile .ris-national-emblem img {
    animation:none!important;
  }
}


/* ===== Consolidated from ris-tablet-brand-gap-glow-35121.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.121 — tablet title visibility, emblem glow without wave, top gap correction. */
@media screen and (min-width:701px) and (max-width:1200px) {
  /* Restore the text label: earlier combined-brand markup has a general span rule that hid it. */
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand {
    display:inline-flex!important; flex-direction:row!important; align-items:center!important;
    justify-content:flex-start!important; gap:8px!important; min-width:132px!important;
    width:max-content!important; max-width:46%!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand > .ris-tablet-brand-label,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand > span:first-child {
    display:inline-block!important; visibility:visible!important; opacity:1!important;
    position:relative!important; flex:0 1 auto!important; width:auto!important; min-width:0!important;
    max-width:calc(100% - 34px)!important; height:auto!important; margin:0!important;
    padding:0!important; color:#fff!important; font-size:15px!important; line-height:1.1!important;
    font-weight:800!important; text-indent:0!important; white-space:nowrap!important;
    overflow:hidden!important; text-overflow:ellipsis!important;
    animation:ukrris-brand-gold-glow-35120 3.8s ease-in-out infinite!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand > .ris-national-emblem {
    display:flex!important; visibility:visible!important; opacity:1!important;
    flex:0 0 25px!important; width:25px!important; min-width:25px!important; height:34px!important;
    align-items:center!important; justify-content:center!important; margin:0!important; padding:0!important;
    border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important;
    filter:none!important; animation:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    display:block!important; visibility:visible!important; opacity:1!important;
    width:24px!important; height:32px!important; object-fit:contain!important;
    animation:ukrris-identity-gold-glow-35120 3.8s ease-in-out infinite!important;
    filter:none!important; transform:none!important;
  }
  /* Place the tablet bar slightly lower while removing the white gap before the hero. */
  html body.ris-modern-v5 .ris-header-tablet {
    margin-top:4px!important;
    margin-bottom:-104px!important;
  }
  html body.ris-modern-v5 #Wrap,
  html body.ris-modern-v5 #wrap,
  html body.ris-modern-v5 #main,
  html body.ris-modern-v5 #main_in_bl,
  html body.ris-modern-v5 .site,
  html body.ris-modern-v5 .site-content,
  html body.ris-modern-v5 .content-area,
  html body.ris-modern-v5 main {
    padding-top:0!important; margin-top:0!important;
  }
  html body.ris-modern-v5 .ris-header-tablet + .ris-project-chrome,
  html body.ris-modern-v5 .ris-header-tablet ~ .ris-project-chrome {
    margin-top:0!important; padding-top:0!important;
  }
  html body.ris-modern-v5 .ris-hero,
  html body.ris-modern-v5 .hero,
  html body.ris-modern-v5 .home-hero,
  html body.ris-modern-v5 .ris-home-hero,
  html body.ris-modern-v5 .hero-section,
  html body.ris-modern-v5 .wp-block-cover:first-child {
    margin-top:0!important; padding-top:0!important;
  }
}


/* ===== Consolidated from ris-tablet-top-gap-static-emblem-35122.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.122 — hard reset tablet top gap and remove all trident wave/sweep effects. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html, html body.ris-modern-v5 {
    margin-top:0!important;
    padding-top:0!important;
  }
  html body.ris-modern-v5 #wpadminbar { /* Keep the admin bar's own layout intact. */ }
  html body.ris-modern-v5 #Wrap,
  html body.ris-modern-v5 #wrap,
  html body.ris-modern-v5 #page,
  html body.ris-modern-v5 #masthead,
  html body.ris-modern-v5 #header,
  html body.ris-modern-v5 #main,
  html body.ris-modern-v5 #main_in_bl,
  html body.ris-modern-v5 .site,
  html body.ris-modern-v5 .site-header,
  html body.ris-modern-v5 .site-content,
  html body.ris-modern-v5 .content-area,
  html body.ris-modern-v5 main,
  html body.ris-modern-v5 #content {
    margin-top:0!important;
    padding-top:0!important;
    border-top:0!important;
  }
  html body.ris-modern-v5 .ris-header-tablet {
    margin-top:0!important;
    top:0!important;
    transform:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    animation:none!important;
    transition:none!important;
    -webkit-animation:none!important;
    -webkit-transition:none!important;
    filter:none!important;
    -webkit-filter:none!important;
    transform:none!important;
    opacity:1!important;
    mask:none!important;
    -webkit-mask:none!important;
    clip-path:none!important;
    -webkit-clip-path:none!important;
    mix-blend-mode:normal!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem::before,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem::after,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img::before,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img::after {
    content:none!important; display:none!important; animation:none!important; transition:none!important;
  }
}


/* ===== Consolidated from ris-tablet-hero-top-bar-lower-35123.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.123 — tablet only: hero begins at viewport top; bar is overlaid slightly lower. */
@media screen and (min-width:701px) and (max-width:1200px) {
  /* Remove the actual top offset from the hero container and common page wrappers. */
  html body.ris-modern-v5,
  html body.ris-modern-v5 #Wrap,
  html body.ris-modern-v5 #wrap,
  html body.ris-modern-v5 #page,
  html body.ris-modern-v5 #main,
  html body.ris-modern-v5 #content,
  html body.ris-modern-v5 #featured {
    margin-top:0!important;
    padding-top:0!important;
    border-top:0!important;
  }
  html body.ris-modern-v5 #featured {
    position:relative!important;
    top:-8px!important;
    margin-bottom:-8px!important;
  }
  /* The bar itself must NOT be pulled to the top: lower it over the hero video. */
  html body.ris-modern-v5 .ris-header-tablet {
    position:relative!important;
    z-index:10020!important;
    margin-top:8px!important;
    margin-bottom:-104px!important;
    top:auto!important;
    transform:none!important;
  }
  /* Remove wave/sweep overlays on the identity block, including pseudo-element layers. */
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    -webkit-animation:none!important;
    animation:none!important;
    -webkit-transition:none!important;
    transition:none!important;
    background-image:none!important;
    mask-image:none!important;
    -webkit-mask-image:none!important;
    mix-blend-mode:normal!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand::before,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand::after,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label::before,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand-label::after,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem::before,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem::after,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img::before,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img::after {
    content:none!important;
    display:none!important;
    opacity:0!important;
    animation:none!important;
    transition:none!important;
    background:none!important;
    box-shadow:none!important;
  }
  /* Static emblem with a restrained yellow glow; no animated transparent wave. */
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    filter:drop-shadow(0 0 3px rgba(255,220,35,.8)) drop-shadow(0 0 7px rgba(255,190,0,.45))!important;
    -webkit-filter:drop-shadow(0 0 3px rgba(255,220,35,.8)) drop-shadow(0 0 7px rgba(255,190,0,.45))!important;
    opacity:1!important;
    transform:none!important;
  }
}


/* ===== Consolidated from ris-tablet-hero-gap-cleanup-35124.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.124 — tablet hero gap final override.
   Preserve the approved bar geometry; lift only the hero/media container. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 #featured {
    position:relative!important;
    top:-26px!important;
    margin-top:-26px!important;
    padding-top:0!important;
    border-top:0!important;
  }
  html body.ris-modern-v5 #featured.ukrris-mobile-hero-video-active {
    top:-26px!important;
    margin-top:-26px!important;
    padding-top:0!important;
  }
  html body.ris-modern-v5 #featured .ukrris-mobile-hero-video,
  html body.ris-modern-v5 #featured video,
  html body.ris-modern-v5 #featured > video {
    top:0!important;
    margin-top:0!important;
  }
}


/* ===== Consolidated from ris-tablet-brand-login-fix-35125.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.125 — tablet brand proportions and clickable login control. */
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet .ris-header-tablet-top {
    display:flex!important; align-items:center!important; gap:10px!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand {
    display:inline-flex!important; flex:0 0 132px!important; width:132px!important;
    min-width:132px!important; max-width:132px!important; height:42px!important; min-height:42px!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:space-between!important;
    gap:7px!important; padding:0 9px!important; overflow:visible!important;
    border:1px solid rgba(210,247,255,.35)!important; border-radius:12px!important;
    background:linear-gradient(115deg,rgba(0,69,108,.98),rgba(0,146,181,.94))!important;
    text-decoration:none!important; position:relative!important; z-index:10030!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand > .ris-tablet-brand-label,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand > span:first-child {
    display:inline-block!important; visibility:visible!important; opacity:1!important;
    flex:0 1 auto!important; width:auto!important; min-width:0!important; max-width:78px!important;
    height:auto!important; margin:0!important; padding:0!important; color:#fff!important;
    font-size:14px!important; line-height:1.1!important; font-weight:800!important;
    text-indent:0!important; white-space:nowrap!important; overflow:hidden!important;
    text-overflow:ellipsis!important; background:transparent!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem {
    display:flex!important; flex:0 0 25px!important; width:25px!important; min-width:25px!important;
    height:32px!important; align-items:center!important; justify-content:center!important;
    margin:0!important; padding:0!important; border:0!important; border-radius:0!important;
    background:transparent!important; box-shadow:none!important; position:relative!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-brand .ris-national-emblem img {
    display:block!important; width:23px!important; height:30px!important; max-width:23px!important;
    object-fit:contain!important; margin:0!important; padding:0!important; opacity:1!important;
    transform:none!important; animation:none!important; transition:none!important;
    filter:drop-shadow(0 0 3px rgba(255,220,35,.72))!important;
    -webkit-filter:drop-shadow(0 0 3px rgba(255,220,35,.72))!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions {
    display:flex!important; flex:0 0 auto!important; align-items:center!important;
    justify-content:flex-end!important; gap:7px!important; margin-left:auto!important;
    min-width:0!important; position:relative!important; z-index:10050!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state {
    display:flex!important; flex:0 0 auto!important; width:max-content!important;
    min-width:0!important; max-width:190px!important; visibility:visible!important;
    opacity:1!important; position:relative!important; z-index:10060!important;
    pointer-events:auto!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state > a.ris-account-login,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state a.ris-account-login {
    display:inline-flex!important; position:relative!important; z-index:10070!important;
    pointer-events:auto!important; cursor:pointer!important; visibility:visible!important; opacity:1!important;
    flex:0 0 auto!important; width:auto!important; min-width:58px!important; max-width:170px!important;
    height:32px!important; min-height:32px!important; padding:0 10px!important; margin:0!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
    border:1px solid rgba(210,247,255,.42)!important; border-radius:9px!important;
    background:rgba(255,255,255,.13)!important; color:#fff!important;
    font-size:12px!important; font-weight:700!important; line-height:1!important;
    white-space:nowrap!important; text-decoration:none!important;
  }
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-mobile-account-menu,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-user-menu {
    position:relative!important; z-index:10060!important; pointer-events:auto!important;
  }
}


/* ===== Consolidated from ris-header-mobile-layout-preserved-3599.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.99 — restore mobile two-row geometry and desktop-like button styling. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    gap:7px!important; box-sizing:border-box!important; width:calc(100% - 20px)!important;
    max-width:390px!important; min-width:0!important; margin:0 auto!important; padding:8px 9px 9px!important;
    position:absolute!important; top:0!important; left:50%!important; right:auto!important;
    transform:translateX(-50%)!important; overflow:visible!important; z-index:10020!important;
    border:1px solid rgba(190,240,255,.30)!important; border-radius:17px!important;
    background:linear-gradient(135deg,rgba(0,87,116,.96),rgba(0,119,148,.94))!important;
    box-shadow:0 5px 18px rgba(0,35,54,.22)!important; color:#fff!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top {
    display:grid!important; flex:0 0 auto!important; grid-template-columns:minmax(0,1.08fr) minmax(0,1.32fr)!important;
    grid-template-areas:"brand actions"!important; align-items:center!important; column-gap:8px!important;
    row-gap:0!important; width:100%!important; min-width:0!important; margin:0!important; padding:0!important;
    box-sizing:border-box!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-brand.ris-mobile-brand {
    grid-area:brand!important; justify-self:stretch!important; display:flex!important; flex-flow:row nowrap!important;
    align-items:center!important; justify-content:space-between!important; gap:6px!important;
    box-sizing:border-box!important; width:100%!important; min-width:0!important; max-width:none!important;
    height:38px!important; margin:0!important; padding:0 8px!important;
    border:1px solid rgba(210,247,255,.32)!important; border-radius:12px!important;
    background:linear-gradient(120deg,rgba(0,76,112,.95),rgba(0,145,181,.9))!important;
    color:#fff!important; text-decoration:none!important; overflow:hidden!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label {
    display:block!important; flex:1 1 auto!important; width:auto!important; min-width:0!important; max-width:none!important;
    overflow:visible!important; text-overflow:clip!important; white-space:nowrap!important;
    color:#fff!important; font-size:13px!important; font-weight:800!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem {
    display:flex!important; flex:0 0 18px!important; width:18px!important; min-width:18px!important;
    align-items:center!important; justify-content:center!important; margin:0!important; padding:0!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {
    display:block!important; width:18px!important; height:25px!important; object-fit:contain!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {
    grid-area:actions!important; display:grid!important; grid-template-columns:minmax(0,1fr) 36px!important;
    grid-template-areas:"account language"!important; align-items:center!important; gap:7px!important;
    width:100%!important; min-width:0!important; max-width:none!important; margin:0!important; padding:0!important;
    position:relative!important; overflow:visible!important; z-index:100!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-account-state.ris-mobile-account-state {
    grid-area:account!important; display:block!important; visibility:visible!important; opacity:1!important;
    position:relative!important; width:100%!important; min-width:0!important; max-width:none!important;
    height:auto!important; min-height:36px!important; margin:0!important; padding:0!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > .ris-user-menu {
    display:block!important; position:relative!important; width:100%!important; min-width:0!important; max-width:none!important;
    margin:0!important; padding:0!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-user-menu-toggle.ris-mobile-account-button,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    all:unset!important; box-sizing:border-box!important; display:flex!important; visibility:visible!important; opacity:1!important;
    pointer-events:auto!important; align-items:center!important; justify-content:space-between!important; gap:4px!important;
    width:100%!important; min-width:0!important; max-width:none!important; height:36px!important; min-height:36px!important;
    max-height:36px!important; margin:0!important; padding:0 6px!important;
    border:1px solid rgba(210,247,255,.32)!important; border-radius:11px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important; font:700 10px/1 Arial,sans-serif!important;
    text-align:left!important; text-decoration:none!important; white-space:nowrap!important; overflow:hidden!important; cursor:pointer!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu .ris-user-avatar {
    display:inline-flex!important; flex:0 0 14px!important; width:14px!important; height:14px!important;
    align-items:center!important; justify-content:center!important; border-radius:50%!important; background:rgba(255,255,255,.15)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu .ris-user-name {
    display:block!important; flex:1 1 auto!important; min-width:0!important; max-width:none!important;
    overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important; color:#fff!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-language-switcher {
    grid-area:language!important; justify-self:end!important; display:inline-flex!important; visibility:visible!important; opacity:1!important;
    align-items:center!important; justify-content:center!important; box-sizing:border-box!important; width:36px!important;
    min-width:36px!important; max-width:36px!important; height:36px!important; min-height:36px!important;
    margin:0!important; padding:0!important; border:1px solid rgba(210,247,255,.32)!important; border-radius:11px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important; text-decoration:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile nav.ris-mobile-scroll-nav {
    display:flex!important; flex:0 0 auto!important; flex-flow:row nowrap!important; align-items:stretch!important;
    gap:7px!important; width:100%!important; min-width:0!important; max-width:100%!important; height:36px!important;
    margin:0!important; padding:0!important; overflow-x:auto!important; overflow-y:hidden!important; scrollbar-width:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile nav.ris-mobile-scroll-nav::-webkit-scrollbar {display:none!important}
  html body.ris-modern-v5 .ris-header-mobile nav.ris-mobile-scroll-nav > a.ris-responsive-nav-link {
    display:flex!important; flex:0 0 calc((100% - 7px)/2)!important; align-items:center!important; justify-content:center!important;
    box-sizing:border-box!important; min-width:0!important; max-width:calc((100% - 7px)/2)!important;
    height:36px!important; min-height:36px!important; margin:0!important; padding:5px 7px!important;
    border:1px solid rgba(210,247,255,.32)!important; border-radius:11px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important; font:700 10px/1.12 Arial,sans-serif!important;
    text-align:center!important; text-decoration:none!important; white-space:normal!important; overflow:hidden!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown[hidden] {display:none!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown:not([hidden]) {
    display:flex!important; flex-direction:column!important; align-items:stretch!important; gap:5px!important;
    position:absolute!important; top:calc(100% + 7px)!important; right:0!important; left:auto!important;
    width:158px!important; min-width:158px!important; max-width:calc(100vw - 24px)!important; box-sizing:border-box!important;
    margin:0!important; padding:7px!important; border:1px solid rgba(210,247,255,.32)!important; border-radius:12px!important;
    background:rgba(5,82,105,.98)!important; box-shadow:0 8px 24px rgba(0,22,38,.28)!important; overflow:hidden!important; z-index:10060!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a {
    display:flex!important; align-items:center!important; justify-content:center!important; width:100%!important;
    min-height:40px!important; box-sizing:border-box!important; margin:0!important; padding:9px 10px!important;
    border:1px solid rgba(210,247,255,.25)!important; border-radius:9px!important; background:rgba(255,255,255,.10)!important;
    color:#fff!important; font:700 12px/1.2 Arial,sans-serif!important; text-align:center!important; text-decoration:none!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top {grid-template-columns:minmax(0,1.05fr) minmax(0,1.25fr)!important;column-gap:6px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label {font-size:12px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {grid-template-columns:minmax(0,1fr) 32px!important;gap:6px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-language-switcher {width:32px!important;min-width:32px!important;max-width:32px!important}
  html body.ris-modern-v5 .ris-header-mobile nav.ris-mobile-scroll-nav > a.ris-responsive-nav-link {font-size:9.5px!important;padding:4px 5px!important}
}


/* ===== Consolidated from ris-header-mobile-brand-account-polish-35100.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.100 — phone-only brand sizing and desktop-like account button. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top {
    grid-template-columns:minmax(0,.88fr) minmax(0,1.32fr)!important;
    column-gap:8px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-brand.ris-mobile-brand {
    width:max-content!important; max-width:100%!important; justify-self:start!important;
    justify-content:flex-start!important; gap:4px!important; padding:0 7px!important;
    height:36px!important; border-radius:11px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label {
    flex:0 0 auto!important; width:auto!important; min-width:0!important; max-width:none!important;
    font-size:12px!important; letter-spacing:-.2px!important; overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem {
    flex:0 0 16px!important; width:16px!important; min-width:16px!important;
    margin-left:0!important; margin-right:0!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {
    width:16px!important; height:23px!important;
  }
  /* Desktop-inspired account control: avatar, readable name and chevron in one rounded button. */
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {
    grid-template-columns:minmax(0,1fr) 36px!important; gap:7px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-user-menu-toggle.ris-mobile-account-button,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    justify-content:flex-start!important; gap:6px!important; padding:0 8px!important;
    height:36px!important; min-height:36px!important; max-height:36px!important;
    border:1px solid rgba(210,247,255,.36)!important; border-radius:10px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.06))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 2px 6px rgba(0,25,40,.12)!important;
    font:700 10.5px/1 Arial,sans-serif!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu .ris-user-avatar {
    flex:0 0 15px!important; width:15px!important; height:15px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu .ris-user-name {
    flex:1 1 auto!important; min-width:0!important; max-width:none!important;
    overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu .ris-user-chevron {
    flex:0 0 auto!important; margin-left:auto!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top {
    grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)!important; column-gap:6px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-brand.ris-mobile-brand {padding:0 6px!important;gap:3px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label {font-size:11.5px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {width:15px!important;min-width:15px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {height:22px!important}
}


/* ===== Consolidated from ris-header-mobile-dropdown-match-desktop-35101.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.101 — mobile dropdown styled like the approved desktop dropdown. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu {
    position:relative!important; overflow:visible!important; z-index:10050!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown[hidden] {
    display:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown:not([hidden]) {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
    justify-content:flex-start!important; gap:5px!important;
    position:absolute!important; top:calc(100% + 7px)!important; right:0!important; left:auto!important;
    width:160px!important; min-width:160px!important; max-width:calc(100vw - 24px)!important;
    height:auto!important; min-height:0!important; box-sizing:border-box!important;
    margin:0!important; padding:7px!important;
    border:1px solid rgba(190,240,255,.34)!important; border-radius:13px!important;
    background:rgba(5,82,105,.98)!important; color:#fff!important;
    box-shadow:0 8px 24px rgba(0,22,38,.30)!important;
    backdrop-filter:blur(12px)!important; -webkit-backdrop-filter:blur(12px)!important;
    overflow:hidden!important; z-index:10060!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a.ris-account-profile,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a.ris-account-logout {
    display:flex!important; flex:0 0 auto!important; align-items:center!important; justify-content:center!important;
    box-sizing:border-box!important; width:100%!important; min-width:0!important; max-width:none!important;
    height:44px!important; min-height:44px!important; max-height:44px!important;
    margin:0!important; padding:8px 10px!important;
    border:1px solid rgba(210,247,255,.26)!important; border-radius:10px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
    font:700 12px/1.15 Arial,sans-serif!important; text-align:center!important;
    text-decoration:none!important; white-space:normal!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a.ris-account-profile:hover,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a.ris-account-logout:hover {
    background:rgba(255,255,255,.17)!important; border-color:rgba(210,247,255,.42)!important;
  }
}


/* ===== Consolidated from ris-header-mobile-final-polish-35102.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.102 — mobile-only final header polish. */
@media screen and (max-width:700px) {
  /* Drop the full panel slightly lower over the hero. */
  html body.ris-modern-v5 .ris-header-mobile {
    top:6px!important;
  }
  /* Nudge the trident closer to the wordmark and align it optically. */
  html body.ris-modern-v5 .ris-header-mobile .ris-brand.ris-mobile-brand {
    gap:2px!important; padding-left:8px!important; padding-right:6px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem {
    transform:translateY(1px)!important; margin-left:-1px!important;
  }
  /* The user control uses the sharper corner geometry from the desktop bar. */
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-user-menu-toggle.ris-mobile-account-button,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    border-radius:5px!important;
  }
  /* Keep the opened menu aligned to the sharper trigger while preserving the approved dropdown shape. */
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown:not([hidden]) {
    border-radius:10px!important;
  }
}


/* ===== Consolidated from ris-header-mobile-brand-like-desktop-35103.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.103 — mobile brand button modeled on the approved desktop brand. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top {
    grid-template-columns:minmax(0,1fr) minmax(0,1.32fr)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-brand.ris-mobile-brand {
    width:100%!important; max-width:100%!important; height:44px!important;
    justify-content:flex-start!important; gap:7px!important;
    padding:0 9px!important; border-radius:14px!important;
    border:1px solid rgba(210,247,255,.25)!important;
    background:linear-gradient(110deg,rgba(0,65,91,.96),rgba(0,116,145,.88))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 12px rgba(50,210,220,.12)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label {
    flex:1 1 auto!important; font-size:14px!important; font-weight:800!important;
    letter-spacing:0!important; text-shadow:0 1px 2px rgba(0,0,0,.2)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem {
    flex:0 0 25px!important; width:25px!important; min-width:25px!important;
    height:34px!important; transform:none!important; margin:0!important;
    filter:drop-shadow(0 0 5px rgba(255,220,45,.42))!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {
    width:25px!important; min-width:25px!important; height:34px!important; object-fit:contain!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-brand.ris-mobile-brand {
    height:42px!important; padding:0 8px!important; gap:6px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label {font-size:13px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {
    width:23px!important; min-width:23px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem {height:31px!important; flex-basis:23px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {height:31px!important}
}


/* ===== Consolidated from ris-header-mobile-brand-unified-button-35104.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.104 — canonical mobile brand button.
   Use the same border, radius, translucent fill and proportions as navigation buttons.
   Phone-only: desktop and tablet headers are untouched. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand {
    all:unset!important;
    box-sizing:border-box!important;
    display:flex!important; flex:0 0 112px!important; align-self:center!important;
    flex-flow:row nowrap!important; align-items:center!important; justify-content:space-between!important;
    gap:5px!important; width:112px!important; min-width:112px!important; max-width:112px!important;
    height:38px!important; min-height:38px!important; max-height:38px!important;
    margin:0!important; padding:0 8px!important;
    border:1px solid rgba(210,247,255,.32)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.10)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
    color:#fff!important; text-decoration:none!important; white-space:nowrap!important;
    overflow:hidden!important; cursor:pointer!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label {
    all:unset!important; display:block!important; flex:0 1 auto!important;
    min-width:0!important; max-width:none!important; overflow:visible!important;
    color:#fff!important; font-family:inherit!important; font-size:13px!important;
    font-weight:850!important; letter-spacing:-.3px!important; line-height:1!important;
    white-space:nowrap!important; text-shadow:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem {
    all:unset!important; display:flex!important; flex:0 0 20px!important;
    align-items:center!important; justify-content:center!important;
    width:20px!important; min-width:20px!important; max-width:20px!important;
    height:28px!important; margin:0!important; padding:0!important;
    transform:none!important; filter:drop-shadow(0 0 3px rgba(255,220,45,.28))!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem img {
    all:unset!important; display:block!important; width:20px!important; min-width:20px!important;
    max-width:20px!important; height:28px!important; object-fit:contain!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand:hover,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand:focus-visible {
    background:rgba(255,255,255,.16)!important; border-color:rgba(210,247,255,.48)!important;
    outline:none!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand {
    flex-basis:108px!important; width:108px!important; min-width:108px!important; max-width:108px!important;
    height:36px!important; min-height:36px!important; max-height:36px!important; padding:0 7px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label {
    font-size:12.5px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem img {
    width:19px!important; min-width:19px!important; max-width:19px!important; height:26px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem {
    flex-basis:19px!important;
  }
}


/* ===== Consolidated from ris-header-mobile-brand-button-shine-35106.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.106 — carry the desktop brand-button sheen to the phone header. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand {
    position:relative!important; isolation:isolate!important; overflow:hidden!important;
    background:linear-gradient(110deg,#075775 0%,#08718d 42%,#0b7894 58%,#075775 100%)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::before {
    content:""!important; display:block!important; position:absolute!important;
    z-index:0!important; inset:-45% auto -45% -65%!important; width:46%!important;
    border:0!important; border-radius:0!important; padding:0!important; margin:0!important;
    background:linear-gradient(105deg,transparent 0%,rgba(105,236,255,.04) 20%,rgba(176,250,255,.42) 50%,rgba(80,220,246,.10) 75%,transparent 100%)!important;
    box-shadow:none!important; filter:blur(1px)!important; opacity:0!important;
    transform:skewX(-16deg)!important; pointer-events:none!important;
    animation:ukrris-mobile-brand-shine-35106 5.8s ease-in-out infinite!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::after {
    content:""!important; display:block!important; position:absolute!important; z-index:0!important;
    inset:0!important; border:0!important; border-radius:inherit!important; padding:0!important; margin:0!important;
    background:linear-gradient(115deg,transparent 0%,rgba(83,222,248,.035) 50%,transparent 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.13)!important;
    opacity:1!important; animation:none!important; pointer-events:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem {
    position:relative!important; z-index:1!important;
  }
}
@keyframes ukrris-mobile-brand-shine-35106 {
  0%,62%,100% { left:-65%; opacity:0; }
  69% { opacity:.95; }
  82% { left:125%; opacity:0; }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::before {
    animation:none!important; display:none!important;
  }
}


/* ===== Consolidated from ris-header-mobile-brand-desktop-glow-35107.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.107 — reproduce the actual desktop brand glow on mobile.
   Desktop keyframes: ukrris-brand-glow + ukrris-identity-glow, defined in style.css. */
@media screen and (max-width:700px) {
  /* Remove the separate sweeping highlight added in 3.5.106: desktop uses a soft pulse. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::before {
    content:none!important; display:none!important; animation:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::after {
    animation:none!important;
  }
  /* Exact desktop text animation, applied to the mobile brand wordmark. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label {
    animation:ukrris-brand-glow 4.8s ease-in-out infinite!important;
    text-shadow:0 1px 5px rgba(0,25,40,.30)!important;
  }
  /* Exact desktop trident/image animation. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem img {
    animation:ukrris-identity-glow 4.8s ease-in-out infinite!important;
    transform-origin:center center!important;
    filter:drop-shadow(0 0 4px rgba(255,214,78,.20)) brightness(1)!important;
  }
  /* Gentle coordinated pulse on the shared brand button surface, without a moving wave. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand {
    animation:ukrris-mobile-brand-surface-glow-35107 4.8s ease-in-out infinite!important;
  }
}
@keyframes ukrris-mobile-brand-surface-glow-35107 {
  0%,100% { box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 3px rgba(75,210,238,.08); }
  50% { box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 11px rgba(75,210,238,.24); }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem img {
    animation:none!important;
  }
}


/* ===== Consolidated from ris-header-mobile-brand-pc-rules-fixed-35108.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.108
   Match the actual desktop identity rules: #main_in_bl .ris-brand span/small and
   .ris-national-emblem img. Mobile header lives outside #main_in_bl, so mirror
   the declarations directly onto its actual elements. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand {
    animation:none!important;
  }
  /* Remove the extra sweeping sheen from prior mobile-only experiments. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::before,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand::after {
    content:none!important; display:none!important; animation:none!important;
  }
  /* Desktop: #main_in_bl .ris-brand span, .ris-brand small { animation: ukrris-brand-glow 4.8s... } */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand > span:not(.ris-national-emblem) {
    animation:ukrris-brand-glow 4.8s ease-in-out infinite!important;
    text-shadow:0 1px 5px rgba(0,25,40,.30)!important;
    opacity:1!important;
  }
  /* Desktop: .ris-national-emblem img { animation: ukrris-identity-glow 4.8s... } */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem img,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand img {
    animation:ukrris-identity-glow 4.8s ease-in-out infinite!important;
    transform-origin:center center!important;
  }
  /* Desktop logo's own glow is on the image, not on an unrelated mobile pseudo-element. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem {
    filter:none!important; background:transparent!important; border:0!important; box-shadow:none!important;
    overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem::before,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-national-emblem::after {
    content:none!important; display:none!important; animation:none!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-mobile-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand .ris-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand > span:not(.ris-national-emblem),
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-brand.ris-mobile-brand img {
    animation:none!important;
  }
}


/* ===== Consolidated from ris-header-mobile-brand-account-fix-35109.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.109 — fix mobile brand glow and account menu click targets. */
@media screen and (max-width:700px) {
  /* Match desktop keyframes on the actual mobile markup: .ris-mobile-brand-label and emblem img. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-mobile-brand .ris-mobile-brand-label {
    animation:ukrris-brand-glow 4.8s ease-in-out infinite!important;
    text-shadow:0 1px 5px rgba(0,25,40,.30)!important;
    opacity:1!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-mobile-brand .ris-national-emblem img {
    animation:ukrris-identity-glow 4.8s ease-in-out infinite!important;
    transform-origin:center center!important;
  }
  /* Desktop keyframes include the emblem image filter; remove old filters that neutralised it. */
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-mobile-brand .ris-national-emblem {
    filter:none!important; overflow:visible!important; background:transparent!important;
    border:0!important; box-shadow:none!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-mobile-brand .ris-national-emblem::before,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top > a.ris-mobile-brand .ris-national-emblem::after {
    display:none!important; content:none!important; animation:none!important;
  }

  /* Make sure the mobile dropdown is above the navigation strip and its links receive taps. */
  html body.ris-modern-v5 .ris-header-mobile,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu {
    overflow:visible!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu {
    position:relative!important; z-index:10080!important; pointer-events:auto!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-button,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown a {
    pointer-events:auto!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown[hidden] {display:none!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown:not([hidden]) {
    position:absolute!important; z-index:10090!important; top:calc(100% + 6px)!important;
    right:0!important; left:auto!important; display:flex!important; flex-direction:column!important;
    align-items:stretch!important; gap:5px!important; width:160px!important; min-width:160px!important;
    height:auto!important; margin:0!important; padding:7px!important; box-sizing:border-box!important;
    overflow:visible!important; border:1px solid rgba(190,240,255,.4)!important;
    border-radius:12px!important; background:rgba(5,82,105,.98)!important;
    box-shadow:0 8px 24px rgba(0,22,38,.3)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a.ris-account-profile,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-dropdown > a.ris-account-logout {
    display:flex!important; position:relative!important; z-index:1!important;
    flex:0 0 44px!important; align-items:center!important; justify-content:center!important;
    width:100%!important; min-width:0!important; height:44px!important; min-height:44px!important;
    margin:0!important; padding:8px 10px!important; box-sizing:border-box!important;
    border:1px solid rgba(210,247,255,.3)!important; border-radius:10px!important;
    background:rgba(255,255,255,.12)!important; color:#fff!important;
    font:700 12px/1.15 Arial,sans-serif!important; text-align:center!important;
    text-decoration:none!important; opacity:1!important; visibility:visible!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand-label,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-brand .ris-national-emblem img {animation:none!important}
}


/* ===== Consolidated from ris-header-mobile-adaptive-login-button-35110.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.110 — adaptive mobile login/account button width. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {
    display:flex!important; align-items:center!important; justify-content:flex-end!important;
    gap:8px!important; min-width:0!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu {
    flex:0 1 auto!important; min-width:0!important; max-width:100%!important;
  }
  /* Logged-out button: width follows its label, while staying within the mobile row. */
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    display:flex!important; flex:0 1 auto!important; align-items:center!important; justify-content:center!important;
    box-sizing:border-box!important; width:max-content!important; min-width:max-content!important;
    max-width:clamp(54px, calc(100vw - 190px), 168px)!important;
    height:36px!important; min-height:36px!important; padding:0 12px!important;
    margin:0!important; border:1px solid rgba(210,247,255,.32)!important; border-radius:10px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important;
    font:700 12px/1.1 inherit!important; text-align:center!important; text-decoration:none!important;
    white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
  }
  /* Logged-in user button: grows with the display name, but yields space to EN and the brand. */
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button {
    display:flex!important; flex:0 1 auto!important; align-items:center!important; justify-content:flex-start!important;
    box-sizing:border-box!important; width:max-content!important; min-width:74px!important;
    max-width:clamp(94px, calc(100vw - 205px), 190px)!important;
    height:36px!important; min-height:36px!important; padding:0 9px!important; gap:6px!important;
    margin:0!important; border:1px solid rgba(210,247,255,.32)!important; border-radius:10px!important;
    background:rgba(255,255,255,.10)!important; color:#fff!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button .ris-user-name {
    display:block!important; flex:1 1 auto!important; min-width:0!important; max-width:none!important;
    overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;
    font-size:12px!important; line-height:1.1!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button .ris-user-avatar {
    flex:0 0 16px!important; width:16px!important; height:16px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button .ris-user-chevron {
    flex:0 0 auto!important; margin-left:2px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-lang-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a.ris-language-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-lang-link {
    flex:0 0 auto!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {gap:6px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    height:34px!important; min-height:34px!important; padding:0 9px!important;
    max-width:clamp(50px, calc(100vw - 178px), 145px)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button {
    height:34px!important; min-height:34px!important; padding:0 7px!important;
    max-width:clamp(82px, calc(100vw - 190px), 160px)!important;
  }
}


/* ===== Consolidated from ris-header-mobile-login-user-order-fix-35111.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.111 — preserve EN placement; size login/user button to content. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {
    display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important;
    align-items:center!important; justify-content:flex-end!important; gap:8px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu {
    order:0!important; flex:0 1 auto!important; min-width:0!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-lang-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-language-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-lang-link,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a:last-child {
    order:1!important; flex:0 0 auto!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    display:inline-flex!important; flex:0 0 auto!important; width:auto!important;
    min-width:0!important; max-width:calc(100vw - 190px)!important;
    padding:0 12px!important; white-space:nowrap!important; overflow:hidden!important;
    text-overflow:ellipsis!important; box-sizing:border-box!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button {
    display:flex!important; flex:0 1 auto!important; width:max-content!important;
    min-width:0!important; max-width:calc(100vw - 205px)!important;
    justify-content:flex-start!important; gap:6px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button .ris-user-name {
    flex:0 1 auto!important; width:auto!important; min-width:0!important; max-width:none!important;
    white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions {gap:6px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    padding:0 9px!important; max-width:calc(100vw - 178px)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-menu > button.ris-mobile-account-button {
    max-width:calc(100vw - 190px)!important;
  }
}


/* ===== Consolidated from ris-header-mobile-login-content-width-35112.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.112 — prevent the mobile login control and its wrapper from stretching. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions {
    display:flex!important; flex-flow:row nowrap!important; align-items:center!important;
    justify-content:flex-end!important; gap:8px!important; width:auto!important; min-width:0!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions > .ris-mobile-account-state {
    display:flex!important; flex:0 0 auto!important; width:max-content!important;
    min-width:0!important; max-width:calc(100vw - 170px)!important; align-self:center!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    display:inline-flex!important; flex:0 0 auto!important; align-self:center!important;
    width:max-content!important; min-width:0!important; max-width:100%!important;
    inline-size:max-content!important; block-size:36px!important;
    padding:0 12px!important; margin:0!important; box-sizing:border-box!important;
    white-space:nowrap!important; overflow:visible!important; text-overflow:clip!important;
    border-radius:10px!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions > .ris-lang-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions > .ris-language-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions > .ris-lang-link,
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions > a:last-child {
    flex:0 0 auto!important; width:auto!important; min-width:0!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-account-menu {
    flex:0 1 auto!important; width:max-content!important; min-width:0!important;
    max-width:calc(100vw - 170px)!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-account-menu > button.ris-mobile-account-button {
    flex:0 1 auto!important; width:max-content!important; min-width:0!important;
    max-width:100%!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-actions {gap:6px!important}
  html body.ris-modern-v5 .ris-header-mobile .ris-header-mobile-top .ris-mobile-account-state > a.ris-account-login.ris-mobile-account-button {
    padding:0 9px!important; block-size:34px!important;
  }
}


/* ===== Consolidated from ris-header-mobile-language-button-size-35113.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.113 — restore the mobile EN button's intended dimensions. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-language-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-lang-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-lang-link,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a:last-child,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-language-switcher a,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-lang-switcher a {
    display:inline-flex!important; flex:0 0 38px!important;
    width:38px!important; min-width:38px!important; max-width:38px!important;
    height:36px!important; min-height:36px!important; max-height:36px!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
    padding:0!important; margin:0!important; border-radius:10px!important;
    white-space:nowrap!important; line-height:1!important; font-size:12px!important;
  }
}
@media screen and (max-width:390px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-language-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-lang-switcher,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > .ris-lang-link,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a:last-child,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-language-switcher a,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions .ris-lang-switcher a {
    flex-basis:38px!important; width:38px!important; min-width:38px!important; max-width:38px!important;
    height:36px!important; min-height:36px!important; max-height:36px!important;
  }
}


/* ===== Consolidated from ris-header-mobile-language-brand-fix-35114.css; original cascade order retained ===== */
/* UkrRIS Modern 3.5.114 — independent mobile language control sizing. */
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a.ris-language-switcher.ris-language-toggle {
    display:inline-flex!important; flex:0 0 38px!important;
    width:38px!important; min-width:38px!important; max-width:38px!important;
    height:36px!important; min-height:36px!important; max-height:36px!important;
    box-sizing:border-box!important; align-items:center!important; justify-content:center!important;
    padding:0!important; margin:0!important; border-radius:10px!important;
    white-space:nowrap!important; line-height:1!important; text-align:center!important;
  }
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a.ris-language-switcher.ris-language-toggle .ris-language-label {
    display:block!important; flex:0 0 auto!important; width:auto!important;
    min-width:0!important; margin:0!important; padding:0!important; line-height:1!important;
  }
}


/* UkrRIS Modern 4.0.0 — final shared control sizing, scoped per independent header. */
@media screen and (min-width:1201px) {
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state > a.ris-account-login,
  html body.ris-modern-v5 .ris-header-desktop .ris-account-state .ris-user-menu-toggle,
  html body.ris-modern-v5 .ris-header-desktop a.ris-language-switcher.ris-language-toggle {
    box-sizing:border-box!important; height:44px!important; min-height:44px!important;
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
  }
}
@media screen and (min-width:701px) and (max-width:1200px) {
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state > a.ris-account-login,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-account-state .ris-user-menu-toggle,
  html body.ris-modern-v5 .ris-header-tablet .ris-tablet-actions > a.ris-language-switcher.ris-language-toggle {
    box-sizing:border-box!important; height:32px!important; min-height:32px!important;
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
  }
}
@media screen and (max-width:700px) {
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state > a.ris-account-login,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-account-state .ris-user-menu-toggle,
  html body.ris-modern-v5 .ris-header-mobile .ris-mobile-actions > a.ris-language-switcher.ris-language-toggle {
    box-sizing:border-box!important; height:38px!important; min-height:38px!important;
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
  }
}
