html {
  scroll-padding-top: 56px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .site-footer {
  margin-top: auto;
}

.section-header {
  display: block;
  padding: 32px;
  margin-bottom: 20px;
  margin-top: 20px;
  text-align: center;
}

.section-header a {
  color: #9ecbff;
}

.section-header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-header-brand h2 {
  margin: 0;
  margin-right: -12px;
  font-size: 1.5rem;
  font-weight: 200;
}

.section-header-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
}

.section-header-trophy {
  height: 72px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.35));
}

img.footer-logo {
  width: 175px;
  max-width: 100%;
  height: auto;
}

.weekly-chart-wrap {
  position: relative;
  height: 480px;
  margin-bottom: 12px;
}

.weekly-chart-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.weekly-chart-note {
  text-align: center;
  color: #666;
  margin: 0 0 28px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .weekly-chart-wrap {
    height: 560px;
  }
}

table tbody td {
  vertical-align: middle;
}

.profile-history-table th,
.profile-history-table td {
  text-align: left !important;
}

.content-box {
  background-color: #e6e6e6;
  padding: 24px;
  margin-bottom: 24px;
}

.winners {
  margin-bottom: 24px;
}

.winners-podium {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 28px;
}

.winners-place {
  text-align: center;
  background: #f4f4f4;
  padding: 20px 16px 18px;
  flex: 1 1 100%;
}

.winners-place img {
  display: block;
  margin: 0 auto 10px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.2));
}

.winners-place--first img {
  width: 120px;
}

.winners-place--second img,
.winners-place--third img {
  width: 72px;
}

.winners-place__label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
}

.winners-place__team {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.winners-place__name {
  margin: 2px 0 10px;
}

.winners-place__name a {
  color: #333;
  text-decoration: none;
}

.winners-place__name a:hover,
.winners-place__name a:focus {
  text-decoration: underline;
}

.winners-place__payout {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 200;
}

.winners-place__note {
  margin: 2px 0 0;
  font-size: 12px;
  color: #666;
}

.winners-place--first {
  order: 1;
  background: #efe8d8;
}

.winners-place--second {
  order: 2;
}

.winners-place--third {
  order: 3;
}

.winners-pot {
  text-align: center;
  padding-top: 8px;
}

.winners-pot h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 200;
}

.winners-pot__total {
  margin: 0 0 16px;
  color: #555;
}

.winners-pot__splits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.winners-pot__splits div {
  background: #f4f4f4;
  padding: 12px 10px;
}

.winners-pot__splits span {
  display: block;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #666;
}

.winners-pot__splits strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 200;
}

.winners-pot__splits em {
  display: block;
  font-style: normal;
  color: #333;
}

.all-time-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.all-time-place {
  background: #f4f4f4;
  padding: 20px 16px 12px;
  text-align: center;
}

.all-time-place--first {
  order: 1;
  background: #efe8d8;
}

.all-time-place--second {
  order: 2;
}

.all-time-place--third {
  order: 3;
}

.all-time-place img {
  display: block;
  margin: 0 auto 10px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.2));
}

.all-time-place--first img {
  width: 120px;
}

.all-time-place--second img,
.all-time-place--third img {
  width: 72px;
}

.all-time-place__label {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
}

.all-time-person {
  margin: 0 0 14px;
}

.all-time-person__name {
  margin: 0;
  font-weight: 600;
}

.all-time-person__name a {
  color: #333;
  text-decoration: none;
}

.all-time-person__name a:hover,
.all-time-person__name a:focus {
  text-decoration: underline;
}

.all-time-points-note {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin: 0 0 28px;
}

.all-time-person__points {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.all-time-person__finishes {
  margin: 2px 0 0;
  font-size: 12px;
  color: #666;
}

.all-time-person__years {
  margin: 2px 0 0;
  font-size: 13px;
  color: #666;
}

.all-time-person__years a {
  color: #555;
  text-decoration: none;
}

.all-time-person__years a:hover,
.all-time-person__years a:focus {
  text-decoration: underline;
}

.rivalry-years {
  display: grid;
  gap: 8px 32px;
  margin: 0 0 28px;
}

.rivalry-year__title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.rivalry-year__title a {
  color: #333;
  text-decoration: none;
}

.rivalry-year__title a:hover,
.rivalry-year__title a:focus {
  text-decoration: underline;
}

.rivalry-year__table {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .rivalry-years {
    grid-template-columns: 1fr 1fr;
  }
}

.closing-in-copy {
  text-align: center;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.closing-in-copy a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
}

.closing-in-copy a:hover,
.closing-in-copy a:focus {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .winners-place {
    flex: 1 1 0;
    max-width: 280px;
  }

  .winners-place--first {
    order: 2;
    flex: 1.15 1 0;
    max-width: 320px;
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .winners-place--second {
    order: 1;
  }

  .winners-place--third {
    order: 3;
  }

  .winners-podium--no-third .winners-place--first {
    order: 1;
  }

  .winners-podium--no-third .winners-place--second {
    order: 2;
  }

  .winners-place--first img {
    width: 140px;
  }

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

  .all-time-board {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .all-time-place--first {
    order: 2;
  }

  .all-time-place--second {
    order: 1;
  }

  .all-time-place--third {
    order: 3;
  }

  .all-time-place--first img {
    width: 140px;
  }
}

.trophy-case {
  background: #efe8d8;
  background-image: linear-gradient(180deg, rgba(255,255,255,.35), transparent 42%);
  border: 6px solid #6d4a2b;
  box-shadow: inset 0 0 0 2px #c4a36a, 0 6px 16px rgba(0,0,0,.12);
  padding: 16px 6px 6px;
  margin: 0 0 28px;
}

.trophy-case__title {
  margin: 0 0 16px;
  text-align: center;
  color: #5a3d1f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.trophy-case__shelf + .trophy-case__title {
  margin-top: 6px;
  padding-top: 10px;
}

.trophy-case__shelf {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.trophy-case__item {
  width: 96px;
  margin: 0 2px 18px;
  text-align: center;
}

.trophy-case__figure {
  height: 102px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 6px 8px;
  padding-bottom: 8px;
  border-bottom: 6px solid #b8894c;
  box-shadow: 0 4px 0 #6d4a2b;
}

.trophy-case__item img {
  max-height: 94px;
  max-width: 84px;
  height: auto;
  width: auto;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.28));
}

.trophy-case__item--first img {
  max-height: 98px;
  max-width: 90px;
}

.trophy-case__year {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.trophy-case__year a {
  color: #333;
  text-decoration: none;
}

.trophy-case__year a:hover,
.trophy-case__year a:focus {
  text-decoration: underline;
}

.trophy-case__label {
  margin: 2px 0 0;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b542e;
}

.trophy-case__figure a {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.trophy-case__label a {
  color: inherit;
  text-decoration: none;
}

.trophy-case__label a:hover,
.trophy-case__label a:focus {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .trophy-case {
    padding: 18px 12px 10px;
  }

  .trophy-case__title {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .trophy-case__item {
    width: 118px;
    margin: 0 6px 22px;
  }

  .trophy-case__figure {
    height: 118px;
    margin: 0 4px 10px;
    padding-bottom: 10px;
    border-bottom-width: 8px;
    box-shadow: 0 5px 0 #6d4a2b;
  }

  .trophy-case__item img {
    max-height: 108px;
    max-width: 96px;
  }

  .trophy-case__item--first img {
    max-height: 112px;
    max-width: 104px;
  }

  .trophy-case__year {
    font-size: 16px;
  }

  .trophy-case__label {
    font-size: 11px;
  }
}
