:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --text: #1f2430;
  --muted: #4f5b70;
  --card: #ffffff;
  --primary: #f1c40f;
  --secondary: #1e8f3f;
  --accent: #d72638;
  --max: 1120px;
}

:root[data-theme="dark"] {
  --bg: #101318;
  --bg-soft: #1a202b;
  --text: #ebeff7;
  --muted: #b8c2d8;
  --card: #171c25;
  --primary: #ffd84d;
  --secondary: #4bd278;
  --accent: #ff5a6f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg), #fffef6 30%) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 12% 18%, #f1c40f 0 6px, transparent 7px),
    radial-gradient(circle at 25% 60%, #d72638 0 5px, transparent 6px),
    radial-gradient(circle at 78% 20%, #1e8f3f 0 5px, transparent 6px),
    radial-gradient(circle at 88% 72%, #f1c40f 0 6px, transparent 7px),
    radial-gradient(circle at 58% 84%, #d72638 0 4px, transparent 5px);
  animation: floatConfetti 16s ease-in-out infinite alternate;
}

@keyframes floatConfetti {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-14px);
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg), transparent 10%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: transform 0.28s ease;
}

.site-header.site-header--hidden {
  transform: translateY(calc(-100% - 2px));
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.brand img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

nav a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-toggle,
.theme-toggle {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1rem;
}

.lang-opt { opacity: 0.42; font-weight: 500; }
.lang-opt--active { opacity: 1; font-weight: 800; }

.hero {
  padding: 3rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.kicker {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--primary), #ffe873);
  color: #3b2400;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  margin-top: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h1 span {
  color: var(--primary);
}

.lead {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  max-width: 66ch;
}

.cta {
  display: inline-block;
  text-decoration: none;
  color: #291700;
  font-weight: 700;
  background: linear-gradient(120deg, var(--primary), #ffde59);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(160deg, rgba(241, 196, 15, 0.2), rgba(215, 38, 56, 0.14));
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  padding: 1.2rem;
  align-self: start;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hero-card p {
  margin: 0.75rem 0 0;
  color: var(--text);
}

.section {
  padding: 3.5rem 0;
}

.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-family: "Space Grotesk", sans-serif;
}

.section-intro {
  color: var(--muted);
  max-width: 70ch;
  margin: 0.8rem 0 1.6rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 0.55rem;
  color: var(--primary);
}

/* ── Standardized card meta row (category · date · read-time) ── */
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.6rem;
}

.card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  background: color-mix(in srgb, var(--primary), white 55%);
  color: #3f2600;
  white-space: nowrap;
}

.card-date {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

.card-date::before {
  content: "·";
  margin-right: 0.4rem;
  opacity: 0.5;
}

.card-read-time {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.card-read-time::before {
  content: "·";
  margin-right: 0.4rem;
  opacity: 0.5;
}

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

/* Inside update-card, the confidence-tag inside .card-meta doubles as category */
.update-card .card-meta .confidence-tag {
  margin: 0;
}

.section-carnaval {
  background: linear-gradient(180deg, rgba(241, 196, 15, 0.14), rgba(30, 143, 63, 0.08));
  border-block: 1px solid rgba(0, 0, 0, 0.08);
}

.pulse-strip {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--secondary), var(--accent));
  background-size: 220% 100%;
  margin: 1rem 0 1.2rem;
  animation: pulseMove 5s linear infinite;
}

@keyframes pulseMove {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 220% 50%;
  }
}

.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.highlights article {
  padding: 1.1rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--card), transparent 18%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.highlights h3 {
  color: var(--secondary);
}

.highlights ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  padding: 1rem;
  border-left: 5px solid var(--accent);
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.timeline-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.visitor-radar {
  background: linear-gradient(135deg, rgba(27, 102, 201, 0.08), rgba(241, 196, 15, 0.08));
  border: 1px solid rgba(27, 102, 201, 0.16);
  border-radius: 18px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.visitor-radar-header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b66c9;
}

.visitor-radar-header h3 {
  color: var(--text);
}

.visitor-radar-note {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.visitor-radar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.visitor-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.visitor-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.visitor-card h4 {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 1.08rem;
}

.visitor-card p {
  margin: 0;
}

.research-brief {
  background: color-mix(in srgb, var(--card), rgba(27, 102, 201, 0.08) 22%);
  border: 1px solid rgba(27, 102, 201, 0.2);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  margin-bottom: 1rem;
}

.research-brief h3 {
  margin-bottom: 0.7rem;
  color: #1b66c9;
}

.research-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.research-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  white-space: nowrap;
}

.badge.verified {
  background: rgba(30, 143, 63, 0.18);
  color: #156b2e;
}

.badge.watch {
  background: rgba(241, 196, 15, 0.24);
  color: #654900;
}

.research-stamp {
  margin: 0.8rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

.evidence-panel {
  margin: 1rem 0 1.1rem;
}

.evidence-panel h3 {
  margin-bottom: 0.7rem;
  color: var(--secondary);
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.evidence-card {
  background: color-mix(in srgb, var(--card), rgba(30, 143, 63, 0.08) 24%);
  border: 1px solid rgba(30, 143, 63, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.evidence-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary);
}

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

.evidence-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.week-radar {
  margin: 1rem 0 1.15rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215, 38, 56, 0.07), rgba(27, 102, 201, 0.08));
  border: 1px solid rgba(215, 38, 56, 0.16);
}

.week-radar-header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.week-radar-header h3 {
  color: var(--text);
}

.week-radar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.week-radar-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.week-radar-card h4 {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 1.05rem;
}

.week-radar-card p {
  margin: 0;
}

.media-digest {
  margin: 0.9rem 0 1.2rem;
}

.media-digest h3 {
  margin-bottom: 0.55rem;
  color: var(--secondary);
}

.digest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.digest-card {
  background: color-mix(in srgb, var(--card), rgba(11, 118, 166, 0.08) 24%);
  border: 1px solid rgba(11, 118, 166, 0.22);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.digest-card h4 {
  margin: 0.2rem 0 0.45rem;
  color: var(--text);
}

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

.digest-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.last-verified {
  font-size: 0.72rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.last-verified::before {
  content: "✓";
  color: #156b2e;
  font-weight: 800;
}

.update-card .last-verified {
  margin-top: 0.5rem;
}

.updates-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.toolbar-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.filter-chip {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  background: color-mix(in srgb, var(--primary), white 25%);
  border-color: color-mix(in srgb, var(--primary), black 10%);
  color: #3f2a00;
}

/* ── Content search widget ── */
.content-search {
  margin-bottom: 1.75rem;
}

.search-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  outline: none;
  margin-bottom: 0.6rem;
  transition: box-shadow 0.2s;
}

.search-input:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary), transparent 65%);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-chip {
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.search-chip.is-active,
.search-chip:hover {
  background: color-mix(in srgb, var(--primary), white 25%);
  border-color: color-mix(in srgb, var(--primary), black 10%);
  color: #3f2a00;
}

.search-empty {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-reset {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  text-decoration: underline;
  padding: 0;
}

.card.search-hidden {
  display: none;
}

.search-section-hidden {
  display: none;
}
/* ── End content search ── */

.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.update-card {
  background: color-mix(in srgb, var(--card), rgba(241, 196, 15, 0.12) 20%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.update-card.is-hidden {
  display: none;
}

.confidence-tag {
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  margin: 0 0 0.55rem;
}

.confidence-verified {
  background: rgba(30, 143, 63, 0.18);
  color: #156b2e;
}

.confidence-context {
  background: rgba(27, 102, 201, 0.16);
  color: #0f4c9e;
}

.update-card h3 {
  color: var(--accent);
  margin-bottom: 0.4rem;
}

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

.source-meta {
  margin-top: 0.8rem !important;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.18);
  font-size: 0.92rem;
}

.source-meta strong {
  color: var(--text);
  margin-right: 0.35rem;
}

.source-meta a {
  color: #1b66c9;
  word-break: break-word;
}

.media-log {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card), rgba(27, 102, 201, 0.08) 18%);
  border: 1px solid rgba(27, 102, 201, 0.2);
}

.media-log h3 {
  color: #1b66c9;
  margin-bottom: 0.6rem;
}

.media-log-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.media-log-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.media-log-card h4 {
  margin: 0 0 0.45rem;
  color: var(--accent);
}

.media-log-card p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.media-log-note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.verification-note {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--card), rgba(30, 143, 63, 0.13) 22%);
  border: 1px solid rgba(30, 143, 63, 0.3);
}

