.public-city-page {
  background: var(--wash);
}

.public-city-page .play-button {
  box-shadow: 0 12px 24px rgba(7, 91, 216, 0.18);
}

.public-city-page .hero-copy h1.city-title {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.04;
  white-space: normal;
}

.public-city-page .hero-copy h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.public-city-page .lead {
  max-width: 560px;
}

.public-city-page .hero-shell {
  align-items: start;
}

.city-title-name {
  display: inline;
  white-space: nowrap;
}

.city-title-suffix {
  display: inline;
  white-space: nowrap;
}

.city-title.title-stacked .city-title-name,
.city-title.title-stacked .city-title-suffix {
  display: block;
}

.quick-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.quick-days a {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0 0.35rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.month-calendar {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 0.35rem;
}

.calendar-header a {
  display: grid;
  place-items: center;
  min-height: 32px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 850;
}

.calendar-header strong {
  text-align: center;
  font-size: 0.92rem;
}

.calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.18rem;
  table-layout: fixed;
}

.calendar-table th {
  height: 24px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-table td {
  height: 32px;
  padding: 0;
  text-align: center;
}

.calendar-table a {
  display: grid;
  place-items: center;
  min-height: 30px;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 850;
}

.calendar-table a:hover {
  background: var(--blue-soft);
  border-color: var(--soft-line);
}

.calendar-table a.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 14px rgba(7, 91, 216, 0.2);
}

.calendar-empty {
  background: transparent;
}

.calendar-card {
  padding-bottom: 1.05rem;
}

.mobile-date-card {
  margin-top: 0.75rem;
}

.city-news-section {
  margin-top: 0;
}

.archive-day-section {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.archive-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.city-news-section .section-heading {
  align-items: center;
  margin-top: 0.95rem;
  margin-bottom: 0.75rem;
}

.city-news-section .section-heading h2 {
  max-width: 760px;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.08;
}

.news-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.city-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.city-news-card {
  grid-column: auto;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 142px;
  padding: 0.95rem;
  align-content: stretch;
}

.city-news-card.featured {
  grid-column: auto;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 142px;
  padding: 0.95rem;
}

.city-news-card .news-icon {
  width: 58px;
  height: 58px;
}

.city-news-card.featured .news-icon {
  width: 58px;
  height: 58px;
}

.city-news-card .news-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.city-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.22rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.city-news-meta time {
  color: var(--ink);
}

.city-news-card h3 {
  margin-bottom: 0.25rem;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.98rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.city-news-card h3 a {
  color: inherit;
}

.city-news-card.featured h3 {
  font-size: 0.98rem;
}

.city-news-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.65rem;
  color: #1f2d45;
  font-size: 0.86rem;
  line-height: 1.38;
}

.city-news-card.featured p {
  font-size: 0.86rem;
}

.city-news-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.city-news-card footer a {
  flex-basis: 100%;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
}

.article-page {
  max-width: 820px;
  margin: 2rem auto 4rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 800;
}

.article-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-meta time {
  color: var(--ink);
  text-transform: none;
}

.article-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.article-summary {
  color: #1f2d45;
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--soft-line);
}

.public-city-page .notice,
.empty-state {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.public-city-page .notice.error {
  border-color: #f2b8b8;
  background: #fff4f4;
  color: #8a1d1d;
}

.empty-state {
  max-width: 720px;
}

.empty-state h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.empty-state p {
  color: var(--muted);
}

.empty-state .admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 8px;
  font-weight: 850;
}

.empty-state .admin-button.primary {
  color: #fff;
  background: var(--blue);
}

.category-transport,
.category-green,
.category-health,
.category-business {
  color: #14733a;
  background: #eaf8ee;
}

.category-road,
.category-accident,
.category-security {
  color: #b64d00;
  background: #fff2e2;
}

.category-culture,
.category-museum,
.category-education {
  color: #6240a8;
  background: #f0e9ff;
}

.category-government,
.category-investment {
  color: var(--blue);
  background: var(--blue-soft);
}

@media (max-width: 1120px) {
  .city-title-name,
  .city-title-suffix {
    display: block;
  }

  .city-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-news-card,
  .city-news-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .public-city-page .hero-copy h1.city-title {
    font-size: clamp(2rem, 9.5vw, 2.8rem);
  }

  .city-news-grid {
    grid-template-columns: 1fr;
  }

  .city-news-section .section-heading {
    align-items: end;
  }

  .city-news-card,
  .city-news-card.featured {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 0;
  }

  .city-news-card .news-icon,
  .city-news-card.featured .news-icon {
    width: 52px;
    height: 52px;
  }

  .city-news-card h3,
  .city-news-card.featured h3 {
    font-size: 1.02rem;
  }

  .city-news-card p,
  .city-news-card.featured p {
    font-size: 0.94rem;
  }
}

