:root {
  --deep-navy: #07162c;
  --gov-blue: #0097da;
  --victory-green: #00af66;
  --victory-red: #ef3340;
  --gold: #c9a227;
  --surface: #f6f8fb;
  --text: #162033;
  --muted: #667085;
  --line: #d8e0ea;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(7, 22, 44, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

#main {
  transition: opacity .16s ease;
}

#main.ajax-loading {
  opacity: .62;
  pointer-events: none;
}

#main.ajax-loading::after {
  content: "";
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 220;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(0, 151, 218, .24);
  border-top-color: var(--gov-blue);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 22, 44, .18);
  animation: spin .75s linear infinite;
}

a {
  color: var(--gov-blue);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: #fff;
  color: var(--deep-navy);
  padding: .65rem .9rem;
  border-radius: var(--radius);
  transition: top .18s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(7, 22, 44, .08);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  color: var(--deep-navy);
}

.brand-lockup img {
  flex: 0 0 auto;
}

.brand-lockup span {
  display: grid;
  line-height: 1.08;
}

.brand-lockup strong {
  font-size: 1.06rem;
}

.brand-lockup small {
  color: var(--muted);
  font-size: .72rem;
}

.navbar .nav-link {
  color: #314057;
  font-weight: 650;
  border-radius: var(--radius);
  padding-inline: .82rem;
  white-space: nowrap;
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: var(--deep-navy);
  background: #eef7fc;
}

.citizen-account-shortcut {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}

.citizen-account-shortcut-compact {
  margin-left: auto;
  margin-right: .55rem;
}

.citizen-account-item-desktop {
  display: none;
  flex: 0 0 42px;
  margin-left: .2rem;
}

.citizen-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0a456f, #061b35);
  box-shadow: 0 10px 24px rgba(4, 21, 43, .2);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.citizen-avatar::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #00af66;
  box-shadow: 0 2px 7px rgba(0, 95, 54, .3);
}

.citizen-account-shortcut:hover,
.citizen-account-shortcut:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.citizen-account-shortcut:focus-visible {
  outline: 3px solid rgba(0, 151, 218, .34);
  outline-offset: 3px;
}

.citizen-account-shortcut.active .citizen-avatar {
  box-shadow: 0 0 0 3px rgba(0, 151, 218, .2), 0 10px 24px rgba(4, 21, 43, .2);
}

.home-page:not(.gateway-past) .site-header .citizen-avatar {
  border-color: rgba(255, 255, 255, .58);
  color: #06213b;
  background: #f3c54b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.btn {
  border-radius: var(--radius);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.btn-primary {
  --bs-btn-bg: var(--gov-blue);
  --bs-btn-border-color: var(--gov-blue);
  --bs-btn-hover-bg: #007ab0;
  --bs-btn-hover-border-color: #007ab0;
}

.hero-section {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep-navy);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section::before {
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(0, 151, 218, .22) 43%, transparent 46%),
    linear-gradient(112deg, transparent 0 57%, rgba(0, 175, 102, .18) 58%, transparent 61%),
    linear-gradient(112deg, transparent 0 69%, rgba(239, 51, 64, .16) 70%, transparent 72%);
  opacity: .82;
  animation: heroRailShift 12s ease-in-out infinite alternate;
}

.hero-section::after {
  background:
    repeating-linear-gradient(112deg, transparent 0 48px, rgba(255, 255, 255, .08) 49px, transparent 51px);
  opacity: .22;
  transform: translateX(-4%);
  animation: heroFineLines 18s linear infinite;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 44, .94) 0%, rgba(7, 22, 44, .78) 34%, rgba(7, 22, 44, .28) 68%, rgba(7, 22, 44, .16) 100%),
    url("../img/hero-azesport.png") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: 5rem;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: .7rem;
}

.hero-copy h1 {
  font-size: 4rem;
  line-height: .96;
  margin: 0 0 1rem;
  font-weight: 850;
}

.hero-copy p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .86);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 680px;
}

.hero-panel div {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.hero-panel strong {
  display: block;
  font-size: 1.7rem;
  color: #fff;
}

.hero-panel span {
  color: rgba(255, 255, 255, .76);
  font-size: .84rem;
}

.section-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0;
}

