:root {
  --ink: #1a2634;
  --muted: #4e5d6c;
  --paper: #fee5b1;
  --surface: #fffefb;
  --white: #ffffff;
  --mist: #eaeaea;
  --sky: #e8f0f6;
  --clay: #203e5f;
  --blue: #203e5f;
  --green: #1a2634;
  --gold: #ffcc00;
  --gold-soft: #ffe08a;
  --border: #d4d0c6;
  --shadow: 0 20px 60px rgba(26, 38, 52, 0.14);
  --radius: 8px;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(32, 62, 95, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.brand-mark::before {
  content: "★";
}

.top-nav,
.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.top-nav a,
.mobile-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header .top-nav a,
.mobile-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.top-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.site-header .top-nav a:hover,
.mobile-nav a:hover {
  color: var(--gold);
}

.menu-button {
  display: none;
  min-width: 76px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.mobile-nav {
  display: none;
  padding: 14px 28px 20px;
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-nav.open {
  display: grid;
  gap: 14px;
}

.band {
  position: relative;
  padding: 82px 28px;
  scroll-margin-top: 72px;
}

.band,
.quick-strip,
.country-page-band,
.culture-band,
.music-band {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.hero,
.site-header {
  content-visibility: visible;
}

.hero {
  display: grid;
  align-items: center;
  min-height: min(560px, calc(100vh - 64px));
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1491557345352-5929e343eb89?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 38, 52, 0.82) 0%, rgba(32, 62, 95, 0.58) 48%, rgba(26, 38, 52, 0.2) 100%),
    linear-gradient(0deg, rgba(26, 38, 52, 0.4), rgba(26, 38, 52, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  margin: 0 auto 0 max(28px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcc00;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-hub {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 920px);
  margin-top: 28px;
}

.hero-hub a {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-hub a:hover {
  border-color: rgba(255, 204, 0, 0.62);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero-hub strong,
.hero-hub span {
  display: block;
}

.hero-hub strong {
  font-size: 1rem;
}

.hero-hub span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--clay);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(26, 38, 52, 0.18);
}

.button.primary:hover {
  background: var(--ink);
}

.button.ghost:hover {
  border-color: rgba(255, 204, 0, 0.74);
  background: rgba(255, 255, 255, 0.18);
}

.quick-strip {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(430px, 1.6fr) minmax(320px, 1.1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 72px;
}

.quick-item {
  min-height: 104px;
  padding: 22px 28px;
  background: var(--surface);
}

.quick-link {
  color: inherit;
  text-decoration: none;
}

.quick-link:hover {
  background: #eaeaea;
}

.quick-item strong {
  display: block;
  font-size: 1.35rem;
}

.quick-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.holiday-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.holiday-roster-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  width: auto;
  max-width: 100%;
  padding: 6px 14px 7px 10px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 204, 0, 0.26), rgba(254, 229, 177, 0.58)),
    var(--surface);
  box-shadow:
    inset 0 -2px 0 rgba(255, 204, 0, 0.48),
    0 8px 22px rgba(26, 38, 52, 0.08);
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
}

.quick-item .holiday-roster-chip {
  display: inline-flex;
  margin-top: 0;
  color: var(--ink);
  font-size: 0.88rem;
}

.emoji-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.18rem;
  line-height: 1;
}

.holiday-roster-chip .emoji-flag {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.28rem;
  filter: drop-shadow(0 1px 1px rgba(26, 38, 52, 0.18));
}

.weather-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.weather-roster-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-top: 0;
  padding: 6px 11px 7px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(234, 234, 234, 0.74), rgba(255, 254, 251, 0.96)),
    var(--surface);
  box-shadow:
    inset 0 -2px 0 rgba(32, 62, 95, 0.18),
    0 8px 22px rgba(26, 38, 52, 0.08);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.quick-item .weather-roster-chip {
  display: inline-flex;
  margin-top: 0;
  font-size: 0.86rem;
}

.weather-roster-chip.warm {
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.28), rgba(254, 229, 177, 0.7)),
    var(--surface);
  box-shadow:
    inset 0 -2px 0 rgba(255, 204, 0, 0.52),
    0 8px 22px rgba(26, 38, 52, 0.08);
}

.weather-roster-chip.alpine {
  background:
    linear-gradient(135deg, rgba(234, 234, 234, 0.9), rgba(232, 240, 246, 0.95)),
    var(--surface);
}

.weather-roster-chip.northern {
  background:
    linear-gradient(135deg, rgba(32, 62, 95, 0.16), rgba(234, 234, 234, 0.94)),
    var(--surface);
}

.weather-place {
  display: inline;
  margin-top: 0;
  color: inherit;
  letter-spacing: 0;
}

.weather-icon {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: 1.04rem;
  filter: drop-shadow(0 1px 1px rgba(26, 38, 52, 0.12));
}

.quick-item .weather-place,
.quick-item .weather-icon {
  display: inline;
  margin-top: 0;
  color: inherit;
}

.weather-roster-chip strong {
  display: inline;
  font-size: 0.92rem;
}

.weather-quick-item {
  display: grid;
  align-content: center;
}

.weather-quick-item > strong {
  font-size: 1.18rem;
  line-height: 1.15;
}

.weather-quick-item #weather-snapshot {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.holiday-roster-chip span {
  display: inline;
  margin-top: 0;
  color: var(--ink);
  font-size: inherit;
  line-height: 1;
}

.holiday-quick-item {
  align-content: center;
}

.holiday-quick-item > strong {
  font-size: 1.18rem;
  line-height: 1.15;
}

.holiday-quick-item > span {
  margin-top: 12px;
}

.featured-country-item {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.16), rgba(255, 254, 251, 0.96) 52%, rgba(234, 234, 234, 0.5)),
    var(--surface);
}

