@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --ink: #17231d;
  --muted: #66736c;
  --paper: #fbfaf6;
  --white: #ffffff;
  --green: #075a3b;
  --green-dark: #043c29;
  --lime: #b9df45;
  --gold: #e3b542;
  --line: #dfe4de;
  --shadow: 0 22px 60px rgba(13, 41, 28, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(185, 223, 69, .13), transparent 22rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 35, 29, .13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand strong,
.footer-brand strong {
  color: var(--green);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.edition {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

main {
  padding: 76px 20px 100px;
}

.news-story {
  width: min(940px, 100%);
  margin: 0 auto;
}

.story-header {
  max-width: 820px;
  margin-bottom: 46px;
}

.story-label,
.eyebrow {
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.story-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}

.story-label span {
  width: 24px;
  height: 3px;
  background: var(--lime);
}

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

h1,
.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.standfirst {
  max-width: 720px;
  margin-bottom: 25px;
  color: #46524b;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.5;
}

.story-meta {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

.credit-notice {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 25px;
  margin: 0 0 64px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 22px;
  background: linear-gradient(125deg, var(--green-dark), var(--green));
  color: var(--white);
  box-shadow: var(--shadow);
}

.credit-notice::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 45px solid rgba(185, 223, 69, .12);
  border-radius: 50%;
}

.notice-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--lime);
  font-size: 1.9rem;
  line-height: 1;
}

.credit-notice > div:last-child {
  position: relative;
  z-index: 1;
}

.credit-notice .eyebrow {
  margin-bottom: 7px;
  color: var(--lime);
}

.credit-notice h2 {
  margin-bottom: 9px;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.2;
}

.credit-notice p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .86);
}

.credit-notice .notice-footnote {
  margin-top: 14px;
  color: var(--white) !important;
  font-weight: 700;
}

.story-body {
  width: min(760px, 100%);
  margin: 0 auto;
  font-size: 1.05rem;
}

.story-body > p {
  margin-bottom: 25px;
}

.section-heading {
  margin: 68px 0 26px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.section-heading .eyebrow {
  margin-bottom: 7px;
}

.section-heading h2 {
  margin-bottom: 7px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.matches {
  border-top: 1px solid var(--line);
}

.match-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.team-badge {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.team-badge img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(18, 42, 29, .16));
}

.badge-puebla {
  border-radius: 21px 21px 32px 32px;
  background: linear-gradient(135deg, #fff 49%, #1876ba 50%);
  color: #174f7c;
  border: 2px solid #cbd9e5;
}

.badge-america {
  background: #ffe24a;
  color: #123b87;
  border: 3px solid #123b87;
}

.badge-queretaro {
  border-radius: 8px 8px 24px 24px;
  background: repeating-linear-gradient(90deg, #111 0 14px, #edf1f5 14px 28px);
  color: #1b4f86;
  border: 2px solid #9aa3aa;
}

.badge-pumas {
  border-radius: 48% 48% 42% 42%;
  background: #0a315e;
  color: #d6aa37;
  border: 2px solid #d6aa37;
}

.match-info h3 {
  margin-bottom: 17px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.match-info h3 span {
  color: var(--muted);
  font-weight: 400;
}

dl {
  margin: 0;
}

dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin: 8px 0;
}

dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.related-note {
  margin: 42px 0;
  padding: 26px 28px;
  border-left: 4px solid var(--gold);
  background: #f2efe5;
}

.note-label {
  display: block;
  margin-bottom: 6px;
  color: #896816;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.related-note p {
  margin: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(23, 35, 29, .13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}

.footer-brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
  }

  main {
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .story-header {
    margin-bottom: 34px;
  }

  .credit-notice {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 46px;
  }

  .match-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 0;
  }

  .team-badge {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: .58rem;
  }

  .team-badge img {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
  }

  dl > div {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 12px 0;
  }

  dt {
    margin-bottom: 1px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
