:root {
  --green-900: #00510f;
  --green-800: #006318;
  --green-700: #08752a;
  --lime: #66bd00;
  --gold: #f5d43d;
  --blue: #1761af;
  --sky: #e7f5f1;
  --ink: #132018;
  --muted: #68756e;
  --line: #dce5df;
  --surface: #ffffff;
  --shadow: 0 12px 30px rgba(11, 54, 24, 0.15);
  --font-body: "Nunito Sans", Arial, Helvetica, sans-serif;
  --font-display: "Poppins", Arial, Helvetica, sans-serif;
}

.athlete-directory-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-top: 26px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.athlete-directory-filter label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.athlete-directory-filter span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.athlete-directory-filter input,
.athlete-directory-filter select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.athlete-directory-filter button,
.athlete-directory-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--green-900);
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.athlete-directory-filter a {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.athlete-directory-table {
  overflow: hidden;
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(13, 67, 30, 0.08);
}

.athlete-directory-head,
.athlete-directory-row {
  display: grid;
  grid-template-columns: 88px minmax(280px, 1.6fr) 82px minmax(180px, 1fr) 72px minmax(170px, 1fr);
  gap: 16px;
  align-items: center;
}

.athlete-directory-head {
  min-height: 50px;
  padding: 0 18px;
  color: var(--muted);
  background: #e8eceb;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.athlete-directory-row {
  min-height: 72px;
  padding: 12px 18px;
  color: #111;
  border-top: 1px solid #e6ece9;
  font-weight: 800;
}

.athlete-directory-row:nth-child(odd) {
  background: #fbfcfc;
}

.athlete-directory-row:hover {
  background: #f1f7f3;
}

.athlete-code strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.athlete-name-cell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.athlete-name-cell > div {
  min-width: 0;
}

.athlete-name-cell strong,
.athlete-directory-row [role="cell"] > strong {
  color: #111;
  font-weight: 900;
}

.athlete-name-cell small,
.athlete-directory-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.athlete-list-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #a6a9b2;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.athlete-list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .athlete-directory-filter {
    grid-template-columns: 1fr auto;
  }

  .athlete-directory-filter button,
  .athlete-directory-filter a {
    width: 100%;
  }

  .athlete-directory-head {
    display: none;
  }

  .athlete-directory-table {
    display: grid;
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .athlete-directory-row,
  .athlete-directory-row:nth-child(odd) {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    align-items: start;
    min-height: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5eee8;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(13, 67, 30, 0.07);
  }

  .athlete-name-cell {
    grid-column: 1 / -1;
    grid-template-columns: 56px minmax(0, 1fr);
    padding-bottom: 12px;
    border-bottom: 1px solid #edf3ef;
  }

  .athlete-directory-row [role="cell"]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .athlete-directory-row .athlete-name-cell::before {
    content: none;
    display: none;
  }

  .athlete-name-cell strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .athlete-name-cell small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 620px) {
  .athlete-directory-filter {
    grid-template-columns: 1fr;
  }

  .athlete-directory-row,
  .athlete-directory-row:nth-child(odd) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
  }

  .athlete-name-cell {
    order: 1;
    grid-column: 1 / -1;
  }

  .athlete-code {
    order: 2;
  }

  .athlete-directory-row [data-label="Idade"] {
    order: 3;
  }

  .athlete-directory-row [data-label="UF"] {
    order: 4;
  }

  .athlete-directory-row [data-label="Provas"] {
    order: 5;
    grid-column: 1 / -1;
  }

  .athlete-directory-row [data-label="Entidade"] {
    order: 6;
    grid-column: 1 / -1;
  }

  .athlete-list-avatar {
    width: 50px;
    height: 50px;
  }

  .athlete-directory-row [role="cell"] {
    min-width: 0;
    padding: 10px;
    background: #f8fbf9;
    border: 1px solid #edf3ef;
    border-radius: 8px;
  }

  .athlete-directory-row .athlete-name-cell {
    padding: 0 0 12px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #edf3ef;
    border-radius: 0;
  }

  .athlete-directory-row [role="cell"] > strong {
    overflow-wrap: anywhere;
  }

  .athlete-directory-row .athlete-name-cell strong {
    overflow-wrap: normal;
  }
}

.stats-page {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.86) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.stats-panel {
  padding-bottom: 58px;
}

.stats-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(13, 67, 30, 0.08);
}

.stats-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.stats-table th,
.stats-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e9f0ec;
}

.stats-table th {
  color: #fff;
  background: var(--green-800);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-table td {
  color: #26342b;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.stats-table td strong {
  color: var(--green-900);
  font-weight: 900;
}

.stats-table small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.stats-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 36px;
  padding: 0 10px;
  color: var(--green-900);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
}

.record-table {
  min-width: 860px;
}

.record-mark {
  min-width: 70px;
  color: var(--green-900);
  font-family: var(--font-display);
}

.stats-card-grid,
.athlete-grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

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

.record-card,
.athlete-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(13, 67, 30, 0.08);
}

.record-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #fff;
  background: var(--green-800);
  border-bottom: 5px solid var(--gold);
}

.record-card-top span {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.record-card-top strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.record-card-body,
.athlete-card-body {
  padding: 20px;
}

.record-card h3,
.athlete-card h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.12;
}

.stats-meta {
  display: grid;
  gap: 11px;
  margin: 0;
}

.stats-meta div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf3ef;
}

.stats-meta div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stats-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-meta dd {
  margin: 0;
  color: #111;
  font-size: 0.95rem;
  font-weight: 900;
}

.record-notes,
.athlete-achievements {
  margin-top: 16px;
  color: #26342b;
  font-weight: 700;
  line-height: 1.68;
}

.athletics-tabs {
  display: flex;
  gap: 10px;
  max-width: 1128px;
  margin: 0 auto;
  padding: 18px 24px 0;
  overflow-x: auto;
}

.athletics-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid rgba(0, 99, 24, 0.16);
  border-radius: 999px;
  font-weight: 900;
}

.athletics-tabs span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--green-900);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.athletics-tabs a:hover,
.athletics-tabs a.active {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

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

.athletics-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe9e3;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(13, 67, 30, 0.08);
}

.athletics-card > img,
.athletics-card-mark {
  width: 100%;
  height: 180px;
}

.athletics-card > img {
  object-fit: cover;
}

