:root {
  font-family: Inter, system-ui, sans-serif;
  color: #18302b;
  background: #eef2ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1180px;
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
}
header div {
  font-size: 24px;
  font-weight: 900;
}
header span {
  color: #167358;
}
header b {
  background: #d64332;
  color: #fff;
  padding: 4px 7px;
  margin-left: 6px;
  font-size: 13px;
}
header time {
  font-weight: 650;
}
.satellite { position: relative; max-width: 1156px; height: min(48vh, 500px); min-height: 330px; margin: 0 auto; overflow: hidden; background: #142027; border-radius: 5px 5px 0 0; }
.satellite > img { width: 100%; height: 100%; object-fit: cover; }
.satellite-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #071217c9 0, #07121722 60%, transparent); }
.satellite-title { position: absolute; z-index: 2; left: 30px; bottom: 28px; max-width: 470px; color: #fff; }
.satellite-title small { color: #9adbd0; font-weight: 800; }
.satellite-title h2 { font-size: 38px; margin: 5px 0; }
.satellite-title p { margin: 0; line-height: 1.45; }
.sakvice-marker { position: absolute; z-index: 3; left: 50.6%; top: 50.4%; color: #fff; text-align: center; transform: translate(-50%, -50%); font-size: 11px; }
.sakvice-marker i { position: relative; display: block; width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 5px #d4483599; }
.sakvice-marker i::before, .sakvice-marker i::after { content: ""; position: absolute; background: #fff; }
.sakvice-marker i::before { width: 38px; height: 2px; left: -9px; top: 9px; }
.sakvice-marker i::after { width: 2px; height: 38px; left: 9px; top: -9px; }
.sakvice-marker b { display: block; margin-top: 9px; }
.header-waste { background: #fff1c2; border-left: 5px solid #da9d23; padding: 9px 13px; font-size: 15px !important; font-weight: 750 !important; }
.hero {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 18px;
  background: #164f43;
  color: #fff;
  padding: 26px;
  margin: 0 12px 14px;
  border-top: 1px solid #ffffff33;
  border-radius: 0 0 5px 5px;
}
.hero h1 {
  font-size: 32px;
  margin: 4px 0;
}
.now-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #ffffff44; }
.now-metrics > div { background: #164f43; padding: 14px 18px; }
.now-metrics span, .now-metrics small, .now-metrics b { display: block; }
.now-metrics span { font-size: 12px; font-weight: 800; color: #bde1d8; }
.now-metrics b { font-size: 27px; margin: 5px 0; }
.now-metrics small { color: #d9ebe5; }
.hero p {
  margin: 0;
  color: #d9ebe5;
}
.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.quick div {
  border-left: 1px solid #ffffff55;
  padding: 12px;
}
.quick b {
  display: block;
  font-size: 22px;
}
.important {
  margin: 0 12px 14px;
  padding: 14px 18px;
  background: #fff;
  border-left: 6px solid #da9d23;
}
.important p {
  margin: 5px 0 0;
}
.shopping { margin: 0 12px 14px; padding: 18px; background: #fff; }
.shopping h2 { font-size: 21px; margin: 4px 0 14px; }
.shopping small { color: #668078; font-weight: 750; }
.shop-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shop { border: 1px solid #dce6e2; padding: 13px; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
.shop h3, .shop p { margin: 0; }
.shop p { color: #5f716c; }
.shop a { color: #176d56; font-weight: 750; text-decoration: none; }
.shop .open { color: #168056; }
.shop .closed { color: #a13e35; }
.shop .services { grid-column: 1/-1; font-size: 13px; }
.food-offers { margin-top: 12px; }
.food-offer { padding: 10px 12px; background: #fff6dc; border-left: 4px solid #da9d23; }
.food-offer + .food-offer { margin-top: 6px; }
.next-mass { padding: 12px; background: #eef5f2; border-left: 4px solid #167358; }
.next-mass b, .next-mass strong { display: block; }
.next-mass strong { font-size: 22px; margin: 3px 0; }
.mass-source { display: inline-block; margin-top: 10px; color: #176d56; }
.post-card { padding: 15px; background: #eef5f2; border-left: 5px solid #167358; display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; }
.post-card h3 { margin: 0; font-size: 20px; }.post-card .hours { grid-column: 1/-1; display: flex; gap: 18px; }.post-card a, .parcel a { color: #176d56; font-weight: 750; }
.parcel-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }.parcel { padding: 11px; border: 1px solid #dce6e2; }.parcel b, .parcel span, .parcel small { display: block; }.parcel .open { color: #168056; }.parcel .closed { color: #a13e35; }
.service-search span { display: block; margin-bottom: 5px; color: #5f716c; font-size: 13px; }.service-search input { width: 100%; padding: 10px 12px; border: 1px solid #b9c9c4; font: inherit; }.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }.service-card { border: 1px solid #dce6e2; padding: 12px; }.service-card h3 { margin: 0 0 3px; font-size: 17px; }.service-card .category { color: #176d56; font-weight: 750; }.service-card p { margin: 7px 0; color: #5f716c; }.service-card a { color: #176d56; margin-right: 12px; }
.services-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; color: #668078; font-size: 12px; }.services-meta a { color: #176d56; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 12px;
}
.grid article {
  background: #fff;
  padding: 18px;
  min-width: 0;
}
.grid .wide {
  grid-column: span 2;
}
.head {
  display: flex;
  justify-content: space-between;
}
.grid h2 {
  font-size: 21px;
  margin: 4px 0 14px;
}
.grid small {
  color: #668078;
  font-weight: 750;
}
.direction-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}
.direction-tabs button {
  border: 1px solid #b9c9c4;
  background: #fff;
  padding: 7px 12px;
  cursor: pointer;
}
.direction-tabs .active {
  background: #164f43;
  color: #fff;
}
.departure {
  display: grid;
  grid-template-columns: 50px 65px 1fr 72px;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #e1e8e5;
}
.departure .route {
  font-weight: 850;
  color: #176d56;
}
.departure time {
  font-weight: 800;
}
.departure .connection { margin-top: 4px; color: #176d56; font-weight: 750; line-height: 1.35; }
.delay {
  color: #bb352b;
  font-weight: 750;
}
.ontime {
  color: #168056;
}
.item {
  padding: 8px 0;
  border-top: 1px solid #e1e8e5;
}
.item b {
  display: block;
}
.item a {
  color: #176d56;
  text-decoration: none;
}
.forecast {
  display: flex;
  overflow: auto;
  gap: 6px;
}
.hour {
  min-width: 72px;
  text-align: center;
  padding: 10px 5px;
  background: #f0f5f3;
}
.hour b {
  display: block;
  font-size: 18px;
}
.metric {
  padding: 8px 0;
  border-top: 1px solid #e1e8e5;
  display: flex;
  justify-content: space-between;
}
.metric b {
  font-size: 18px;
}
.good {
  color: #167358;
}
.warn {
  color: #b45b19;
}
details summary {
  cursor: pointer;
  list-style: none;
}
footer {
  padding: 25px 18px;
  color: #5f716c;
  font-size: 13px;
}
footer a {
  color: inherit;
}
@media (max-width: 760px) {
  header { flex-wrap: wrap; gap: 10px; }
  .header-waste { order: 3; width: 100%; }
  .satellite { margin: 0 12px; min-height: 390px; }
  .satellite-title { left: 18px; right: 18px; bottom: 20px; }
  .satellite-title h2 { font-size: 31px; }
  .hero {
    grid-template-columns: 1fr;
  }
  .now-metrics { grid-template-columns: 1fr; }
  .quick {
    grid-template-columns: 1fr;
  }
  .shop-list { grid-template-columns: 1fr; }
  .parcel-list { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .health-list { grid-template-columns: 1fr; }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid .wide {
    grid-column: auto;
  }
  .departure {
    grid-template-columns: 42px 56px 1fr 60px;
  }
  .hero h1 {
    font-size: 44px;
  }
}
.health-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px; }
.health-card { border:1px solid #dce7e2; padding:15px; background:#fbfdfc; }
.health-heading,.health-actions,.health-hours { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.health-heading>span { color:#176d56; font-size:12px; font-weight:800; text-transform:uppercase; }
.health-card h3 { margin:8px 0 3px; }
.health-card p { margin:5px 0; color:#556863; }
.health-card>small { display:block; margin-top:7px; }
.health-hours { margin:12px 0; padding:9px 10px; background:#edf5f1; }
.health-hours strong { text-align:right; }
.health-actions { justify-content:flex-start; flex-wrap:wrap; margin-top:13px; }
.health-actions a { color:#176d56; font-weight:700; text-decoration:none; }
.patient-status { margin-top:9px; padding:7px 9px; background:#fff4dc; color:#79521a; font-size:13px; }
.health-note { color:#687a75; font-size:12px; }