.content-section {
  padding-block: 3rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.section-heading h2,
.page-hero h1 {
  color: var(--deep-navy);
  font-weight: 840;
  line-height: 1.05;
  margin: 0 0 .55rem;
}

.section-heading h2 {
  font-size: 2rem;
}

.section-heading p,
.page-hero p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.section-heading.compact {
  max-width: 620px;
}

.page-hero {
  background: linear-gradient(135deg, #eef7fc 0%, #f8fbf6 58%, #fff8ee 100%);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
}

.page-hero h1 {
  font-size: 2.7rem;
}

.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}

.page-stats span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 38px;
  border: 1px solid rgba(0, 151, 218, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  padding: .45rem .7rem;
  color: var(--muted);
  font-size: .88rem;
}

.page-stats strong {
  color: var(--deep-navy);
}

.live-ticker {
  display: flex;
  gap: .9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(0, 151, 218, .2);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.live-ticker i {
  color: var(--victory-red);
  font-size: 1.35rem;
  animation: pulse 1.8s ease-in-out infinite;
}

.sport-grid,
.athlete-grid,
.federation-grid,
.media-grid,
.result-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.sport-card,
.athlete-card,
.federation-card,
.media-card,
.news-card,
.event-card,
.result-card,
.search-result,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 34px rgba(7, 22, 44, .07);
}

.athlete-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: .85rem;
  min-height: 156px;
  padding: 1rem;
}

.athlete-card-elite {
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 176px;
  border-color: rgba(0, 151, 218, .24);
  background: linear-gradient(145deg, #fff 0%, #f7fbff 100%);
  position: relative;
  overflow: hidden;
}

.athlete-card-elite::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -52px;
  top: -58px;
  border-radius: 50%;
  border: 22px solid rgba(0, 151, 218, .055);
  pointer-events: none;
}

.athlete-card-elite .athlete-avatar {
  width: 84px;
  height: 84px;
  border-radius: 24px;
}

.athlete-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin: 0 0 .45rem;
  color: #0069a8;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.athlete-profile-badge i {
  color: var(--victory-red);
}

.catalog-search-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: -.25rem 0 1rem;
  color: var(--muted);
  font-size: .86rem;
}

.catalog-search-note i {
  color: var(--gov-blue);
}

.athlete-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep-navy);
  color: #fff;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(7, 22, 44, .16);
}

.athlete-avatar { position:relative; }
.athlete-avatar.has-photo { background:#dce8f2; }
.athlete-avatar-fallback { position:relative; z-index:1; }
.athlete-avatar img {
  position:absolute;
  z-index:2;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 22%;
  opacity:0;
  transition:opacity .28s ease;
}
.athlete-avatar.has-photo img { opacity:1; }
.athlete-avatar.photo-pending::after {
  content:"";
  position:absolute;
  z-index:3;
  right:3px;
  bottom:3px;
  width:8px;
  height:8px;
  border:2px solid rgba(255,255,255,.88);
  border-top-color:#00a6e7;
  border-radius:50%;
  animation:athletePhotoSpin .75s linear infinite;
}
@keyframes athletePhotoSpin { to { transform:rotate(360deg); } }

.athlete-card h2 {
  font-size: 1rem;
  margin: 0 0 .35rem;
  color: var(--deep-navy);
  line-height: 1.25;
}

.athlete-card p {
  color: var(--muted);
  margin: 0 0 .75rem;
  line-height: 1.5;
}

.sport-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: .95rem;
  min-height: 168px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.sport-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gov-blue);
}

.sport-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--deep-navy);
  overflow: hidden;
}

.sport-mark i {
  color: #fff;
  font-size: 1.6rem;
}

.sport-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7fafc;
  padding: .35rem;
}

.sport-card h2,
.sport-card h3,
.athlete-card h2,
.federation-card h2,
.federation-card h3,
.news-card h3,
.event-card h2,
.result-card h2 {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  color: var(--deep-navy);
  line-height: 1.25;
}