.athletics-card-mark {
  display: grid;
  place-items: center;
  color: var(--green-900);
  background:
    linear-gradient(90deg, var(--green-800) 0 14%, transparent 14% 86%, #16775a 86%),
    #eef9f4;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
}

.athletics-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.athletics-card-body > span {
  width: fit-content;
  padding: 5px 9px;
  color: var(--green-900);
  background: var(--gold);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.athletics-card h3 {
  margin: 0;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.12;
}

.athletics-card p,
.athletics-card .dynamic-content {
  margin: 0;
  color: #30453a;
  font-weight: 700;
}

.athletics-card .dynamic-content {
  line-height: 1.64;
}

.athletics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.athletics-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.athletics-actions a:hover {
  color: var(--green-900);
  background: var(--gold);
}

.street-services-tabs {
  padding-bottom: 2px;
}

.street-service-card > img {
  padding: 24px;
  object-fit: contain;
  background: #fff;
}

.street-service-meta {
  display: grid;
  gap: 9px;
  margin: 2px 0 0;
}

.street-service-meta div {
  display: grid;
  gap: 2px;
  padding-top: 9px;
  border-top: 1px solid #e5eee8;
}

.street-service-meta dt {
  color: #63756c;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.street-service-meta dd {
  min-width: 0;
  margin: 0;
  color: #11251a;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.street-service-meta a {
  color: var(--green-800);
}

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

.athlete-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.athlete-photo {
  min-height: 100%;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(0, 99, 24, 0.94), rgba(23, 97, 175, 0.72)),
    #006318;
}

.athlete-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  border: 6px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.athlete-card .article-kicker {
  margin-bottom: 10px;
}

.athlete-summary {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.62;
}

@media (max-width: 980px) {
  .stats-card-grid,
  .athlete-grid,
  .athletics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .stats-table-wrap {
    margin-right: -18px;
    margin-left: -18px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

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

  .athletics-tabs {
    padding-right: 18px;
    padding-left: 18px;
  }

  .athletics-card > img,
  .athletics-card-mark {
    height: 170px;
  }

  .athlete-photo {
    min-height: auto;
  }

  .athlete-photo img {
    max-width: 180px;
  }

  .record-card-body,
  .athlete-card-body {
    padding: 18px;
  }
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: calc(var(--site-header-height, 165px) - var(--site-flow-gap, 0px)) 0 0;
  color: var(--ink);
  background: #f7faf8;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.48;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
.brand-name,
.permit-btn,
.login-btn,
.primary-action,
.secondary-action,
.post-meta,
.organizer-form button {
  font-family: var(--font-display);
}

section[id] {
  scroll-margin-top: calc(var(--site-header-height, 165px) + 8px);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  margin: 0;
  color: #fff;
  background: var(--green-900);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.gold-strip {
  height: 14px;
  margin: 0;
  background: var(--gold);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1130px;
  min-height: 98px;
  margin: 0 auto;
  padding: 8px 22px 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 280px;
}

.brand-logo {
  width: 72px;
  height: 86px;
  object-fit: contain;
}

.brand-horizontal {
  min-width: 300px;
}

.brand-horizontal .brand-logo {
  width: min(320px, 28vw);
  height: 86px;
  object-fit: contain;
}

.brand-divider,
.footer-brand span {
  width: 3px;
  height: 56px;
  background: #fff;
  border-radius: 999px;
}

.brand-name {
  font-size: clamp(1rem, 1.45vw, 1.42rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.brand-name strong,
.brand-name span {
  display: block;
  font-weight: 500;
}

.header-actions {
  display: grid;
  gap: 16px;
  justify-items: end;
  flex: 1;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
}

.quick-links a:hover,
.main-menu > a:hover,
.main-menu-link:hover,
.main-menu-item:hover .main-menu-link {
  color: var(--gold);
}

.search-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

.site-search {
  display: flex;
  align-items: center;
  flex: 0 0 280px;
  width: 280px;
  height: 35px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  overflow: hidden;
}

.site-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 12px;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.site-search button {
  flex: 0 0 40px;
  width: 40px;
  height: 100%;
  color: var(--green-900);
  background: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.12rem;
  font-weight: 900;
  white-space: nowrap;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.permit-btn,
.login-btn,
.primary-action,
.secondary-action,
.news-more-btn,
.organizer-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.permit-btn {
  position: relative;
  gap: 6px;
  min-height: 35px;
  padding: 7px 15px;
  color: var(--blue);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 14px rgba(0, 35, 12, 0.13);
  font-size: 0.66rem;
  line-height: 1;
  white-space: nowrap;
}

.permit-btn::before {
  content: "";
  width: 13px;
  height: 15px;
  flex: 0 0 13px;
  border: 1.7px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(135deg, transparent 0 58%, currentColor 59% 70%, transparent 71%) top right / 8px 8px no-repeat,
    linear-gradient(currentColor 0 0) 3px 6px / 6px 1.5px no-repeat,
    linear-gradient(currentColor 0 0) 3px 10px / 7px 1.5px no-repeat;
  opacity: 0.94;
}

.permit-btn:hover {
  color: #004f99;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(0, 35, 12, 0.17);
}

.permit-btn:focus-visible,
.login-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.login-btn {
  min-width: 112px;
  min-height: 34px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.login-btn img {
  width: auto;
  height: 35px;
  display: block;
}

.login-btn:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 14px rgba(0, 35, 12, 0.16));
}

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 49px;
  border-top: 4px solid #fff;
  background: var(--green-800);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.main-menu > a,
.main-menu-link {
  display: flex;
  align-items: center;
  min-height: 49px;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.main-menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.main-menu-parent {
  display: flex;
  align-items: stretch;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.main-menu-parent .main-menu-link {
  padding-right: 7px;
  border-right: 0;
}

.main-menu-link {
  color: inherit;
}

.dropdown-toggle-btn {
  display: inline-flex;
  width: 22px;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dropdown-toggle-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.has-dropdown:hover .dropdown-toggle-btn,
.has-dropdown:focus-within .dropdown-toggle-btn,
.main-menu-item.dropdown-open .dropdown-toggle-btn {
  color: var(--gold);
}

.has-dropdown:hover .dropdown-toggle-btn::after,
.has-dropdown:focus-within .dropdown-toggle-btn::after,
.main-menu-item.dropdown-open .dropdown-toggle-btn::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.main-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  width: min(310px, calc(100vw - 32px));
  padding: 8px 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 70, 24, 0.1);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 34px rgba(0, 36, 10, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.main-dropdown::before {
  display: none;
}

.has-dropdown:hover .main-dropdown,
.has-dropdown:focus-within .main-dropdown,
.main-menu-item.dropdown-open .main-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-heading {
  display: grid;
  gap: 2px;
  padding: 10px 15px 8px;
  margin-bottom: 4px;
}

.dropdown-heading span {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dropdown-heading strong {
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
}

.institutional-dropdown {
  width: min(320px, calc(100vw - 32px));
}

.institutional-menu-list {
  display: grid;
  gap: 0;
}

.institutional-menu-list a {
  display: grid;
  gap: 3px;
  padding: 12px 15px;
  color: var(--green-900);
  background: #fff;
  border-top: 1px solid #edf2ee;
  border-radius: 0;
}

.institutional-menu-list a:hover,
.institutional-menu-list a[aria-current="page"] {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.institutional-menu-list span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
}

.institutional-menu-list small {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.82;
}

.director-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.director-menu-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  background: #f7faf8;
  border: 1px solid #dfe9e2;
  border-radius: 8px;
}

.director-menu-card img,
.director-menu-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.director-menu-card img {
  object-fit: cover;
}

.director-menu-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
}

.director-menu-card strong,
.director-menu-card span,
.director-menu-card a {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.director-menu-card strong {
  color: var(--green-900);
  font-size: 0.84rem;
  line-height: 1.1;
}

.director-menu-card span {
  margin-top: 3px;
  color: #3d5548;
  font-size: 0.74rem;
  font-weight: 800;
}

.director-menu-card a {
  margin-top: 2px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
}

.director-menu-card a:hover,
.dropdown-history-link:hover {
  color: var(--green-900);
}

.director-menu-empty {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  background: #f7faf8;
  border: 1px dashed #dce5df;
  border-radius: 8px;
  font-weight: 800;
}

.dropdown-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 14px;
  padding: 8px 14px;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(238, 249, 244, 0.98) 0%, rgba(228, 244, 238, 0.96) 58%, rgba(218, 238, 230, 0.94) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 505px);
  align-items: center;
  gap: clamp(26px, 4.5vw, 62px);
  max-width: 1128px;
  min-height: 310px;
  margin: 0 auto;
  padding: 18px 24px 46px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: var(--green-700);
}

.hero-copy,
.hero-photo {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 570px;
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.hero p {
  max-width: 590px;
  margin: 0;
  color: #1d6e9f;
  font-size: 0.88rem;
  font-weight: 700;
}

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

.primary-action {
  color: #fff;
  background: var(--green-800);
}

.secondary-action {
  color: var(--green-900);
  background: #fff;
  border: 1px solid rgba(0, 81, 15, 0.22);
}

.hero-photo {
  margin: 0;
}

.hero-photo a {
  display: block;
}

.hero-photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.hero-slider-section {
  min-height: clamp(330px, 34vw, 455px);
  padding: 0;
  background: #e8f6ef;
}

.hero-slider-track {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: 48px 24px 66px;
  background-position: center;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 81, 15, 0.78), rgba(0, 81, 15, 0.42) 44%, rgba(0, 0, 0, 0.26)),
    radial-gradient(circle at 50% 44%, rgba(255, 216, 45, 0.14), transparent 34%);
  pointer-events: none;
}

.hero-slide-full-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: min(760px, 92vw);
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.hero-slide-content .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 7px 13px;
  color: var(--green-900);
  background: var(--gold);
  border-radius: 7px;
  letter-spacing: 0;
  text-shadow: none;
}

.hero-slide-content h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(2.05rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-slide-content p:not(.eyebrow) {
  max-width: 690px;
  margin: 18px auto 0;
  color: #fff;
  font-size: clamp(0.96rem, 1.5vw, 1.22rem);
  font-weight: 800;
}

.hero-slide-action {
  position: relative;
  z-index: 3;
  display: inline-flex;
  margin-top: 24px;
  text-shadow: none;
  pointer-events: auto;
}

.hero-slider-dots {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-slider-dots button.active {
  width: 34px;
  background: var(--gold);
  border-color: var(--gold);
}

.home-photo-marquee {
  position: relative;
  overflow: hidden;
  margin: 38px -24px -50px;
  padding: 18px 0 20px;
  background: #f7faf8;
  border-top: 4px solid #08aeea;
}

.home-photo-marquee::before,
.home-photo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(9vw, 120px);
  pointer-events: none;
}

.home-photo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f7faf8 0%, rgba(247, 250, 248, 0) 100%);
}

.home-photo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f7faf8 0%, rgba(247, 250, 248, 0) 100%);
}

.photo-marquee-row {
  overflow: hidden;
  width: 100%;
}

.photo-marquee-row + .photo-marquee-row {
  margin-top: 14px;
}

.photo-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.photo-marquee-row-1 .photo-marquee-track {
  animation: photoMarqueeLeft 42s linear infinite;
}

.photo-marquee-row-2 .photo-marquee-track {
  animation: photoMarqueeRight 46s linear infinite;
}

.home-photo-marquee:hover .photo-marquee-track {
  animation-play-state: paused;
}

.photo-marquee-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(270px, 31vw, 520px);
  height: clamp(170px, 19vw, 285px);
  overflow: hidden;
  color: #fff;
  background: var(--green-800);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 59, 18, 0.12);
}