/* Homepage city selector */
.home-page {
  background: #f7fbff;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-header {
  position: sticky;
  box-shadow: 0 10px 28px rgba(8, 20, 48, 0.06);
}

.home-header .topbar {
  max-width: 1280px;
  min-height: 72px;
}

.home-brand {
  color: #08224d;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.35rem;
  font-weight: 850;
}

.home-brand > span:last-child {
  display: grid;
  gap: 0.02rem;
}

.home-brand small {
  color: #55708f;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0;
}

.home-brand .clock-mark {
  border-color: #1595f2;
}

.home-main-nav {
  gap: clamp(1rem, 2vw, 2rem);
}

.home-main-nav a {
  font-weight: 800;
}

.home-search-link {
  width: 42px;
  height: 42px;
  justify-content: center;
  border-radius: 999px;
}

.home-search-link:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.home-main {
  max-width: none;
  padding: 0 0 3rem;
}

.home-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: linear-gradient(90deg, #f6fbff 0%, #edf8ff 48%, #dbf1ff 100%);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.86) 34%, rgba(247, 251, 255, 0.18) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #f7fbff 100%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 2rem 2rem;
}

.home-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.home-hero h1 {
  max-width: 700px;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.home-hero h1 span {
  color: #178cf0;
}

.home-hero-content > p:not(.home-kicker) {
  max-width: 520px;
  margin: 0;
  color: #526985;
  font-size: 1.05rem;
  line-height: 1.45;
}

.city-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 132px;
  align-items: center;
  gap: 0.55rem;
  max-width: 560px;
  min-height: 58px;
  margin-top: 0.55rem;
  padding: 0.38rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(12, 85, 147, 0.16);
}

.city-search svg {
  margin-left: 0.85rem;
  color: #0e254d;
}

.city-search input {
  min-height: 46px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.city-search button {
  min-height: 46px;
  color: #fff;
  background: linear-gradient(135deg, #1c9af5, #0872df);
  border: 0;
  border-radius: 9px;
  font-weight: 850;
  cursor: pointer;
}

.hero-city-badge {
  position: absolute;
  right: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
  bottom: 1.2rem;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.5rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  color: #fff;
  background: rgba(4, 28, 55, 0.72);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  font-weight: 850;
}

.hero-city-badge span {
  grid-row: 1 / span 2;
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 999px;
}

.hero-city-badge small {
  color: #cfe9ff;
  font-size: 0.72rem;
}

.home-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

.home-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1rem;
}

.home-section-heading h2 {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  font-weight: 900;
}

.home-section-heading p {
  margin: 0.25rem 0 0;
  color: #647792;
  font-weight: 700;
}

.home-note {
  max-width: 320px;
  text-align: right;
  font-size: 0.86rem;
}

.city-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.city-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 9px;
  box-shadow: 0 12px 26px rgba(8, 20, 48, 0.06);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.city-card:hover {
  border-color: #bcd8f1;
  box-shadow: 0 18px 38px rgba(8, 20, 48, 0.1);
  transform: translateY(-2px);
}

.city-card a {
  display: grid;
}

.city-card-photo {
  position: relative;
  min-height: 145px;
  background-position: center;
  background-size: cover;
}

.city-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 25, 55, 0) 32%, rgba(5, 25, 55, 0.65) 100%);
}

.city-card-photo span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.34rem 0.55rem;
  color: #fff;
  background: rgba(8, 30, 60, 0.78);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 850;
}

.city-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.82rem 0.9rem;
}

.city-card-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 900;
}

.city-card-body span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.72rem;
  color: var(--blue);
  background: #eaf5ff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.latest-home-section {
  padding-top: 2.7rem;
}

.latest-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.latest-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 140px;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(8, 20, 48, 0.05);
}

.latest-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 8px;
}

.latest-meta {
  display: block;
  margin-bottom: 0.25rem;
  color: #5d7190;
  font-size: 0.74rem;
  font-weight: 850;
}

.latest-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.96rem;
  line-height: 1.22;
}

.latest-card h3 a:hover {
  color: var(--blue);
}

.latest-card p {
  margin: 0;
  color: #52637c;
  font-size: 0.82rem;
  line-height: 1.36;
}

.home-empty {
  padding: 1rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 9px;
  font-weight: 750;
}

.home-footer {
  max-width: none;
  grid-template-columns: auto 1fr auto;
  max-width: 1280px;
  margin: 2rem auto 0;
  border-top-color: #dce8f4;
}

.home-footer nav {
  display: flex;
  gap: 1rem;
  font-weight: 800;
}

.city-photo-olsztyn {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/olsztyn.jpg"), linear-gradient(135deg, #96c8e8, #1e5a7c);
}

