/* Requested additions: login actions, complete footer links and legal pages. */
header.site-header .nav-links {gap:clamp(10px,1.1vw,22px);}
header.site-header .nav-links > .ik-login {border-radius:999px;padding:12px 19px;font-size:15px;line-height:1.3;min-height:44px;white-space:nowrap;}
header.site-header .nav-links > .ik-login-secondary {background:#edf7fb;color:#147da4;border:1px solid #badde9;box-shadow:none;}
header.site-header .nav-links > .ik-login-secondary:hover {background:#dceff8;color:#0d5977;}
#obsah .ik-heading-accent {color:#248baf;background:linear-gradient(115deg,#3eafb8,#247df1);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
#xdent-footer .ik-footer-grid {grid-template-columns:1.15fr 1fr 1fr 1fr;gap:clamp(24px,3vw,50px);}
#xdent-footer .ik-footer-grid > div {min-width:0;}
#xdent-footer .ik-footer-grid a {overflow-wrap:anywhere;}
.ik-legal {padding:64px 0 90px;background:linear-gradient(180deg,#f0f9fc,white 420px);}
.ik-legal > .container {max-width:1080px;}
.ik-legal-back {display:inline-block;margin-bottom:28px;color:#147da4;text-decoration:none;font-size:16px;}
.ik-legal h1 {font-family:Quicksand,sans-serif;font-size:clamp(28px,3.2vw,46px);line-height:1.25;letter-spacing:-.025em;color:#193746;margin:0 0 40px;overflow-wrap:anywhere;}
.ik-legal-body {font-size:18px;line-height:1.85;color:#3e5360;background:#fff;border:1px solid #deedf3;border-radius:24px;padding:clamp(22px,4vw,54px);box-shadow:0 16px 48px #133d5410;overflow-wrap:anywhere;}
.ik-legal-body p {margin:0 0 1.15em;}
.ik-legal-body ol,.ik-legal-body ul {margin:1.4em 0;padding-left:1.7em;}
.ik-legal-body li {margin-bottom:.85em;padding-left:.2em;}
.ik-legal-body a {color:#137da5;text-underline-offset:3px;}
.ik-legal-body h2,.ik-legal-body h3 {margin:1.5em 0 .65em;color:#193746;font-size:25px;}
@media(max-width:1200px) {
 header.site-header .menu-toggle {display:flex;margin-left:auto;flex-shrink:0;}
 header.site-header .header-inner {position:static;}
 header.site-header .nav-links {display:none;position:absolute;inset:100% 0 auto;max-height:calc(100dvh - 90px);overflow:auto;padding:20px max(24px,4vw);background:#fff;box-shadow:0 18px 26px #19374614;border-bottom:1px solid #deedf3;}
 header.site-header .nav-links.is-open {display:flex;flex-direction:column;align-items:stretch;gap:5px;}
 header.site-header .nav-links > a {padding:12px 16px!important;margin:0;}
 header.site-header .nav-links > .button {justify-content:center;text-align:center;margin-top:6px;}
 #xdent-footer .ik-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;}
}
@media(max-width:600px) {
 #xdent-footer .ik-footer-grid {grid-template-columns:minmax(0,1fr);gap:28px;}
 .ik-legal {padding:36px 0 56px;}
 .ik-legal-body {font-size:16px;line-height:1.8;border-radius:18px;padding:22px 18px;}
 .ik-legal h1 {margin-bottom:26px;}
}
@media(max-width:359px) {
 header.site-header .brand {width:150px;flex:0 0 150px;overflow:visible;}
 header.site-header .brand-art {width:180px!important;max-width:none;transform:scale(.82);transform-origin:left center;}
}
/* Distinguish downloading from the two sign-in options. */
header.site-header #site-nav.nav-links > a.ik-login-secondary {
 background:#fff!important;color:#187e9f!important;border:1px solid #98c9db!important;box-shadow:none!important;
}
header.site-header #site-nav.nav-links > a.ik-login-secondary:hover {background:#edf7fb!important;border-color:#187e9f!important;}
header.site-header #site-nav.nav-links > a.ik-login:not(.ik-login-secondary) {
 background:#183b4c!important;color:#fff!important;border:1px solid #183b4c!important;box-shadow:0 5px 14px #183b4c16!important;
}
header.site-header #site-nav.nav-links > a.ik-login:not(.ik-login-secondary):hover {background:#245b70!important;}
#pro-ordinace.ik-feedback-section {border-top:1px solid #dfeef4;}
/* Footer actions and recognizable social/store icons. */
#xdent-footer .ik-footer-logins {display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:8px;}
#xdent-footer .ik-footer-grid a.ik-footer-login {display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:150px;padding:11px 22px;border:1px solid #81c6d9;border-radius:999px;font-weight:700;font-size:16px;line-height:1.4;color:#d9f7ff;background:#ffffff08;text-decoration:none;transition:background .2s,color .2s;}
#xdent-footer .ik-footer-grid a.ik-footer-login-sms {background:linear-gradient(110deg,#91d5df,#5cb9db);color:#103345;border-color:transparent;}
#xdent-footer .ik-footer-grid a.ik-footer-login:hover {background:#d9f4fc;color:#103345;}
#xdent-footer .ik-footer-grid a.ik-footer-icon-link {display:flex;align-items:center;gap:12px;width:fit-content;min-height:44px;padding:7px 0;}
#xdent-footer .ik-footer-link-icon {display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;color:#a6dcea;}
#xdent-footer .ik-footer-link-icon svg {display:block;width:24px;height:24px;flex-shrink:0;}
/* Keep the patient overview inside small viewports. */
@media (max-width: 767px) {
  #prehled-aplikace .iko-heading > div { min-width: 0; }
  #prehled-aplikace .iko-heading h2 { white-space: normal; }
}

/* Mobile: full-width store buttons and headings without floated icons. */
@media (max-width: 699px) {
  #uvod .hero-copy .ika-store-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  #uvod .hero-copy .ika-store {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    justify-content: center;
    min-height: 60px;
  }
  #obsah #prehled-aplikace .iko-topic-copy > .iko-benefit-icon {
    float: none;
    margin: 0 0 20px;
  }
  #prehled-aplikace .iko-topic-copy > h3 {
    clear: both;
    width: 100%;
    text-align: left;
    text-indent: 0;
  }
}
@media (max-width: 699px) {
  #uvod .hero-copy .ika-store {gap:12px;padding:12px 20px;min-height:66px;}
  #uvod .hero-copy .ika-store svg {width:28px;height:30px;}
  #uvod .hero-copy .ika-store small {font-size:11px;line-height:1.35;}
  #uvod .hero-copy .ika-store strong {font-size:20px;line-height:1.3;}
}