.photo-marquee-row-2 .photo-marquee-card {
  flex-basis: clamp(240px, 27vw, 455px);
}

.photo-marquee-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.photo-marquee-card:hover img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.055);
}

@keyframes photoMarqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@keyframes photoMarqueeRight {
  from {
    transform: translateX(calc(-50% - 7px));
  }
  to {
    transform: translateX(0);
  }
}

.single-news {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.8) 0, rgba(247, 250, 248, 0) 320px),
    #f7faf8;
}

.news-article {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px 54px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green-800);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb a + a::before {
  content: "/";
  margin-right: 9px;
  color: #aab8b0;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 9px;
  color: #aab8b0;
}

.article-header {
  max-width: 880px;
  margin-bottom: 24px;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-kicker span {
  padding: 5px 9px;
  color: #fff;
  background: var(--green-700);
  border-radius: 5px;
}

.article-header h1 {
  max-width: 850px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  line-height: 1.04;
}

.article-header p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #315846;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 700;
}

.article-cover {
  margin: 0 0 28px;
}

.article-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-cover figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 34px;
  align-items: start;
}

.share-panel {
  position: sticky;
  top: 170px;
  padding: 18px;
  background: #fff;
  border: 1px solid #edf2ee;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.08);
}

.share-panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.share-actions {
  display: grid;
  gap: 8px;
}

.share-actions a,
.share-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 8px 11px;
  color: var(--green-900);
  background: #f7faf8;
  border: 1px solid #dfe9e2;
  border-radius: 6px;
  font: 700 0.78rem var(--font-body);
  cursor: pointer;
}

.share-actions a::after,
.share-actions button::after {
  content: "↗";
  color: var(--green-700);
  font-size: 0.82rem;
}

.share-actions button[data-copy-link]::after {
  content: "⧉";
}

.share-actions a:hover,
.share-actions button:hover {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.share-actions a:hover::after,
.share-actions button:hover::after {
  color: #fff;
}

.share-feedback {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
}

.article-body {
  color: #26342b;
  font-size: 1.03rem;
  line-height: 1.72;
}

.article-body p {
  margin: 0 0 20px;
}

.article-service {
  margin: 30px 0;
  padding: 22px;
  background: #fff;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.08);
}

.article-service h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: 1.1rem;
}

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

.article-service div {
  display: grid;
  gap: 3px;
}

.article-service dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-service dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.event-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.event-link-buttons .primary-action,
.event-link-buttons .secondary-action {
  min-width: 170px;
  justify-content: center;
  text-align: center;
}

.permit-status-text {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: var(--green-900);
  background: #f3f8f5;
  border: 1px solid #dbece1;
  border-radius: 8px;
  font-weight: 800;
}

.article-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.calendar-page {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.86) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.calendar-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 81, 15, 0.96), rgba(7, 104, 39, 0.9)),
    radial-gradient(circle at 80% 12%, rgba(245, 212, 61, 0.27), transparent 33%);
}

.calendar-hero-inner,
.calendar-main {
  max-width: 1128px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.calendar-hero-inner {
  padding-top: 30px;
  padding-bottom: 44px;
}

.calendar-breadcrumb {
  color: rgba(255, 255, 255, 0.74);
}

.calendar-breadcrumb a {
  color: #fff;
}

.calendar-breadcrumb span::before,
.calendar-breadcrumb a + a::before {
  color: rgba(255, 255, 255, 0.5);
}

.calendar-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 30px;
  align-items: end;
}

.calendar-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.calendar-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.calendar-hero .article-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.calendar-hero .article-kicker span {
  color: var(--green-900);
  background: var(--gold);
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.calendar-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.calendar-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.calendar-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.calendar-summary strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.calendar-summary span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.calendar-main {
  padding-top: 42px;
  padding-bottom: 58px;
}

.calendar-page-heading {
  margin-bottom: 18px;
}

.calendar-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.calendar-filter-group,
.calendar-month-select {
  display: grid;
  gap: 8px;
}

.calendar-filter-group > span,
.calendar-month-select span {
  color: var(--green-900);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.calendar-filter-tabs button {
  min-height: 34px;
  padding: 7px 13px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid #dbe7df;
  border-radius: 999px;
  font: 800 0.78rem var(--font-body);
  cursor: pointer;
}

.calendar-filter-tabs button.active,
.calendar-filter-tabs button:hover {
  color: var(--green-900);
  background: var(--gold);
  border-color: var(--gold);
}

.calendar-month-select select {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid #dbe7df;
  border-radius: 7px;
  font: 800 0.82rem var(--font-body);
}

.calendar-event-list {
  display: grid;
  gap: 12px;
}

.calendar-event-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.07);
}

.calendar-event-card time {
  display: grid;
  place-items: center;
  min-height: 78px;
  color: var(--green-900);
  background: #f7faf8;
  border: 1px solid #e4eee7;
  border-radius: 8px;
  text-transform: uppercase;
}

.calendar-event-card time strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
}

.calendar-event-card time span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.calendar-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
}