.city-photo-bydgoszcz {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/bydgoszcz.jpg"), linear-gradient(135deg, #87bdd9, #425b79);
}

.city-photo-torun {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/torun.jpg"), linear-gradient(135deg, #b77a55, #6b2d34);
}

.city-photo-szczecin {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/szczecin.jpg"), linear-gradient(135deg, #86c9eb, #2a6b91);
}

.city-photo-wroclaw {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/wroclaw.jpg"), linear-gradient(135deg, #d6a45f, #8d3a34);
}

.city-photo-poznan {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/poznan.jpg"), linear-gradient(135deg, #87bbd4, #3c795a);
}

.city-photo-krakow {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/krakow.jpg"), linear-gradient(135deg, #d9b16f, #744f86);
}

.city-photo-opole {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/opole.jpg"), linear-gradient(135deg, #7cc0dc, #2c7b73);
}

.city-photo-warszawa {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/warszawa.jpg"), linear-gradient(135deg, #9ac3df, #515f7c);
}

.city-photo-rzeszow {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/rzeszow.jpg"), linear-gradient(135deg, #9fc7de, #57756e);
}

.city-photo-lodz {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/lodz.jpg"), linear-gradient(135deg, #cc7a54, #65364a);
}

.city-photo-trojmiasto {
  background-image: linear-gradient(135deg, rgba(13, 80, 140, 0.16), rgba(29, 121, 160, 0.08)), url("/assets/cities/trojmiasto.jpg"), linear-gradient(135deg, #8ecded, #266e8c);
}

@media (max-width: 1020px) {
  .home-main-nav {
    display: none;
  }

  .city-card-grid,
  .latest-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-page {
    padding-bottom: 0;
  }

  .home-header {
    position: sticky;
  }

  .home-header .topbar {
    min-height: 68px;
  }

  .home-brand {
    font-size: 1.15rem;
  }

  .home-brand small {
    font-size: 0.68rem;
  }

  .home-hero {
    min-height: 520px;
  }

  .home-hero-bg {
    inset: auto 0 0;
    height: 54%;
    background-position: center;
  }

  .home-hero-bg::after {
    background:
      linear-gradient(180deg, #f7fbff 0%, rgba(247, 251, 255, 0.78) 22%, rgba(247, 251, 255, 0.08) 76%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #f7fbff 100%);
  }

  .home-hero-content {
    padding: 1.65rem 1rem 2rem;
  }

  .home-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .home-hero-content > p:not(.home-kicker) {
    font-size: 0.98rem;
  }

  .city-search {
    grid-template-columns: auto minmax(0, 1fr);
    max-width: none;
  }

  .city-search button {
    grid-column: 1 / -1;
  }

  .hero-city-badge {
    right: 1rem;
    bottom: 1rem;
  }

  .home-section {
    padding: 1.7rem 1rem 0;
  }

  .home-section-heading {
    display: grid;
  }

  .home-note {
    max-width: none;
    text-align: left;
  }

  .city-card-grid,
  .latest-strip {
    grid-template-columns: 1fr;
  }

  .city-card-photo {
    min-height: 170px;
  }

  .latest-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .latest-icon {
    width: 52px;
    height: 52px;
  }

  .home-footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1.4rem 1rem 2rem;
  }

  .home-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .city-news-card,
  .city-news-card.featured {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .city-news-card .news-icon,
  .city-news-card.featured .news-icon {
    width: 46px;
    height: 46px;
  }

  .city-news-card footer {
    grid-template-columns: 1fr;
  }
}

/* Modern clarity refresh */
.public-city-page main {
  padding-top: 1.2rem;
}

.public-city-page .site-header {
  box-shadow: 0 8px 28px rgba(8, 20, 48, 0.045);
}

.public-city-page .topbar {
  min-height: 68px;
}

.public-city-page .area-nav a {
  min-height: 46px;
  border-bottom-width: 3px;
}

.public-city-page .hero-shell {
  grid-template-columns: minmax(240px, 330px) minmax(360px, 1fr) minmax(250px, 290px);
  gap: clamp(1.15rem, 2.2vw, 1.8rem);
  align-items: stretch;
  padding: 1rem 0 1.35rem;
}

.public-city-page .hero-image {
  min-height: 220px;
  box-shadow: 0 16px 45px rgba(8, 20, 48, 0.08);
}

.public-city-page .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.25rem 0;
}

.public-city-page .hero-copy h1.city-title {
  margin-bottom: 0.5rem;
  font-size: clamp(2.15rem, 4.2vw, 4.05rem);
  line-height: 0.98;
  text-wrap: balance;
}

.public-city-page .hero-copy h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.public-city-page .lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.public-city-page .date-line {
  margin-bottom: 0.75rem;
  color: #31405c;
  font-size: 0.95rem;
}

.public-city-page .kicker {
  margin-bottom: 0.4rem;
  font-size: 0.74rem;
}

.public-city-page .progress-ring {
  --size: 72px;
  margin-top: 0.2rem;
  opacity: 0.9;
}

.public-city-page .progress-ring i {
  width: 7px;
  height: 7px;
  transform: rotate(calc(var(--n) * 30deg)) translateY(-30px);
}

.public-city-page .side-panel {
  align-self: start;
  position: sticky;
  top: 132px;
}

.public-city-page .side-card,
.public-city-page .mobile-city-card,
.public-city-page .month-calendar,
.public-city-page .news-card,
.public-city-page .article-page {
  border-color: #dfe6f1;
  box-shadow: 0 10px 28px rgba(8, 20, 48, 0.035);
}

.public-city-page .side-card {
  padding: 1rem;
}

.public-city-page .side-heading {
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.public-city-page .side-heading h3 {
  font-size: 0.96rem;
}

.public-city-page select,
.public-city-page input {
  min-height: 42px;
}

.public-city-page .quick-days {
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

.public-city-page .quick-days a,
.public-city-page .calendar-header a,
.public-city-page .calendar-table a {
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.public-city-page .quick-days a:hover,
.public-city-page .calendar-header a:hover,
.public-city-page .calendar-table a:hover {
  transform: translateY(-1px);
}

.public-city-page .calendar-header strong {
  font-size: 0.86rem;
  text-transform: capitalize;
}

.public-city-page .calendar-table {
  border-spacing: 0.14rem;
}

.public-city-page .calendar-table th {
  height: 22px;
  font-size: 0.62rem;
}

.public-city-page .calendar-table td {
  height: 29px;
}

.public-city-page .calendar-table a {
  min-height: 28px;
  font-size: 0.75rem;
}

.city-news-section .section-heading {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.city-news-section .section-heading h2 {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 850;
  letter-spacing: 0;
}

.news-count {
  padding: 0.32rem 0.55rem;
  background: #eef4fb;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  color: #3f4d66;
  font-size: 0.78rem;
}

.city-news-grid {
  gap: 0.95rem;
}

.city-news-card,
.city-news-card.featured {
  position: relative;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 0;
  padding: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.city-news-card:hover {
  border-color: #c7d7ee;
  box-shadow: 0 16px 38px rgba(8, 20, 48, 0.075);
  transform: translateY(-2px);
}

.city-news-card .news-icon,
.city-news-card.featured .news-icon {
  width: 46px;
  height: 46px;
}

.city-news-card .news-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.city-news-meta {
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
}

.city-news-card h3,
.city-news-card.featured h3 {
  margin-bottom: 0.38rem;
  font-size: 1rem;
  line-height: 1.25;
}

.city-news-card h3 a:hover {
  color: var(--blue);
}

.city-news-card p,
.city-news-card.featured p {
  -webkit-line-clamp: 4;
  margin-bottom: 0.8rem;
  color: #273650;
  font-size: 0.88rem;
  line-height: 1.5;
}

.city-news-card footer {
  padding-top: 0.65rem;
  border-top: 1px solid var(--soft-line);
  font-size: 0.76rem;
}

.city-news-card footer span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-news-card footer a {
  flex-basis: auto;
  margin-left: auto;
  white-space: nowrap;
}

.archive-day-section {
  margin-top: 1.5rem;
}

.article-page {
  max-width: 880px;
  padding: clamp(1.1rem, 3vw, 2rem);
}

.article-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  text-wrap: balance;
}

.article-summary {
  max-width: 72ch;
  font-size: 1.03rem;
}

@media (max-width: 1120px) {
  .public-city-page .hero-shell {
    padding-top: 0.5rem;
  }

  .public-city-page .hero-copy {
    padding: 0;
  }

  .public-city-page .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .public-city-page main {
    padding-top: 1rem;
  }

  .public-city-page .hero-copy h1.city-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .public-city-page .hero-copy h2 {
    font-size: 1.35rem;
  }

  .public-city-page .lead {
    font-size: 0.94rem;
  }

  .public-city-page .progress-ring {
    --size: 58px;
  }

  .public-city-page .progress-ring i {
    width: 6px;
    height: 6px;
    transform: rotate(calc(var(--n) * 30deg)) translateY(-24px);
  }

  .city-news-section .section-heading {
    align-items: center;
  }

  .city-news-card,
  .city-news-card.featured {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 0.88rem;
  }

  .city-news-card .news-icon,
  .city-news-card.featured .news-icon {
    width: 42px;
    height: 42px;
  }

  .city-news-card p,
  .city-news-card.featured p {
    -webkit-line-clamp: 5;
  }

  .city-news-card footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .city-news-card footer a {
    margin-left: 0;
  }
}
