:root {
  --ink: #192326;
  --muted: #637174;
  --paper: #fffdf9;
  --surface: #ffffff;
  --surface-strong: #f4f8f7;
  --line: #dce4e2;
  --red: #d82f3e;
  --red-dark: #a61e2c;
  --green: #257467;
  --green-soft: #e3f1ed;
  --yellow: #f2b95f;
  --blue: #345f78;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --red-glow: 0 18px 52px rgba(216, 47, 62, 0.18);
  --shadow: 0 24px 70px rgba(20, 35, 38, 0.15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(216, 47, 62, 0.16), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(166, 30, 44, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(216, 47, 62, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fff5f6 0%, #fffdf9 34%, #f8eeee 100%);
  background-size: auto, auto, 64px 64px, auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(238px, 330px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1820px, calc(100% - 32px));
  min-height: 92px;
  margin: 14px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow), var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px) saturate(1.35);
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.topbar.is-hidden-on-scroll {
  transform: translateY(calc(-100% - 18px));
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-self: center;
  width: min(860px, 100%);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a,
.account-link,
.primary-action,
.secondary-action,
.feature-card a,
.business-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.nav a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 18px;
  text-align: center;
  white-space: nowrap;
}

.nav a {
  color: var(--red-dark);
}

.nav a:hover {
  color: #fff;
  background: var(--red-dark);
  box-shadow: 0 12px 26px rgba(166, 30, 44, 0.24);
}

.nav a[aria-current="page"] {
  color: #fff;
  background: var(--red-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 12px 30px rgba(166, 30, 44, 0.28);
}

.account-link,
.primary-action,
.submit-button {
  color: #fff;
  background: var(--red);
}

.account-actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
  justify-content: end;
}

.account-actions .account-link {
  min-width: 118px;
  white-space: nowrap;
}

.login-link {
  border: 1px solid rgba(216, 47, 62, 0.28);
  color: var(--red-dark);
  background: #fff;
}

.account-link:hover,
.primary-action:hover,
.submit-button:hover {
  background: var(--red-dark);
}

.login-link:hover {
  color: #fff;
}

.account-link[aria-current="page"] {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.46);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
}

.portal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: stretch;
  min-height: 650px;
}

.portal-copy,
.region-panel,
.account-section {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.22);
}

.portal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: clamp(32px, 7vw, 76px);
  background:
    linear-gradient(135deg, rgba(227, 241, 237, 0.74), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 253, 249, 0.62));
}

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  padding: 0 20px;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.small-action {
  width: fit-content;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 16px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(227, 241, 237, 0.74), transparent 46%),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
}

