/* RunShake relaunch. Original editorial system, distinct from other calendars. */
:root {
  --rs4-ink: #141819;
  --rs4-red: #e92035;
  --rs4-paper: #f5f5f0;
  --rs4-muted: #596166;
  --rs4-line: #dce0dc;
}
html {
  scroll-behavior: smooth;
}
.rs4-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e9e5;
  background: #fff;
  box-shadow: 0 8px 32px #17232308;
}
.rs4-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.rs4-brand {
  display: block;
  flex-shrink: 0;
}
.rs4-brand img {
  display: block;
  width: 166px;
  height: auto;
  max-width: none;
}
.rs4-desktop-links {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 32px);
  margin-left: auto;
}
.rs4-desktop-links a {
  white-space: nowrap;
  font-size: 13px;
  color: #232729;
  font-weight: 800;
  text-decoration: none;
}
.rs4-desktop-links a:hover,
.rs4-desktop-links a:focus-visible {
  color: #d01830;
}
.rs4-btn,
.rs4-account-link {
  background: var(--rs4-red);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  padding: 16px 23px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  cursor: pointer;
  line-height: 1.3;
}
.rs4-btn:hover,
.rs4-account-link:hover {
  background: #bb1127;
}
.rs4-account-link {
  padding: 13px 18px;
  white-space: nowrap;
  margin-left: 2px;
}
.rs4-menu {
  display: none;
  position: relative;
  margin-left: auto;
}
.rs4-menu > summary {
  border: 1px solid #dedfdb;
  border-radius: 4px;
  list-style: none;
  cursor: pointer;
  padding: 12px;
  font-size: 13px;
  font-weight: 850;
}
.rs4-menu > summary::-webkit-details-marker {
  display: none;
}
.rs4-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  padding: 10px;
  width: min(340px, calc(100vw - 24px));
  border: 1px solid #ddd;
  box-shadow: 0 18px 40px #0002;
  border-radius: 4px;
  z-index: 150;
}
.rs4-menu nav a {
  display: block;
  padding: 13px;
  font-weight: 750;
  font-size: 14px;
  color: #1e2626;
  text-decoration: none;
  border-bottom: 1px solid #f0f1ef;
}
.rs4-menu nav a:last-child {
  border: 0;
}
.rs4-footer {
  background: #171b1d;
  color: #fff;
  padding: 65px 0 20px;
}
.rs4-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}
.rs4-footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 11px;
}
.rs4-footer-grid img {
  display: block;
  max-width: 174px;
  height: auto;
}
.rs4-footer-grid h2 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin: 0 0 10px;
}
.rs4-footer-grid a {
  color: #dedfdb;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.rs4-footer-grid a:hover {
  text-decoration: underline;
  color: #fff;
}
.rs4-footer-grid p {
  margin: 4px 0;
  color: #c5cacc;
  font-size: 14px;
  line-height: 1.78;
}
.rs4-footer-grid p.rs4-small,
.rs4-small {
  font-size: 12px;
  color: #747b7d;
  line-height: 1.7;
}
.rs4-footer-grid p.rs4-small {
  color: #adb5b5;
}
.rs4-footer-bottom {
  border-top: 1px solid #ffffff29;
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #bcc3c1;
  font-size: 11px;
}
.rs4-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #e8273b;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.5;
}
.rs4-hero {
  background: #14191c;
  color: #fff;
  overflow: hidden;
  padding: 70px 0 60px;
}
.rs4-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 6%;
  align-items: center;
}
.rs4-hero h1 {
  font-size: clamp(48px, 5.8vw, 85px);
  font-weight: 950;
  letter-spacing: -3.8px;
  line-height: 1.035;
  color: #fff;
  margin: 0 0 25px;
}
.rs4-hero h1 em,
.rs4-section-head h2 em,
.rs4-home-training h2 em,
.rs4-list-hero h1 em {
  font-style: normal;
  color: #ff4456;
}
.rs4-hero-sub {
  color: #d5d9da;
  font-size: 16px;
  line-height: 1.84;
  max-width: 640px;
  margin: 0 0 28px;
}
.rs4-quick {
  background: #fff;
  border-radius: 6px;
  padding: 17px;
  max-width: 615px;
  box-shadow: 0 18px 45px #0004;
}
.rs4-quick label {
  font-size: 11px;
  letter-spacing: 0.9px;
  font-weight: 900;
  text-transform: uppercase;
  color: #5d6566;
  display: block;
  margin: 0 0 10px;
}
.rs4-quick > div {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.rs4-quick input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid #cbd0cd;
  color: #141818;
  border-radius: 4px;
  font-size: 16px;
}
.rs4-quick button {
  background: #e92035;
  color: #fff;
  border: 0;
  padding: 13px 19px;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: 900;
  cursor: pointer;
}
.rs4-hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}
.rs4-hero-quicklinks a {
  font-size: 12px;
  color: #f3f4f2;
  border: 1px solid #ffffff4e;
  border-radius: 99px;
  padding: 7px 13px;
  text-decoration: none;
}
.rs4-hero-quicklinks a:hover {
  background: #fff;
  color: #121618;
}
.rs4-disclaimer {
  font-size: 11px;
  color: #a9b0b2;
  line-height: 1.7;
  max-width: 560px;
}
.rs4-hero-photo {
  position: relative;
  min-height: 610px;
  height: 100%;
  background: #282b2d;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 28px 60px #0005;
}
.rs4-hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: contrast(1.07) saturate(0.88);
}
.rs4-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #070809a5, transparent 50%);
}
.rs4-hero-photo-label {
  position: absolute;
  bottom: 30px;
  left: 32px;
  z-index: 2;
  color: #fff;
}
.rs4-hero-photo-label span {
  display: block;
  color: #ff7480;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 900;
}
.rs4-hero-photo-label strong {
  display: block;
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -1.8px;
}
.rs4-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin: 0 0 32px;
}
.rs4-section-head > div {
  max-width: 820px;
}
.rs4-section-head h2,
.rs4-home-training h2,
.rs4-home-organizers h2 {
  font-weight: 950;
  letter-spacing: -2px;
  font-size: clamp(33px, 4.3vw, 60px);
  line-height: 1.08;
  margin: 0 0 17px;
  color: #181b1d;
}
.rs4-section-head h2 em,
.rs4-home-training h2 em,
.rs4-home-organizers h2 em {
  color: #d80e2b;
  font-style: normal;
}
.rs4-section-head p:not(.rs4-eyebrow) {
  margin: 0;
  color: #525d60;
  font-size: 15px;
  line-height: 1.75;
  max-width: 680px;
}
.rs4-home-discover {
  padding-top: 95px;
  padding-bottom: 95px;
}
.rs4-home-races {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.rs4-race-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 21px;
  border: 1px solid #e2e5e1;
  border-radius: 5px;
  background: white;
  min-width: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.rs4-race-card:hover {
  border-color: #e89a9f;
  box-shadow: 0 12px 34px #0000000c;
}
.rs4-race-card[hidden] {
  display: none !important;
}
.rs4-race-date {
  width: 60px;
  min-width: 60px;
  height: 65px;
  background: #f4f4f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.rs4-race-date strong {
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
  color: #c90c25;
}
.rs4-race-date span {
  font-size: 12px;
  font-weight: 900;
  color: #3f4647;
}
.rs4-race-copy {
  flex: 1;
  min-width: 0;
}
.rs4-card-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: #727b7c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.rs4-card-kicker span:first-child {
  color: #d0162e;
}
.rs4-race-copy h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-weight: 900;
  margin: 6px 0;
}
.rs4-race-copy h3 a {
  text-decoration: none;
  color: #181d20;
}
.rs4-race-copy h3 a:hover {
  color: #c5122a;
}
.rs4-race-copy p {
  color: #656e6f;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.rs4-card-arrow {
  color: #d51b34;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.rs4-note {
  font-size: 12px;
  color: #707778;
  line-height: 1.8;
  margin: 20px 0 0;
}
.rs4-home-training {
  background: #f4f4ef;
  padding: 100px 0;
}
.rs4-train-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
}
.rs4-train-image {
  height: 490px;
  overflow: hidden;
  border-radius: 6px;
}
.rs4-train-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs4-train-split > div:last-child > p:not(.rs4-eyebrow) {
  color: #535f60;
  line-height: 1.85;
  margin: 0 0 23px;
  font-size: 16px;
}
.rs4-feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  color: #414b4d;
  margin: 0 0 28px;
}
.rs4-home-organizers {
  padding-top: 100px;
  padding-bottom: 100px;
}
.rs4-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.rs4-value-grid article {
  padding: 31px 26px;
  border: 1px solid #e1e4e0;
  background: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}
