/* Design tokens - secondary matches app.css --secondary (#fafafa) */
:root {
  --color-secondary: #fafafa;
}

.home-qualifying-schools-cta {
  background-color: #001e41;
  color: #fff;
}

.home-qualifying-schools-cta .home-qualifying-cta_media {
  min-width: 0;
}

/* Small screens: cover fill inside a fixed aspect box */
@media (max-width: 991px) {
  .home-qualifying-schools-cta .home-qualifying-cta_media {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 14rem;
    aspect-ratio: 16 / 9;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

@media (min-width: 992px) {
  .home-qualifying-schools-cta .home-qualifying-cta_inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 50vh;
    overflow: hidden;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .header1_content {
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 0;
    max-height: 100%;
    align-items: stretch;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .header1_content > * {
    min-height: 0;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .home-qualifying-cta_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(1rem, 3vw, 2.5rem); /* horizontal breathing room before image column */
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .home-qualifying-cta_media {
    align-self: stretch;
    min-height: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--_ui-styles---radius--large, 16px);
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .home-qualifying-cta_media-img {
    position: static;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: auto;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .heading-style-h3 {
    font-size: clamp(1.5rem, 3.5vh, 2.5rem);
    line-height: 1.15;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .margin-bottom.margin-medium {
    margin-bottom: 0.85rem !important;
  }

  .home-qualifying-schools-cta .home-qualifying-cta_inner .button-group {
    row-gap: 0.5rem;
  }
}

/* Unified event card styling - using event26 components throughout */

/* Make event26_item work properly in the events page grid layout */
.event-header2_list .event26_item {
  border: 1px solid var(--color-scheme-1--border, #e5e5e5) !important;
  border-radius: 12px !important;
  background-color: var(--color-scheme-1--foreground, #ffffff) !important;
  overflow: hidden !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-header2_list .event26_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-header2_list .event26_item-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Ensure proper image display */
.event26_image-wrapper {
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 3 / 2 !important;
}

.event26_image {
  aspect-ratio: 3 / 2 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.event26_category-wrapper {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 2 !important;
}

.event26_item-content {
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
}

/* Ensure meta wrapper displays properly */
.event26_meta-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.event26_meta-tag {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

.event26_icon-wrapper {
  display: flex !important;
  align-items: center !important;
  width: 16px !important;
  height: 16px !important;
}

/* Make event26_item work properly in the individual event page related events grid */
.related-events-grid .event26_item {
  border: 1px solid var(--color-scheme-1--border, #e5e5e5) !important;
  border-radius: 12px !important;
  background-color: var(--color-scheme-1--foreground, #ffffff) !important;
  overflow: hidden !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-events-grid .event26_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.related-events-grid .event26_item-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* ============================================
   Webflow replacement base styles
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}
img { max-width: 100%; vertical-align: middle; display: inline-block; }

.w-inline-block { max-width: 100%; display: inline-block; }
.w-layout-grid { display: grid; grid-auto-columns: 1fr; }
.w-embed { display: block; }
.w-button {
  display: inline-block;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
.w-richtext > :first-child { margin-top: 0; }
.w-richtext > :last-child { margin-bottom: 0; }
.w-richtext img { max-width: 100%; }
.w-nav-brand { position: relative; text-decoration: none; color: #333; }
.w-nav-link {
  position: relative;
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  color: #222;
  padding: 20px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.w-dyn-list, .w-dyn-items, .w-dyn-item { display: block; }
.w-slider-dot {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 100%;
  margin: 0 3px;
  cursor: pointer;
  transition: background-color 0.1s;
}
.w-slider-dot.w-active { background-color: #fff; }
.w-round { border-radius: 100%; }

/* Mobile nav toggle */
.navbar28_menu {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media screen and (max-width: 991px) {
  .navbar28_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-scheme-1--background);
    color: var(--color-scheme-1--text);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 5% 6.5rem;
    border-bottom: 1px solid #000;
    height: 100dvh;
    overflow: auto;
  }
  .navbar28_menu.nav-open {
    display: flex;
  }
  .navbar28_menu.nav-open .navbar28_logo-light { display: none; }
  .navbar28_menu.nav-open .navbar28_logo-colour { display: block; }
}

/* Swiper overrides for existing design */
.hero_slider.swiper { overflow: hidden; }
.hero_slider .swiper-slide { height: auto; }
.hero_slider .swiper-pagination { bottom: 1.5rem; }
.hero_slider .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.hero_slider .swiper-pagination-bullet-active { background: #fff; }

/* Swiper root must clip slides; overflow:visible lets swiper-wrapper widen the page on mobile */
.event26_slider.swiper,
.blog66_group.swiper,
.videos_group.swiper {
  overflow: hidden;
  position: relative;
  padding-bottom: 4rem;
  width: 100%;
  max-width: 100%;
}

.videos_component {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.event26_slide.swiper-slide,
.blog66_slide.swiper-slide,
.videos_slide.swiper-slide {
  height: auto;
  padding-right: 0;
}

.slider-controls { display: flex; gap: 0.75rem; position: absolute; bottom: 0; right: 0; z-index: 10; }
.slider-arrow { cursor: pointer; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--color-scheme-1--border, #e5e5e5); background: transparent; transition: background 0.2s; }
.slider-arrow:hover { background: rgba(0, 0, 0, 0.05); }
.slider-arrow-icon_default { width: 1rem; height: 1rem; }
.slider-controls .slider-arrow { position: static; inset: unset; }

.event26_slide-nav.swiper-pagination,
.blog66_slide-nav.swiper-pagination,
.videos_slide-nav.swiper-pagination { position: absolute; bottom: 0.5rem; left: 0; width: auto !important; text-align: left; }
.swiper-pagination-bullet { width: 0.625rem; height: 0.625rem; }

/* Hamburger button reset */
.navbar28_menu-button {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
@media screen and (max-width: 991px) {
  .navbar28_menu-button { display: flex; }
  .navbar28_menu-left { flex-direction: column; width: 100%; }
  .navbar28_menu-right { flex-direction: column; width: 100%; margin-top: 1rem; }
}

/* News cards */
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--_primitives---opacity--neutral-darkest-15, #e5e5e5);
  border-radius: 0.75rem;
  background-color: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.news-card_image-wrapper {
  width: 100%;
  overflow: hidden;
}
.news-card_image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}
.news-card:hover .news-card_image {
  transform: scale(1.03);
}
.news-card_content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.25rem;
}
.news-card_category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #001e41;
  margin-bottom: 0.5rem;
}
.news-card_title {
  font-family: var(--_typography---font-styles--heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  color: var(--_primitives---colors--neutral-darkest, #000501);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card_excerpt {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--_primitives---colors--neutral-dark, #4c504d);
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card_meta {
  font-size: 0.8125rem;
  color: var(--_primitives---colors--neutral, #7f8280);
  margin-top: auto;
  margin-bottom: 1rem;
}
.news-card_link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--_primitives---colors--neutral-darkest, #000501);
  transition: color 0.15s;
}
.news-card:hover .news-card_link {
  color: #001e41;
}

/* News grid (news listing page) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.news-grid_item {
  width: 100%;
}
.news-grid_item .news-card {
  height: 100%;
}
@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.pagination_summary {
  font-size: 0.875rem;
  color: var(--_primitives---colors--neutral-dark, #4c504d);
}
.pagination_links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.pagination_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--_primitives---colors--neutral-darkest, #000501);
  transition: background-color 0.15s, color 0.15s;
}
.pagination_link:hover:not(.is-disabled):not(.is-active) {
  background-color: rgba(0, 30, 65, 0.1);
  color: #001e41;
}
.pagination_link.is-active {
  background-color: #001e41;
  color: #fff;
  font-weight: 500;
}
.pagination_link.is-disabled {
  color: var(--_primitives---colors--neutral-light, #b2b4b2);
  cursor: default;
}

/* ============================================
   End Webflow replacement
   ============================================ */

/* Fixed navbar body offset */
body {
  padding-top: 4.5rem;
}

@media screen and (max-width: 991px) {
  body {
    padding-top: 4rem;
  }
}

/* Hero sections pull up behind transparent navbar */
.hero_slider,
.page-hero,
.event-page-hero {
  margin-top: -4.5rem;
}

@media screen and (max-width: 991px) {
  .hero_slider,
  .page-hero,
  .event-page-hero {
    margin-top: -4rem;
  }

  /* Mobile hamburger icon: white on transparent, dark on scrolled */
  .navbar28_component .menu-icon1_line-top,
  .navbar28_component .menu-icon1_line-middle,
  .navbar28_component .menu-icon1_line-bottom {
    background-color: var(--_primitives---colors--white);
  }

  .navbar28_component.navbar-scrolled .menu-icon1_line-top,
  .navbar28_component.navbar-scrolled .menu-icon1_line-middle,
  .navbar28_component.navbar-scrolled .menu-icon1_line-bottom {
    background-color: var(--color-scheme-1--text);
  }

  /* When mobile menu is open, show colour logo and dark text */
  .navbar28_component .navbar28_menu.nav-open {
    color: var(--color-scheme-1--text);
  }
}

/* Footer */
.footer_logo-img {
  width: 180px;
  height: auto;
}

.footer3_social-list {
  display: flex !important;
  gap: 0.75rem;
  grid-template-columns: none;
}

.footer3_top-wrapper {
  grid-template-columns: 1fr !important;
}

.footer3_component.color-scheme-3 {
  background-color: #001e41;
}

.footer3_bottom-wrapper {
  justify-content: flex-start;
}

/* ── Video Cards ── */
.video-card {
  display: block;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 3 / 4;
  background: #000;
}

.video-card_image-wrapper {
  position: absolute;
  inset: 0;
}

.video-card_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card_image {
  transform: scale(1.05);
}

.video-card_play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(4px);
}

.video-card:hover .video-card_play {
  background: rgba(0, 117, 242, 0.85);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.video-card_title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  color: #fff;
}

.video-card_description {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section_videos--secondary {
  background-color: var(--color-secondary);
}

.videos_group {
  position: relative;
  overflow: visible;
}

.videos_slide-nav {
  margin-top: 0;
}

/* ── Schedule Page ── */

.page-hero {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}

.page-hero_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 30, 65, 0.4) 0%,
    rgba(0, 30, 65, 0.85) 100%
  );
}

.page-hero .padding-global {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero_content {
  padding: 7rem 0 3rem;
}

.page-hero_tagline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero_heading {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.page-hero_subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 50vh;
  }

  .page-hero_content {
    padding: 6rem 0 2rem;
  }

  .page-hero_heading {
    font-size: 2rem;
  }

  .page-hero_subtitle {
    font-size: 1rem;
  }
}

.schedule-season-switcher {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.schedule-season-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: #001e41;
  background: transparent;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.schedule-season-tab:hover {
  background: #001e41;
  color: #fff;
  border-color: #001e41;
}

.schedule-season-tab.is-active {
  background: #001e41;
  color: #fff;
  border-color: #001e41;
}

.schedule-list {
  border-top: 1px solid #e5e7eb;
}

a.schedule-row,
div.schedule-row {
  display: grid;
  grid-template-columns: 80px 1fr 160px 200px 90px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

a.schedule-row:hover {
  background-color: rgba(0, 30, 65, 0.03);
}

.schedule-date {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.schedule-date_month {
  font-size: 0.875rem;
  font-weight: 700;
  color: #001e41;
  text-transform: uppercase;
}

.schedule-date_days {
  font-size: 1.25rem;
  font-weight: 700;
  color: #001e41;
}

.schedule-date_year {
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.schedule-event-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.schedule-event-name {
  font-size: 1rem;
  font-weight: 600;
  color: #001e41;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-event-venue {
  font-size: 0.8125rem;
  color: #6b7280;
}

.schedule-prize {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 140px;
}

.schedule-label {
  font-size: 0.6875rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.schedule-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #001e41;
}

.schedule-winner {
  min-width: 180px;
}

.schedule-winner_inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.schedule-winner_photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.schedule-winner_photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 700;
  font-size: 1.125rem;
}

.schedule-winner_text {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}

.schedule-winner_label {
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 500;
}

.schedule-winner_name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #001e41;
  text-decoration: none;
}

.schedule-actions {
  min-width: 80px;
  text-align: right;
  margin-left: auto;
}

.schedule-row-chevron {
  font-size: 1.5rem;
  font-weight: 300;
  color: #9ca3af;
  line-height: 1;
  transition: color 0.15s ease;
}

a.schedule-row:hover .schedule-row-chevron {
  color: #001e41;
}

.schedule-row--next .schedule-row-chevron {
  color: rgba(255, 255, 255, 0.5);
}

a.schedule-row--next:hover .schedule-row-chevron,
div.schedule-row--next:hover .schedule-row-chevron {
  color: #fff;
}

/* Next-up highlighted row */
a.schedule-row.schedule-row--next,
div.schedule-row.schedule-row--next {
  position: relative;
  background: #001e41;
  border-radius: 0;
  padding: 1.25rem 1.5rem;
  border-bottom: none;
  grid-template-columns: 80px 1fr 160px 220px;
}

.schedule-row--next .schedule-date_month,
.schedule-row--next .schedule-date_days,
.schedule-row--next .schedule-date_year,
.schedule-row--next .schedule-event-name,
.schedule-row--next .schedule-event-venue,
.schedule-row--next .schedule-label,
.schedule-row--next .schedule-value,
.schedule-row--next .schedule-countdown_number {
  color: #fff;
}

a.schedule-row--next:hover {
  background-color: rgba(0, 30, 65, 0.95);
}

div.schedule-row--next:hover {
  background-color: #001e41;
}

.schedule-row--next .schedule-countdown_label,
.schedule-row--next .schedule-countdown_sep {
  color: rgba(255, 255, 255, 0.5);
}

.schedule-row--next_badge {
  position: absolute;
  top: -0.625rem;
  left: 1.5rem;
  background: #0075f2;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.125rem 0.625rem;
  border-radius: 2rem;
  line-height: 1.4;
}

/* Countdown */
.schedule-countdown {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
}

.schedule-countdown_unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.5rem;
}

.schedule-countdown_number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #001e41;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.schedule-countdown_label {
  font-size: 0.625rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}

.schedule-countdown_sep {
  font-size: 1.125rem;
  font-weight: 700;
  color: #9ca3af;
  padding-bottom: 0.75rem;
}

/* Schedule responsive -- mobile */
@media (max-width: 700px) {
  a.schedule-row,
  div.schedule-row {
    grid-template-columns: 1fr;
    gap: 0.375rem;
    padding: 1rem;
  }

  .schedule-date {
    flex-direction: row;
    align-items: baseline;
    gap: 0.25rem;
  }

  .schedule-date_month {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .schedule-date_days {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .schedule-date_year {
    font-size: 0.625rem;
  }

  .schedule-event-name {
    font-size: 0.9375rem;
    white-space: normal;
  }

  .schedule-event-venue {
    font-size: 0.75rem;
  }

  .schedule-prize {
    display: none;
  }

  .schedule-winner {
    min-width: unset;
  }

  .schedule-winner_photo,
  .schedule-winner_photo--placeholder {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .schedule-winner_label {
    display: none;
  }

  .schedule-winner_name {
    font-size: 0.8125rem;
  }

  .schedule-winner_inner {
    gap: 0.5rem;
  }

  .schedule-actions {
    min-width: unset;
    text-align: right;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  a.schedule-row,
  div.schedule-row {
    position: relative;
    padding-right: 2.5rem;
  }

  a.schedule-row.schedule-row--next,
  div.schedule-row.schedule-row--next {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem;
  }

  .schedule-countdown {
    justify-content: flex-start;
    gap: 0.125rem;
  }

  .schedule-countdown_number {
    font-size: 0.9375rem;
  }

  .schedule-countdown_sep {
    font-size: 0.8125rem;
    padding-bottom: 0.375rem;
  }

  .schedule-countdown_unit {
    min-width: 1.75rem;
  }

  .schedule-countdown_label {
    font-size: 0.5625rem;
  }

  .schedule-row--next_badge {
    font-size: 0.5625rem;
    left: 1rem;
  }
}

/* Schedule responsive -- tablet */
@media (min-width: 701px) and (max-width: 1024px) {
  a.schedule-row,
  div.schedule-row {
    grid-template-columns: 70px 1fr 130px 60px;
    gap: 1rem;
  }

  .schedule-winner {
    display: none;
  }

  a.schedule-row.schedule-row--next,
  div.schedule-row.schedule-row--next {
    grid-template-columns: 70px 1fr;
    row-gap: 0.75rem;
  }

  .schedule-row--next .schedule-prize {
    display: none;
  }

  .schedule-countdown {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* Coming Soon / hidden event page */
.schedule-row--coming-soon {
  cursor: default;
  opacity: 0.65;
}

.schedule-row--coming-soon:hover {
  background: transparent;
}

.schedule-coming-soon-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: #9ca3af;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.schedule-row--next .schedule-coming-soon-badge {
  background: rgba(255, 255, 255, 0.25);
}

/* Event detail / subpages: full-viewport static hero (no Swiper) */
.event-page-hero {
  position: relative;
}

.event-page-hero_inner {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.event-page-hero_background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.event-page-hero_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.event-page-hero_overlay {
  z-index: 1;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top right, #001e41 0%, #001e4100 100%);
  pointer-events: none;
}

.event-page-hero_foreground {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 5.5rem;
  padding-bottom: 2rem;
}

.event-page-hero_foreground > .padding-global {
  width: 100%;
}

.event-page-hero_copy {
  max-width: 100%;
}

.event-page-hero_kicker {
  margin: 0 0 0.75rem;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.event-page-hero_title {
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3.25rem);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.event-page-hero_subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.event-page-hero_meta {
  max-width: 42rem;
}

.event-page-hero_meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.event-page-hero_meta-row:last-child {
  margin-bottom: 0;
}

.event-page-hero_meta-icon {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.1rem;
}

.event-page-hero_meta-icon svg {
  display: block;
}

.event-page-hero_meta-line {
  margin: 0;
  flex: 1;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.event-page-hero_meta-sublabel {
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.88;
  margin-right: 0.0625rem;
}

.event-page-hero_meta-sep {
  opacity: 0.7;
}

.event-page-hero-sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.event-page-hero_meta-row--prize .event-page-hero_meta-icon--prize {
  margin-top: 0.2rem;
}

.event-page-hero_meta-line--prize {
  display: flex;
  align-items: center;
  line-height: 1.35;
}

.event-page-hero_prize-value {
  font-size: clamp(1.2rem, 3.25vw, 1.625rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.32);
}

.event-page-hero .text-color-grey,
.event-page-hero .text-color-lightgrey {
  color: rgba(255, 255, 255, 0.75) !important;
}

.event-page-hero_back-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.event-page-hero_back-link:hover {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .event-page-hero_foreground {
    padding-top: 4.5rem;
  }
}

/* Home hero slider: keep countdown compact under max-height */
.hero_slider .event-page-countdown-wrap {
  margin-bottom: 0.75rem !important;
}

.event-marketing-below-hero {
  position: relative;
}

.event-marketing-event-intro {
  position: relative;
  width: 100%;
}

.event-page-detail-section {
  overflow: visible;
}

.event-page-detail-shell {
  position: relative;
}

.event-page-detail-main {
  position: relative;
  z-index: 1;
}

.event-page-details-dock_inner {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 30, 65, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 30, 65, 0.12);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.35rem;
}

.event-page-details-dock_heading {
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8edf2;
  color: #001e41;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-page-details-dock_block,
.event-page-details-dock_actions {
  margin-bottom: 1rem;
}

.event-page-details-dock_block--stacked {
  padding-bottom: 0;
}

.event-page-details-dock_row + .event-page-details-dock_row {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f6;
}

.event-page-details-dock_actions .button-group {
  width: 100%;
}

@media (min-width: 992px) {
  .event-marketing-below-hero--with-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(248px, 288px);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
    padding-right: 0;
  }

  .event-marketing-below-hero--with-dock > .event-marketing-below-hero_main {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .event-marketing-below-hero--with-dock > .event-page-details-dock {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 6rem;
    align-self: start;
    width: 100%;
    max-height: none;
    z-index: 2;
    box-sizing: border-box;
    padding-top: clamp(0.625rem, 2vh, 1rem);
    padding-bottom: clamp(0.625rem, 2vh, 1.125rem);
  }

  .event-page-detail-shell {
    display: block;
  }

  .event-page-detail-main {
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
  }

  .event-page-details-dock_inner {
    margin-top: 0;
    margin-right: clamp(0.375rem, 1.35vw, 1rem);
    margin-left: clamp(0.25rem, 1vw, 0.625rem);
    margin-bottom: 0;
    max-height: calc(
      100vh - 6rem - clamp(1.25rem, 4vh, 2.125rem)
    );
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 991px) {
  .event-marketing-below-hero--with-dock {
    display: flex;
    flex-direction: column;
    padding-right: 0;
  }

  .event-marketing-below-hero--with-dock > .event-marketing-below-hero_main {
    order: 2;
  }

  .event-marketing-below-hero--with-dock > .event-page-details-dock {
    order: 1;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    max-height: none;
    z-index: 1;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    padding-top: clamp(0.375rem, 1.5vh, 0.625rem);
    padding-bottom: clamp(0.375rem, 1.5vh, 0.625rem);
  }

  .event-page-detail-shell {
    display: block;
  }

  .event-page-details-dock_inner {
    margin-top: 0;
    margin-inline: clamp(8px, 2vw, 14px);
    margin-bottom: 0;
    max-height: none;
    overflow: visible;
  }
}

/* Bottom venue map + hero countdown */
.section_event-venue-map {
  background: #fafbfc;
  border-top: 1px solid #e5e7eb;
}

.event-sponsors-marquee-section {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background-color: #001e41;
  color: #fff;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  z-index: 1;
}

.event-sponsors-marquee-section--hero-adjacent {
  margin-top: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.event-sponsors-marquee_heading-sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.event-sponsors-marquee_inner {
  position: relative;
  max-width: 100%;
}

.event-sponsors-marquee_kicker {
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
  text-align: center;
  font-size: 0.6875rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9) !important;
}

.event-sponsors-marquee-sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.event-sponsors-marquee_viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.event-sponsors-marquee_rail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: event-sponsors-marquee-scroll 38s linear infinite;
  will-change: transform;
}

.event-sponsors-marquee_track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  column-gap: 2.25rem;
  padding-right: 2.25rem;
}

/* Logo strip: spaced track (chained selector overrides base .event-sponsors-marquee_track gap) */
.event-sponsors-marquee_track.event-sponsors-marquee_track--logos {
  column-gap: clamp(3.75rem, 9vw, 7rem);
  padding-right: clamp(3.75rem, 9vw, 7rem);
}

.event-sponsors-marquee_item {
  white-space: nowrap;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.event-sponsors-marquee_item--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 0.25rem;
  white-space: normal;
}

.event-sponsors-marquee_item--logo img {
  display: block;
  max-height: 2.5rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
}

/* Registered players tighter to marquee when intro (Pro-Am / Terms) is omitted */
.event-marketing-below-hero--with-dock
  .event-marketing-below-hero_main
  > .section_registered-players.section_content:first-child
  > .padding-global
  > .container-large
  > .padding-section-large {
  padding-top: clamp(1.25rem, 3.5vw, 2rem);
}

.event-sponsors-marquee_dot {
  opacity: 0.45;
  font-weight: 400;
  user-select: none;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

@keyframes event-sponsors-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-sponsors-marquee_rail {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    row-gap: 0.75rem;
    will-change: auto;
  }

  .event-sponsors-marquee_track {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
  }

  .event-sponsors-marquee_track.event-sponsors-marquee_track--logos {
    column-gap: clamp(1.25rem, 4vw, 2.5rem);
    row-gap: 1rem;
    padding-right: 0;
  }

  .event-sponsors-marquee_track + .event-sponsors-marquee_track {
    display: none;
  }

  .event-sponsors-marquee_viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.event-osm-frame--page {
  max-width: 100%;
}

.event-osm-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #e5e7eb;
}

.event-osm-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.event-page-countdown-wrap .schedule-countdown {
  justify-content: flex-start;
}

.event-page-countdown-wrap .schedule-countdown_number {
  color: rgba(255, 255, 255, 0.96);
}

.event-page-countdown-wrap .schedule-countdown_label,
.event-page-countdown-wrap .schedule-countdown_sep {
  color: rgba(255, 255, 255, 0.55);
}

/* Registered players roster (marketing) — schedule-style rows */
.registered-roster-list.schedule-list {
  border-top: 1px solid #e5e7eb;
}

div.schedule-row.schedule-row--roster {
  grid-template-columns: 72px minmax(0, 1fr) minmax(140px, 220px);
  cursor: default;
}

div.schedule-row.schedule-row--roster:hover {
  background-color: rgba(0, 30, 65, 0.02);
}

.roster-schedule-index {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.roster-schedule-index .schedule-label {
  margin-bottom: 0.0625rem;
}

.roster-schedule-index-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #001e41;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.roster-schedule-player {
  min-width: 0;
}

.roster-category-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.125rem;
  min-width: 0;
}

.roster-category-col-value {
  word-break: break-word;
}

@media (min-width: 701px) and (max-width: 1024px) {
  div.schedule-row.schedule-row--roster {
    grid-template-columns: 64px minmax(0, 1fr) minmax(120px, 200px);
    gap: 1rem;
    padding: 1.1rem 1.25rem;
  }
}

@media (max-width: 700px) {
  div.schedule-row.schedule-row--roster {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    position: static;
    padding-right: 1.25rem;
  }

  div.schedule-row.schedule-row--roster .roster-schedule-index {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  div.schedule-row.schedule-row--roster .roster-schedule-index .schedule-label {
    font-size: 0.6875rem;
  }

  div.schedule-row.schedule-row--roster .roster-schedule-index-num {
    font-size: 1rem;
  }
}

/* ── Marketing event hero: tournament winner strip (completed, dark hero) ── */
.event-page-hero .winner-highlight-description {
  margin: clamp(0.75rem, 2vw, 1rem) 0 0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid #0075f2;
  background: rgba(0, 30, 65, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.event-page-hero .winner-highlight-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.event-page-hero .winner-highlight-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #0075f2;
}

.event-page-hero .winner-highlight-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.event-page-hero .winner-highlight-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.35;
}

.event-page-hero .winner-highlight-label {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.78);
}

.event-page-hero .winner-highlight-name {
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.event-page-hero .winner-highlight-score {
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 767px) {
  .event-page-hero .winner-highlight-content {
    align-items: flex-start;
  }

  .event-page-hero .winner-highlight-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* ── Marketing leaderboards (event page preview + full results page) ── */
.results-preview-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 30, 65, 0.06);
}

.results-table-wrapper {
  min-width: 600px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.results-table-header,
.results-table-row {
  display: grid;
  grid-template-columns: 80px 1fr 150px 100px 100px;
  gap: 1rem;
  align-items: center;
}

.results-table-header {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

.results-header-cell {
  padding: 1rem 0.75rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
}

.results-table-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.results-table-row:last-child {
  border-bottom: none;
}

.results-table-row:hover {
  background-color: #f8fafc;
}

.results-table-row:nth-child(even) {
  background-color: #f9fafb;
}

.results-table-row:nth-child(even):hover {
  background-color: #f1f5f9;
}

.results-cell {
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-width: 0;
  font-size: 0.875rem;
}

.results-table-wrapper .player-info {
  text-align: left;
}

.results-table-wrapper .player-name {
  font-weight: 600;
  color: #1a1a1a;
}

.marketing-results .to-par {
  font-weight: 600;
}

.marketing-results .under-par {
  color: #22c55e;
}

.marketing-results .over-par {
  color: #ef4444;
}

.marketing-results .even-par {
  color: #666;
}

.marketing-results .position-badge {
  background: #e5e5e5;
  color: #333;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  min-width: 40px;
  text-align: center;
}

.marketing-results .position-top-3 {
  background: #001e41;
  color: #fff;
}

.marketing-results .position-badge-status {
  background: #dc2626;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  min-width: 40px;
  text-align: center;
}

/* Full leaderboard page */
.results-table-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 30, 65, 0.06);
}

.results-table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.results-table-scroll-wrapper--scroll-hint {
  position: relative;
}

.results-table-wrapper-full {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 1200px;
}

.results-table-header-full,
.results-table-row-full {
  display: grid;
  grid-template-columns: 80px 200px 150px 100px 80px 60px 60px 60px 80px 80px 120px;
  gap: 0;
  align-items: center;
}

.results-table-header-full {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

.results-table-row-full {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.results-table-row-full:last-child {
  border-bottom: none;
}

.results-table-row-full:hover {
  background-color: #f8fafc;
}

.results-table-row-full:nth-child(even) {
  background-color: #f9fafb;
}

.results-table-row-full:nth-child(even):hover {
  background-color: #f1f5f9;
}

.results-table-wrapper-full .results-header-cell {
  padding: 1rem 0.75rem;
  text-align: left;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.results-table-wrapper-full .results-cell {
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-size: 0.875rem;
  min-width: 0;
}

.results-table-wrapper-full .player-name {
  font-weight: 600;
  color: #1a1a1a;
}

.results-table-wrapper-full .total-score {
  font-weight: 600;
  color: #1a1a1a;
}

.button.is-results {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
  font-weight: 600;
}

.button.is-results:hover {
  background: #16a34a;
  border-color: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

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

@media screen and (max-width: 991px) {
  .results-table-header,
  .results-table-row {
    grid-template-columns: 60px 1fr 120px 80px 80px;
    gap: 0.5rem;
  }

  .results-header-cell,
  .results-cell {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }

  .results-table-header-full,
  .results-table-row-full {
    grid-template-columns: 70px 160px 130px 90px 72px 52px 52px 52px 72px 72px 100px;
    gap: 0;
  }
}

@media screen and (max-width: 767px) {
  .results-table-wrapper {
    min-width: 500px;
  }

  .results-table-header,
  .results-table-row {
    grid-template-columns: 50px 1fr 80px 70px;
    gap: 0.5rem;
  }

  .results-table-header .results-header-cell:nth-child(3),
  .results-table-row .results-cell:nth-child(3) {
    display: none;
  }

  .results-header-cell,
  .results-cell {
    padding: 0.5rem 0.35rem;
    font-size: 0.75rem;
  }

  .marketing-results .position-badge {
    min-width: 32px;
    font-size: 0.75rem;
    padding: 0.2rem 0.35rem;
  }

  .results-table-container {
    padding: 0.75rem;
  }

  .results-table-header-full,
  .results-table-row-full {
    grid-template-columns: 50px 120px 100px 70px 60px 40px 40px 40px 60px 60px 80px;
    gap: 0;
  }

  .results-table-wrapper-full .results-header-cell,
  .results-table-wrapper-full .results-cell {
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .results-table-wrapper-full .results-header-cell {
    font-size: 0.65rem;
  }

  .results-table-wrapper-full {
    min-width: 800px;
    border-radius: 8px;
  }

  .results-table-scroll-wrapper--scroll-hint::after {
    content: "← Scroll to see all columns →";
    display: block;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: #6b7280;
    text-align: center;
  }
}