.featured-country-topline {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-country-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.featured-country-link .emoji-flag {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.72rem;
  filter: drop-shadow(0 2px 2px rgba(26, 38, 52, 0.18));
}

.featured-country-link strong {
  font-size: 1.24rem;
  line-height: 1.1;
}

.featured-country-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.featured-country-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.featured-country-cta:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.section-grid,
.section-heading,
.single-column-copy,
.country-tools,
.country-grid,
.featured-country-grid,
.home-today-grid,
.article-grid,
.culture-memory-grid,
.live-grid,
.api-table-wrap,
#country-detail-content,
.site-footer {
  width: min(var(--max), calc(100vw - 56px));
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.single-column-copy {
  max-width: 860px;
}

.single-column-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p,
.section-heading p,
.module-list p,
.country-profile p,
.article-card p,
.panel p,
.tip-card p,
.site-footer p {
  color: var(--muted);
}

.intro-copy p:first-child {
  margin-top: 0;
}

.intro-band {
  padding-bottom: 36px;
  background: var(--paper);
}

.today-band,
.work-band {
  background: var(--mist);
}

.country-band {
  background: #fee5b1;
}

.rights-band {
  background: var(--sky);
}

.api-band {
  background: #eaeaea;
}

.closing-band,
.country-directory-hero {
  background: #eaeaea;
}

.button.ghost.dark {
  border-color: var(--border);
  color: var(--ink);
  background: var(--surface);
}

.section-cta {
  display: flex;
  justify-content: center;
  width: min(var(--max), calc(100vw - 56px));
  margin: 28px auto 0;
}

.today-page-main {
  background: var(--paper);
}

.today-hero {
  padding: 84px 28px;
  background:
    linear-gradient(135deg, rgba(234, 234, 234, 0.96), rgba(255, 254, 251, 0.98)),
    var(--paper);
  border-bottom: 1px solid var(--border);
}

.today-hero-grid,
.today-page-grid {
  width: min(var(--max), calc(100vw - 56px));
  margin-inline: auto;
}

.today-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: end;
}

.today-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.94;
}

.today-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.today-date-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.today-date-card span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.today-date-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1;
}

.today-date-card p,
.today-small-meta {
  color: var(--muted);
}

.today-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 16px;
  padding: 28px 0 84px;
}

.today-focus-panel,
.today-weather-panel,
.today-prompt-card {
  grid-column: span 1;
}

.today-weather-panel,
.today-prompt-card {
  grid-column: 1 / -1;
}

.today-side-stack {
  display: grid;
  gap: 16px;
}

.today-featured-link {
  margin-top: 16px;
}

.today-culture-card {
  background: #fee5b1;
}

.today-note-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.today-note-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  resize: vertical;
}

.today-note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.section-heading {
  margin-bottom: 30px;
}

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

.section-heading p {
  max-width: 760px;
  margin-bottom: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 204, 0, 0.72);
  border-radius: 999px;
  background: rgba(254, 229, 177, 0.72);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.section-link:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-1px);
}

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

.today-feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.home-today-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-today-grid .holiday-panel,
.home-today-grid .weather-panel {
  grid-column: span 2;
}

.home-today-grid .featured-country-item,
.home-today-grid .today-tip-card {
  min-height: 250px;
}

.today-tip-card {
  color: inherit;
  text-decoration: none;
}

.holiday-panel {
  grid-column: span 2;
}

.weather-panel {
  grid-column: span 2;
}

.today-feature-grid .holiday-panel {
  grid-column: span 5;
}

.today-feature-grid .weather-panel {
  grid-column: span 7;
}

.today-feature-grid > .panel:not(.holiday-panel):not(.weather-panel) {
  grid-column: span 6;
}

.today-feature-grid .culture-pulse-panel,
.today-feature-grid .community-pulse-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-color: rgba(32, 62, 95, 0.16);
  box-shadow: 0 18px 42px rgba(26, 38, 52, 0.08);
}

.today-feature-grid .culture-pulse-panel {
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 204, 0, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(255, 254, 251, 0.96), rgba(254, 229, 177, 0.86));
}

.today-feature-grid .community-pulse-panel {
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 254, 251, 0.45), transparent 25%),
    linear-gradient(135deg, rgba(232, 240, 246, 0.98), rgba(254, 229, 177, 0.72));
}

.today-feature-grid .culture-pulse-panel::after,
.today-feature-grid .community-pulse-panel::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(32, 62, 95, 0.12);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.32);
}

.panel,
.article-card,
.culture-figure-card,
.music-card,
.tip-card,
.country-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(26, 38, 52, 0.03);
}

.panel {
  min-height: 230px;
  padding: 22px;
}

.panel-topline,
.article-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poll-options {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.culture-shelf {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.culture-shelf span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 62, 95, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.72);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(26, 38, 52, 0.05);
}

.culture-shelf b {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--paper);
  font-size: 1rem;
  line-height: 1;
}

.culture-band {
  padding-block: 52px;
  background:
    linear-gradient(180deg, rgba(234, 234, 234, 0.86), rgba(255, 254, 251, 0.96)),
    #eaeaea;
}

.culture-rail-heading,
.music-rail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
}

.culture-rail-heading h2,
.music-rail-heading h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
}

.music-rail-heading p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.rail-controls {
  display: inline-flex;
  gap: 8px;
}

.rail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(32, 62, 95, 0.22);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(26, 38, 52, 0.14);
}

.rail-button:hover {
  background: var(--ink);
}

.culture-memory-grid,
.featured-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), calc(100vw - 56px));
  margin: 28px auto 0;
}

.culture-figures-grid {
  display: flex;
  gap: 16px;
  width: min(var(--max), calc(100vw - 56px));
  margin: 22px auto 0;
  padding: 0 0 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--blue) rgba(255, 254, 251, 0.7);
}

.culture-figure-card {
  flex: 0 0 min(320px, calc(100vw - 84px));
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 154px;
  overflow: hidden;
  scroll-snap-align: start;
}