.rs4-value-grid article > span {
  color: #da1d33;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 900;
}
.rs4-value-grid h3 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -1px;
  margin: 25px 0 14px;
}
.rs4-value-grid p {
  color: #596466;
  font-size: 14px;
  line-height: 1.78;
  flex: 1;
}
.rs4-value-grid a {
  color: #c7172d;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  margin-top: 18px;
}
.rs4-bottom-banner {
  background: #171b1d;
  color: #fff;
  padding: 72px 0;
}
.rs4-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.rs4-banner-inner > div {
  max-width: 790px;
}
.rs4-banner-inner h2 {
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.12;
  letter-spacing: -1.9px;
  font-weight: 900;
  margin: 0 0 16px;
  color: #fff;
}
.rs4-banner-inner p:not(.rs4-eyebrow) {
  color: #cbd0ce;
  line-height: 1.8;
  font-size: 15px;
}
.rs4-banner-inner .rs4-btn {
  flex-shrink: 0;
}
.rs4-breadcrumb {
  color: #888f90;
  font-size: 12px;
  margin: 0 0 33px;
}
.rs4-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.rs4-breadcrumb span {
  padding: 0 5px;
}
.rs4-list-hero {
  background: #171b1d;
  padding: 57px 0 64px;
  color: white;
}
.rs4-list-hero .rs4-breadcrumb {
  color: #c9d0ce;
}
.rs4-list-hero h1 {
  color: white;
  font-size: clamp(46px, 5.5vw, 74px);
  font-weight: 950;
  letter-spacing: -3px;
  line-height: 1.05;
  margin: 0 0 20px;
}
.rs4-list-hero p:not(.rs4-eyebrow) {
  max-width: 830px;
  font-size: 16px;
  line-height: 1.78;
  color: #d4d8d6;
}
.rs4-list-hero-stats {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 25px;
  color: #e9ebea;
}
.rs4-list-hero-stats strong {
  font-size: 38px;
  font-weight: 950;
  color: #ff5267;
}
.rs4-list-hero-stats span {
  font-size: 12px;
}
.rs4-catalog-wrap {
  padding-top: 70px;
  padding-bottom: 100px;
}
.rs4-discovery-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}
.rs4-discovery-top h2 {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -1.2px;
  margin: 0 0 6px;
}
.rs4-discovery-top p {
  color: #657074;
  font-size: 14px;
}
.rs4-switch {
  display: flex;
  gap: 4px;
  background: #eee;
  border-radius: 4px;
  padding: 4px;
  flex-shrink: 0;
}
.rs4-switch a {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  color: #1f292b;
  text-decoration: none;
  white-space: nowrap;
}
.rs4-switch a:hover {
  background: #fff;
}
.rs4-switch-light {
  margin-top: 25px;
  display: inline-flex;
}
.rs4-filter-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.25fr;
  gap: 16px;
  padding: 23px;
  border: 1px solid #dde2dd;
  border-radius: 6px;
  background: #f9faf7;
}
.rs4-filter-form > label {
  font-size: 11px;
  font-weight: 900;
  color: #596164;
  letter-spacing: 0.4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs4-filter-form input:not([type="checkbox"]),
.rs4-filter-form select {
  width: 100%;
  min-width: 0;
  line-height: 1.3;
  padding: 12px;
  font-size: 15px;
  border-radius: 4px;
  background: #fff;
  color: #1c2326;
  border: 1px solid #c8cfca;
}
.rs4-filter-form label.rs4-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  font-weight: 750;
}
.rs4-check input {
  width: 18px;
  height: 18px;
  accent-color: #d41931;
}
.rs4-reset {
  justify-self: start;
  color: #c51028;
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  font-weight: 850;
}
.rs4-result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 15px;
}
.rs4-result-line output {
  font-size: 20px;
  font-weight: 950;
}
.rs4-result-line > span {
  color: #697172;
  font-size: 12px;
}
.rs4-race-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rs4-empty {
  padding: 40px;
  background: #fbf4f4;
  color: #6f3439;
  border: 1px solid #ecd0d0;
  border-radius: 4px;
}
.rs4-catalog-cta {
  margin-top: 62px;
  background: #f3f3ee;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 5px;
}
.rs4-catalog-cta h2 {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -1px;
  margin: 0 0 9px;
}
.rs4-catalog-cta p {
  font-size: 14px;
  color: #596466;
  line-height: 1.6;
  margin: 0;
}
.rs4-catalog-cta .rs4-btn {
  flex-shrink: 0;
}
.rs4-calendars {
  padding-top: 60px;
  padding-bottom: 95px;
}
.rs4-month {
  margin-bottom: 65px;
}
.rs4-month h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-transform: capitalize;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 950;
  margin: 0 0 18px;
}
.rs4-month h2 span {
  font-size: 12px;
  color: #657075;
  font-weight: 750;
  text-transform: none;
}
.rs4-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.rs4-calendar-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #777f81;
  padding: 10px;
}
.rs4-day {
  min-height: 120px;
  padding: 9px;
  border: 1px solid #e1e5e1;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}
.rs4-day-blank {
  background: #f8f8f5;
  border-color: transparent;
}
.rs4-day-active {
  background: #fff9f9;
  border-color: #efc1c6;
}
.rs4-day-old {
  opacity: 0.56;
}
.rs4-day-number {
  font-size: 12px;
  font-weight: 900;
  color: #596263;
}
.rs4-day a {
  font-size: 11px;
  line-height: 1.35;
  color: #20292b;
  text-decoration: none;
  font-weight: 800;
  display: block;
  word-break: break-word;
}
.rs4-day a:hover {
  color: #c7112b;
  text-decoration: underline;
}
.rs4-day a.rs4-day-extra {
  color: #d0172d;
}
.rs4-event-hero {
  background: #151a1d;
  padding: 50px 0 57px;
  color: #fff;
}
.rs4-event-hero h1 {
  color: white;
  letter-spacing: -2px;
  font-size: clamp(40px, 5vw, 65px);
  font-weight: 950;
  line-height: 1.1;
  max-width: 920px;
  margin: 0 0 16px;
}
.rs4-event-lead {
  font-size: 17px;
  color: #dbe0df;
  line-height: 1.65;
  text-transform: capitalize;
}
.rs4-source-tag {
  display: inline-block;
  color: #fff;
  background: #42494b;
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  margin-top: 15px;
}
.rs4-event-content {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: 8%;
  padding-top: 70px;
  padding-bottom: 110px;
}
.rs4-event-main h2 {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 950;
  margin: 0 0 22px;
}
.rs4-event-main > p {
  line-height: 1.85;
  color: #586265;
  font-size: 15px;
}
.rs4-event-main dl {
  margin: 0 0 35px;
  display: grid;
  gap: 0;
}
.rs4-event-main dl > div {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #dfe2dd;
}
.rs4-event-main dt {
  font-size: 12px;
  color: #687173;
  font-weight: 900;
}
.rs4-event-main dd {
  margin: 0;
  color: #202727;
  font-size: 15px;
  font-weight: 750;
}
.rs4-event-warning {
  background: #fff7f1;
  border-left: 4px solid #dca444;
  padding: 22px;
  margin: 30px 0 50px;
}
.rs4-event-warning strong {
  font-size: 15px;
}
.rs4-event-warning p {
  font-size: 14px;
  color: #604c3e;
  line-height: 1.75;
  margin: 10px 0 0;
}
.rs4-event-side {
  align-self: start;
  background: #f4f5f1;
  padding: 32px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rs4-event-side h3 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}
.rs4-event-side p {
  font-size: 14px;
  color: #556064;
  line-height: 1.7;
  margin: 0;
}
.rs4-event-side .rs4-btn {
  align-self: start;
}
.rs4-event-side small {
  font-size: 12px;
  color: #656d70;
}
.rs4-event-side > hr {
  height: 1px;
  width: 100%;
  border: 0;
  background: #d8dcd7;
  margin: 12px 0;
}
.rs4-event-side > a:not(.rs4-btn) {
  font-size: 13px;
  font-weight: 850;
  color: #c71630;
}
.rs4-trainer-layout {
  padding-top: 70px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 45px;
  align-items: start;
}
.rs4-trainer-panel {
  background: #f4f5f1;
  border: 1px solid #e0e4dd;
  border-radius: 5px;
  padding: 27px;
  position: sticky;
  top: 110px;
}
.rs4-trainer-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.rs4-trainer-form h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 950;
  margin: 0;
}
.rs4-trainer-form > p:not(.rs4-small) {
  font-size: 14px;
  color: #596265;
  line-height: 1.7;
  margin: 0;
}
.rs4-trainer-form > label,
.rs4-trainer-form fieldset label {
  font-size: 12px;
  font-weight: 850;
  color: #343e41;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rs4-trainer-form input,
.rs4-trainer-form select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #c8d0ca;
  border-radius: 4px;
  background: #fff;
  color: #1b2325;
  line-height: 1.35;
}
.rs4-trainer-form fieldset {
  padding: 15px;
  border: 1px solid #d3d9d3;
  border-radius: 4px;
  min-width: 0;
}
.rs4-trainer-form fieldset legend {
  font-size: 12px;
  font-weight: 900;
  padding: 0 5px;
  color: #424b4c;
}
.rs4-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 8px;
}
.rs4-trainer-form button.rs4-btn {
  align-self: stretch;
  justify-content: center;
}
.rs4-trainer-form .rs4-small {
  margin: 0;
  color: #758080;
}
.rs4-trainer-results {
  min-width: 0;
}
.rs4-plan-placeholder {
  padding: 35px;
  border: 1px solid #e0e5de;
  border-radius: 5px;
  background: #fff;
}
.rs4-plan-placeholder h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -1px;
  margin: 25px 0 13px;
}
.rs4-plan-placeholder p {
  font-size: 15px;
  color: #606b6c;
  line-height: 1.8;
  margin: 0 0 20px;
}
.rs4-plan-placeholder img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 4px;
}
.rs4-placeholder-index {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #dd1932;
}
.rs4-plan-error {
  background: #fff4f4;
  border: 1px solid #e3bfc3;
  color: #76242c;
  border-radius: 5px;
  padding: 22px;
  line-height: 1.7;
}
.rs4-plan-top {
  background: #181d1f;
  color: #fff;
  border-radius: 5px;
  padding: 27px;
  margin-bottom: 22px;
}
.rs4-plan-top h2 {
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
  color: white;
  margin: 0 0 13px;
}
.rs4-plan-top p {
  font-size: 14px;
  color: #cbd1d1;
  line-height: 1.65;
  margin: 0;
}
.rs4-plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.rs4-plan-metrics > div {
  background: #ffffff0e;
  padding: 13px;
  border-radius: 3px;
}
.rs4-plan-metrics strong {
  display: block;
  font-size: 24px;
  color: #ff566b;
}
.rs4-plan-metrics span {
  font-size: 11px;
  color: #d7dad9;
}
.rs4-plan-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.rs4-plan-actions button {
  border: 1px solid #aeb6b1;
  border-radius: 4px;
  background: #fff;
  color: #182123;
  font-weight: 850;
  font-size: 12px;
  padding: 12px 15px;
  cursor: pointer;
}
.rs4-plan-actions button:hover {
  border-color: #dc1a31;
  color: #cb172c;
}
.rs4-plan-week {
  margin-bottom: 12px;
  border: 1px solid #e1e4de;
  border-radius: 4px;
  overflow: hidden;
}
.rs4-plan-week summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 17px;
  background: #f6f7f3;
}
.rs4-plan-week summary::-webkit-details-marker {
  display: none;
}
.rs4-plan-week summary > strong {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: #f1dce0;
  color: #b1112a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.rs4-plan-week summary span {
  flex: 1;
  min-width: 0;
}
.rs4-plan-week summary b {
  display: block;
  font-size: 15px;
  color: #1d2527;
}
.rs4-plan-week summary small {
  display: block;
  font-size: 12px;
  color: #626d6e;
  margin-top: 4px;
}
.rs4-plan-week .rs4-week-km {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  color: #c4172e;
}
.rs4-session-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}
.rs4-session-table th {
  text-align: left;
  width: 92px;
  padding: 13px 15px;
  border-top: 1px solid #eaede8;
  color: #424d4f;
  font-weight: 950;
  vertical-align: top;
}
.rs4-session-table td {
  padding: 13px 15px;
  border-top: 1px solid #eaede8;
  color: #566063;
  line-height: 1.6;
}
.rs4-plan-note {
  font-size: 12px;
  color: #5b6668;
  line-height: 1.8;
  margin: 23px 0;
}
.rs4-trainer-bottom {
  padding-bottom: 95px;
}
.rs4-trainer-bottom h2 {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 900;
  margin: 0 0 14px;
}
.rs4-trainer-bottom p {
  max-width: 860px;
  font-size: 15px;
  color: #536064;
  line-height: 1.9;
  margin: 0 0 24px;
}
.rs4-account-preview {
  padding-top: 75px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1.4fr 0.65fr;
  gap: 9%;
}
.rs4-account-preview h2 {
  font-size: 40px;
  font-weight: 950;
  letter-spacing: -1.5px;
  margin: 0 0 18px;
}
.rs4-account-preview p {
  color: #566163;
  font-size: 15px;
  line-height: 1.8;
}
.rs4-account-preview ul {
  line-height: 2.1;
  color: #344044;
  padding-left: 22px;
  margin: 25px 0;
}
.rs4-account-preview aside {
  background: #f4f5f1;
  border-radius: 5px;
  padding: 28px;
  align-self: start;
}
.rs4-account-preview aside h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 900;
}
:where(.rs4-header, .rs4-list-hero, .rs4-race-card, .rs4-trainer-layout)
  a:focus-visible,
