:root {
  --regulation-ink: #17100c;
  --regulation-brown: #4b2418;
  --regulation-rust: #a84327;
  --regulation-rust-dark: #792c1b;
  --regulation-gold: #d9a441;
  --regulation-cream: #f4eadb;
  --regulation-paper: #fffaf2;
  --regulation-white: #fff;
  --regulation-muted: #74675f;
  --regulation-green: #42634c;
  --regulation-line: rgba(75, 36, 24, .13);
  --regulation-heading: "Barlow Condensed", sans-serif;
  --regulation-body: "Inter", sans-serif;
  --regulation-accent: "Roboto Slab", serif;
}

.gw-page {
  background: var(--regulation-paper);
}

.gw-page main {
  color: var(--regulation-ink);
  background: var(--regulation-paper);
  font-family: var(--regulation-body);
  overflow: clip;
}

.gw-page main .container {
  width: min(calc(100% - 40px), 1558px);
  margin-inline: auto;
}

.gw-page main h1,
.gw-page main h2,
.gw-page main h3,
.gw-page main p,
.gw-page main blockquote {
  margin-top: 0;
}

.gw-page main h1,
.gw-page main h2,
.gw-page main h3 {
  font-family: var(--regulation-heading);
  letter-spacing: -.035em;
}

.gw-page main p,
.gw-page main a,
.gw-page main button,
.gw-page main span,
.gw-page main strong {
  font-size: 1rem;
}

.gw-page main a {
  color: inherit;
}

.regulation-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--regulation-rust);
  font-family: var(--regulation-heading);
  font-size: 1.08rem !important;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.regulation-eyebrow::before {
  width: 36px;
  height: 3px;
  flex: 0 0 36px;
  background: currentColor;
  content: "";
}

.regulation-hero {
  position: relative;
  padding: clamp(70px, 8vw, 120px) 0;
  overflow: hidden;
  color: var(--regulation-white);
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 164, 65, .22), transparent 25%),
    linear-gradient(135deg, #17100c 0%, #412319 100%);
}

.regulation-hero::after {
  position: absolute;
  right: -125px;
  bottom: -285px;
  width: 590px;
  height: 590px;
  border: 95px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.regulation-hero__inner {
  position: relative;
  z-index: 1;
}

.regulation-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 55px;
  color: rgba(255, 255, 255, .64);
}

.regulation-breadcrumb a {
  text-decoration: none;
}

.regulation-breadcrumb a:hover,
.regulation-breadcrumb a:focus-visible {
  color: var(--regulation-gold);
}

.regulation-breadcrumb span[aria-current="page"] {
  color: var(--regulation-white);
}

.regulation-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(410px, .8fr);
  align-items: end;
  gap: clamp(50px, 9vw, 145px);
}

.regulation-hero .regulation-eyebrow {
  color: var(--regulation-gold);
}

.regulation-hero h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 900;
  line-height: .8;
  text-transform: uppercase;
}

.regulation-hero h1 > span {
  display: block;
  color: var(--regulation-gold);
  font-family: var(--regulation-accent);
  font-size: .67em;
  font-weight: 800;
  letter-spacing: -.06em;
  text-transform: none;
}

.regulation-hero__grid > div:first-child > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.regulation-hero__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.regulation-hero__summary > div {
  min-width: 0;
  padding: 25px 17px;
  text-align: center;
}

.regulation-hero__summary > div + div {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.regulation-hero__summary strong,
.regulation-hero__summary span {
  display: block;
}

.regulation-hero__summary strong {
  color: var(--regulation-gold);
  font-family: var(--regulation-heading);
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .95;
}

.regulation-hero__summary span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .68);
  font-family: var(--regulation-heading);
  font-weight: 700;
  line-height: 1.2;
}

.regulation-content {
  padding: clamp(75px, 9vw, 140px) 0;
  background:
    radial-gradient(circle at 5% 4%, rgba(217, 164, 65, .11), transparent 18%),
    var(--regulation-paper);
}