.calendar-event-meta span,
.calendar-event-meta small {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-event-meta span {
  color: #fff;
  background: var(--green-700);
}

.calendar-event-meta small {
  color: var(--green-900);
  background: #e9f6ee;
}

.calendar-event-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.26rem);
  line-height: 1.15;
}

.calendar-event-card p {
  margin: 6px 0 0;
  color: #3d5548;
  font-size: 0.9rem;
  font-weight: 700;
}

.calendar-event-card > a {
  min-width: 92px;
  padding: 9px 12px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid #dbe7df;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.calendar-event-card > a:hover {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.calendar-empty-state {
  padding: 20px;
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 8px;
}

.races-page,
.single-race {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.86) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.races-hero,
.race-detail-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 82, 24, 0.96), rgba(0, 99, 38, 0.88)),
    radial-gradient(circle at 78% 14%, rgba(245, 212, 61, 0.26), transparent 31%);
}

.races-hero-inner,
.races-panel,
.race-detail-inner,
.race-detail-content {
  max-width: 1128px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.races-hero-inner,
.race-detail-inner {
  padding-top: 30px;
  padding-bottom: 42px;
}

.races-breadcrumb {
  color: rgba(255, 255, 255, 0.74);
}

.races-breadcrumb a {
  color: #fff;
}

.races-breadcrumb span::before {
  color: rgba(255, 255, 255, 0.5);
}

.races-breadcrumb a + a::before {
  color: rgba(255, 255, 255, 0.5);
}

.races-hero-grid,
.race-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 380px);
  gap: 32px;
  align-items: end;
}

.races-hero h1,
.race-detail h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
}

.races-hero p,
.race-detail-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.races-actions,
.race-detail-actions,
.race-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.races-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.races-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.races-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.races-summary strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.races-summary span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: right;
}

.races-panel {
  padding-top: 42px;
  padding-bottom: 58px;
}

.races-heading {
  margin-bottom: 18px;
}

.race-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.race-toolbar button {
  min-height: 34px;
  padding: 7px 13px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid #dbe7df;
  border-radius: 999px;
  font: 800 0.78rem var(--font-body);
  cursor: pointer;
}

.race-toolbar button.active,
.race-toolbar button:hover {
  color: var(--green-900);
  background: var(--gold);
  border-color: var(--gold);
}

.race-list {
  display: grid;
  gap: 18px;
}

.race-card {
  display: grid;
  grid-template-columns: 295px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.08);
}

.race-card-media {
  position: relative;
  min-height: 100%;
  background: #e8f2ed;
}

.race-card-media img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center top;
}

.race-card-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: #fff;
  background: var(--green-800);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.race-card-body {
  padding: 22px;
}

.race-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.race-card-meta span {
  color: var(--green-800);
}

.race-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  line-height: 1.08;
}

.race-card h3 a {
  color: inherit;
}

.race-card h3 a:hover {
  color: var(--blue);
}

.race-card p {
  margin: 8px 0 16px;
  color: #3d5548;
  font-weight: 700;
}

.race-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.race-card dl div {
  padding: 10px;
  background: #f7faf8;
  border: 1px solid #e6eee9;
  border-radius: 7px;
}

.race-card dt,
.race-info-card span {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
}

.race-card dd {
  margin: 3px 0 0;
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 900;
}

.race-card-actions .primary-action,
.race-card-actions .secondary-action,
.race-detail-actions .primary-action,
.race-detail-actions .secondary-action {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 0.78rem;
}

.race-detail-cover {
  margin: 0;
}

.race-detail-cover img {
  width: 100%;
  aspect-ratio: 1.64;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 28, 8, 0.22);
}

.race-detail-content {
  padding-top: 30px;
  padding-bottom: 58px;
}

.race-info-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.race-info-card div {
  padding: 16px;
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.07);
}

.race-info-card strong {
  display: block;
  margin-top: 5px;
  color: var(--green-900);
  font-size: 0.98rem;
  line-height: 1.2;
}

.race-detail-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.race-sections {
  display: grid;
  gap: 18px;
}

.race-section {
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.07);
}

.race-section h2 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 1.22rem;
}

.race-section p {
  margin: 0 0 14px;
  color: #334239;
  font-size: 1rem;
  line-height: 1.68;
}

.race-section p:last-child {
  margin-bottom: 0;
}

.race-doc-grid,
.race-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.race-doc-grid a,
.race-feature-grid div {
  padding: 14px;
  color: var(--green-900);
  background: #f7faf8;
  border: 1px solid #e3ece6;
  border-radius: 7px;
  font-weight: 900;
}

.race-doc-grid a:hover {
  color: #fff;
  background: var(--green-800);
}

.race-schedule {
  display: grid;
  gap: 9px;
}

.race-schedule div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f7faf8;
  border: 1px solid #e3ece6;
  border-radius: 7px;
}

.race-schedule time {
  color: var(--blue);
  font-weight: 900;
}

.race-schedule span,
.race-feature-grid span {
  color: #3d5548;
  font-weight: 700;
}

.race-feature-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-900);
}

.transparency-page {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.86) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.transparency-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 81, 15, 0.96), rgba(0, 99, 24, 0.9)),
    radial-gradient(circle at 80% 10%, rgba(245, 212, 61, 0.28), transparent 30%);
}

.transparency-hero-inner,
.transparency-panel,
.transparency-nav,
.transparency-contact {
  max-width: 1128px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.transparency-hero-inner {
  padding-top: 30px;
  padding-bottom: 42px;
}

.transparency-breadcrumb {
  color: rgba(255, 255, 255, 0.74);
}

.transparency-breadcrumb a {
  color: #fff;
}

.transparency-breadcrumb span::before {
  color: rgba(255, 255, 255, 0.5);
}

.transparency-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 30px;
  align-items: end;
}

.transparency-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 3.7vw, 3.1rem);
  line-height: 1.03;
}

.transparency-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 700;
}

.transparency-hero .article-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.transparency-hero .article-kicker span {
  color: var(--green-900);
  background: var(--gold);
}

.transparency-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.transparency-summary div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.transparency-summary strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.transparency-summary span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.transparency-nav {
  position: sticky;
  top: var(--site-header-height, 148px);
  z-index: 12;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(247, 250, 248, 0.96);
  border-bottom: 1px solid var(--line);
}

.transparency-nav a {
  flex: 0 0 auto;
  padding: 7px 12px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid rgba(0, 99, 24, 0.14);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.transparency-nav a:hover {
  color: #fff;
  background: var(--green-800);
}

.transparency-panel {
  padding-top: 28px;
  padding-bottom: 8px;
}

.transparency-principles,
.document-grid,
.transparency-columns {
  display: grid;
  gap: 16px;
}

.transparency-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.transparency-principles article,
.document-card {
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 67, 30, 0.07);
}

.transparency-principles article {
  padding: 18px;
}

.transparency-principles strong,
.document-card h3 {
  color: var(--green-900);
  font-family: var(--font-display);
}

.transparency-principles p,
.document-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.document-grid {
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  align-items: stretch;
}

.document-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 245px;
  overflow: hidden;
  padding: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.document-card:hover {
  border-color: rgba(0, 99, 24, 0.26);
  box-shadow: 0 18px 34px rgba(13, 67, 30, 0.12);
  transform: translateY(-2px);
}

.document-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(0, 81, 15, 0.97), rgba(8, 117, 42, 0.9)),
    radial-gradient(circle at 88% 8%, rgba(245, 212, 61, 0.3), transparent 32%);
}

.document-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--green-900);
  background: var(--gold);
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 900;
}

.document-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 0;
}

.document-meta strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1;
}