.sport-card p,
.athlete-card p,
.federation-card p,
.news-card p,
.event-card p,
.result-card p {
  color: var(--muted);
  margin: 0 0 .8rem;
  line-height: 1.55;
}

.sport-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.federation-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sport-blue::before { background: var(--gov-blue); }
.sport-green::before { background: var(--victory-green); }
.sport-red::before { background: var(--victory-red); }
.sport-gold::before { background: var(--gold); }
.sport-navy::before { background: var(--deep-navy); }

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  max-width: 100%;
  padding: .42rem .55rem;
  border: 1px solid rgba(0, 175, 102, .25);
  background: #eefbf5;
  color: #06623e;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 750;
}

.source-badge span {
  overflow-wrap: anywhere;
}

.source-badge-muted {
  background: #fff8e7;
  border-color: rgba(201, 162, 39, .32);
  color: #735915;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: .85rem;
}

.card-actions .btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  font-weight: 800;
}

.card-actions .source-badge {
  min-height: 34px;
}

.btn-source {
  --bs-btn-color: #06623e;
  --bs-btn-bg: #eefbf5;
  --bs-btn-border-color: rgba(0, 175, 102, .34);
  --bs-btn-hover-color: #044b30;
  --bs-btn-hover-bg: #dff7ec;
  --bs-btn-hover-border-color: rgba(0, 175, 102, .48);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

.home-feed-stack {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.5rem);
}

.home-feed-section {
  min-width: 0;
}

.home-column-heading {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .9rem;
}

.home-column-heading::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 89, 157, .72), rgba(201, 162, 39, .62) 28%, rgba(0, 151, 218, .2) 58%, transparent);
}

.home-column-heading .eyebrow {
  margin-bottom: .42rem;
}

.home-column-heading h2 {
  margin: 0;
  color: var(--deep-navy);
  font-size: 1.38rem;
  line-height: 1.12;
  font-weight: 850;
}

.home-column-heading .home-section-all {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem .78rem;
  border: 1px solid rgba(0, 151, 218, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--gov-blue);
  font-size: .84rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(7, 22, 44, .06);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.home-column-heading .home-section-all:focus-visible,
.home-column-heading .home-section-all:hover {
  border-color: rgba(0, 151, 218, .42);
  background: #f2f9fd;
  color: #006fa9;
  transform: translateY(-1px);
}

.home-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.home-card-grid > article {
  min-width: 0;
  height: 100%;
}

.home-news-list .home-news-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.home-news-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, #071a31, #0c426d);
}

.home-news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(201, 162, 39, .18);
  background: linear-gradient(180deg, transparent 62%, rgba(7, 22, 44, .18));
  pointer-events: none;
}

.home-news-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-news-card:hover .home-news-media img {
  transform: scale(1.025);
}

.home-news-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.home-news-card-body > span {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: .55rem;
  color: var(--victory-red);
  font-size: .78rem;
  font-weight: 800;
}

.home-news-card-body h3 {
  display: -webkit-box;
  margin: 0 0 .45rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.home-news-card-body h3 a:hover,
.home-news-card-body h3 a:focus-visible {
  color: var(--gov-blue);
}

.home-news-card-body > p {
  display: -webkit-box;
  margin-bottom: .8rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-news-card-body .card-actions {
  margin-top: auto;
}

.home-timeline-list .event-card {
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 190px;
}

.home-timeline-list .event-date-badge {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .12rem;
  align-self: start;
  overflow: hidden;
  padding: .75rem .45rem .65rem;
  border: 1px solid rgba(0, 151, 218, .18);
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(155deg, #fff 0%, #f1f9fd 100%);
  color: var(--deep-navy);
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 24px rgba(7, 22, 44, .06);
}

.home-timeline-list .event-date-badge::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gov-blue), var(--gold));
}