.page-tools {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plain-link {
  width: fit-content;
  color: var(--red-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.region-panel {
  padding: 24px;
  text-align: center;
}

.region-panel-header {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.region-panel h2 {
  font-size: 1.65rem;
}

.region-panel .select-label {
  justify-content: center;
  margin-top: 22px;
}

.live-badge,
.visit-badge,
.tag,
.listing-card span,
.business-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(216, 47, 62, 0.11);
  box-shadow: 0 8px 22px rgba(216, 47, 62, 0.12);
  font-size: 0.78rem;
  font-weight: 850;
}

.visit-badge {
  color: var(--red-dark);
  background: #fff0f1;
}

.select-label,
.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

select,
input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(216, 47, 62, 0.13);
}

.region-visual,
.map-shell {
  width: 100%;
  margin: 24px 0 18px;
  aspect-ratio: 1.58;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.region-visual {
  object-fit: cover;
}

.map-shell {
  display: grid;
  gap: 12px;
  padding: 16px;
  aspect-ratio: auto;
  overflow: hidden;
  border-color: rgba(216, 47, 62, 0.14);
  background:
    radial-gradient(circle at 50% 44%, rgba(216, 47, 62, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 244, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 18px 48px rgba(166, 30, 44, 0.1);
}

.map-heading {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.map-heading strong {
  color: var(--red-dark);
  font-size: 1.05rem;
}

.map-heading span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.swiss-map {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
  filter: drop-shadow(0 18px 34px rgba(20, 35, 38, 0.1));
}

.canton-shape {
  fill: rgba(255, 255, 255, 0.88);
  stroke: #ffffff;
  stroke-width: 4.5;
  stroke-linejoin: round;
  cursor: pointer;
  outline: none;
  transition: fill 160ms ease, filter 160ms ease, stroke 160ms ease, stroke-width 160ms ease, opacity 160ms ease;
}

.canton-shape:hover,
.canton-shape:focus-visible {
  fill: #ffdfe3;
  stroke: rgba(166, 30, 44, 0.62);
  stroke-width: 6;
  filter: url("#map-glow");
}

.canton-shape.is-active {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 7;
  filter: url("#map-glow");
}

.map-labels text {
  fill: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.map-labels .tiny-label {
  font-size: 12px;
}

.map-cantons:has(.canton-shape.is-active) .canton-shape:not(.is-active) {
  fill: rgba(255, 255, 255, 0.62);
  opacity: 0.72;
}

.map-cantons:has(.canton-shape.is-active) + .map-labels text {
  fill: #526064;
}

.region-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.region-stats div {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(216, 47, 62, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(166, 30, 44, 0.08);
}

.region-stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.region-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.section-band,
.split-section,
.account-section,
.promotion-section,
.daily-news-section,
.news-orbit-section,
.full-translation-section,
.contact-section {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 52px);
}

.section-band {
  border-block: 1px solid rgba(255, 255, 255, 0.62);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.18);
}

.section-band.muted {
  background:
    linear-gradient(180deg, rgba(255, 240, 241, 0.62), rgba(255, 255, 255, 0.58));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading.compact,
.section-heading.with-filter {
  display: block;
}

.section-heading.compact p {
  max-width: 420px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.news-grid,
.classified-grid,
.directory-grid,
.guide-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.listing-card,
.business-card,
.family-card,
.promo-card,
.directory-card,
.guide-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: var(--glass-strong);
  box-shadow: 0 18px 50px rgba(20, 35, 38, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.18);
}

.feature-card,
.promo-card,
.directory-card,
.guide-card {
  display: flex;
  flex-direction: column;
}

.feature-card p,
.listing-card p,
.business-card p,
.family-card p,
.promo-card p,
.event-detail p,
.directory-card p,
.guide-card p {
  color: var(--muted);
  line-height: 1.48;
}

.feature-card a,
.business-card a,
.directory-card {
  width: fit-content;
  margin-top: auto;
  border: 1px solid var(--line);
}

.directory-card {
  width: auto;
  min-height: 220px;
  color: inherit;
  text-decoration: none;
}

.directory-card:hover {
  border-color: rgba(166, 30, 44, 0.34);
  background: rgba(166, 30, 44, 0.13);
  box-shadow: 0 22px 54px rgba(166, 30, 44, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

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

.news-subsection-grid .feature-card {
  min-height: 230px;
  border-color: rgba(216, 47, 62, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 243, 0.78)),
    var(--glass-strong);
}

.news-subsection-grid .feature-card h3 {
  font-size: 1.06rem;
  line-height: 1.22;
}

.news-subsection-grid .feature-card p {
  font-size: 0.94rem;
}

.directory-card span,
.guide-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(216, 47, 62, 0.11);
  box-shadow: 0 8px 22px rgba(216, 47, 62, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.directory-card h3,
.guide-card h3 {
  margin-bottom: 10px;
}

.guide-card {
  min-height: 220px;
}

.guide-card.featured {
  border-color: rgba(166, 30, 44, 0.32);
  background: rgba(166, 30, 44, 0.12);
}

.daily-news-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 47, 62, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(216, 47, 62, 0.16), transparent 48%),
    var(--glass);
  box-shadow: var(--shadow), var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
}

.daily-news-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.daily-news-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.daily-news-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.daily-news-sources span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(216, 47, 62, 0.1);
  box-shadow: 0 10px 24px rgba(216, 47, 62, 0.12);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(166, 30, 44, 0.42);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.daily-news-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
    var(--glass-strong);
  box-shadow: 0 22px 54px rgba(20, 35, 38, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.18);
}

.daily-news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(216, 47, 62, 0.08) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-100%);
}

.daily-news-card.is-loading::before {
  opacity: 1;
  animation: newsLoadingSweep 1.45s ease-in-out infinite;
}

.daily-news-card.is-loading > * {
  opacity: 0;
}

.daily-news-card.is-loading::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(216, 47, 62, 0.16), rgba(216, 47, 62, 0.07), rgba(216, 47, 62, 0.16)) 0 0 / 260% 100%,
    linear-gradient(rgba(166, 30, 44, 0.16), rgba(166, 30, 44, 0.16)) 0 0 / 34% 26px no-repeat,
    linear-gradient(rgba(25, 35, 38, 0.13), rgba(25, 35, 38, 0.13)) 0 58px / 86% 36px no-repeat,
    linear-gradient(rgba(99, 113, 116, 0.14), rgba(99, 113, 116, 0.14)) 0 118px / 100% 18px no-repeat,
    linear-gradient(rgba(99, 113, 116, 0.12), rgba(99, 113, 116, 0.12)) 0 148px / 74% 18px no-repeat,
    linear-gradient(rgba(216, 47, 62, 0.18), rgba(216, 47, 62, 0.18)) 0 calc(100% - 40px) / 84px 32px no-repeat;
  animation: newsSkeletonPulse 1.25s ease-in-out infinite;
}

.daily-news-meta,
.daily-news-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.daily-news-meta span:last-child,
.daily-news-actions span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.daily-news-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.daily-news-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(216, 47, 62, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 47, 62, 0.12), rgba(255, 255, 255, 0.72));
  box-shadow:
    0 14px 30px rgba(166, 30, 44, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.news-thumb.is-hidden {
  display: none;
}

.daily-news-actions a,
.article-expand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 7px 16px rgba(216, 47, 62, 0.14);
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
  font-size: 0.75rem;
}

.daily-news-card h3 {
  cursor: pointer;
}

.news-orbit-section {
  border-block: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 47, 62, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 226, 229, 0.78), rgba(255, 255, 255, 0.52));
  backdrop-filter: blur(16px) saturate(1.16);
}