.document-meta small {
  max-width: 180px;
  padding: 4px 8px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.document-card-body {
  padding: 18px 18px 10px;
}

.document-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.18;
}

.document-card a,
.transparency-row a,
.transparency-list a {
  color: var(--blue);
  font-weight: 900;
}

.document-card-footer {
  display: flex;
  align-items: center;
  padding: 0 18px 18px;
}

.document-card-footer a,
.document-card-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.document-card-footer a {
  color: #fff;
  background: var(--green-800);
}

.document-card-footer a:hover {
  background: var(--green-900);
}

.document-card-footer span {
  color: #63756b;
  background: #edf3ef;
}

.transparency-table {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 67, 30, 0.07);
}

.transparency-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 110px 140px 100px;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 12px 16px;
  border-top: 1px solid #edf2ee;
  font-size: 0.86rem;
  font-weight: 800;
}

.transparency-row-head {
  color: #fff;
  background: var(--green-800);
  border-top: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.status-badge {
  width: fit-content;
  padding: 4px 8px;
  color: var(--green-900);
  background: #e9f6ee;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.status-badge.updated {
  color: #7b5a00;
  background: #fff5cc;
}

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

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

.transparency-list li {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
}

.transparency-list span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.transparency-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 48px;
  padding-top: 22px;
  padding-bottom: 22px;
  color: #fff;
  background: var(--green-800);
}

.transparency-contact h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.transparency-contact p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.transparency-contact .primary-action {
  flex: 0 0 auto;
  color: var(--green-900);
  background: var(--gold);
}

.history-page {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.86) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.history-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 81, 15, 0.96), rgba(6, 106, 44, 0.9)),
    radial-gradient(circle at 84% 12%, rgba(245, 212, 61, 0.25), transparent 34%);
}

.history-hero-inner,
.history-panel {
  max-width: 1128px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.history-hero-inner {
  padding-top: 30px;
  padding-bottom: 46px;
}

.history-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 350px);
  gap: 30px;
  align-items: end;
}

.history-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.history-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 700;
}

.history-hero .article-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.history-hero .article-kicker span {
  color: var(--green-900);
  background: var(--gold);
}

.history-fact-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 35, 12, 0.14);
}

.history-fact-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-fact-card strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.history-fact-card p {
  margin-top: 10px;
  font-size: 0.88rem;
}

.history-panel {
  padding-top: 30px;
  padding-bottom: 10px;
}

.history-content,
.history-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: 28px;
  align-items: start;
}

.history-story,
.history-closing > div {
  padding: 24px;
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 67, 30, 0.07);
}

.history-story p,
.history-feature p,
.history-closing p {
  margin: 0 0 16px;
  color: #26342b;
  font-size: 0.98rem;
  line-height: 1.72;
}

.history-story p:last-child,
.history-feature p:last-child,
.history-closing p:last-child {
  margin-bottom: 0;
}

.history-side-note {
  padding: 22px;
  color: #fff;
  background: var(--green-800);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.12);
}

.history-side-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.history-side-note p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.history-timeline article,
.president-card,
.history-feature-card {
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 67, 30, 0.07);
}

.history-timeline article {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.history-timeline article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-700));
}

.history-timeline time {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.history-timeline h3 {
  margin: 10px 0 6px;
  color: var(--green-900);
  font-size: 0.98rem;
}

.history-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.history-feature {
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(0, 81, 15, 0.96), rgba(23, 97, 175, 0.78)),
    radial-gradient(circle at 90% 10%, rgba(245, 212, 61, 0.28), transparent 30%);
  border-radius: 8px;
}

.history-feature h2 {
  max-width: 700px;
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
}

.history-feature p {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.history-feature .article-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.history-feature .article-kicker span {
  color: var(--green-900);
  background: var(--gold);
}

.history-feature-card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.history-feature-card strong {
  flex: 1 0 100%;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--font-display);
}

.history-feature-card span {
  padding: 6px 9px;
  color: var(--green-900);
  background: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-lead {
  margin: -2px 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.presidents-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.president-card {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
}

.president-card span {
  width: fit-content;
  padding: 4px 8px;
  color: #fff;
  background: var(--green-700);
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.president-card h3 {
  margin: 0;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.president-card time {
  color: var(--blue);
  font-weight: 900;
}

.president-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.featured-president {
  grid-row: span 2;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(0, 81, 15, 0.96), rgba(0, 99, 24, 0.9)),
    radial-gradient(circle at 85% 15%, rgba(245, 212, 61, 0.28), transparent 34%);
}

.featured-president span {
  color: var(--green-900);
  background: var(--gold);
}

.featured-president h3,
.featured-president time {
  color: #fff;
}

.featured-president p {
  color: rgba(255, 255, 255, 0.82);
}

.history-closing {
  padding-bottom: 48px;
}

.history-closing h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.directors-panel {
  padding-bottom: 58px;
}

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

.director-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(13, 67, 30, 0.08);
}

.director-card-media {
  display: grid;
  place-items: center;
  min-height: 230px;
  background:
    linear-gradient(150deg, rgba(0, 81, 15, 0.96), rgba(8, 117, 42, 0.88)),
    radial-gradient(circle at 85% 12%, rgba(245, 212, 61, 0.28), transparent 34%);
}

.director-card-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.director-card-media span {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  color: var(--green-900);
  background: var(--gold);
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
}

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

.director-position {
  width: fit-content;
  margin: 0;
  padding: 4px 8px;
  color: #fff;
  background: var(--green-700);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.director-card h3 {
  margin: 0;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.12;
}

.director-bio {
  color: #425548;
  font-size: 0.92rem;
}

.director-bio p {
  margin: 0 0 10px;
}

.director-bio p:last-child {
  margin-bottom: 0;
}

.director-contact {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.director-contact a {
  display: inline-flex;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--green-900);
  background: #f7faf8;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.director-contact a:hover {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}

.events-section,
.news-featured,
.latest-news,
.logos-section,
.service-area {
  max-width: 1128px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.events-section {
  padding-top: 26px;
  padding-bottom: 18px;
  background: #f7faf8;
}

.section-heading,
.plain-heading,
.line-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-heading h2,
.plain-heading h2,
.line-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.stripe-heading {
  position: relative;
  width: 100%;
  min-height: 54px;
  margin-bottom: 20px;
  padding: 0;
  gap: 14px;
  background: none;
}

.stripe-heading::before {
  content: "";
  width: 92px;
  height: 40px;
  flex: 0 0 92px;
  background:
    repeating-linear-gradient(
      -28deg,
      #c79700 0 12px,
      #c79700 12px 22px,
      transparent 22px 34px
    );
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.stripe-heading::after {
  content: "";
  flex: 1 1 auto;
  min-width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 99, 24, 0.95), rgba(0, 99, 24, 0.05));
}

.stripe-heading h2 {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 5px 16px;
  color: #1b68b0;
  background: #fff;
  border: 1px solid rgba(27, 104, 176, 0.08);
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(20, 63, 34, 0.08);
  font-size: clamp(1.28rem, 2vw, 1.78rem);
  font-weight: 700;
  white-space: nowrap;
}

.stripe-heading a {
  align-self: center;
  margin-left: 2px;
  padding: 6px 12px;
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 99, 24, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.stripe-heading a:hover {
  color: #fff;
  background: var(--green-800);
}

.stripe-heading.compact {
  margin-top: 24px;
  margin-bottom: 20px;
}

.event-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 3px 0 22px;
  scroll-snap-type: x mandatory;
}

.event-rail.races-list-grid {
  grid-auto-flow: row;
  grid-auto-columns: initial;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.event-card,
.featured-post,
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 48, 27, 0.08);
}

.event-card {
  min-width: 235px;
  scroll-snap-align: start;
}

.races-list-grid .event-card {
  min-width: 0;
  scroll-snap-align: none;
}

.event-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.event-card img {
  width: 100%;
  height: 152px;
  object-fit: cover;
}

.races-list-grid .event-card img {
  height: 260px;
}

.event-content {
  padding: 10px 13px 14px;
}

.public-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
}

.public-pagination-link,
.public-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-pagination-link {
  color: #fff;
  background: var(--green-800);
  border: 1px solid var(--green-800);
}

.public-pagination-link:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  transform: translateY(-1px);
}

.public-pagination-link.is-disabled {
  color: #87958d;
  background: #edf3ef;
  border-color: #dce5df;
  cursor: not-allowed;
}

.public-pagination-current {
  min-width: 150px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid rgba(0, 99, 24, 0.18);
}

.event-content time,
.calendar-item span,
.post-meta {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-content h3,
.featured-post h3,
.news-card h3,
.calendar-item h3 {
  margin: 6px 0;
  color: #1d241f;
  line-height: 1.15;
  letter-spacing: 0;
}

.event-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.event-content h3 {
  font-size: 1rem;
}

.news-featured {
  padding-top: 14px;
  padding-bottom: 34px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 26px;
  border-top: 4px solid var(--green-700);
}

.featured-post {
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.featured-post img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.featured-post h3 {
  font-size: 0.93rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-post p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.post-meta span {
  padding: 3px 7px;
  color: #fff;
  background: #39a935;
  border-radius: 3px;
}

.institutional {
  display: grid;
  place-items: center;
  padding: 28px 24px 42px;
  background: #f1f3f4;
}

.institutional img {
  width: min(620px, 86vw);
}

.calendar-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 590px) minmax(280px, 390px);
  justify-content: center;
  align-items: center;
  gap: 42px;
  min-height: 560px;
  padding: 42px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.06), transparent 23%),
    radial-gradient(circle at 74% 66%, rgba(255, 255, 255, 0.05), transparent 27%),
    linear-gradient(120deg, #00613b 0%, #005937 43%, #004b2f 100%);
}

.calendar-band::before,
.calendar-band::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
}