.home-timeline-list .event-date-day,
.home-timeline-list .event-date-month,
.home-timeline-list .event-date-year {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

.home-timeline-list .event-date-day {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
}

.home-timeline-list .event-date-month {
  color: var(--gov-blue);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .14em;
}

.home-timeline-list .event-date-year {
  color: #64748b;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .055em;
}

.home-timeline-list .event-date-badge.is-pending {
  gap: .35rem;
  padding-inline: .35rem;
}

.home-timeline-list .event-date-badge.is-pending i {
  color: var(--gov-blue);
  font-size: 1rem;
}

.home-timeline-list .event-date-pending {
  color: #64748b;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-timeline-list .event-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-timeline-list .event-card h3,
.home-result-list .result-card h2,
.home-result-list .result-card h3 {
  display: -webkit-box;
  margin: 0 0 .45rem;
  overflow: hidden;
  color: var(--deep-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-timeline-list .event-card .source-badge,
.home-result-list .result-card .source-badge {
  align-self: flex-start;
  margin-top: auto;
}

.home-result-list .result-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.home-result-list .result-card p {
  margin-bottom: .55rem;
}

.home-result-list .result-card p:last-of-type {
  color: #7a8496;
  font-size: .88rem;
}

.home-section-separator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.25rem);
  width: 100%;
}

.home-section-separator > span {
  height: 1px;
}

.home-section-separator > span:first-child {
  background: linear-gradient(90deg, transparent, rgba(0, 89, 157, .42), rgba(201, 162, 39, .78));
}

.home-section-separator > span:last-child {
  background: linear-gradient(90deg, rgba(201, 162, 39, .78), rgba(0, 89, 157, .42), transparent);
}

.home-section-separator > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, .35);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f2f7fb);
  box-shadow: 0 12px 30px rgba(7, 22, 44, .1), inset 0 0 0 4px #fff;
}

.home-section-separator img {
  width: 31px;
  height: 31px;
  display: block;
}

.stack-list {
  display: grid;
  gap: .9rem;
}

.home-schedule-stack {
  display: grid;
  gap: 1rem;
}

.section-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: .2rem 0 .75rem;
}

.section-subheading h3 {
  margin: 0;
  color: var(--deep-navy);
  font-size: 1rem;
  font-weight: 830;
}

.section-subheading a {
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.news-card,
.federation-card,
.media-card,
.result-card {
  padding: 1rem;
}

.news-card.is-preferred,
.event-card.is-preferred,
.result-card.is-preferred {
  border-color: rgba(0, 151, 218, .46);
  box-shadow: 0 14px 40px rgba(0, 89, 157, .12);
}

.news-card > span,
.result-card > span {
  display: inline-flex;
  color: var(--victory-red);
  font-weight: 800;
  font-size: .78rem;
  margin-bottom: .55rem;
}

.result-period-chips {
  justify-content: flex-start;
  margin: 0 0 .85rem;
}

.result-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}

.result-card-heading > span {
  color: var(--victory-red);
  font-weight: 850;
  font-size: .78rem;
}

.result-card-heading > small {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .2rem .48rem;
  border: 1px solid rgba(0, 151, 218, .2);
  border-radius: 999px;
  color: #0069a8;
  background: #f0f9fd;
  font-size: .68rem;
  font-weight: 800;
}

.result-card .result-outcome {
  color: var(--deep-navy);
}

.result-card .result-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-card .result-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #7a8496;
  font-size: .84rem;
}

.result-card .result-meta i {
  color: var(--gov-blue);
}

.federation-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep-navy);
  margin-bottom: .9rem;
}

.media-card {
  display: grid;
  gap: .85rem;
}

/* Media imports are mostly square official logos, so thumbnails must not crop vertically. */
.media-thumb {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9fc;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(.9rem, 2vw, 1.2rem);
}

.media-thumb img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.media-thumb i {
  color: var(--muted);
  font-size: 1.75rem;
}