.rs4-btn:focus-visible,
.rs4-menu summary:focus-visible {
  outline: 3px solid #ff677a;
  outline-offset: 3px;
}
@media (max-width: 1160px) {
  .rs4-desktop-links {
    gap: 14px;
  }
  .rs4-brand img {
    width: 148px;
  }
  .rs4-account-link {
    padding: 12px;
  }
}
@media (max-width: 1010px) {
  .rs4-desktop-links,
  .rs4-account-link {
    display: none;
  }
  .rs4-menu {
    display: block;
  }
  .rs4-hero-grid {
    gap: 4%;
  }
  .rs4-hero-photo {
    min-height: 470px;
  }
  .rs4-hero h1 {
    font-size: clamp(43px, 5.7vw, 65px);
  }
  .rs4-footer-grid {
    gap: 27px;
  }
}
@media (max-width: 880px) {
  .rs4-hero-grid {
    grid-template-columns: 1fr;
  }
  .rs4-hero-photo {
    height: 310px;
    min-height: 310px;
    margin-top: 20px;
  }
  .rs4-home-races,
  .rs4-race-list {
    grid-template-columns: 1fr;
  }
  .rs4-train-split {
    grid-template-columns: 1fr;
  }
  .rs4-train-image {
    height: 300px;
  }
  .rs4-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rs4-trainer-layout {
    grid-template-columns: 1fr;
  }
  .rs4-trainer-panel {
    position: static;
  }
  .rs4-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rs4-event-content {
    grid-template-columns: 1fr;
  }
  .rs4-value-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .rs4-nav {
    min-height: 68px;
  }
  .rs4-brand img {
    width: 155px;
  }
  .rs4-hero {
    padding: 46px 0;
  }
  .rs4-hero h1 {
    font-size: clamp(42px, 11.6vw, 59px);
    letter-spacing: -2.5px;
  }
  .rs4-hero-sub {
    font-size: 14px;
  }
  .rs4-hero-photo {
    height: 245px;
    min-height: 245px;
  }
  .rs4-quick > div {
    flex-direction: column;
  }
  .rs4-quick button {
    min-height: 45px;
  }
  .rs4-section-head {
    flex-direction: column;
    align-items: start;
  }
  .rs4-section-head h2 {
    font-size: 35px;
  }
  .rs4-home-discover,
  .rs4-home-organizers {
    padding-top: 62px;
    padding-bottom: 68px;
  }
  .rs4-home-training {
    padding: 70px 0;
  }
  .rs4-value-grid {
    grid-template-columns: 1fr;
  }
  .rs4-banner-inner {
    align-items: start;
    flex-direction: column;
  }
  .rs4-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
  }
  .rs4-footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .rs4-footer-bottom {
    flex-direction: column;
  }
  .rs4-list-hero {
    padding: 42px 0;
  }
  .rs4-list-hero h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .rs4-catalog-wrap {
    padding-top: 45px;
    padding-bottom: 60px;
  }
  .rs4-discovery-top {
    flex-direction: column;
    align-items: start;
  }
  .rs4-filter-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .rs4-result-line {
    flex-direction: column;
    align-items: start;
  }
  .rs4-race-date {
    width: 54px;
    min-width: 54px;
  }
  .rs4-race-card {
    padding: 15px;
    gap: 10px;
  }
  .rs4-race-copy h3 {
    font-size: 16px;
  }
  .rs4-card-kicker {
    font-size: 9px;
  }
  .rs4-catalog-cta {
    flex-direction: column;
    align-items: start;
  }
  .rs4-calendars {
    padding-top: 35px;
  }
  .rs4-month-grid {
    gap: 2px;
  }
  .rs4-calendar-weekday {
    font-size: 9px;
    padding: 5px 0;
  }
  .rs4-day {
    min-height: 57px;
    padding: 3px;
    gap: 2px;
  }
  .rs4-day-number {
    font-size: 10px;
  }
  .rs4-day a {
    font-size: 8px;
    line-height: 1.15;
    max-height: 32px;
    overflow: hidden;
  }
  .rs4-event-content {
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .rs4-event-main dl > div {
    grid-template-columns: 110px 1fr;
  }
  .rs4-trainer-layout {
    padding-top: 35px;
  }
  .rs4-trainer-panel {
    padding: 19px;
  }
  .rs4-form-row {
    grid-template-columns: 1fr 1fr;
  }
  .rs4-form-row label:first-child {
    grid-column: 1/-1;
  }
  .rs4-plan-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .rs4-trainer-bottom {
    padding-bottom: 65px;
  }
  .rs4-account-preview {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-top: 50px;
  }
  .rs4-account-preview h2 {
    font-size: 33px;
  }
}
@media print {
  .rs4-header,
  .prelaunch-footer,
  .rs4-list-hero,
  .rs4-trainer-panel,
  .rs4-trainer-bottom,
  .rs4-plan-actions {
    display: none !important;
  }
  .rs4-trainer-layout {
    display: block;
    padding: 0;
    width: 100% !important;
  }
  .rs4-plan-week {
    break-inside: avoid;
  }
  .rs4-plan-week summary {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rs4-race-card {
    transition: none;
  }
}