.culture-figure-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  background: var(--mist);
}

.culture-figure-card div {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 16px;
}

.culture-figure-card span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.culture-figure-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.music-band {
  padding-top: 36px;
  background: var(--paper);
}

.music-grid {
  display: flex;
  gap: 16px;
  width: min(var(--max), calc(100vw - 56px));
  margin: 28px auto 0;
  padding: 0 0 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--blue) rgba(255, 254, 251, 0.7);
}

.music-card {
  flex: 0 0 min(520px, calc(100vw - 84px));
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
  min-height: 210px;
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.music-card:hover {
  border-color: rgba(32, 62, 95, 0.26);
  box-shadow: 0 16px 38px rgba(26, 38, 52, 0.12);
  transform: translateY(-2px);
}

.music-card img,
.music-art-fallback {
  width: 100%;
  height: 100%;
  min-height: 210px;
  background: var(--mist);
}

.music-card img {
  object-fit: cover;
}

.music-art-fallback {
  display: grid;
  align-content: end;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(26, 38, 52, 0.95), rgba(32, 62, 95, 0.9)),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(255, 204, 0, 0.34), transparent 34%);
  color: var(--white);
}

.music-card:nth-child(3n + 2) .music-art-fallback {
  background:
    linear-gradient(135deg, rgba(32, 62, 95, 0.95), rgba(26, 38, 52, 0.92)),
    radial-gradient(circle at 22% 18%, rgba(255, 204, 0, 0.24), transparent 30%),
    radial-gradient(circle at 78% 80%, rgba(255, 255, 255, 0.2), transparent 34%);
}

.music-card:nth-child(3n + 3) .music-art-fallback {
  background:
    linear-gradient(135deg, rgba(26, 38, 52, 0.96), rgba(32, 62, 95, 0.82)),
    radial-gradient(circle at 18% 78%, rgba(254, 229, 177, 0.24), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(255, 204, 0, 0.22), transparent 30%);
}

.music-art-fallback span,
.music-art-fallback strong {
  display: block;
}

.music-art-fallback span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.05;
}

.music-art-fallback strong {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.music-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.music-country {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plain-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.music-card h3 {
  font-size: 1.3rem;
}

.music-card p,
.music-card small {
  margin: 0;
  color: var(--muted);
}

.music-card small {
  font-size: 0.86rem;
  font-weight: 800;
}

.music-status,
.music-legal-note {
  width: min(var(--max), calc(100vw - 56px));
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.music-legal-note {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.music-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.music-service-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: #eaeaea;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.music-service-link.spotify {
  border-color: rgba(30, 215, 96, 0.4);
}

.music-service-link.deezer {
  border-color: rgba(255, 204, 0, 0.45);
}

.music-service-link:hover {
  border-color: var(--blue);
  background: #fffefb;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 38, 52, 0.1);
}

.holiday-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
  margin-top: 18px;
}

.holiday-card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.16), rgba(255, 254, 251, 0.98) 48%),
    var(--surface);
  box-shadow: 0 14px 32px rgba(26, 38, 52, 0.07);
}

.holiday-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}

.holiday-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 18px 0 20px;
}

.holiday-flag-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.holiday-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(26, 38, 52, 0.16));
}

.holiday-card-header strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.holiday-card-header span {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.holiday-card h4 {
  margin: 0;
  padding: 0 18px 0 20px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.holiday-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.holiday-meaning {
  max-width: 62ch;
  padding: 0 18px 0 20px;
}

.holiday-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 18px 20px;
  border-top: 1px solid var(--border);
  background: rgba(234, 234, 234, 0.42);
}

.holiday-action-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(212, 208, 198, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.72);
}

.holiday-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 1.08rem;
}

.holiday-action-card p {
  font-size: 0.9rem;
  line-height: 1.36;
}

.holiday-actions b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.weather-mood-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.weather-ideas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(240px, 0.96fr);
  grid-auto-rows: minmax(98px, auto);
  gap: 12px;
  margin-top: 18px;
}

.weather-idea-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.86);
  box-shadow: 0 12px 28px rgba(26, 38, 52, 0.07);
}

.weather-idea-card.highlight {
  grid-row: span 3;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 320px;
  gap: 22px;
  padding: 22px;
  border-color: rgba(26, 38, 52, 0.18);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 204, 0, 0.3), transparent 30%),
    linear-gradient(135deg, var(--blue), var(--ink));
  color: var(--white);
}

.weather-idea-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--paper);
  font-size: 1.85rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(32, 62, 95, 0.08);
}

.weather-idea-card.highlight .weather-idea-icon {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  background: rgba(255, 254, 251, 0.18);
  font-size: 2.25rem;
  box-shadow: inset 0 0 0 1px rgba(255, 254, 251, 0.22);
}

.weather-idea-copy {
  display: grid;
  gap: 6px;
}