.calendar-band::before {
  opacity: 0.52;
  background:
    linear-gradient(19deg, transparent 0 10%, rgba(255, 255, 255, 0.55) 10.15% 10.7%, transparent 10.9% 33%, rgba(255, 255, 255, 0.42) 33.15% 33.62%, transparent 33.82% 58%, rgba(255, 255, 255, 0.48) 58.12% 58.65%, transparent 58.85% 100%),
    linear-gradient(162deg, transparent 0 18%, rgba(255, 255, 255, 0.34) 18.18% 18.68%, transparent 18.9% 52%, rgba(255, 255, 255, 0.38) 52.14% 52.62%, transparent 52.82% 100%);
  filter: blur(0.3px);
}

.calendar-band::after {
  opacity: 0.18;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(255, 255, 255, 0.18) 23px 24px, transparent 25px 46px),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, 0.1) 31px 32px, transparent 33px 64px);
  mix-blend-mode: screen;
}

.calendar-panel,
.athlete-links {
  position: relative;
  z-index: 1;
}

.calendar-panel h2 {
  margin: 0 0 16px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 8px;
  color: #101914;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-tabs button {
  min-height: 34px;
  padding: 6px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.filter-tabs button.active {
  color: var(--green-900);
  background: var(--gold);
  border-color: var(--gold);
}

.calendar-list {
  display: grid;
  gap: 12px;
  max-height: 370px;
  overflow: auto;
  padding-right: 5px;
}

.calendar-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}

.calendar-item strong {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-right: 1px solid var(--line);
  font-size: 0.86rem;
}

.calendar-item h3 {
  margin: 2px 0 0;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.calendar-item small {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: var(--green-900);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 900;
}

.athlete-links {
  display: grid;
  gap: 18px;
}

.athlete-links img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.latest-news {
  padding-top: 24px;
  padding-bottom: 38px;
  background: #fff;
}

.plain-heading span {
  color: var(--green-700);
  font-size: 1.45rem;
  font-weight: 900;
}

.plain-heading h2 {
  color: var(--green-800);
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 19px;
  margin-top: 20px;
}

.news-card {
  border: 0;
  box-shadow: none;
}

.news-card img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  object-position: center top;
  border-radius: 7px;
}

.news-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.news-more-btn {
  min-width: 164px;
  min-height: 38px;
  color: #fff;
  background: var(--green-800);
  border: 1px solid rgba(0, 81, 15, 0.16);
  box-shadow: 0 8px 20px rgba(0, 81, 15, 0.14);
  font-size: 0.76rem;
}

.news-more-btn:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

.news-list-page {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.82) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.news-list-panel {
  max-width: 1128px;
  margin: 0 auto;
  padding: 34px 24px 58px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.news-list-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.news-list-card:hover {
  border-color: rgba(0, 99, 24, 0.24);
  box-shadow: 0 18px 34px rgba(13, 67, 30, 0.12);
  transform: translateY(-2px);
}

.news-list-media {
  display: block;
}

.news-list-media img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  object-position: center top;
}

.news-list-content {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.news-list-content .post-meta {
  margin-top: 0;
}

.news-list-content h3 {
  margin: 0;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.18;
}

.news-list-content h3 a:hover {
  color: var(--blue);
}

.news-list-content p {
  margin: 0;
  color: #52645b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.news-list-action {
  width: fit-content;
  min-height: 36px;
  margin-top: 4px;
  padding: 8px 14px;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-list-action:hover {
  background: var(--green-900);
}

.search-page {
  background:
    linear-gradient(180deg, rgba(231, 245, 241, 0.82) 0, rgba(247, 250, 248, 0) 360px),
    #f7faf8;
}

.search-panel {
  max-width: 1128px;
  margin: 0 auto;
  padding: 34px 24px 58px;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.08);
}

.search-page-form input {
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  background: #f7faf8;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  outline: 0;
}

.search-page-form input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(8, 117, 42, 0.12);
}