.verification-note p {
  margin: 0;
}

.section-route {
  background: linear-gradient(180deg, rgba(30, 143, 63, 0.06), rgba(241, 196, 15, 0.09));
  border-block: 1px solid rgba(0, 0, 0, 0.08);
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.route-stop {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.route-stop summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.35rem;
  background: color-mix(in srgb, var(--card), rgba(241, 196, 15, 0.1) 24%);
}

.route-stop summary::-webkit-details-marker {
  display: none;
}

.route-day {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: color-mix(in srgb, var(--secondary), white 72%);
  color: #14592b;
}

.route-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
}

.route-body {
  padding: 0 1.05rem 1rem;
}

.route-body p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.route-tip {
  font-size: 0.95rem;
}

.section-plan {
  background: linear-gradient(180deg, rgba(27, 102, 201, 0.08), rgba(215, 38, 56, 0.06));
  border-block: 1px solid rgba(0, 0, 0, 0.08);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.countdown-card,
.plan-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.countdown-label {
  margin: 0;
  font-weight: 700;
}

.countdown-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.countdown-values div {
  background: color-mix(in srgb, var(--primary), white 35%);
  border-radius: 10px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.countdown-values strong {
  display: block;
  font-size: clamp(1.25rem, 3.4vw, 1.8rem);
  line-height: 1;
  color: #3f2a00;
}

.countdown-values span {
  font-size: 0.82rem;
  color: #614100;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.countdown-footnote {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-card h3 {
  color: #1b66c9;
  margin-bottom: 0.6rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1rem;
}

.plan-card li + li {
  margin-top: 0.4rem;
}

.football-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(120deg, rgba(215, 38, 56, 0.1), rgba(241, 196, 15, 0.18));
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.football-shield {
  width: 72px;
  height: auto;
  display: block;
}

.football-card h3 {
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.football-update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.football-update-block {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

.football-update-block h3 {
  margin: 0 0 0.5rem;
  color: #1b66c9;
  font-size: 1rem;
}

.football-update-block ul {
  margin: 0;
  padding-left: 1rem;
}

.football-update-block li + li {
  margin-top: 0.45rem;
}

.football-update-meta {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-sources ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
}

.section-sources a {
  color: #1b66c9;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.2rem 0 1.6rem;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .lang-toggle {
    margin-left: auto;
  }

  .football-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .football-update-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
  }

  .cards,
  .highlights,
  .updates-grid,
  .visitor-radar-grid,
  .week-radar-grid,
  .evidence-grid,
  .media-log-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .route-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .plan-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 1rem;
  }

  .pillar-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .visitor-radar-header {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

/* ── Start Here section ── */
.start-here {
  padding: 2rem 0;
  background: var(--bg-soft);
}

.start-here-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.2rem 0.75rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  border-color: var(--primary);
}

.pillar-icon {
  font-size: 1.9rem;
  line-height: 1;
}

.pillar-card strong {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.pillar-card span:not(.pillar-icon) {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Topic Hubs ── */
.topic-hubs {
  background: var(--bg-soft);
  border-block: 1px solid rgba(0, 0, 0, 0.06);
}

.topic-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.topic-hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.3rem 0.75rem 1.1rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.topic-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  border-color: var(--primary);
}

.topic-hub-icon {
  font-size: 2rem;
  line-height: 1;
}

.topic-hub-card strong {
  font-size: 0.97rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.topic-hub-card span:not(.topic-hub-icon) {
  font-size: 0.78rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .topic-hub-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.section-gastronomia {
  background: linear-gradient(180deg, rgba(241, 196, 15, 0.08), rgba(30, 143, 63, 0.06));
  border-block: 1px solid rgba(0, 0, 0, 0.06);
}

.section-comunidad {
  background: linear-gradient(180deg, rgba(215, 38, 56, 0.07), rgba(27, 102, 201, 0.06));
  border-block: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── Editorial Policy ── */
.editorial-policy {
  padding: 1.25rem 0;
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.editorial-policy-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.editorial-policy-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  padding-top: 0.05rem;
}

.editorial-policy-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.editorial-policy-desc {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0 0 0.6rem;
  line-height: 1.55;
}

.editorial-policy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 2rem;
}

.policy-tag--yes {
  background: rgba(26, 158, 68, 0.1);
  color: #1a7a40;
  border: 1px solid rgba(26, 158, 68, 0.22);
}

.policy-tag--yes::before {
  content: "✓";
  font-size: 0.68rem;
}

.policy-tag--no {
  background: rgba(215, 38, 56, 0.08);
  color: var(--primary);
  border: 1px solid rgba(215, 38, 56, 0.18);
}

.policy-tag--no::before {
  content: "✕";
  font-size: 0.68rem;
}

/* ── Editorial Band (Featured / Trending / Latest) ── */
.editorial-band {
  padding: 2.5rem 0;
  background: var(--bg-soft);
  border-block: 1px solid rgba(0, 0, 0, 0.06);
}

.editorial-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 1.6rem 0 0.75rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.6rem;
}

.editorial-label:first-child {
  margin-top: 0;
}

/* Featured */
.editorial-featured-card {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.14), rgba(215, 38, 56, 0.09));
  border: 1px solid rgba(241, 196, 15, 0.35);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  max-width: 720px;
}

.editorial-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.editorial-featured-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--text);
  margin-bottom: 0.6rem;
}