.weather-idea-kicker {
  display: block;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.weather-idea-card h4 {
  margin: 0;
  font-size: 1.08rem;
}

.weather-idea-card strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.weather-idea-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.weather-idea-card.highlight .weather-idea-kicker,
.weather-idea-card.highlight strong,
.weather-idea-card.highlight p {
  color: rgba(255, 255, 255, 0.82);
}

.weather-idea-card.highlight h4 {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 0.96;
}

.weather-idea-card.highlight strong {
  font-size: 1.12rem;
}

.weather-idea-card.highlight p {
  max-width: 24ch;
  font-size: 1rem;
}

.weather-proof-label {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-mood-card {
  display: grid;
  gap: 6px;
  min-height: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.68);
}

.weather-mood-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weather-mood-card .emoji-flag {
  font-size: 1.08rem;
}

.weather-mood-card h4 {
  margin: 0;
  font-size: 0.98rem;
}

.weather-mood-card p {
  display: none;
}

.weather-reading {
  display: grid;
  gap: 3px;
  color: var(--ink);
}

.weather-reading b {
  font-size: 1.05rem;
  line-height: 1.1;
}

.weather-reading small {
  color: var(--muted);
  font-weight: 800;
}

.weather-updated {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.poll-option {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(32, 62, 95, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.76);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.poll-option:hover,
.poll-option.selected {
  border-color: rgba(32, 62, 95, 0.45);
  background: #fffefb;
  box-shadow: 0 10px 22px rgba(26, 38, 52, 0.1);
  transform: translateY(-1px);
}

.poll-option.selected {
  box-shadow: inset 4px 0 0 var(--gold), 0 10px 22px rgba(26, 38, 52, 0.1);
}

.poll-option span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.poll-option span::before {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.34);
  color: var(--blue);
  font-size: 1rem;
}

.poll-option:nth-child(1) span::before {
  content: "✦";
}

.poll-option:nth-child(2) span::before {
  content: "⌁";
}

.poll-option:nth-child(3) span::before {
  content: "✓";
}

.poll-option:nth-child(4) span::before {
  content: "✎";
}

.poll-option strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
}

.poll-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.today-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74px 150px, rgba(255, 204, 0, 0.18), transparent 150px),
    radial-gradient(circle at calc(100% - 90px) 230px, rgba(232, 240, 246, 0.95), transparent 190px),
    linear-gradient(180deg, #fffefb 0%, #fff8e7 100%);
}

.today-band::before {
  content: "✧";
  position: absolute;
  top: 108px;
  left: min(51vw, 690px);
  color: rgba(255, 204, 0, 0.72);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1;
  transform: rotate(-12deg);
}

.today-band .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.today-heading h2 {
  max-width: 760px;
}

.today-heading p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1rem, 1.65vw, 1.18rem);
}

.idea-button {
  flex: 0 0 auto;
  min-height: 54px;
  padding-inline: 24px;
  border-color: rgba(255, 204, 0, 0.9);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 254, 251, 0.74);
  box-shadow: 0 18px 42px rgba(255, 204, 0, 0.16);
}

.idea-button:hover {
  border-color: var(--blue);
  background: var(--paper);
}

.today-feature-grid {
  grid-auto-flow: dense;
  gap: 18px;
}

.today-feature-grid .panel {
  border-color: rgba(32, 62, 95, 0.13);
  box-shadow: 0 18px 44px rgba(26, 38, 52, 0.09);
}

.holiday-panel,
.weather-panel {
  min-height: 0;
  background: rgba(255, 254, 251, 0.9);
}

.holiday-panel {
  position: relative;
  overflow: hidden;
}

.holiday-panel::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 106px;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 254, 251, 0.78) 0 30%, transparent 31%),
    radial-gradient(circle at 50% 50%, rgba(255, 204, 0, 0.22) 0 58%, transparent 59%);
  pointer-events: none;
}

.holiday-panel > * {
  position: relative;
  z-index: 1;
}

.holiday-list {
  grid-template-columns: 1fr;
}

.holiday-card {
  border-color: rgba(255, 204, 0, 0.36);
  background:
    radial-gradient(circle at 83% 14%, rgba(255, 204, 0, 0.23), transparent 24%),
    linear-gradient(135deg, rgba(255, 254, 251, 0.96), rgba(254, 229, 177, 0.52));
}

.holiday-card::before {
  width: 6px;
  background: linear-gradient(180deg, var(--gold), #f2a900, var(--blue));
}

.holiday-card-header {
  padding-top: 20px;
}

.holiday-card h4 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: 0;
}

.holiday-meaning {
  color: var(--ink);
}

.holiday-actions {
  gap: 12px;
  border-top-color: rgba(212, 208, 198, 0.74);
  background: rgba(255, 254, 251, 0.52);
}

.holiday-action-card {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 12px;
  border-color: rgba(32, 62, 95, 0.13);
  background: rgba(255, 254, 251, 0.86);
  box-shadow: 0 10px 24px rgba(26, 38, 52, 0.06);
}

.holiday-action-icon,
.pulse-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, #fffefb, transparent 34%),
    var(--gold-soft);
  font-size: 1.35rem;
}

.weather-panel {
  position: relative;
  overflow: hidden;
}

.weather-panel .panel-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.weather-panel .panel-topline::before {
  content: "☁️";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--sky);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.weather-ideas-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 12px;
}

.weather-idea-card,
.weather-idea-card.highlight {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-row: auto;
  gap: 18px;
  min-height: 210px;
  padding: 22px;
  border-color: rgba(32, 62, 95, 0.12);
  color: var(--ink);
  background: linear-gradient(135deg, #fff6d7, #ffd98f);
  box-shadow: 0 16px 34px rgba(26, 38, 52, 0.08);
}

.weather-idea-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -24px;
  width: 190px;
  height: 84px;
  opacity: 0.55;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(255, 254, 251, 0.8) 0 48%, transparent 50%),
    radial-gradient(ellipse at 55% 100%, rgba(255, 254, 251, 0.62) 0 46%, transparent 48%),
    radial-gradient(ellipse at 88% 100%, rgba(255, 254, 251, 0.54) 0 44%, transparent 46%);
  pointer-events: none;
}