.news-orbit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-orbit-grid .daily-news-card {
  min-height: 430px;
}

.news-orbit-grid .daily-news-card h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.news-orbit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(166, 30, 44, 0.14);
}

.news-orbit-item {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(216, 47, 62, 0.15);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  text-align: left;
  font-weight: 760;
  line-height: 1.25;
  font-size: 0.92rem;
}

.news-orbit-item:hover,
.news-orbit-item.active {
  color: #fff;
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 14px 30px rgba(166, 30, 44, 0.2);
}

.news-headline-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 47, 62, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 252, 0.88), rgba(255, 246, 247, 0.72));
}

.news-headline-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.headline-chip {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 168px;
  padding: 14px;
  border: 1px solid rgba(216, 47, 62, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 245, 0.72)),
    var(--glass);
  box-shadow: 0 12px 28px rgba(166, 30, 44, 0.08);
}

.headline-chip.is-priority {
  background:
    linear-gradient(135deg, rgba(216, 47, 62, 0.16), rgba(255, 255, 255, 0.9)),
    var(--glass);
  border-color: rgba(166, 30, 44, 0.28);
}

.headline-chip-top,
.news-card-header,
.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.headline-chip-tag,
.news-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(216, 47, 62, 0.1);
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(166, 30, 44, 0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.headline-chip-time,
.news-card-time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.headline-chip button,
.news-card-title,
.news-brief-title {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.headline-chip button {
  font-size: 1rem;
  font-weight: 840;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.headline-chip button:hover,
.news-card-title:hover,
.news-brief-title:hover {
  color: var(--red-dark);
}

.headline-chip a,
.news-card-link,
.news-brief-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(216, 47, 62, 0.1);
  color: var(--red-dark);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 850;
}

.news-magazine-section {
  background:
    radial-gradient(circle at 78% 12%, rgba(216, 47, 62, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 248, 249, 0.88), rgba(255, 255, 255, 0.68));
}

.news-magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.news-magazine-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 332px;
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(216, 47, 62, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 249, 0.7)),
    var(--glass);
  box-shadow: 0 18px 40px rgba(166, 30, 44, 0.08);
}