.regulation-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: clamp(35px, 5vw, 80px);
}

.regulation-sidebar {
  position: sticky;
  top: 130px;
}

.regulation-index-toggle {
  display: none;
}

.regulation-index {
  max-height: calc(100vh - 290px);
  padding: 25px 18px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--regulation-white);
  border: 1px solid var(--regulation-line);
  border-radius: 21px;
  box-shadow: 0 18px 48px rgba(58, 34, 21, .08);
  scrollbar-color: var(--regulation-gold) transparent;
  scrollbar-width: thin;
}

.regulation-index > p {
  margin: 0 8px 15px;
  color: var(--regulation-muted);
  font-family: var(--regulation-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.regulation-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.regulation-index li + li {
  border-top: 1px solid var(--regulation-line);
}

.regulation-index a {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  color: #4f443e;
  font-family: var(--regulation-heading);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.regulation-index a > span {
  color: var(--regulation-rust);
  font-family: var(--regulation-accent);
  font-weight: 800;
}

.regulation-index a:hover,
.regulation-index a:focus-visible,
.regulation-index a.is-active {
  color: var(--regulation-rust-dark);
  background: rgba(217, 164, 65, .13);
  border-radius: 9px;
  transform: translateX(3px);
}

.regulation-index a:focus-visible {
  outline: 3px solid var(--regulation-gold);
  outline-offset: 2px;
}

.regulation-sidebar__actions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.regulation-button {
  position: relative;
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  color: var(--regulation-white);
  background: var(--regulation-rust);
  border: 2px solid var(--regulation-rust);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(121, 44, 27, .18);
  cursor: pointer;
  font-family: var(--regulation-heading);
  font-size: 1.05rem !important;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.regulation-button::after {
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 7px;
  opacity: .3;
  pointer-events: none;
  content: "";
}

.regulation-button:hover,
.regulation-button:focus-visible {
  color: var(--regulation-ink);
  background: var(--regulation-gold);
  border-color: var(--regulation-gold);
  transform: translateY(-3px);
}

.regulation-button--primary {
  color: var(--regulation-white) !important;
}

.regulation-back {
  color: var(--regulation-brown) !important;
  font-family: var(--regulation-heading);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.regulation-back:hover,
.regulation-back:focus-visible {
  color: var(--regulation-rust) !important;
}

.regulation-document {
  min-width: 0;
  overflow: hidden;
  background: var(--regulation-white);
  border: 1px solid var(--regulation-line);
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(58, 34, 21, .09);
}

.regulation-document__header {
  padding: clamp(35px, 5.5vw, 75px);
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .12), transparent 55%),
    var(--regulation-cream);
  border-bottom: 1px solid var(--regulation-line);
}

.regulation-document__header h2 {
  max-width: 930px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.regulation-document__header > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--regulation-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.regulation-rule {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(38px, 5vw, 70px);
  scroll-margin-top: 150px;
}

.regulation-rule + .regulation-rule {
  border-top: 1px solid var(--regulation-line);
}

.regulation-rule:nth-of-type(even) {
  background: rgba(245, 236, 222, .38);
}

.regulation-rule__number {
  position: sticky;
  top: 145px;
  align-self: start;
  color: var(--regulation-muted);
  font-family: var(--regulation-heading);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.regulation-rule__number > span {
  display: block;
}

.regulation-rule__number > strong {
  display: block;
  margin-top: 2px;
  color: var(--regulation-rust);
  font-family: var(--regulation-accent);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
}

.regulation-rule__body {
  max-width: 970px;
}

.regulation-rule__body > h2 {
  margin-bottom: 25px;
  color: var(--regulation-brown);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
}

.regulation-rule__body > p {
  margin-bottom: 18px;
  color: #514740;
  line-height: 1.82;
}

.regulation-rule__body > p:last-child {
  margin-bottom: 0;
}

.regulation-notice {
  position: relative;
  margin-top: 30px;
  padding: 25px 25px 25px 78px;
  overflow: hidden;
  border-radius: 17px;
}

.regulation-notice::before {
  position: absolute;
  top: 25px;
  left: 25px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--regulation-white);
  border-radius: 50%;
  font-family: var(--regulation-heading);
  font-size: 1.35rem;
  font-weight: 900;
}

.regulation-notice--warning {
  color: #4c3510;
  background: #f8e6b8;
  border: 1px solid rgba(143, 91, 12, .2);
}

.regulation-notice--warning::before {
  background: #9c6818;
  content: "!";
}

.regulation-notice--danger {
  color: #572116;
  background: #f3d9d1;
  border: 1px solid rgba(168, 67, 39, .2);
}

.regulation-notice--danger::before {
  background: var(--regulation-rust);
  content: "!";
}

.regulation-notice > strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--regulation-heading);
  font-size: 1.4rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.regulation-notice p {
  margin-bottom: 0;
  line-height: 1.68;
}

.regulation-equipment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.regulation-equipment > div {
  position: relative;
  min-height: 175px;
  padding: 28px;
  background: var(--regulation-cream);
  border: 1px solid var(--regulation-line);
  border-radius: 18px;
}

.regulation-equipment > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--regulation-white);
  background: var(--regulation-rust);
  border-radius: 50%;
}

.regulation-equipment strong {
  display: block;
  margin-bottom: 7px;
  color: var(--regulation-brown);
  font-family: var(--regulation-heading);
  font-size: 1.5rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.regulation-equipment p {
  margin-bottom: 0;
  color: var(--regulation-muted);
  line-height: 1.65;
}

.regulation-rule__body blockquote {
  position: relative;
  margin: 30px 0 0;
  padding: 28px 32px 28px 70px;
  color: var(--regulation-white);
  background: var(--regulation-brown);
  border-radius: 17px;
  font-family: var(--regulation-accent);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
}

.regulation-rule__body blockquote::before {
  position: absolute;
  top: 15px;
  left: 22px;
  color: var(--regulation-gold);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  content: "“";
}

.regulation-etiquette-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  padding: 28px;
  color: var(--regulation-white);
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 164, 65, .22), transparent 35%),
    var(--regulation-ink);
  border-radius: 20px;
}