.weather-idea-card.tone-alpine {
  background: linear-gradient(135deg, #dbeeff, #9ec7ff);
}

.weather-idea-card.tone-northern {
  background: linear-gradient(135deg, #e5f5df, #9ed9b2);
}

.weather-idea-card.tone-baltic {
  background: linear-gradient(135deg, #e8ecff, #b7c6ff);
}

.weather-idea-card.tone-mediterranean {
  background: linear-gradient(135deg, #ffe9c8, #f9b980);
}

.weather-idea-card > * {
  position: relative;
  z-index: 1;
}

.weather-idea-icon,
.weather-idea-card.highlight .weather-idea-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 254, 251, 0.86);
  font-size: 2.15rem;
  box-shadow: 0 10px 24px rgba(26, 38, 52, 0.08);
}

.weather-idea-card .weather-idea-kicker,
.weather-idea-card.highlight .weather-idea-kicker {
  color: var(--blue);
}

.weather-idea-card h4,
.weather-idea-card.highlight h4 {
  max-width: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.weather-idea-card strong,
.weather-idea-card p,
.weather-idea-card.highlight strong,
.weather-idea-card.highlight p {
  color: var(--ink);
}

.weather-proof-label {
  margin-top: 18px;
  color: var(--blue);
}

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

.weather-mood-card {
  border-color: rgba(32, 62, 95, 0.12);
  background: rgba(255, 254, 251, 0.75);
}

.today-feature-grid .culture-pulse-panel,
.today-feature-grid .right-pulse-panel,
.today-feature-grid .community-pulse-panel,
.today-feature-grid .today-cta-card {
  grid-column: span 3;
  min-height: 230px;
}

.today-feature-grid .culture-pulse-panel,
.today-feature-grid .right-pulse-panel,
.today-feature-grid .community-pulse-panel {
  display: grid;
  align-content: start;
}

.today-feature-grid .culture-pulse-panel {
  background:
    linear-gradient(135deg, rgba(245, 238, 255, 0.96), rgba(225, 213, 255, 0.78)),
    var(--surface);
}

.right-pulse-panel {
  background:
    radial-gradient(circle at 92% 90%, rgba(255, 204, 0, 0.28), transparent 26%),
    linear-gradient(135deg, rgba(232, 240, 246, 0.95), rgba(184, 215, 255, 0.76));
}

.right-pulse-panel .pulse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}

.today-feature-grid .community-pulse-panel {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 204, 0, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(255, 254, 251, 0.98), rgba(254, 229, 177, 0.76));
}

.culture-shelf span,
.poll-option {
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.72);
}

.today-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 204, 0, 0.34), transparent 24%),
    linear-gradient(135deg, var(--blue), #102540);
}

.today-cta-card span {
  color: var(--gold);
  font-size: 1.5rem;
}

.today-cta-card h3,
.today-cta-card p,
.today-cta-card strong {
  position: relative;
  z-index: 1;
  margin: 0;
}

.today-cta-card p {
  color: rgba(255, 255, 255, 0.82);
}

.today-cta-card strong {
  justify-self: start;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
}

.today-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.country-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.country-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.country-tools label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.country-tools input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.country-tools input {
  min-height: 52px;
  padding: 0 16px;
  font-size: 1rem;
}

.country-result-count {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.country-tools input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 62, 95, 0.14);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.chip:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.chip.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

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

.country-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.country-card:hover {
  border-color: rgba(32, 62, 95, 0.26);
  box-shadow: 0 16px 38px rgba(26, 38, 52, 0.12);
  transform: translateY(-2px);
}

.country-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mist);
}

.country-card-media {
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 16px;
  background-color: var(--mist);
  background-image:
    linear-gradient(180deg, rgba(26, 38, 52, 0.02), rgba(26, 38, 52, 0.34)),
    var(--country-image),
    linear-gradient(135deg, #eaeaea, #e8f0f6 48%, #fee5b1);
  background-position: center;
  background-size: cover;
}

.country-card-media.region-southern {
  background-image:
    linear-gradient(180deg, rgba(26, 38, 52, 0.02), rgba(26, 38, 52, 0.34)),
    var(--country-image),
    linear-gradient(135deg, #fee5b1, #203e5f 52%, #fee5b1);
}

.country-card-media.region-northern {
  background-image:
    linear-gradient(180deg, rgba(26, 38, 52, 0.02), rgba(26, 38, 52, 0.34)),
    var(--country-image),
    linear-gradient(135deg, #e8f0f6, #203e5f 50%, #eaeaea);
}

.country-card-media.region-central {
  background-image:
    linear-gradient(180deg, rgba(26, 38, 52, 0.02), rgba(26, 38, 52, 0.34)),
    var(--country-image),
    linear-gradient(135deg, #eaeaea, #203e5f 52%, #eaeaea);
}

.country-card-media.region-western {
  background-image:
    linear-gradient(180deg, rgba(26, 38, 52, 0.02), rgba(26, 38, 52, 0.34)),
    var(--country-image),
    linear-gradient(135deg, #e8f0f6, #fee5b1 50%, #fee5b1);
}

.country-card-media.region-eastern {
  background-image:
    linear-gradient(180deg, rgba(26, 38, 52, 0.02), rgba(26, 38, 52, 0.34)),
    var(--country-image),
    linear-gradient(135deg, #eaeaea, #203e5f 52%, #fee5b1);
}

.country-card-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.72rem;
  filter: drop-shadow(0 2px 3px rgba(26, 38, 52, 0.52));
  line-height: 1;
}

.country-card-body {
  padding: 18px;
}

.country-meta {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

.country-card p {
  min-height: 98px;
  color: var(--muted);
}

.text-button {
  display: inline-flex;
  padding: 0;
  border: none;
  color: var(--clay);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.text-button:hover {
  color: var(--ink);
}

.country-detail {
  background: var(--surface);
}

.country-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.country-profile-media img {
  width: 100%;
  height: min(620px, 74vh);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.country-profile-copy {
  padding: 4px 0;
}

.country-profile-copy h2 {
  margin-bottom: 18px;
}

.profile-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.profile-columns ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.automation-note {
  margin-top: 24px;
  padding: 16px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--muted);
}

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

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), calc(100vw - 56px));
  margin-inline: auto;
}

.article-card {
  min-height: 210px;
  padding: 22px;
}

.article-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.article-card-featured {
  background: linear-gradient(180deg, #fff 0%, rgba(254, 229, 177, 0.38) 100%);
}

.article-card-featured h2,
.article-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 0.98;
}

.article-archive-hero {
  padding-bottom: 42px;
  background: var(--paper);
}

.article-archive-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.article-archive-band {
  background: var(--mist);
}

.product-hero-band {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 204, 0, 0.28), transparent 28%),
    linear-gradient(135deg, var(--paper), #fff7de);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: end;
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
}

.product-hero-grid h1 {
  max-width: 900px;
  font-size: clamp(4.2rem, 10vw, 9rem);
}

.product-hero-grid p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

.product-hero-card {
  position: relative;
  min-height: 320px;
  padding: 32px;
  border: 1px solid rgba(32, 62, 95, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(32, 62, 95, 0.96), rgba(26, 38, 52, 0.96)),
    var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.product-hero-card > span {
  display: inline-flex;
  margin-bottom: 56px;
  color: var(--gold);
  font-size: 2.2rem;
  line-height: 1;
}

.product-hero-card h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.product-hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

.product-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(26, 38, 52, 0.16);
  border-bottom: 1px solid rgba(26, 38, 52, 0.16);
  background: var(--blue);
  color: var(--white);
}

.product-stats-strip div {
  padding: 24px 56px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.product-stats-strip div:last-child {
  border-right: 0;
}

.product-stats-strip strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.product-stats-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.product-directory-band {
  background: var(--mist);
}

.product-heading {
  width: min(var(--max), calc(100vw - 56px));
  margin-inline: auto;
}

.product-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, 0.8fr) minmax(210px, 0.8fr) auto;
  gap: 14px;
  align-items: end;
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto 22px;
  padding: 18px;
  border: 1px solid rgba(32, 62, 95, 0.16);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-controls label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-controls input,
.product-controls select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.product-tabs-wrap {
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
}

.product-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 16px;
  scroll-snap-type: x proximity;
}

.product-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(32, 62, 95, 0.16);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--surface);
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.product-tab strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(32, 62, 95, 0.1);
  color: var(--ink);
  font-size: 0.78rem;
}