.media-card h2 {
  margin: 0;
  color: var(--deep-navy);
  font-size: 1rem;
  line-height: 1.3;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.toolbar-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.catalog-toolbar {
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.category-chips span,
.category-chips a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: .38rem .6rem;
  color: var(--muted);
  font-size: .82rem;
  text-decoration: none;
}

.category-chips a.active,
.category-chips a:focus,
.category-chips a:hover {
  color: var(--deep-navy);
  border-color: rgba(0, 151, 218, .42);
  background: #edf8fd;
}

.category-chips strong {
  color: var(--deep-navy);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

.pager span {
  color: var(--muted);
  font-weight: 700;
}

.search-mini,
.search-large {
  display: flex;
  width: 100%;
  gap: .6rem;
}

.search-mini {
  max-width: 460px;
}

.search-large {
  margin-bottom: 1.25rem;
}

.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 220px;
}

.empty-state i {
  font-size: 2.2rem;
  color: var(--gov-blue);
  margin-bottom: .7rem;
}

.empty-state h3 {
  font-size: 1.2rem;
  color: var(--deep-navy);
}

.timeline-list {
  display: grid;
  gap: .9rem;
}

.event-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.event-card time {
  color: var(--deep-navy);
  font-weight: 800;
}

.filter-shell {
  margin-bottom: 1rem;
}

.filter-sheet-header {
  display: none;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
}

.mobile-filter-trigger {
  margin-bottom: .8rem;
}

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}

.mini-metrics span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .22rem .45rem;
  font-size: .75rem;
  color: var(--muted);
}

.preference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.preference-hint {
  margin: 0 0 1rem;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.preference-tile {
  position: relative;
  cursor: pointer;
}

.preference-tile input {
  position: absolute;
  opacity: 0;
}

.preference-tile span {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem;
  font-weight: 800;
  background: #fff;
}

.preference-tile input:checked + span {
  border-color: var(--gov-blue);
  background: #eef7fc;
  color: var(--deep-navy);
}

.preference-status {
  margin-top: 1rem;
  color: var(--muted);
}

.source-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.source-table {
  margin-bottom: 0;
}

.source-table td:first-child {
  min-width: 280px;
}

.source-table small {
  display: block;
  color: var(--muted);
  margin: .25rem 0 .5rem;
}

.search-results {
  display: grid;
  gap: .75rem;
}

.search-result {
  display: grid;
  padding: 1rem;
  text-decoration: none;
}

.search-result span {
  color: var(--victory-red);
  font-size: .75rem;
  font-weight: 800;
}

.search-result strong {
  color: var(--deep-navy);
}

.search-result small {
  color: var(--muted);
}

.article-body {
  max-width: 820px;
  font-size: 1.04rem;
  line-height: 1.72;
  color: #26344a;
}

.article-body p {
  margin: 0;
}

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

.article-toolbar {
  max-width: 820px;
  margin: 0 0 1rem;
}

.news-catalog-list {
  gap: 1rem;
}

.news-card-with-media {
  min-height: 224px;
  display: grid;
  grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.news-card-media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #061b35, #0a456f);
}

.news-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-card-with-media:hover .news-card-media img {
  transform: scale(1.025);
}

.news-card-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.3rem;
}

.news-card-content > span {
  display: inline-flex;
  margin-bottom: .55rem;
  color: var(--victory-red);
  font-size: .78rem;
  font-weight: 800;
}

.news-card-content h2 {
  margin: 0 0 .5rem;
  color: var(--deep-navy);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 850;
  line-height: 1.3;
}

.news-card-content h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card-content h2 a:hover,
.news-card-content h2 a:focus-visible {
  color: var(--gov-blue);
}

.news-card-content > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card-content .card-actions {
  margin-top: auto;
  padding-top: .9rem;
}

.news-detail-article {
  width: min(100%, 1100px);
}

.news-detail-figure {
  margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(7, 91, 130, .18);
  border-radius: 22px;
  background: #061b35;
  box-shadow: 0 20px 54px rgba(4, 21, 43, .13);
}

