:root {
  color-scheme: light;
  --blue: #164194;
  --deep-blue: #102e69;
  --navy: #10244a;
  --gold: #f0d779;
  --ink: #17294a;
  --muted: #526177;
  --paper: #f5f6fa;
  --line: #dce3ed;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.55;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .22em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #2876da; outline-offset: 4px; }
header :focus-visible, footer :focus-visible, .utility :focus-visible { outline-color: var(--gold); }
.wrap { width: min(90%, 1192px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { height: 1.25em; width: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex: 0 0 auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.utility { background: var(--navy); color: white; }
.utility-inner { display: flex; align-items: center; justify-content: flex-end; min-height: 38px; font-size: .875rem; }
.utility a { color: white; text-decoration: none; display: flex; align-items: center; gap: 7px; }
.utility a:hover { text-decoration: underline; }
.header { background: var(--blue); color: white; border-bottom: 1px solid #ffffff39; }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 22px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; margin-right: auto; flex: 0 0 auto; }
.brand img { width: 44px; height: 45px; object-fit: contain; }
.brand span { font-size: .875rem; font-weight: 600; line-height: 1.15; border-left: 1px solid #ffffff52; padding-left: 14px; }
.brand strong { display: block; font-size: 1.4rem; font-weight: 760; letter-spacing: -.02em; margin-top: 2px; }
.brand strong small { font-size: .68em; }
.header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(12px, 1.45vw, 22px); }
.header nav a { color: inherit; font-size: .95rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
.header nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.search-button, .menu-button { border: 1px solid #ffffff65; min-width: 44px; min-height: 44px; color: white; background: transparent; border-radius: 5px; padding: 8px 10px; }
.search-button:hover, .menu-button:hover { background: #ffffff20; }
.menu-button { display: none; }
.hero { padding-top: clamp(22px, 4vw, 48px); }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(2.35rem, 5.5vw, 4.65rem); letter-spacing: -.055em; line-height: 1.04; margin-bottom: 12px; font-weight: 800; text-wrap: balance; }
.hero-description { font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--muted); margin-bottom: clamp(18px, 2.5vw, 30px); }
.hero-picture { display: block; width: 100%; height: clamp(148px, 23vw, 290px); object-fit: cover; object-position: center 55%; border-radius: 9px; background: #edf3ff; margin-bottom: clamp(20px, 3vw, 34px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; min-height: 49px; border-radius: 5px; text-decoration: none; font-weight: 720; }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: #ffe698; text-decoration: underline; }
.shortcuts { margin-block: 25px clamp(20px, 3vw, 34px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shortcuts > a { display: flex; align-items: center; gap: 13px; padding: 19px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); min-height: 92px; box-shadow: 0 3px 10px #152d5508; }
.shortcuts > a:hover { border-color: var(--blue); background: #f7f9ff; }
.tile-icon { width: 45px; height: 45px; flex: 0 0 45px; display: inline-grid; place-items: center; border-radius: 5px; background: #eaf0fc; color: var(--blue); }
.tile-icon .icon { width: 24px; height: 24px; }
.shortcuts strong, .shortcuts small { display: block; }
.shortcuts strong { line-height: 1.25; margin-bottom: 3px; font-size: 1.035rem; }
.shortcuts small { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.transit { margin-top: clamp(24px, 4vw, 48px); padding: clamp(16px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.transit h2 { margin-bottom: 6px; }
.transit-previous { margin: 0 0 16px; }
.transit-validity { color: var(--muted); margin-bottom: 16px; }
.transit-lines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.transit-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.transit-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 5px; background: var(--blue); color: white; font-weight: 800; }
.transit-lines h3 { margin: 0; font-size: 1.05rem; }
.transit-lines p { margin: 3px 0 0; color: var(--muted); }
.transit-lines a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.overview { display: grid; grid-template-columns: 1.36fr 1fr; gap: 34px; align-items: start; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.35rem); line-height: 1.17; letter-spacing: -.04em; margin-bottom: 18px; }
h3 { font-size: 1.26rem; line-height: 1.25; letter-spacing: -.022em; margin-bottom: 8px; }
.news-feature { padding: 21px 23px; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 5px; background: var(--paper); }
.news-feature time { display: block; color: var(--muted); font-size: .875rem; margin-bottom: 7px; }
.news-feature h3 a { color: var(--ink); text-decoration: none; }
.news-feature h3 a:hover { text-decoration: underline; }
.news-feature p { margin-bottom: 9px; color: var(--muted); }
.text-link, .board-link { font-weight: 700; }
.board-link { display: inline-block; margin-top: 14px; }
.yard { border: 1px solid #d9e4f8; border-radius: 6px; background: #edf3ff; padding: 23px 25px; }
.yard-heading { display: flex; align-items: center; gap: 10px; color: var(--deep-blue); }
.yard-heading > .icon { width: 25px; height: 25px; }
.yard-heading h2 { font-size: 1.6rem; margin: 0; }
.yard-address { color: var(--muted); margin: 4px 0 9px; }
.hours { margin: 0; }
.hours > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #d4dff3; }
.hours dt { font-weight: 650; }
.hours dd { margin: 0; text-align: right; }
.yard-links { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 12px; font-weight: 690; font-size: .92rem; }
.services { background: var(--paper); padding: 52px 0 55px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service { background: white; padding: 20px; border: 1px solid var(--line); border-radius: 6px; }
.service .tile-icon { margin-bottom: 13px; }
.service p { color: var(--muted); }
.service-email { margin-top: 6px; }
details summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; cursor: pointer; color: var(--blue); font-weight: 700; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary .icon { transform: rotate(45deg); }
.report { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 47px; }
.report + .report { border-top: 1px solid var(--line); }
.report h2 { margin-bottom: 8px; }
.report p { max-width: 670px; margin-bottom: 0; color: var(--muted); }
.report .button { flex: 0 0 auto; }
footer { background: var(--navy); color: white; }
footer a { color: inherit; }
.footer-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding-block: 42px 36px; align-items: start; font-size: .95rem; line-height: 1.6; }
.footer-inner > div { min-width: 0; }
.footer-inner a { display: block; width: fit-content; max-width: 100%; margin-bottom: 5px; text-decoration-color: #ffffff80; overflow-wrap: anywhere; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--gold); text-decoration-color: currentColor; }
.footer-email { margin: 0 0 14px; overflow-wrap: anywhere; }
.footer-logo { display: block; margin-bottom: 16px; object-fit: contain; }
.footer-inner h2, .footer-inner h3 { font-size: 1.05rem; line-height: 1.4; letter-spacing: 0; margin: 0 0 12px; }
.footer-inner p, .footer-inner address { color: #e0e7f4; }
.footer-inner a, .footer-inner strong { color: white; }
.footer-bank, .footer-links { margin: 20px 0 0; }
.footer-links h3 { margin-bottom: 6px; }
.footer-contact p { margin: 0 0 12px; }
.footer-contact a + p { margin: 12px 0 0; }
.footer-contact .phone-link { font-weight: 700; }
address { font-style: normal; }
.footer-bottom { border-top: 1px solid #ffffff41; color: #c5d0e3; padding-block: 14px; font-size: .8125rem; line-height: 1.6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 15px; }
.footer-bottom a { text-decoration-color: #c5d0e399; text-underline-offset: 3px; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--gold); text-decoration-color: currentColor; }
[id] { scroll-margin-top: 18px; }
.search-dialog { width: min(calc(100% - 32px), 540px); max-height: calc(100% - 35px); padding: 24px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); }
.search-dialog::backdrop { background: #10244ac7; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.dialog-heading h2 { margin: 0; }
.close-button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--deep-blue); border-radius: 4px; font-size: 1.6rem; line-height: 1; }
.search-dialog label { display: block; font-weight: 700; margin-bottom: 5px; }
.search-dialog input { width: 100%; padding: 9px 12px; min-height: 45px; border: 1px solid #637999; border-radius: 4px; }
#vysledek { margin: 12px 0 0; color: var(--muted); }
#nalezy { padding-left: 20px; margin-block: 8px 0; }
#nalezy li { padding-block: 4px; }
@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shortcuts > a { padding: 13px 11px; gap: 9px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 1050px) {
  .header-inner { min-height: 73px; gap: 8px; }
  .menu-button { display: inline-flex; gap: 5px; align-items: center; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 5; padding: 8px 15px; background: var(--navy); border-radius: 0 0 5px 5px; }
  .header nav[data-open] { display: grid; gap: 2px; }
  .header nav a { display: block; padding: 10px; }
  .shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview { gap: 20px; }
  .yard { padding-inline: 16px; }
}
@media (max-width: 620px) {
  .transit-lines li { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; }
  .transit-lines a { grid-column: 2; justify-self: start; }
  .overview { grid-template-columns: 1fr; }
  .shortcuts { gap: 8px; margin-top: 14px; }
  .shortcuts > a { min-height: 75px; }
  .shortcuts .tile-icon { width: 33px; height: 33px; flex-basis: 33px; }
  .shortcuts .tile-icon .icon { width: 20px; height: 20px; }
  .shortcuts strong { font-size: .95rem; }
  .services { padding-block: 34px; }
  .service { padding: 15px; }
  .report { flex-direction: column; align-items: flex-start; padding-block: 33px; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 30px; }
  .footer-inner > div + div { border-top: 1px solid #ffffff30; padding-top: 24px; }
}
@media (max-width: 390px) {
  .services-grid { grid-template-columns: 1fr; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 37px; }
  .brand span { padding-left: 7px; font-size: .75rem; }
  .brand strong { font-size: 1.13rem; }
  .shortcuts > a { gap: 6px; padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
#zverejnene-aktuality { display: grid; gap: 12px; }
.news-feature-urgent { background: #fff4db; border-color: #e9c773; border-left-color: #98620d; }
.news-feature .news-alert-label { color: #744700; font-weight: 750; margin-bottom: 4px; }
.news-feature .news-text { white-space: pre-wrap; }
.news-empty { color: var(--muted); margin: 0; }

.bin-types { padding-block: clamp(24px, 5vw, 52px); }
.bin-types > h1 { font-size: clamp(2rem, 4.5vw, 3.65rem); }
.bin-types > p { color: var(--muted); }
.bin-card { padding: 0; overflow: hidden; }
.bin-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f5f7fa; }
.bin-card > div { padding: 16px 18px; }
.bin-card h2 { margin: 0 0 5px; font-size: 1.08rem; line-height: 1.35; letter-spacing: normal; }
.bin-card p { margin: 0; }
.bin-note { margin: 12px 0 0; font-size: .875rem; }

.bin-types-link { margin: 14px 0 0; }
a.phone-link { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
a.email-link { display: flex; align-items: baseline; gap: .4em; width: fit-content; max-width: 100%; }
.email-link span { min-width: 0; overflow-wrap: anywhere; }
.phone-link .icon, .email-link .icon { width: 1em; height: 1em; }
.email-link .icon { align-self: flex-start; margin-top: .275em; }