.product-tab:hover {
  border-color: rgba(32, 62, 95, 0.4);
  transform: translateY(-1px);
}

.product-tab.active {
  border-color: rgba(255, 204, 0, 0.78);
  background: var(--gold-soft);
}

.product-category-intro {
  width: min(var(--max), calc(100vw - 56px));
  margin: 12px auto 18px;
}

.category-intro-copy {
  padding: 26px;
  border: 1px solid rgba(32, 62, 95, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 204, 0, 0.24), transparent 28%),
    var(--surface);
}

.category-intro-copy h2 {
  max-width: 980px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.category-intro-copy p:last-child {
  max-width: 780px;
  color: var(--muted);
}

.product-results-meta {
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
}

.product-card,
.product-empty-card {
  border: 1px solid rgba(32, 62, 95, 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(26, 38, 52, 0.06);
}

.product-card {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 22px;
}

.product-card-topline,
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-country,
.product-status {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-status {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.28);
  color: var(--ink);
  letter-spacing: 0.02em;
}

.product-card h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.product-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card-footer {
  align-self: end;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 38, 52, 0.1);
}

.product-card-footer small {
  color: var(--muted);
  font-weight: 800;
}

.product-card-footer a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.product-card-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-empty-card {
  grid-column: 1 / -1;
  padding: 30px;
}

.product-empty-card > span {
  color: var(--gold);
  font-size: 1.6rem;
}

.recommended-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.recommended-card p {
  margin-bottom: 0;
}

.recommendation-reason {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.recommendation-reason strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.recommendation-reason small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.linked-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.recommended-card.linked-card {
  display: grid;
}

.linked-card:hover {
  border-color: rgba(32, 62, 95, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.module-list {
  display: grid;
  gap: 22px;
}

.module-list div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.module-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.api-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.api-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.api-table th,
.api-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.api-table th {
  color: var(--blue);
  background: #eaeaea;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.api-table tr:last-child td {
  border-bottom: 0;
}

.api-table td {
  color: var(--muted);
}

.api-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tip-card {
  padding: 18px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
}

.site-footer p {
  margin: 4px 0 0;
}

.legal-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 204, 0, 0.26), transparent 240px),
    var(--paper);
}

.legal-band {
  background: #fffefb;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--max), calc(100vw - 56px));
  margin-inline: auto;
}

.legal-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(26, 38, 52, 0.06);
}

.legal-card h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.legal-card p {
  color: var(--muted);
}

