/* November client refinements. Preserve the established fixed-width containers. */
/* Expanded-menu controls: no layout override until an editor opts in. */
html body .gr-menu-bottom--bg-burgundy { background: #5d0f15; }
html body .gr-menu-bottom--bg-red { background: #ac182d; }
html body .gr-menu-bottom--bg-cream { background: #f9f5ef; }
html body .gr-menu-bottom--bg-white { background: #fff; }
html body .gr-menu-bottom--bg-red .gr-menu-colour--red { border-color: #fff; }
html body .gr-menu-bottom--managed {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; height: auto; min-height: 170px;
}
html body .gr-menu-bottom__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; min-width: 0; max-width: 100%; }
html body .gr-menu-bottom--managed .gr-mobile-menu__cta-row { display: contents; }
html body .gr-menu-bottom--managed .gr-mobile-menu__cta {
  width: auto; max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere;
  text-align: center; line-height: 1.4; min-height: 44px;
}
html body .gr-menu-bottom--managed .gr-mobile-menu__socials { flex-wrap: wrap; margin: 0; max-width: 100%; }
html body .gr-menu-bottom--managed .gr-mobile-menu__social { flex: 0 0 42px; }
html body .gr-menu-bottom--center { justify-content: center; }
html body .gr-menu-bottom--center .gr-menu-bottom__buttons { justify-content: center; }
html body .gr-menu-bottom--stacked { flex-direction: column; justify-content: center; }
html body .gr-menu-bottom--stacked .gr-menu-bottom__buttons { justify-content: center; }
html body :is(.gr-menu-bottom--bg-white, .gr-menu-bottom--bg-cream) :is(.gr-mobile-menu__cta, .gr-mobile-menu__social) { border: 1px solid #5d0f15; }
html body :is(.gr-menu-bottom--bg-white, .gr-menu-bottom--bg-cream) :is(.gr-mobile-menu__cta, .gr-mobile-menu__social):is(:hover, :focus-visible) { outline: 2px solid #5d0f15; outline-offset: 3px; }
@media (max-width: 760px) {
  html body .gr-menu-bottom--managed { min-height: 0; align-items: stretch; flex-direction: column; }
  html body .gr-menu-bottom__buttons { justify-content: center; }
  html body .gr-menu-bottom--managed .gr-mobile-menu__cta { flex: 1 1 140px; }
  html body .gr-menu-bottom--managed .gr-mobile-menu__socials { justify-content: center; }
}
html body .gr-logo__image { clip-path: inset(0 11.574% 12.556% round 0 0 12px 12px); }
html body.is-menu-open .gr-site-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  inset-inline: 0;
  transform: none;
  width: 100%;
}
html body.is-menu-open .gr-mobile-menu {
  top: var(--gr-menu-top, 120px);
  height: calc(100dvh - var(--gr-menu-top, 120px));
  max-height: calc(100dvh - var(--gr-menu-top, 120px));
  overscroll-behavior: contain;
}
.gr-footer-ctas .gr-button:hover,
.gr-footer-ctas .gr-button:focus-visible {
  background: #5d0f15;
  color: #fff;
  border-color: #c09a5d;
}
html body .gr-header-shop { width: auto; min-width: 78px; padding-inline: 16px; }
html body .gr-mobile-menu__cta.gr-menu-colour--white { background: #fff; color: #5d0f15; }
html body .gr-mobile-menu__cta.gr-menu-colour--gold { background: #c09a5d; color: #241b12; }
html body .gr-mobile-menu__cta.gr-menu-colour--red { background: #ac182d; color: #fff; }
html body .gr-mobile-menu__cta:hover,
html body .gr-mobile-menu__cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* A longer label needs the compact navigation earlier, without changing logo widths. */
@media (min-width: 1361px) and (max-width: 1390px) {
  html body .gr-site-header .gr-primary-nav { display: none; }
}
.gr-newsletter-frame { border: 0; width: 100%; min-height: 150px; display: block; }
html body.gr-newsletter-document { margin: 0; padding: 0; background: #ac182d; }
html body.gr-newsletter-document .gr-newsletter { display: block; margin: 0; padding: 8px 4px; width: 100%; max-width: none; }
html body.gr-newsletter-document .gr-newsletter-embed-inner,
html body.gr-newsletter-document .gr-newsletter-form { width: 100%; max-width: none; }
html body .gr-news-single__layout { display: block; }
html body .gr-news-single__article { max-width: 78ch; margin-inline: auto; }
html body.gr-review-information .gr-card-grid__card .gr-card-grid__image {
  filter: none !important;
  transition: transform .25s ease;
}
html body.gr-review-information .gr-card-grid__card:hover .gr-card-grid__image,
html body.gr-review-information .gr-card-grid__card:focus-within .gr-card-grid__image { filter: none !important; }
html body.gr-page-refined--contact .gr-team-grid__items { gap: 0; padding: 24px; background: #f9f5ef; }
html body.gr-page-refined--contact .gr-team-card { gap: 0; margin: 0; padding: 0; height: 100%; }
html body.gr-page-refined--contact .gr-team-card__image { height: 100%; min-height: 220px; aspect-ratio: auto; }
html body.gr-review-raceday #overview { width: min(calc(100% - 60px), 1320px); margin-inline: auto; }
html body.gr-review-raceday #overview .gr-wysiwyg__panel { max-width: none; padding-inline: 0; }
html body.gr-review-raceday #overview .gr-wysiwyg__content { max-width: 78ch; margin-left: 0; margin-right: auto; text-align: left; }
html body.gr-review-raceday #overview h2 { text-align: left; }
html body .gr-guest-package-pricing .gr-guest-package-pricing__grid { gap: 10px; }
html body .gr-guest-package-pricing .gr-guest-package-pricing__tile {
  background: #f9f5ef; border: 1px solid #bda482; border-radius: 4px;
  padding: 14px 12px; min-height: 104px; box-shadow: none;
}
html body .gr-guest-package-pricing .gr-guest-package-pricing__price { font-size: 20px; margin-top: 6px; }
html body .gr-guest-package-pricing .gr-guest-package-pricing__radio:checked + label { background: #5d0f15; color: #fff; border-color: #c09a5d; }
html body .gr-guest-package-pricing .gr-guest-package-pricing__tile.is-unavailable { background: #eee8e1; color: #62574c; cursor: not-allowed; border-style: dashed; }
html body .gr-guest-package-pricing .gr-guest-package-pricing__buy-now {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 8px 0 0; text-align: center; min-height: 44px; line-height: 1.3;
}
html body .gr-guest-package-pricing .gr-guest-package-pricing__buy-now[hidden] { display: none; }
html body .gr-racecard__featured-label { display: block; color: #5d0f15; font-size: .8em; font-weight: 800; margin-bottom: 6px; }
html body .gr-racecard__row.is-featured { background: #f4eadb; border-left: 4px solid #c09a5d; }
html body.gr-review-lost-found .gform_wrapper {
  --gf-color-primary: #5d0f15;
  --gf-color-primary-contrast: #fff;
  --gf-ctrl-border-radius: 4px;
  --gf-ctrl-size: 48px;
}
html body.gr-review-lost-found .gform_wrapper input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
html body.gr-review-lost-found .gform_wrapper select,
html body.gr-review-lost-found .gform_wrapper textarea {
  border: 1px solid #8c7d6e; border-radius: 4px; background: #fff; color: #302824;
  min-height: 48px; padding: 12px; font: inherit; max-width: 100%;
}
html body.gr-review-lost-found .gform_wrapper input:focus-visible,
html body.gr-review-lost-found .gform_wrapper select:focus-visible,
html body.gr-review-lost-found .gform_wrapper textarea:focus-visible { outline: 3px solid #c09a5d; outline-offset: 2px; }
html body.gr-review-lost-found .gform_wrapper .gform_button {
  /* Gravity Forms' per-form framework rules otherwise override the site theme. */
  background: #5d0f15 !important; color: #fff !important; border: 2px solid #5d0f15 !important; border-radius: 50px !important;
  padding: 14px 32px !important; min-height: 48px; font: inherit; font-weight: 700; cursor: pointer;
}
html body.gr-review-lost-found .gform_wrapper .gform_button:hover { background: #fff !important; color: #5d0f15 !important; }
html body.gr-review-lost-found .ginput_container_date { min-width: 0; flex: 1; }
/* Lost & Found: presentation only. Keep Gravity Forms' fields and behaviour intact. */
html body.gr-review-lost-found .gr-gravity-form { padding-block: 24px 64px; }
html body.gr-review-lost-found .gr-gravity-form__inner {
  background: #f9f5ef;
  border: 1px solid #e5d9c9;
  border-top: 4px solid #c09a5d;
  border-radius: 12px;
  padding: clamp(22px, 4vw, 48px);
  box-shadow: 0 12px 36px rgb(93 15 21 / 5%);
}
html body.gr-review-lost-found .gr-gravity-form .gform_fields { row-gap: 24px; column-gap: 28px; }
html body.gr-review-lost-found .gr-gravity-form .gsection {
  border: 0;
  border-bottom: 1px solid #d6c3a8;
  padding: 0 0 16px;
  margin: 20px 0 0;
}
html body.gr-review-lost-found .gr-gravity-form .gsection:first-child { margin-top: 0; }
html body.gr-review-lost-found .gr-gravity-form .gsection_title {
  color: #5d0f15;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}
html body.gr-review-lost-found .gr-gravity-form .gfield_label { color: #45282a; font-size: 16px; font-weight: 700; margin-bottom: 9px; }
html body.gr-review-lost-found .gr-gravity-form .gfield_required { color: #9b1730; }
html body.gr-review-lost-found .gr-gravity-form .gfield { min-width: 0; }
html body.gr-review-lost-found .gr-gravity-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
html body.gr-review-lost-found .gr-gravity-form select,
html body.gr-review-lost-found .gr-gravity-form textarea {
  border-color: #9e8d7c;
  border-radius: 7px;
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
}
html body.gr-review-lost-found .gr-gravity-form select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235d0f15' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding-right: 40px;
}
html body.gr-review-lost-found .gr-gravity-form .gform_wrapper textarea { height: 180px; min-height: 168px; resize: vertical; }
html body.gr-review-lost-found .gr-gravity-form .ginput_container_date input { min-width: 0; }
html body.gr-review-lost-found .gr-gravity-form .ginput_complex { gap: 12px; margin-inline: 0; width: 100%; }
html body.gr-review-lost-found .gr-gravity-form .ginput_complex .ginput_container_date { padding-inline: 0; }
html body.gr-review-lost-found .gr-gravity-form .gfield_description,
html body.gr-review-lost-found .gr-gravity-form .ginput_complex label { font-size: 14px; line-height: 1.5; color: #64544b; }
html body.gr-review-lost-found .gr-gravity-form .gfield_validation_message { color: #9b1730; }
html body.gr-review-lost-found .gr-gravity-form .gform_footer { border-top: 1px solid #d6c3a8; margin-top: 28px; padding-top: 24px; padding-bottom: 0; }
@media (max-width: 640px) {
  html body.gr-review-lost-found .gr-gravity-form .gfield { grid-column: 1 / -1; }
  html body.gr-review-lost-found .gr-gravity-form .gform_fields { grid-template-columns: minmax(0, 1fr); row-gap: 20px; column-gap: 0; }
  html body.gr-review-lost-found .gr-gravity-form .ginput_container_date input { padding-inline: 7px; }
  html body.gr-review-lost-found .gr-gravity-form .gfield_date_year { flex-grow: 1.3; }
  /* Override Gravity Forms' per-form button sizing on small screens. */
  html body.gr-review-lost-found .gr-gravity-form .gform_wrapper .gform_button { width: 100% !important; }
}
@media (forced-colors: active) {
  html body.gr-review-lost-found .gr-gravity-form select { appearance: auto; background-image: none; }
}
/* Page reviews: one measured reading grid, retaining every existing paragraph. */
html body.gr-page-refined--owners .gr-faq-list__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html body.gr-page-refined--owners .gr-faq-list__item:first-child { grid-column: auto; }
html body.gr-page-refined--owners .gr-faq-list__answer { max-width: 65ch; line-height: 1.7; }
html body.gr-page-refined--club .gr-evolved--notice .gr-container { max-width: 1180px; }
html body.gr-page-refined--club .gr-evolved--notice ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 36px; padding-left: 22px; }
html body.gr-review-transport .gr-evolved--information_table { padding-block: 16px 32px; }
html body.gr-review-transport .gr-evolved--information_table table { width: 100%; }
html body.gr-review-transport .gr-evolved--information_table th,
html body.gr-review-transport .gr-evolved--information_table td { padding: 14px 18px; text-align: left; }
.gr-history-timeline { margin: 0; padding: 0; list-style: none; }
.gr-history-timeline__item { border-left: 2px solid #c09a5d; padding: 0 0 36px 32px; position: relative; }
.gr-history-timeline__item::before { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #5d0f15; top: 6px; left: -7px; }
html body.gr-history-page .gr-history__editorial-inner { max-width: 1180px; }
html body.gr-history-page .gr-history__chapter--burgundy { background: #f9f5ef; color: #302824; }
html body.gr-history-page.gr-page-refined--history .gr-history__chapter--burgundy .gr-history__editorial-inner h2 { color: #5d0f15; }
html body.gr-history-page.gr-page-refined--history .gr-history__chapter--burgundy .gr-history__editorial-inner p,
html body.gr-history-page.gr-page-refined--history .gr-history__chapter--burgundy .gr-history__editorial-inner li { color: #302824; }
.gr-history-timeline__item h3 { color: #5d0f15; margin-top: 0; }
@media (min-width: 900px) {
  html body.gr-history-page.gr-page-refined--history .gr-history__chapter--burgundy .gr-history__editorial-inner { columns: 2; column-gap: 56px; max-width: 1180px; width: calc(100% - 96px); }
  html body.gr-history-page .gr-history__chapter--burgundy h2 { column-span: all; }
}
@media (max-width: 760px) {
  html body.is-menu-open .gr-mobile-menu { top: var(--gr-menu-top, 80px); }
  html body.gr-review-raceday #overview { width: calc(100% - 36px); }
  html body.gr-page-refined--contact .gr-team-grid__items { padding: 16px; }
  html body.gr-page-refined--owners .gr-faq-list__items,
  html body.gr-page-refined--club .gr-evolved--notice ul { grid-template-columns: 1fr; }
  .gr-history-timeline__item { padding-left: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.gr-review-information .gr-card-grid__card .gr-card-grid__image { transition: none; }
}

/* Client review: preserve the established design while improving discovery. */
html body.gr-page-refined--club .gr-card-grid + .gr-cta-panel--cream {
  margin-top: clamp(32px, 5vw, 72px);
}
.gr-mobile-menu__autumn-days { display: grid; gap: 12px; padding: 8px 0 16px 18px; }
html body .gr-primary-nav .sub-menu .sub-menu {
  position: static; box-shadow: none; padding: 0 0 8px 18px;
  visibility: inherit; opacity: 1; transform: none; width: auto; min-width: 0;
}
html body .gr-primary-nav .sub-menu .sub-menu a { font-size: 14px; }
@media (max-width: 760px) {
  html body .gr-site-header .gr-header-actions { gap: 8px; }
  html body .gr-site-header .gr-header-actions .gr-header-shop { display: inline-flex; min-width: 0; padding: 9px 10px; font-size: 12px; }
  html body .gr-header-actions > .gr-button--red { padding: 9px 10px; font-size: 12px; }
  html body .gr-header-actions .gr-header-search { display: none; }
  html body .gr-hero .gr-button-row { flex-wrap: wrap; justify-content: center; gap: 10px; }
}
@media (max-width: 380px) {
  html body .gr-site-header .gr-logo { width: 60px; height: 80px; }
  html body .gr-site-header .gr-logo .gr-logo__image { width: 80px; height: auto; margin-left: -10px; }
  html body .gr-site-header .gr-header-actions { gap: 6px; }
  html body .gr-site-header .gr-header-actions > .gr-button { min-width: 0; width: auto; padding: 8px; font-size: 11px; }
  html body .gr-site-header .gr-menu-toggle { width: 32px; min-width: 32px; }
  html body .gr-site-header .gr-menu-toggle__icon { max-width: 30px; }
}