.editorial-featured-card p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 60ch;
}

.editorial-link {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.editorial-link:hover {
  text-decoration: underline;
}

/* Trending */
.editorial-trending {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.editorial-topic-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.editorial-topic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  border-color: var(--primary);
}

.topic-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.editorial-topic-card h4 {
  margin: 0 0 0.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  color: var(--text);
}

.editorial-topic-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.editorial-topic-card a {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.editorial-topic-card a:hover {
  text-decoration: underline;
}

/* Latest */
.editorial-latest {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.editorial-latest-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.25rem 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.latest-tag {
  grid-row: 1 / 3;
  align-self: center;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(241, 196, 15, 0.22);
  color: #5a3c00;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  white-space: nowrap;
}

.latest-date {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1;
}

.editorial-latest-item h4 {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.3;
}

.editorial-latest-item a {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.editorial-latest-item a:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .editorial-trending {
    grid-template-columns: repeat(3, 1fr);
  }

  .editorial-topic-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .editorial-topic-card a {
    margin-left: 0;
    margin-top: 0.4rem;
  }

  .editorial-latest {
    grid-template-columns: repeat(3, 1fr);
  }

  .editorial-latest-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    align-items: start;
    gap: 0.4rem;
  }

  .latest-tag {
    grid-row: auto;
  }

  .editorial-latest-item a {
    grid-row: auto;
  }
}

/* ── Internal cross-links (TODO #7) ── */
.section-crosslink {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .section-crosslink {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section-crosslink-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-crosslink a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 0.28rem 0.7rem;
  border: 1.5px solid var(--accent);
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}

.section-crosslink a:hover {
  background: var(--accent);
  color: #fff;
}

.related-topics {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .related-topics {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.related-topics-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.related-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-topics-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  background: color-mix(in srgb, var(--card), rgba(215, 38, 56, 0.06) 20%);
  border: 1.5px solid rgba(215, 38, 56, 0.22);
  border-radius: 20px;
  transition: background 0.15s, border-color 0.15s;
}

.related-topics-list a:hover {
  background: color-mix(in srgb, var(--card), rgba(215, 38, 56, 0.16) 30%);
  border-color: var(--accent);
}

/* ── Content Cadence Block (TODO #10) ── */
.section-cadence {
  background: linear-gradient(180deg, rgba(27, 102, 201, 0.06), rgba(241, 196, 15, 0.08));
  border-block: 1px solid rgba(0, 0, 0, 0.07);
}

.cadence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .cadence-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.cadence-card {
  background: var(--card);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cadence-card--daily {
  border-top: 3px solid var(--primary);
}

.cadence-card--weekly {
  border-top: 3px solid var(--secondary);
}

.cadence-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.cadence-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.05rem;
}

.cadence-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.2rem;
  font-family: "Space Grotesk", sans-serif;
}

.cadence-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
}

.cadence-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cadence-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.cadence-list li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.cadence-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .cadence-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.cadence-badge {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.cadence-badge--daily {
  background: color-mix(in srgb, var(--primary), white 55%);
  color: #3f2600;
}

.cadence-badge--weekly {
  background: color-mix(in srgb, var(--secondary), white 62%);
  color: #0d4920;
}

.cadence-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.cadence-link:hover {
  text-decoration: underline;
}

.cadence-note {
  margin-top: 1.25rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}
/* ── End Content Cadence Block ── */