.privacy-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 204, 0, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.96);
  box-shadow: 0 24px 70px rgba(26, 38, 52, 0.18);
  backdrop-filter: blur(12px);
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cookie-actions a {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.cookie-actions a:hover {
  color: var(--ink);
}

.country-hero-full {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(700px, calc(100vh - 64px));
  overflow: hidden;
  color: var(--white);
}

.country-hero-image,
.country-hero-shade {
  position: absolute;
  inset: 0;
}

.country-hero-image {
  background-color: var(--mist);
  background-image:
    var(--country-image),
    linear-gradient(135deg, #eaeaea, #e8f0f6 48%, #fee5b1);
  background-position: center;
  background-size: cover;
}

.country-hero-image.region-southern {
  background-image:
    var(--country-image),
    linear-gradient(135deg, #fee5b1, #203e5f 52%, #fee5b1);
}

.country-hero-image.region-northern {
  background-image:
    var(--country-image),
    linear-gradient(135deg, #e8f0f6, #203e5f 50%, #eaeaea);
}

.country-hero-image.region-central {
  background-image:
    var(--country-image),
    linear-gradient(135deg, #eaeaea, #203e5f 52%, #eaeaea);
}

.country-hero-image.region-western {
  background-image:
    var(--country-image),
    linear-gradient(135deg, #e8f0f6, #fee5b1 50%, #fee5b1);
}

.country-hero-image.region-eastern {
  background-image:
    var(--country-image),
    linear-gradient(135deg, #eaeaea, #203e5f 52%, #fee5b1);
}

.country-hero-shade {
  background:
    linear-gradient(90deg, rgba(26, 38, 52, 0.78), rgba(26, 38, 52, 0.34)),
    linear-gradient(0deg, rgba(26, 38, 52, 0.7), rgba(26, 38, 52, 0.05) 62%);
}

.country-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
  padding: 90px 0 70px;
}

.country-hero-inner h1 {
  margin-top: 14px;
}

.country-hero-inner p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
}

.country-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.back-link.light {
  color: #ffcc00;
}

.light-meta {
  color: rgba(255, 255, 255, 0.86);
}

.country-hero-lite,
.country-page-band {
  padding: 76px 28px;
}

.country-page-grid,
.country-map-grid,
.country-page-heading,
.country-anchor-nav,
.country-feature-grid,
.country-module-grid,
.country-weekend-grid,
.profile-path-grid,
.country-editorial-block,
.everyday-card-grid,
.shared-country-note,
.source-box {
  width: min(var(--max), calc(100vw - 56px));
  margin-inline: auto;
}

.country-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.country-anchor-nav {
  position: sticky;
  top: 64px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  background: rgba(254, 229, 177, 0.92);
  backdrop-filter: blur(14px);
}

.country-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.country-anchor-nav a:hover {
  border-color: rgba(32, 62, 95, 0.55);
  color: var(--clay);
}

.country-page-heading {
  margin-bottom: 28px;
}

.profile-overview,
.country-myth,
.country-connections,
.country-first-weekend,
.live-country-modules,
.related-country-content {
  background: var(--paper);
}

.country-life,
.country-everyday,
.country-start-here,
.country-language,
.country-map-band {
  background: var(--mist);
}

.country-more-info {
  background: var(--paper);
}

.practical-notes {
  background: var(--sky);
}

.source-band {
  background: #eaeaea;
}

.fact-panel,
.source-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact-panel {
  padding: 24px;
}

.fact-panel dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.fact-panel div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.fact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.fact-panel dd {
  margin: 0;
  font-weight: 800;
}

.country-editorial-block {
  max-width: 940px;
}

.country-editorial-block p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.14rem;
}

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

.profile-path-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-path-card span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-path-card h3 {
  margin-top: 16px;
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
}

.profile-path-card p {
  color: var(--muted);
}

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

.word-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.word-list div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.word-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.word-list dt {
  font-weight: 900;
}

.word-list dd {
  margin: 0;
  color: var(--muted);
}

.connection-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.connection-list li {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.source-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.source-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.country-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
}

.country-map-grid > div:first-child {
  display: grid;
  align-content: center;
}

.country-map-grid p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
}

.country-map-frame {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(26, 38, 52, 0.08);
}

.country-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

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

.country-weekend-grid,
.everyday-card-grid {
  display: grid;
  gap: 16px;
}

.country-weekend-grid {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.875fr));
}

.experience-card,
.everyday-card,
.shared-country-note {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.experience-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
}

.experience-card:first-child {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(26, 38, 52, 0.96), rgba(32, 62, 95, 0.86)),
    var(--surface);
}

.experience-card:first-child p,
.experience-card:first-child span {
  color: rgba(255, 255, 255, 0.86);
}

.experience-card span,
.everyday-card strong {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.experience-card p,
.everyday-card p,
.shared-country-note p,
.country-everyday .country-page-grid > div > p {
  color: var(--muted);
}

.shared-country-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 24px;
}

.shared-country-note span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 40px;
  border: 1px solid rgba(26, 38, 52, 0.14);
  border-radius: 7px;
  background: #fffefb;
  font-size: 1.75rem;
  line-height: 1;
}

.shared-country-note p {
  margin: 0;
  font-size: 1.02rem;
}

.everyday-card-grid {
  grid-template-columns: 1fr;
}

.everyday-card {
  padding: 18px;
}

.everyday-card p {
  margin: 8px 0 0;
}

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

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.source-box {
  padding: 26px;
}

.source-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.source-box p,
.source-box li {
  color: var(--muted);
}

.source-box ul {
  margin-bottom: 0;
}

.article-shell {
  width: min(880px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 72px 0;
}

.article-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 10vw, 5.8rem);
}

.article-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.article-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 800;
}

.article-callout {
  position: relative;
  margin: 34px 0;
  padding: 24px 28px 24px 78px;
  border: 1px solid rgba(32, 62, 95, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 204, 0, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(255, 254, 251, 0.98), rgba(255, 229, 177, 0.72));
  box-shadow: 0 16px 38px rgba(26, 38, 52, 0.08);
}

.article-callout::before {
  content: "★";
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--gold);
  background: var(--blue);
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(26, 38, 52, 0.14);
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.article-body {
  display: grid;
  gap: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.65;
}

.article-body p {
  margin: 0;
}

.article-section {
  margin-top: 48px;
}

.article-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.article-section p {
  color: var(--muted);
}

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

.article-practical-card,
.official-check-box,
.article-checklist-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-practical-card {
  padding: 18px;
}

.article-practical-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-practical-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.article-practical-card p {
  margin: 0;
}

.article-checklist-section,
.official-check-box {
  padding: 22px;
}

.article-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.article-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.official-check-box {
  padding: 18px 20px;
  background: rgba(254, 229, 177, 0.55);
}

.official-check-box h2 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.official-check-box p,
.official-check-box li {
  font-size: 0.95rem;
  line-height: 1.5;
}

.official-check-box ul {
  padding-left: 20px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.mini-country-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.mini-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.25rem;
  line-height: 1;
}

.mini-country-card span {
  font-weight: 900;
}

.mini-country-card small {
  color: var(--muted);
}