.search-page-form button {
  min-height: 44px;
  padding: 10px 22px;
  color: #fff;
  background: var(--green-800);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.search-page-form button:hover {
  background: var(--green-900);
}

.search-empty {
  margin-top: 20px;
}

.search-results {
  display: grid;
  gap: 34px;
  margin-top: 34px;
}

.search-result-section {
  display: grid;
  gap: 16px;
}

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

.search-result-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.search-result-card:hover {
  border-color: rgba(0, 99, 24, 0.24);
  box-shadow: 0 18px 34px rgba(13, 67, 30, 0.12);
  transform: translateY(-2px);
}

.search-result-card > span {
  width: fit-content;
  padding: 4px 8px;
  color: #fff;
  background: var(--green-700);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-result-card h3 {
  margin: 0;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.18;
}

.search-result-card h3 a:hover {
  color: var(--blue);
}

.search-result-card p {
  margin: 0;
  color: #52645b;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.58;
}

.search-result-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result-action {
  width: fit-content;
  min-height: 36px;
  margin-top: 4px;
  padding: 8px 14px;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result-action:hover {
  background: var(--green-900);
}

.empty-state {
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.logos-section {
  padding-top: 24px;
  padding-bottom: 50px;
  background: #fff;
}

.line-heading {
  margin: 16px 0 16px;
}

.line-heading::after {
  content: "";
  height: 3px;
  flex: 1;
  background: var(--green-800);
}

.line-heading h2 {
  color: var(--blue);
}

.logo-grid {
  display: grid;
  align-items: center;
  gap: 20px;
  margin: 0 auto 30px;
}

.logo-grid a,
.logo-grid .logo-item {
  display: grid;
  place-items: center;
  min-height: 145px;
  padding: 18px 28px;
  background: #fff;
  border: 1px solid #edf2ee;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.logo-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 67, 30, 0.1);
}

.logo-grid img {
  width: 100%;
  max-height: 112px;
  object-fit: contain;
}

.sponsors-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.partners-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 34px;
  color: #fff;
  background: var(--green-800);
}

.service-area h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.service-area p {
  max-width: 540px;
  margin: 0;
  font-size: 0.98rem;
}

.public-service-page .history-hero {
  padding-bottom: 42px;
}

.service-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.service-highlight-card {
  align-self: end;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.service-highlight-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-highlight-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.service-highlight-card p {
  margin: 0;
  font-weight: 800;
  line-height: 1.5;
}

.service-section {
  padding-top: 36px;
  padding-bottom: 58px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: start;
}

.public-form,
.service-side,
.agenda-card {
  background: #fff;
  border: 1px solid #e5eee8;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 72, 34, 0.08);
}

.public-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

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

.public-form label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 900;
}

.public-form input,
.public-form select,
.public-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfded4;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.public-form textarea {
  min-height: 180px;
  resize: vertical;
}

.public-form input:focus,
.public-form select:focus,
.public-form textarea:focus {
  outline: 3px solid rgba(31, 105, 184, 0.16);
  border-color: var(--blue);
}

.form-check-line {
  display: flex !important;
  grid-template-columns: none;
  gap: 10px !important;
  align-items: center;
  padding: 12px 14px;
  background: #f3f8f5;
  border: 1px solid #dcebe1;
  border-radius: 8px;
}

.form-check-line input {
  width: 18px;
  min-height: 18px;
}

.public-submit,
.service-side a {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  background: var(--green-800);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.public-submit:hover,
.service-side a:hover {
  background: var(--green-900);
}

.service-side {
  padding: 24px;
  border-left: 5px solid var(--yellow);
}

.service-side h3 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: 1.35rem;
}

.service-side p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.service-alert {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.service-alert.success {
  color: #075a22;
  background: #e8f7ed;
  border: 1px solid #bfe6cb;
}

.service-alert.error {
  color: #8a1f2d;
  background: #fff0f2;
  border: 1px solid #f5c5cc;
}

.agenda-list {
  display: grid;
  gap: 18px;
}

.agenda-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
}

.agenda-card time {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 12px;
  color: var(--green-900);
  background: #f4f9f5;
  border: 1px solid #dfeee4;
  border-radius: 8px;
  text-align: center;
}

.agenda-card time strong {
  font-size: 2.4rem;
  line-height: 1;
}

.agenda-card time span,
.agenda-card time small {
  font-weight: 900;
  text-transform: uppercase;
}

.agenda-card h3 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: 1.45rem;
}

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

.service-meta div {
  min-width: 0;
}

.service-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-meta dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 900;
}

.organizer-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.organizer-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: 0.86rem;
}

.organizer-form input,
.organizer-form select {
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
}

