/* IONA V6.7.1 — focused mobile header and pop-up corrections. */
@media(max-width:960px){
  .topbar{position:sticky!important;top:0;z-index:150}
  .topbar .container.nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between;align-items:center;gap:10px;min-height:62px;padding-block:7px}
  .topbar .logo{display:flex;flex:1 1 auto;min-width:0;max-width:calc(100% - 96px);margin:0!important;font-size:clamp(.83rem,3.4vw,1rem);line-height:1.18;letter-spacing:-.015em}
  .topbar .logo-mark{width:36px;height:36px;flex:none}
  .topbar .logo small{font-size:clamp(.52rem,2vw,.68rem);letter-spacing:.035em;line-height:1.25;margin-top:3px}
  .topbar .logo.logo-has-image{min-width:0}
  .topbar .brand-logo-img{max-width:min(49vw,196px);width:auto;height:auto;max-height:51px;object-fit:contain}
  .topbar .mobile-menu-button{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-width:82px;min-height:44px;margin:0!important;padding:8px 11px!important;color:var(--header-text,#17324d);background:rgba(128,128,128,.09);border:1px solid currentColor;border-radius:10px;font-size:.88rem;font-weight:800;line-height:1}
  .topbar .mobile-menu-button:hover,.topbar .mobile-menu-button[aria-expanded="true"]{background:rgba(128,128,128,.18)}
  .topbar .mobile-menu-button:focus-visible{outline:3px solid var(--brand,#1855a5);outline-offset:3px}
  .topbar .nav-links.mobile-open{top:100%;z-index:160}
}
@media(max-width:350px){
 .topbar .container.nav{gap:7px;min-height:58px}
 .topbar .logo{font-size:.77rem;gap:7px;max-width:calc(100% - 85px)}
 .topbar .logo-mark{width:32px;height:32px}
 .topbar .logo small{font-size:.5rem}
 .topbar .mobile-menu-button{min-width:77px;font-size:.8rem;padding-inline:7px!important}
}
/* The dialog adapts to short/small screens without clipping its CTA. */
.popup-overlay{z-index:1000;padding:16px;overflow:auto;overscroll-behavior:contain}
.popup-overlay .popup-panel{width:min(560px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border-radius:12px;padding:clamp(20px,5vw,36px)}
.popup-overlay .popup-close{width:44px;height:44px;display:grid;place-items:center;top:4px;right:6px}
.popup-overlay .popup-close:focus-visible,.popup-overlay .popup-action:focus-visible{outline:3px solid var(--brand,#1855a5);outline-offset:3px}
.popup-overlay .popup-action{max-width:100%;overflow-wrap:anywhere}
.v671-popup-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}
.v671-popup-actions .btn{max-width:100%}
.v671-popup-hint{color:#51667b;font-size:.88rem;margin:10px 0}
@media(max-width:480px){.v671-popup-actions{display:grid;grid-template-columns:1fr}.v671-popup-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.popup-overlay,.popup-overlay .popup-action{transition:none!important}}

.v671-popup-actions[hidden]{display:none!important}