.news-detail-figure img {
  width: 100%;
  max-height: min(72vh, 720px);
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: linear-gradient(145deg, #041426, #082f50);
}

.news-detail-figure figcaption {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  color: #d9e8f5;
  background: #071b32;
  font-size: .78rem;
  font-weight: 700;
}

.news-detail-figure figcaption i {
  color: var(--gold);
}

.news-detail-article .article-body {
  width: min(100%, 820px);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(7, 22, 44, .08);
}

.bottom-nav a {
  min-height: 66px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .12rem;
  color: #5c6678;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 800;
}

.bottom-nav a i {
  font-size: 1.15rem;
}

.bottom-nav-account-authenticated .citizen-avatar-mobile {
  width: 42px;
  height: 42px;
  font-size: .92rem;
  box-shadow: 0 7px 18px rgba(4, 21, 43, .18);
}

.bottom-nav-account-authenticated .citizen-avatar-mobile::after {
  right: 0;
  bottom: 1px;
  width: 9px;
  height: 9px;
}

.bottom-nav-account-authenticated.active .citizen-avatar-mobile {
  box-shadow: 0 0 0 3px rgba(0, 151, 218, .16), 0 7px 18px rgba(4, 21, 43, .18);
}

.bottom-nav a.active,
.bottom-nav a:focus,
.bottom-nav a:hover {
  color: var(--gov-blue);
}

.scroll-top-button {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 145;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 151, 218, .24);
  border-radius: 50%;
  color: #fff;
  background: var(--gov-blue);
  box-shadow: 0 14px 34px rgba(7, 22, 44, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.scroll-top-button.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:focus,
.scroll-top-button:hover {
  background: #007ab0;
}

.pwa-install-card {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 82px;
  z-index: 150;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .8rem;
  padding: .95rem;
  color: #fff;
  background: linear-gradient(135deg, #07162c, #0d284a);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(7, 22, 44, .32);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
}

.pwa-install-card[hidden] {
  display: none;
}

.pwa-install-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pwa-install-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #9fe6c7;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius);
}

.pwa-install-copy strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  line-height: 1.25;
}

.pwa-install-copy p {
  margin: .25rem 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: .84rem;
  line-height: 1.45;
}

.pwa-install-copy small {
  display: block;
  margin-top: .4rem;
  color: #9fe6c7;
  font-weight: 700;
}

.pwa-install-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: .5rem;
}

.pwa-install-actions .btn {
  flex: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .18rem;
  background: #fff;
}

.lang-switch a {
  min-width: 34px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #4d5a70;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
}

.lang-switch a.active,
.lang-switch a:focus,
.lang-switch a:hover {
  color: #fff;
  background: var(--deep-navy);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 151, 218, .18), transparent 28%),
    linear-gradient(300deg, rgba(0, 175, 102, .16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 44%),
    var(--deep-navy);
  color: rgba(255, 255, 255, .78);
  padding: 3rem 0 6.4rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-top {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius);
}

.footer-brand span {
  display: grid;
  line-height: 1.05;
}

.footer-brand strong {
  font-size: 1.16rem;
}

.footer-brand small {
  color: rgba(255, 255, 255, .66);
  font-weight: 650;
}

.footer-top p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-panel,
.footer-links,
.footer-status {
  min-width: 0;
}

.footer-panel-primary {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)),
    rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 22px 54px rgba(0, 0, 0, .18);
}

.footer-panel-primary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gov-blue), var(--victory-green), var(--victory-red));
}

.footer-kicker {
  display: inline-flex;
  color: #9fe6c7;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.footer-panel h2 {
  max-width: 520px;
  margin: 0 0 .7rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.16;
  font-weight: 850;
}

.footer-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.footer-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-top: 1rem;
}

.footer-proof-grid span {
  min-width: 0;
  padding: .7rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.footer-proof-grid strong,
.footer-proof-grid small {
  display: block;
}

.footer-proof-grid strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.1;
}

.footer-proof-grid small {
  margin-top: .2rem;
  color: rgba(255, 255, 255, .66);
  font-weight: 650;
  line-height: 1.3;
}

.footer-links,
.footer-status {
  display: grid;
  align-content: start;
  gap: .55rem;
}

.footer-links strong,
.footer-status strong {
  color: #fff;
  font-size: .9rem;
  margin-bottom: .2rem;
}

.footer-links a {
  display: inline-flex;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-weight: 650;
}

.footer-links a:focus,
.footer-links a:hover {
  color: #fff;
}

.footer-status-list {
  display: grid;
  gap: .5rem;
}

.footer-status-list span {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.45;
}