.regulation-etiquette-link div > span,
.regulation-etiquette-link div > strong {
  display: block;
}

.regulation-etiquette-link div > span {
  margin-bottom: 7px;
  color: var(--regulation-gold);
  font-family: var(--regulation-heading);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.regulation-etiquette-link div > strong {
  font-family: var(--regulation-heading);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.regulation-document__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 35px;
  padding: clamp(38px, 5vw, 65px);
  color: var(--regulation-white);
  background: var(--regulation-ink);
}

.regulation-document__footer .regulation-eyebrow {
  margin-bottom: 10px;
  color: var(--regulation-gold);
}

.regulation-document__footer h2 {
  margin-bottom: 7px;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.regulation-document__footer div > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.regulation-js [data-regulation-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.regulation-js [data-regulation-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .regulation-hero__grid {
    grid-template-columns: 1fr;
  }

  .regulation-hero__summary {
    max-width: 650px;
  }

  .regulation-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
  }

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

  .regulation-etiquette-link {
    grid-template-columns: 1fr;
  }

  .regulation-etiquette-link .regulation-button {
    width: max-content;
  }
}

@media (max-width: 920px) {
  .regulation-layout {
    grid-template-columns: 1fr;
  }

  .regulation-sidebar {
    position: relative;
    top: auto;
    z-index: 5;
  }

  .regulation-index-toggle {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--regulation-white);
    background: var(--regulation-brown);
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-family: var(--regulation-heading);
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  .regulation-index-toggle > span:last-child {
    font-size: 1.5rem;
    transition: transform .2s ease;
  }

  .regulation-index-toggle[aria-expanded="true"] > span:last-child {
    transform: rotate(45deg);
  }

  .regulation-index {
    display: none;
    max-height: 55vh;
    margin-top: 8px;
  }

  .regulation-index.is-open {
    display: block;
  }

  .regulation-sidebar__actions {
    grid-template-columns: minmax(0, 300px) auto;
    align-items: center;
  }

  .regulation-back {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .gw-page main .container {
    width: min(calc(100% - 30px), 1558px);
  }

  .regulation-hero {
    padding: 120px 0 72px;
  }

  .regulation-breadcrumb {
    margin-bottom: 42px;
  }

  .regulation-hero h1 {
    font-size: clamp(3.7rem, 16vw, 5.6rem);
  }

  .regulation-hero__summary {
    grid-template-columns: 1fr;
  }

  .regulation-hero__summary > div {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    align-items: center;
    padding: 17px 22px;
    text-align: left;
  }

  .regulation-hero__summary > div + div {
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .regulation-hero__summary span {
    margin-top: 0;
  }

  .regulation-content {
    padding: 70px 0;
  }

  .regulation-sidebar__actions {
    grid-template-columns: 1fr;
  }

  .regulation-back {
    text-align: center;
  }

  .regulation-document {
    border-radius: 22px;
  }

  .regulation-document__header {
    padding: 36px 22px;
  }

  .regulation-document__header h2 {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
  }

  .regulation-rule {
    display: block;
    padding: 40px 22px;
    scroll-margin-top: 105px;
  }

  .regulation-rule__number {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
  }

  .regulation-rule__number > span,
  .regulation-rule__number > strong {
    display: inline;
  }

  .regulation-rule__number > strong {
    font-size: 2.7rem;
  }

  .regulation-rule__body > h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .regulation-notice {
    padding: 70px 20px 22px;
  }

  .regulation-notice::before {
    top: 22px;
    left: 20px;
  }

  .regulation-equipment {
    grid-template-columns: 1fr;
  }

  .regulation-rule__body blockquote {
    padding: 65px 22px 25px;
  }

  .regulation-etiquette-link {
    padding: 24px 20px;
  }

  .regulation-etiquette-link .regulation-button {
    width: 100%;
  }

  .regulation-document__footer {
    grid-template-columns: 1fr;
  }

  .regulation-document__footer .regulation-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .gw-page main .container {
    width: min(calc(100% - 24px), 1558px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gw-page main *,
  .gw-page main *::before,
  .gw-page main *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .regulation-js [data-regulation-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .gw-page .topbar,
  .gw-page .site-header,
  .gw-page .regulation-hero,
  .gw-page .regulation-sidebar,
  .gw-page .site-footer,
  .gw-page .back-to-top,
  .regulation-document__footer {
    display: none !important;
  }

  .gw-page,
  .gw-page main,
  .regulation-content {
    background: #fff !important;
  }

  .regulation-content {
    padding: 0;
  }

  .gw-page main .container,
  .regulation-layout {
    display: block;
    width: 100%;
    max-width: none;
  }

  .regulation-document {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .regulation-document__header {
    padding: 0 0 28px;
    background: #fff;
  }

  .regulation-document__header h2 {
    font-size: 30pt;
  }

  .regulation-rule {
    display: block;
    padding: 28px 0;
    break-inside: auto;
  }

  .regulation-rule__number {
    position: static;
  }

  .regulation-rule__number > strong {
    display: inline;
    font-size: 20pt;
  }

  .regulation-rule__body > h2 {
    font-size: 24pt;
    break-after: avoid;
  }

  .regulation-rule__body > p,
  .regulation-notice p,
  .regulation-equipment p {
    color: #111;
    font-size: 10.5pt;
    line-height: 1.55;
  }

  .regulation-etiquette-link .regulation-button {
    display: none;
  }
}