.organizer-form button {
  min-height: 42px;
  color: var(--green-900);
  background: var(--gold);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.footer {
  position: relative;
  min-height: 590px;
  color: #fff;
  overflow: hidden;
  border-top: 14px solid var(--gold);
  background:
    linear-gradient(180deg, rgba(0, 86, 18, 0.98) 0%, rgba(0, 83, 18, 0.94) 42%, rgba(0, 74, 16, 0.98) 100%),
    radial-gradient(circle at 8% 60%, rgba(102, 189, 0, 0.2), transparent 26%);
}

.footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 300px;
  opacity: 0.18;
  background:
    linear-gradient(120deg, transparent 0 15%, #fff 15% 17%, transparent 17% 31%, #fff 31% 33%, transparent 33% 47%, #fff 47% 49%, transparent 49%);
}

.footer-overlay {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: 42px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 38px 24px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 78px;
}

.footer-brand p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.22;
  font-weight: 500;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  max-width: 560px;
  margin: 0;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-contact span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-contact strong,
.footer-contact a {
  color: #fff;
  font-size: 0.98rem;
}

.footer-address {
  grid-column: 1 / -1;
}

.footer-address p {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-team {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -90px;
  width: min(76vw, 900px);
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.developer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.58);
  background: #003609;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.developer-credit img {
  width: 68px;
  height: auto;
  opacity: 0.78;
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .photo-marquee-track {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 1080px) {
  body {
    padding-top: calc(var(--site-header-height, 165px) - var(--site-flow-gap, 0px));
  }

  section[id] {
    scroll-margin-top: calc(var(--site-header-height, 150px) + 8px);
  }

  .topbar {
    align-items: flex-start;
  }

  .brand {
    min-width: 220px;
  }

  .search-social {
    flex-wrap: wrap;
  }

  .main-menu {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-menu > a,
  .main-menu-link {
    flex: 0 0 auto;
  }

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

  .hero-slider-section {
    min-height: 390px;
  }

  .hero-slide {
    padding: 42px 22px 66px;
  }

  .hero-photo img {
    height: auto;
    max-height: 330px;
  }

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

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

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

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

  .event-rail.races-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .race-detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .transparency-hero-grid,
  .transparency-columns,
  .calendar-hero-grid,
  .history-hero-grid,
  .races-hero-grid,
  .race-detail-grid,
  .history-content,
  .history-feature {
    grid-template-columns: 1fr;
  }

  .transparency-principles,
  .document-grid,
  .history-timeline,
  .presidents-grid,
  .race-info-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transparency-nav {
    top: var(--site-header-height, 138px);
  }

  .transparency-row {
    grid-template-columns: minmax(180px, 1fr) 90px 130px 90px;
  }

  .share-panel {
    position: static;
  }

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

  .calendar-controls {
    grid-template-columns: 1fr;
  }

  .calendar-event-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .calendar-event-card > a {
    grid-column: 2;
    width: fit-content;
  }

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

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

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

  .service-area,
  .organizer-form {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .form-grid,
  .service-meta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  body {
    padding-top: calc(var(--site-header-height, 116px) - var(--site-flow-gap, 0px));
  }

  section[id] {
    scroll-margin-top: calc(var(--site-header-height, 110px) + 8px);
  }

  .topbar {
    min-height: auto;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    width: 54px;
    height: 66px;
  }

  .brand-horizontal {
    min-width: 0;
  }

  .brand-horizontal .brand-logo {
    width: min(220px, 58vw);
    height: 66px;
  }

  .brand-divider {
    height: 46px;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
    border-top-width: 2px;
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu > a,
  .main-menu-link {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-menu-item {
    display: flex;
    flex-direction: column;
  }

  .main-menu-parent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-menu-parent .main-menu-link {
    padding-right: 18px;
    border-bottom: 0;
  }

  .dropdown-toggle-btn {
    width: 48px;
    min-height: 46px;
    margin-left: 0;
    border-right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-dropdown {
    display: none;
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.14);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-menu-item.dropdown-open .main-dropdown {
    display: block;
  }

  .main-dropdown::before {
    display: none;
  }

  .dropdown-heading {
    display: none;
  }

  .institutional-dropdown {
    width: auto;
  }

  .institutional-menu-list a {
    padding: 12px 22px 12px 34px;
    color: #fff;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 900;
  }

  .institutional-menu-list a small {
    color: rgba(255, 255, 255, 0.72);
  }

  .institutional-menu-list a:hover,
  .institutional-menu-list a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
  }

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

  .hero-inner {
    padding: 34px 22px 40px;
  }

  .hero-slider-section {
    min-height: 410px;
  }

  .hero-slide {
    align-items: end;
    justify-items: center;
    padding: 96px 18px 58px;
    background-position: center top;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(0, 81, 15, 0.08) 0%, rgba(0, 81, 15, 0.28) 34%, rgba(0, 61, 13, 0.9) 100%),
      linear-gradient(90deg, rgba(0, 81, 15, 0.38), rgba(0, 0, 0, 0.08) 48%, rgba(0, 81, 15, 0.32));
  }

  .hero-slide-content {
    width: min(100%, 354px);
    padding: 16px 15px 17px;
    background: rgba(0, 81, 15, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(2px);
  }

  .hero-slide-content .eyebrow {
    margin-bottom: 9px;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 0.69rem;
  }

  .hero-slide-content h1 {
    font-size: clamp(1.65rem, 8.4vw, 2.35rem);
    line-height: 1.02;
  }

  .hero-slide-content p:not(.eyebrow) {
    margin-top: 11px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero-slide-action {
    min-height: 36px;
    margin-top: 13px;
    padding: 9px 17px;
    font-size: 0.72rem;
  }

  .hero-slider-dots {
    bottom: 18px;
  }

  .hero-slider-dots button {
    width: 10px;
    height: 10px;
  }

  .hero-slider-dots button.active {
    width: 28px;
  }

  .home-photo-marquee {
    margin-top: 28px;
    padding: 12px 0 14px;
    border-top-width: 3px;
  }

  .home-photo-marquee::before,
  .home-photo-marquee::after {
    width: 42px;
  }

  .photo-marquee-row + .photo-marquee-row {
    margin-top: 10px;
  }

  .photo-marquee-track {
    gap: 10px;
  }

  .photo-marquee-card,
  .photo-marquee-row-2 .photo-marquee-card {
    flex-basis: min(76vw, 315px);
    height: 190px;
    border-radius: 7px;
  }

  .photo-marquee-row-1 .photo-marquee-track {
    animation-duration: 30s;
  }

  .photo-marquee-row-2 .photo-marquee-track {
    animation-duration: 34s;
  }

  .featured-grid,
  .calendar-band {
    grid-template-columns: 1fr;
  }

  .calendar-band {
    min-height: auto;
  }

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

  .news-article {
    padding-top: 24px;
  }

  .article-cover img {
    max-height: none;
    aspect-ratio: 1.35;
  }

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

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

  .transparency-nav {
    position: static;
  }

  .transparency-principles,
  .document-grid,
  .history-timeline,
  .presidents-grid,
  .race-info-card {
    grid-template-columns: 1fr;
  }

  .races-hero-inner,
  .calendar-hero-inner,
  .race-detail-inner {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .races-panel,
  .calendar-main,
  .race-detail-content {
    padding-top: 30px;
  }

  .calendar-event-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calendar-event-card time {
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 7px;
    min-height: 48px;
    padding: 9px 12px;
  }

  .calendar-event-card > a {
    grid-column: auto;
  }

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

  .race-card-media img {
    min-height: auto;
    aspect-ratio: 1.64;
  }

  .race-card dl,
  .race-doc-grid,
  .race-feature-grid {
    grid-template-columns: 1fr;
  }

  .featured-president {
    grid-row: auto;
  }

  .transparency-row,
  .transparency-row-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .transparency-row-head {
    display: none;
  }

  .transparency-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsors-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .service-highlight-card,
  .public-form,
  .service-side,
  .agenda-card {
    padding: 18px;
  }

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

  .agenda-card time {
    min-height: auto;
    grid-template-columns: auto auto auto;
    justify-content: start;
    gap: 8px;
  }

  .agenda-card time strong {
    font-size: 1.8rem;
  }

  .footer {
    min-height: 650px;
  }

  .footer-overlay {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 300px;
  }

  .footer-team {
    bottom: 0;
    width: min(96vw, 720px);
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .gold-strip {
    height: 9px;
  }

  .brand-name {
    font-size: 0.82rem;
    line-height: 1.12;
  }

  .hero h1,
  .eyebrow {
    overflow-wrap: anywhere;
  }

  .stripe-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    min-height: auto;
  }

  .stripe-heading::before {
    width: 74px;
    height: 32px;
    flex-basis: 74px;
  }

  .stripe-heading::after {
    min-width: 100%;
  }

  .stripe-heading h2 {
    min-height: 36px;
    padding: 4px 12px;
    font-size: 1.08rem;
  }

  .stripe-heading a {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .event-rail {
    grid-auto-columns: minmax(245px, 84vw);
  }

  .event-rail.races-list-grid {
    grid-template-columns: 1fr;
  }

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

  .director-card-media {
    min-height: 190px;
  }

  .director-card-media img {
    height: 220px;
  }

  .races-list-grid .event-card img {
    height: auto;
    aspect-ratio: 1.1;
  }

  .public-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }

  .public-pagination-current {
    order: -1;
    width: 100%;
  }

  .public-pagination-link {
    flex: 1 1 132px;
  }

  .featured-post img {
    height: 176px;
  }

  .calendar-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calendar-item strong {
    min-height: 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .calendar-item small {
    width: 64px;
  }

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

  .news-list-panel {
    padding-right: 18px;
    padding-left: 18px;
  }

  .search-panel {
    padding-right: 18px;
    padding-left: 18px;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }

  .search-page-form button,
  .search-result-action {
    width: 100%;
  }

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

  .news-list-action {
    width: 100%;
  }

  .news-article {
    padding-right: 18px;
    padding-left: 18px;
  }

  .breadcrumb {
    margin-bottom: 16px;
  }

  .article-header h1 {
    font-size: 1.76rem;
  }

  .article-header p,
  .article-body {
    font-size: 0.96rem;
  }

  .article-cover img {
    border-radius: 6px;
  }

  .share-panel {
    padding: 14px;
  }

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

  .article-service {
    padding: 18px;
  }

  .transparency-hero-inner,
  .history-hero-inner,
  .races-hero-inner,
  .calendar-hero-inner,
  .race-detail-inner,
  .transparency-panel,
  .history-panel,
  .races-panel,
  .calendar-main,
  .race-detail-content,
  .transparency-nav,
  .transparency-contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .races-hero h1,
  .calendar-hero h1,
  .race-detail h1 {
    font-size: 1.86rem;
  }

  .races-hero p,
  .calendar-hero p,
  .race-detail-copy p {
    font-size: 0.95rem;
  }

  .calendar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-actions .primary-action,
  .calendar-actions .secondary-action {
    width: 100%;
  }

  .calendar-event-card {
    padding: 14px;
  }

  .calendar-event-card > a {
    width: 100%;
  }

  .race-card-body,
  .race-section {
    padding: 18px;
  }

  .race-card-actions,
  .race-detail-actions,
  .races-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .race-card-actions .primary-action,
  .race-card-actions .secondary-action,
  .race-detail-actions .primary-action,
  .race-detail-actions .secondary-action,
  .races-actions .primary-action,
  .races-actions .secondary-action {
    width: 100%;
  }

  .race-schedule div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .transparency-summary {
    padding: 14px;
  }

  .transparency-summary strong {
    font-size: 1.1rem;
  }

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

  .history-story,
  .history-closing > div,
  .history-feature {
    padding: 18px;
  }

  .history-fact-card {
    padding: 16px;
  }

  .footer-brand img {
    width: 66px;
  }

  .footer-brand p {
    font-size: 1rem;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 0.78rem;
  }

  .footer-overlay {
    padding-bottom: 250px;
  }

  .footer-team {
    bottom: 0;
    width: min(100vw, 520px);
  }

  .footer {
    min-height: 690px;
  }

  .developer-credit {
    gap: 6px;
    min-height: 34px;
    padding: 8px 12px;
    font-size: 0.5rem;
  }

  .developer-credit img {
    width: 62px;
  }
}