.footer-status-list i {
  color: #9fe6c7;
  margin-top: .12rem;
}

.footer-lang {
  display: inline-flex;
  width: max-content;
  gap: .25rem;
  margin-top: .35rem;
  padding: .2rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.footer-lang a {
  min-width: 34px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
}

.footer-lang a.active,
.footer-lang a:focus,
.footer-lang a:hover {
  color: var(--deep-navy);
  background: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: .86rem;
}

.site-footer a,
.site-footer strong {
  color: #fff;
}

.footer-bottom a {
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, .42);
  text-underline-offset: .18em;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .78; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes heroRailShift {
  from { transform: translateX(-1.5%) scale(1); }
  to { transform: translateX(1.8%) scale(1.02); }
}

@keyframes heroFineLines {
  to { transform: translateX(4%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 520px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy p {
    display: none;
  }

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

  .home-page .section-band {
    padding: 1.25rem 0;
  }

  .home-page .section-band .section-heading p {
    display: none;
  }

  .home-page .live-ticker {
    align-items: flex-start;
    box-shadow: none;
  }

  .filter-shell {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 130;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 44px rgba(7, 22, 44, .18);
    transform: translateY(110%);
    transition: transform .2s ease;
  }

  .filter-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--line);
  }

  .filter-sheet-header strong {
    color: var(--deep-navy);
    font-size: 1rem;
  }

  .filter-shell.open {
    display: block;
    transform: translateY(0);
  }

  .site-footer .footer-links {
    display: none;
  }

  .footer-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .site-header {
    display: none;
  }

  .news-card-with-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-card-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .news-card-content {
    padding: 1rem;
  }

  .news-detail-figure {
    border-radius: 16px;
  }
}

@media (min-width: 576px) {
  .mobile-filter-trigger {
    display: none;
  }

  .sport-grid,
  .athlete-grid,
  .federation-grid,
  .media-grid,
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .home-feed-stack {
    gap: 1.5rem;
  }

  .home-column-heading {
    min-height: 62px;
    margin-bottom: 1rem;
  }

  .home-column-heading h2 {
    font-size: 1.22rem;
  }

  .home-column-heading .home-section-all {
    padding-inline: .65rem;
  }

  .home-section-separator {
    gap: .6rem;
  }

  .home-section-separator > i {
    width: 42px;
    height: 42px;
  }

  .home-section-separator img {
    width: 27px;
    height: 27px;
  }

  .home-timeline-list .event-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: .75rem;
  }

  .home-timeline-list .event-date-badge {
    min-height: 88px;
    padding: .65rem .3rem .55rem;
  }

  .home-timeline-list .event-date-day {
    font-size: 1.38rem;
  }

  .home-timeline-list .event-date-month {
    font-size: .62rem;
    letter-spacing: .1em;
  }

  .home-timeline-list .event-date-year {
    font-size: .66rem;
  }

  .catalog-toolbar,
  .category-chips,
  .search-mini {
    width: 100%;
  }

  .category-chips {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .hero-content {
    grid-template-columns: minmax(0, .86fr) minmax(280px, .42fr);
    align-items: end;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    justify-self: end;
  }

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

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

  .filter-row {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .bottom-nav {
    display: none;
  }

  .scroll-top-button {
    right: 24px;
    bottom: 24px;
  }

  .pwa-install-card {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: min(420px, calc(100vw - 48px));
  }

  .site-footer {
    padding-bottom: 3rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: minmax(260px, 1.4fr) minmax(140px, .55fr) minmax(140px, .55fr) minmax(220px, .8fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-guide-compact + .citizen-account-shortcut-compact {
    margin-left: .1rem;
  }
}

@media (min-width: 1400px) {
  .citizen-account-shortcut-compact {
    display: none;
  }

  .citizen-account-item-desktop {
    display: list-item;
  }
}

@media (min-width: 1024px) {
  .sport-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 1200px) {
  .home-news-list .home-news-card {
    grid-template-columns: clamp(178px, 15vw, 210px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .home-news-list .home-news-media {
    min-height: 238px;
    aspect-ratio: auto;
  }
}