.article-source-box {
  width: 100%;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(26, 38, 52, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-source-box h2 {
  margin-bottom: 8px;
  font-family: var(--sans);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-source-box p,
.article-source-box li {
  font-size: 0.88rem;
  line-height: 1.45;
}

.article-source-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  padding-left: 18px;
}

.article-source-box a {
  color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.article-source-box a:hover {
  color: var(--blue);
}

.article-related-section {
  margin-top: 60px;
  padding: 28px;
  border: 1px solid rgba(32, 62, 95, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 254, 251, 0.9), rgba(255, 204, 0, 0.18));
  box-shadow: 0 18px 48px rgba(26, 38, 52, 0.08);
}

.article-related-heading {
  display: block;
  margin-bottom: 18px;
}

.article-related-heading .eyebrow {
  margin-bottom: 6px;
}

.article-related-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.article-related-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 2px 2px 12px;
}

.article-related-rail .article-card {
  position: relative;
  min-width: 0;
  min-height: 240px;
  padding: 52px 22px 22px;
  border: 1px solid rgba(32, 62, 95, 0.16);
  background: var(--surface);
}

.article-related-rail .article-card > span:not(.article-card-star) {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-related-rail .article-card h3 {
  margin-top: 14px;
  font-size: 1.22rem;
}

.article-related-rail .article-card p {
  margin-bottom: 0;
}

.article-card-star {
  position: absolute;
  top: 16px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--gold);
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(26, 38, 52, 0.2);
}

@media (max-width: 1180px) {
  .quick-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-hub,
  .culture-figures-grid,
  .music-grid,
  .product-hero-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-strip,
  .live-grid,
  .country-grid,
  .article-grid,
  .legal-grid,
  .recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .today-feature-grid {
    grid-template-columns: 1fr;
  }

  .holiday-panel {
    grid-column: 1 / -1;
  }

  .weather-panel,
  .today-feature-grid .holiday-panel,
  .today-feature-grid .weather-panel,
  .today-feature-grid > .panel:not(.holiday-panel):not(.weather-panel) {
    grid-column: 1 / -1;
  }

  .holiday-actions {
    grid-template-columns: 1fr;
  }

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

  .weather-ideas-grid {
    grid-template-columns: 1fr;
  }

  .weather-idea-card.highlight {
    grid-row: auto;
    min-height: 260px;
  }

  .home-today-grid,
  .featured-country-grid,
  .culture-memory-grid,
  .product-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-today-grid .holiday-panel,
  .home-today-grid .weather-panel {
    grid-column: 1 / -1;
  }

  .today-hero-grid,
  .today-page-grid,
  .today-note-list,
  .article-practical-grid,
  .product-stats-strip {
    grid-template-columns: 1fr;
  }

  .product-stats-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 22px 28px;
  }

  .product-stats-strip div:last-child {
    border-bottom: 0;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 18px;
    right: 18px;
  }

  .section-grid,
  .country-profile {
    grid-template-columns: 1fr;
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }

  .country-page-grid,
  .country-map-grid,
  .country-feature-grid,
  .country-module-grid,
  .country-weekend-grid,
  .profile-path-grid,
  .mini-country-grid {
    grid-template-columns: 1fr;
  }

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

  .experience-card {
    min-height: auto;
  }

  .country-card p {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .weather-ideas-grid {
    grid-template-columns: 1fr;
  }

  .weather-idea-card,
  .weather-idea-card.highlight {
    grid-template-columns: 1fr;
  }

  .weather-mood-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-grid,
  .product-controls,
  .legal-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-card {
    min-height: auto;
  }

  .music-card {
    grid-template-columns: 1fr;
  }

  .music-card img,
  .music-art-fallback {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 0 18px;
  }

  .site-header:has(.menu-button) .top-nav {
    display: none;
  }

  .site-header:not(:has(.menu-button)) {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-block: 12px;
  }

  .site-header:not(:has(.menu-button)) .top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    width: 100%;
    margin-top: 10px;
  }

  .site-header:not(:has(.menu-button)) .top-nav a {
    min-height: 34px;
    padding: 6px 0;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .band {
    padding: 62px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-hub {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .culture-rail-heading,
  .music-rail-heading,
  .section-heading-with-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-strip,
  .live-grid,
  .country-grid,
  .featured-country-grid,
  .article-grid,
  .recommended-grid,
  .culture-figures-grid,
  .culture-memory-grid,
  .home-today-grid,
  .music-grid {
    grid-template-columns: 1fr;
  }

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

  .music-card img,
  .music-art-fallback {
    min-height: 188px;
  }

  .quick-item {
    min-height: 88px;
    padding: 18px;
  }

  .section-grid,
  .section-heading,
  .single-column-copy,
  .today-hero-grid,
  .today-page-grid,
  .country-tools,
  .country-grid,
  .featured-country-grid,
  .article-grid,
  .recommended-grid,
  .culture-figures-grid,
  .culture-memory-grid,
  .home-today-grid,
  .section-cta,
  .music-grid,
  .music-status,
  .music-legal-note,
  .live-grid,
  .api-table-wrap,
  .today-note-list,
  #country-detail-content,
  .site-footer {
    width: min(100%, calc(100vw - 36px));
  }

  .hero-actions .button {
    width: 100%;
  }

  .country-hero-actions .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .country-search-row {
    grid-template-columns: 1fr;
  }

  .country-hero-inner,
  .country-page-grid,
  .country-map-grid,
  .country-page-heading,
  .country-anchor-nav,
  .country-feature-grid,
  .country-module-grid,
  .country-weekend-grid,
  .profile-path-grid,
  .country-editorial-block,
  .everyday-card-grid,
  .shared-country-note,
  .recommended-grid,
  .culture-figures-grid,
  .music-grid,
  .source-box {
    width: min(100%, calc(100vw - 36px));
  }

  .shared-country-note {
    grid-template-columns: 1fr;
  }

  .country-hero-lite,
  .country-page-band {
    padding: 58px 18px;
  }

  .today-hero {
    padding: 58px 18px;
  }

  .fact-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .four-card-grid {
    grid-template-columns: 1fr;
  }

  .word-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .article-shell {
    width: min(100%, calc(100vw - 36px));
    padding: 52px 0;
  }
}
