:root {
  --bg: #f3eadf;
  --bg-soft: #efe4d3;
  --paper: rgba(255, 250, 242, 0.82);
  --paper-strong: #fffaf2;
  --ink: #1d1714;
  --muted: #6f6056;
  --line: rgba(50, 34, 23, 0.12);
  --accent: #a33a20;
  --accent-deep: #6c1f11;
  --gold: #c59a3d;
  --shadow: 0 20px 60px rgba(45, 25, 12, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  background:
    radial-gradient(circle at top left, rgba(195, 154, 61, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(163, 58, 32, 0.18), transparent 28%),
    linear-gradient(180deg, #f7efe3 0%, #f0e5d5 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 23, 20, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 23, 20, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(243, 234, 223, 0.76);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.brand-mark {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.8rem, 2vw, 2.45rem);
  font-weight: 600;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav button {
  font-family: "Barlow Condensed", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 0.35rem 0.45rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav button:hover {
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
}

.hero {
  padding: 2rem 0 1.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
}

.hero-panel,
.glass-card,
.article-card,
.article-shell,
.side-panel,
.footer-panel,
.ticker,
.agenda-panel {
  background: var(--paper);
  border: 1px solid rgba(99, 75, 58, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(18, 10, 6, 0.04), rgba(18, 10, 6, 0.48)),
    radial-gradient(circle at 20% 15%, rgba(197, 154, 61, 0.7), transparent 26%),
    linear-gradient(135deg, rgba(123, 32, 15, 0.92), rgba(45, 12, 8, 0.95));
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(15, 8, 5, 0.72)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='1'%3E%3Cpath d='M10 130c24-18 44-34 69-30s42 21 71 6'/%3E%3Cpath d='M15 102c18-12 42-14 64-2 16 9 31 15 64 2'/%3E%3Cpath d='M22 72c18-16 37-20 59-10 15 7 31 14 58 7'/%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff7ef;
  padding: 2rem;
  width: min(100%, 780px);
}

.eyebrow,
.meta-row,
.category-tag,
.section-kicker {
  font-family: "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 248, 241, 0.1);
  font-size: 0.86rem;
}

.hero h1,
.article-hero h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.92;
  margin: 1rem 0 1rem;
}

.hero-lead,
.article-intro {
  font-size: clamp(1.06rem, 1.3vw, 1.28rem);
  line-height: 1.7;
  max-width: 58ch;
  color: rgba(255, 247, 239, 0.9);
}

.meta-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 247, 239, 0.78);
}

.hero-side {
  display: grid;
  gap: 1.25rem;
}

.glass-card,
.agenda-panel,
.side-panel,
.footer-panel,
.ticker {
  padding: 1.25rem;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.84rem;
}

.glass-card h2,
.section-header h2,
.article-card h3,
.side-panel h3,
.agenda-panel h2,
.article-body h2,
.article-body h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  margin: 0.4rem 0 0.65rem;
}

.glass-card h2,
.agenda-panel h2 {
  font-size: 2rem;
}

.glass-card p,
.agenda-panel p,
.article-card p,
.side-panel p,
.footer-panel p,
.article-body p,
.article-body li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
}

.ticker {
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.ticker-label {
  font-family: "Barlow Condensed", Arial, sans-serif;
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-items {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.ticker-items span {
  position: relative;
  padding-left: 1rem;
}

.ticker-items span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

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

.section-header p {
  max-width: 56ch;
  color: var(--muted);
}

.filter-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: all 180ms ease;
}

.filter-chip.is-selected,
.filter-chip:hover {
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.article-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform 200ms ease, opacity 200ms ease;
}

.article-card.is-hidden {
  opacity: 0.32;
  transform: scale(0.98);
}

.card-visual {
  min-height: 200px;
  padding: 1.5rem;
  display: flex;
  align-items: end;
  color: #fff7ef;
  position: relative;
  isolation: isolate;
}

.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 8, 5, 0.06), rgba(15, 8, 5, 0.74)),
    radial-gradient(circle at 20% 20%, rgba(197, 154, 61, 0.68), transparent 24%);
  z-index: -1;
}

.card-visual.sevilla {
  background: linear-gradient(145deg, #a3371f, #57170f);
}

.card-visual.morante {
  background: linear-gradient(145deg, #81531d, #2d1505);
}

.card-visual.curro {
  background: linear-gradient(145deg, #8a2030, #3c0f18);
}

.card-visual.sanisidro {
  background: linear-gradient(145deg, #a34a10, #391205);
}

.card-visual.castellon {
  background: linear-gradient(145deg, #887134, #2d2612);
}

.card-visual.tv {
  background: linear-gradient(145deg, #713429, #25120f);
}

.card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.category-tag {
  color: var(--accent);
  font-size: 0.82rem;
}

.article-card h3 {
  font-size: 2rem;
  line-height: 0.98;
}

.card-meta,
.article-meta,
.related-links,
.mini-list {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-card .button-link,
.hero-actions .button-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-family: "Barlow Condensed", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-link.secondary {
  background: rgba(255, 255, 255, 0.56);
  color: var(--accent-deep);
  border: 1px solid var(--line);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.agenda-layout,
.footer-grid,
.article-layout {
  display: grid;
  gap: 1.25rem;
}

.agenda-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  padding-bottom: 2.75rem;
}

.agenda-list,
.side-list,
.article-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-list li,
.side-list li,
.article-body ul li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.agenda-list li:first-child,
.side-list li:first-child,
.article-body ul li:first-child {
  border-top: 0;
  padding-top: 0;
}

.agenda-date,
.note {
  color: var(--accent);
  font-family: "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
}

.site-footer {
  padding: 0 0 2rem;
}

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

.footer-panel strong {
  display: block;
  margin-bottom: 0.5rem;
}

.article-page main {
  padding: 2rem 0 3rem;
}

.article-shell {
  padding: clamp(1.2rem, 1.8vw, 2rem);
}

.article-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  min-height: 360px;
  padding: 2rem;
  display: flex;
  align-items: end;
  color: #fff7ef;
  background: linear-gradient(135deg, rgba(94, 27, 15, 0.92), rgba(26, 12, 8, 0.94));
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(197, 154, 61, 0.75), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(19, 10, 7, 0.5));
}

.article-hero > div {
  position: relative;
  z-index: 1;
}

.article-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  margin-top: 1.5rem;
}

.article-body {
  padding: 0 0.4rem 0 0;
}

.article-body h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
}

.article-body h3 {
  font-size: 1.55rem;
  margin-top: 1.5rem;
}

.article-body p + p {
  margin-top: 1rem;
}

.dropcap::first-letter {
  float: left;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 4.7rem;
  line-height: 0.88;
  padding-right: 0.5rem;
  color: var(--accent);
}

.pull-quote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 18px 18px 0;
  font-size: 1.18rem;
  line-height: 1.6;
}

.side-panel {
  padding: 1.25rem;
  align-self: start;
  position: sticky;
  top: 6.5rem;
}

.related-links a,
.side-list a {
  color: var(--accent-deep);
}

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-deep);
  font-family: "Barlow Condensed", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .agenda-layout,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-column: span 6;
  }

  .side-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-direction: column;
    padding: 0.6rem 0 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-panel {
    min-height: 420px;
  }

  .hero-content,
  .article-hero {
    padding: 1.4rem;
  }

  .hero h1,
  .article-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

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

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

  .article-card {
    grid-column: 1 / -1;
  }
}