.news-magazine-card.is-featured {
  grid-column: span 2;
  min-height: 430px;
  padding: 24px;
}

.news-magazine-card.is-wide {
  grid-column: span 2;
  min-height: 290px;
}

.news-card-title {
  font-size: 1.12rem;
  font-weight: 860;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-magazine-card.is-featured .news-card-title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.08;
  -webkit-line-clamp: 4;
}

.news-magazine-card.is-wide .news-card-title {
  font-size: 1.34rem;
  -webkit-line-clamp: 3;
}

.news-card-summary {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-height: calc(1.55em * 4);
}

.news-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(216, 47, 62, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 47, 62, 0.1), rgba(255, 255, 255, 0.76));
}

.news-briefs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.news-brief-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 224px;
  height: 100%;
  padding: 16px;
  border: 1px solid rgba(216, 47, 62, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 246, 0.72)),
    var(--glass);
  box-shadow: 0 14px 32px rgba(166, 30, 44, 0.07);
}

.news-brief-card.is-accent {
  background:
    linear-gradient(135deg, rgba(216, 47, 62, 0.12), rgba(255, 255, 255, 0.92)),
    var(--glass);
}

.news-brief-title {
  font-size: 0.98rem;
  font-weight: 830;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-brief-summary {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  min-height: calc(1.48em * 4);
}

.news-empty-state {
  padding: 18px;
  border: 1px dashed rgba(166, 30, 44, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
}

@keyframes newsLoadingSweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes newsSkeletonPulse {
  0%,
  100% {
    opacity: 0.56;
  }

  50% {
    opacity: 0.95;
  }
}

.article-brief {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: var(--glass-strong);
  box-shadow: var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
}

.article-brief-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.article-brief h4 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.article-brief div:last-child {
  display: grid;
  gap: 12px;
}

.article-brief p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.68;
}

.article-brief a {
  width: fit-content;
  color: var(--red-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.daily-news-alternatives {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.daily-news-alternatives strong {
  display: block;
  margin-bottom: 10px;
}

.daily-news-alternatives ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-news-alternatives li {
  color: var(--muted);
  line-height: 1.35;
}

.daily-news-alternatives a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.full-translation-section {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.translation-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.translation-form,
.translation-output {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.translation-form label {
  display: grid;
  gap: 8px;
  font-weight: 760;
}

.translation-form textarea {
  min-height: 280px;
}

.translation-output {
  align-content: start;
  min-height: 440px;
}

.translation-output h3 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.translation-output div {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-wrap;
}

.translation-output p {
  margin: 0;
}

.contact-section {
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 47, 62, 0.11), transparent 44%),
    var(--glass);
  box-shadow: var(--shadow), var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  color: inherit;
  background: var(--glass-strong);
  box-shadow: 0 18px 44px rgba(20, 35, 38, 0.08);
  backdrop-filter: blur(16px) saturate(1.18);
  text-decoration: none;
}

.contact-card:hover {
  border-color: rgba(166, 30, 44, 0.28);
  background: rgba(166, 30, 44, 0.1);
  box-shadow: 0 22px 54px rgba(166, 30, 44, 0.18);
}

.contact-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(216, 47, 62, 0.11);
  box-shadow: 0 10px 24px rgba(216, 47, 62, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-card h3 {
  overflow-wrap: anywhere;
}

.contact-card p {
  margin-top: auto;
  color: var(--muted);
  line-height: 1.48;
}

.legal-page {
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(227, 241, 237, 0.74), transparent 46%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.legal-note {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.legal-card {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-card h2 {
  margin-top: 10px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.16;
}

.legal-card p {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-card a {
  color: var(--red-dark);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 22px;
  align-items: start;
}

.split-section.reverse {
  grid-template-columns: 0.68fr 1fr;
}

.info-list,
.business-list {
  display: grid;
  gap: 12px;
}

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

.info-list a {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.info-list strong,
.info-list span {
  display: block;
}

.info-list span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.segment {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 750;
}

.segment.active {
  color: #fff;
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 14px 30px rgba(166, 30, 44, 0.2);
}

.listing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listing-card strong {
  color: var(--red-dark);
}

.business-card {
  min-height: 168px;
}

#business-search {
  margin-top: 8px;
}

.family-section {
  background:
    linear-gradient(135deg, rgba(242, 185, 95, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--line);
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.family-card {
  min-height: 210px;
}

.family-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--red-dark);
  background: #fff3dc;
  font-weight: 900;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 18px;
}

.calendar-board,
.event-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-board {
  padding: 18px;
}

.calendar-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.calendar-topline strong {
  font-size: 1.1rem;
}

.calendar-topline span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-grid > span {
  display: grid;
  min-height: 28px;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.date-cell {
  position: relative;
  display: grid;
  min-height: 70px;
  place-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.date-cell.quiet {
  color: #9aa4a6;
  background: var(--surface-strong);
  cursor: default;
}

.date-cell.has-event::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.date-cell.active {
  border-color: var(--red);
  background: #fff5f5;
  box-shadow: inset 0 0 0 1px var(--red);
}

.date-cell.is-muted-event {
  opacity: 0.38;
}

.event-panel {
  display: grid;
  gap: 12px;
}

.event-detail {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 22px;
}

.event-detail h3 {
  margin-bottom: 0;
}

.event-detail a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(216, 47, 62, 0.2);
  text-decoration: none;
  font-weight: 850;
}

.event-list {
  display: grid;
  gap: 10px;
}

.event-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.event-card:hover,
.event-card.active {
  border-color: rgba(166, 30, 44, 0.28);
  background: rgba(166, 30, 44, 0.1);
  box-shadow: 0 18px 42px rgba(166, 30, 44, 0.12);
}

.event-card time {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.event-card strong,
.event-card span {
  display: block;
}

.event-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.promotion-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 47, 62, 0.1), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 247, 0.88));
  box-shadow: var(--shadow);
}

.promotion-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promotion-copy p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.55;
}

.promotion-copy .primary-action {
  width: fit-content;
  margin-top: 12px;
}

.page-promotion {
  margin-top: 0;
}

.page-promotion h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.promo-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promo-card {
  min-height: 280px;
}

.promo-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #e8f0f4;
  font-size: 0.78rem;
  font-weight: 850;
}

.promo-card strong {
  margin-top: auto;
  color: var(--red-dark);
}

.promo-card.highlight {
  color: #fff;
  border-color: var(--red);
  background: linear-gradient(160deg, var(--red), var(--red-dark));
}

.promo-card.highlight p,
.promo-card.highlight strong {
  color: rgba(255, 255, 255, 0.84);
}

.promo-card.highlight span {
  color: var(--red-dark);
  background: #fff;
}

.account-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.account-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.data-note,
.account-session,
.login-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.data-note {
  margin-top: 22px;
}

.data-note p,
.login-form p,
.account-session p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.recent-accounts {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.recent-accounts > span {
  display: block;
  margin-bottom: 12px;
  font-weight: 850;
}

.recent-accounts ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-accounts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.recent-accounts li:first-child {
  border-top: 0;
}

.account-forms,
.signup-form,
.login-form {
  display: grid;
  gap: 16px;
}

.signup-form,
.login-form {
  align-content: start;
}

.signup-form h2,
.login-form h2 {
  font-size: 1.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-form label,
.login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 760;
}

.optional {
  color: var(--muted);
  font-weight: 650;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 86px;
}

.text-button {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 70px;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--red-dark);
  background: rgba(216, 47, 62, 0.11);
  cursor: pointer;
  font-weight: 850;
}

.checkbox-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--red);
}

.checkbox-row a {
  color: var(--red-dark);
  font-weight: 850;
}

.submit-button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.secondary-button {
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red-dark);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 760;
}

.error {
  min-height: 18px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.is-hidden {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: inherit;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  max-width: 720px;
}

.slide-toast {
  position: fixed;
  right: 18px;
  top: 138px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(520px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(216, 47, 62, 0.24);
  border-radius: 8px;
  background: var(--glass-strong);
  box-shadow: var(--shadow), var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(calc(100% + 28px));
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.slide-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.slide-toast strong {
  color: var(--red-dark);
}

.slide-toast p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.slide-toast a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.cookie-actions button:last-child {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-self: stretch;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .portal-shell,
  .split-section,
  .split-section.reverse,
  .account-section,
  .calendar-layout,
  .promotion-section,
  .daily-news-section,
  .news-orbit-grid,
  .translation-workspace,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .portal-copy {
    min-height: auto;
  }

  .news-grid,
  .classified-grid,
  .info-list,
  .family-grid,
  .promo-options,
  .directory-grid,
  .guide-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-headline-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .news-magazine-card.is-featured,
  .news-magazine-card.is-wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  .footer {
    width: min(1180px, calc(100% - 20px));
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    margin-top: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .account-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .account-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .account-actions .account-link {
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.7rem);
  }

  h2 {
    font-size: 2rem;
  }

  .portal-actions,
  .footer {
    flex-direction: column;
  }

  .region-stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .region-panel-header {
    display: grid;
  }

  .panel-badges {
    justify-content: center;
  }

  .map-shell {
    padding: 12px 6px 16px;
  }

  .swiss-map {
    width: calc(100% + 34px);
    max-width: none;
    min-height: 280px;
    margin-left: -17px;
  }

  .map-labels text {
    font-size: 17px;
  }

  .map-labels .tiny-label {
    font-size: 10px;
  }

  .section-band,
  .split-section,
  .account-section,
  .promotion-section,
  .daily-news-section,
  .news-orbit-section,
  .full-translation-section,
  .contact-section,
  .legal-page,
  .page-hero,
  .portal-copy,
  .region-panel {
    padding: 20px;
  }

  .calendar-grid {
    gap: 5px;
  }

  .date-cell {
    min-height: 54px;
    padding: 8px;
  }

  .event-card {
    grid-template-columns: 56px 1fr;
  }

  .daily-news-card {
    min-height: auto;
    padding: 18px;
  }

  .daily-news-card h3 {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .daily-news-actions {
    justify-content: flex-start;
    gap: 8px;
  }

  .daily-news-actions span {
    flex-basis: 100%;
    font-size: 0.82rem;
  }

  .daily-news-actions a {
    min-height: 26px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .news-orbit-item {
    min-height: 38px;
    font-size: 0.86rem;
  }

  .news-headline-ribbon,
  .news-magazine-grid,
  .news-briefs-grid {
    grid-template-columns: 1fr;
  }

  .headline-chip,
  .news-brief-card {
    min-height: 0;
  }

  .news-magazine-card,
  .news-magazine-card.is-featured,
  .news-magazine-card.is-wide {
    grid-column: span 1;
    padding: 18px;
    min-height: 0;
  }

  .news-magazine-card.is-featured .news-card-title {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

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

  .legal-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .slide-toast {
    top: 14px;
    grid-template-columns: 1fr;
  }
}
