/**
Theme Name: SW SERIES 2026
Theme URI: https://silentworker.fr
Author: DERGHAL Wissem
Author URI: http://wpastra.com/about/
Description: Thème Enfant sur-mesure pour SW SERIES 2026 (Powerlifting Event) avec DA "Arcane"
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sw-meet-series
Template: astra
*/

/* =========================================
   VARIABLES & FONTS (ARCANE DA + COLLAGE)
   ========================================= */

#sw27 .sw-legacy {
  /* Palette Arcane */
  --bg-deep: #090a0f;
  --bg-alt: #160e24;
  --hexcore-blue: #00f0ff;
  --jinx-purple: #b500ff;
  --gold-warning: #ffb700;
  --text-light: #e0e6ed;

  /* Astra Global Color Overrides */
  --ast-global-color-0: var(--hexcore-blue);
  --ast-global-color-1: var(--jinx-purple);
  --ast-global-color-2: var(--text-light);
  --ast-global-color-3: rgba(224, 230, 237, 0.7);
  --ast-global-color-4: #ffffff;
  --ast-global-color-5: var(--bg-deep);
  --ast-global-color-6: var(--bg-alt);
  --ast-global-color-7: rgba(0, 240, 255, 0.2);
  --ast-global-color-8: rgba(181, 0, 255, 0.2);

  /* Typographie */
  --font-title: "Edo", sans-serif;
  --font-body: "Outfit", sans-serif;
}

/* Base Styles appliqués globalement */
#sw27 .sw-legacy {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

#sw27 .sw-legacy h1,
#sw27 .sw-legacy h2,
#sw27 .sw-legacy h3,
#sw27 .sw-legacy h4,
#sw27 .sw-legacy h5,
#sw27 .sw-legacy h6,
#sw27 .sw-legacy .edo-text {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: normal;
}

/* Custom Font rules for Nav Links */
#sw27 .sw-legacy .main-header-menu .menu-link,
#sw27 .sw-legacy .ast-footer-copyright a,
#sw27 .sw-legacy .footer-col a {
  font-family: monospace !important;
}
/*
 * main.css - Meet Series (Arcane x Collage Style)
 * Handles global typography, layout, buttons, and animations
 */

/* =========================================
   SITEWIDE IMMERSIVE DECOS (ZAUN)
   ========================================= */
#sw27 .sw-legacy .sw-sitewide-decos-container {
  pointer-events: none !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 0;
}

/* On homepage, hide items that would overlap the hero video */
#sw27 .sw-legacy .home .sw-sitewide-deco[data-is-top="1"] {
  display: none !important;
}

#sw27 .sw-legacy .sw-sitewide-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  animation: sw-float-deco linear infinite alternate;
  filter: blur(1px) contrast(1.2);
}

@keyframes sw-float-deco {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate(25px, 20px) rotate(8deg) scale(1.05);
  }
}

/* =========================================
   GLOBAL RESET
   ========================================= */
#sw27 .sw-legacy,
#sw27 .sw-legacy {
  margin: 0;
  width: 100%;
  min-height: 100%;
  position: relative;
  /* Essential for absolute decos container */
  overflow-x: hidden;
}

/* Base Styles appliqués globalement via style.css (Variables) */

/* =========================================
   ASTRA OVERRIDES (FULL-BLEED LAYOUT)
   ========================================= */
#sw27 .sw-legacy {
  background-color: var(--bg-deep) !important;
}

#sw27 .sw-legacy .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

#sw27 .sw-legacy .site-content {
  padding: 0 !important;
}

#sw27 .sw-legacy .home #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#sw27 .sw-legacy .ast-builder-grid-row {
  margin: 0 50px !important;
}

/* h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    color: #fff !important;
} */

/* Fix for WP Admin Bar */
#sw27 .sw-legacy .admin-bar #masthead {
  /* top: 32px !important; */
}

@media screen and (max-width: 782px) {
  #sw27 .sw-legacy .admin-bar #masthead {
    /* top: 46px !important; */
  }
}

/* =========================================
   SECTION STRUCTURES
   ========================================= */
#sw27 .sw-legacy .meet-section {
  position: relative;
  padding: 100px 5vw;
  z-index: 5;
  background: var(--bg-deep);
}

#sw27 .sw-legacy .meet-section-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 6rem);
  color: #fff;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  z-index: 2;
  text-transform: uppercase;
}

#sw27 .sw-legacy .meet-section-title::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: -20px;
  right: -20px;
  height: 30px;
  background: var(--jinx-purple);
  z-index: -1;
  transform: rotate(-2deg);
}

/* =========================================
   BUTTONS (ARCANE x EDITORIAL)
   ========================================= */
#sw27 .sw-legacy .btn-arcane,
#sw27 .sw-legacy .ast-button,
#sw27 .sw-legacy button,
#sw27 .sw-legacy input[type="button"],
#sw27 .sw-legacy input[type="reset"],
#sw27 .sw-legacy input[type="submit"] {
  display: inline-block;
  padding: 15px 40px !important;
  background: linear-gradient(45deg, var(--gold-warning), #d49800) !important;
  color: #000 !important;
  font-family: var(--font-title) !important;
  font-size: 1.2rem !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  position: relative;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  transition: all 0.3s ease !important;
}

#sw27 .sw-legacy .btn-arcane::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  pointer-events: none;
}

#sw27 .sw-legacy .btn-arcane:hover,
#sw27 .sw-legacy .ast-button:hover,
#sw27 .sw-legacy button:hover,
#sw27 .sw-legacy input[type="button"]:hover,
#sw27 .sw-legacy input[type="reset"]:hover,
#sw27 .sw-legacy input[type="submit"]:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--gold-warning);
  background: linear-gradient(45deg, #fff, var(--gold-warning)) !important;
}

#sw27 .sw-legacy .btn-editorial {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

#sw27 .sw-legacy .btn-editorial:hover {
  background: var(--gold-warning);
  color: #000;
  border-color: var(--gold-warning);
}

/* =========================================
   ANIMATIONS & REVEAL & PARALLAX
   ========================================= */
#sw27 .sw-legacy .reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.2s ease-out;
}

#sw27 .sw-legacy .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

#sw27 .sw-legacy .parallax {
  will-change: transform;
}

#sw27 .sw-legacy .scroll-halo {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.1s ease-out;
}

/* FOOTER TITLES BRACKETS */
#sw27 .sw-legacy #meet-series-colophon h3::before,
#sw27 .sw-legacy #meet-series-colophon .logo::before,
#sw27 .sw-legacy .footer-col h3::before,
#sw27 .sw-legacy .footer-col .logo::before {
  content: "[" !important;
  margin-right: 10px;
  opacity: 0.8;
  display: inline-block !important;
  visibility: visible !important;
  font-family: monospace !important;
  color: var(--hexcore-blue) !important;
}

#sw27 .sw-legacy #meet-series-colophon h3::after,
#sw27 .sw-legacy #meet-series-colophon .logo::after,
#sw27 .sw-legacy .footer-col h3::after,
#sw27 .sw-legacy .footer-col .logo::after {
  content: "]" !important;
  margin-left: 10px;
  opacity: 0.8;
  display: inline-block !important;
  visibility: visible !important;
  font-family: monospace !important;
  color: var(--hexcore-blue) !important;
}

/* HEADER & FOOTER LINKS MONOSPACE */
#sw27 .sw-legacy .main-navigation .menu-link,
#sw27 .sw-legacy .footer-col a,
#sw27 .sw-legacy .footer-col .logo,
#sw27 .sw-legacy .social-links a {
  font-family: monospace !important;
  letter-spacing: 0.05em;
}

/* End of CUSTOM STYLES */
/* Floating Tags */
#sw27 .sw-legacy .floating-tag {
  position: absolute;
  border: 1px solid var(--hexcore-blue);
  color: var(--hexcore-blue);
  padding: 5px 10px;
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
  z-index: 20;
  backdrop-filter: blur(5px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Raid Intel Blocks */
#sw27 .sw-legacy .intel-block {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 6px solid var(--hexcore-blue);
  backdrop-filter: blur(10px);
}

#sw27 .sw-legacy .intel-block:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--hexcore-blue);
  transform: scale(1.02) translateX(10px);
  box-shadow: -10px 0 30px rgba(0, 240, 255, 0.2);
  z-index: 10;
}

#sw27 .sw-legacy .intel-tag {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1rem;
  color: var(--hexcore-blue);
  border: 1px solid var(--hexcore-blue);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--hexcore-blue);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

#sw27 .sw-legacy .intel-text {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
  font-family: var(--font-body);
  font-weight: 500;
}

#sw27 .sw-legacy .intel-block:nth-child(2) {
  border-left-color: var(--jinx-purple);
}

#sw27 .sw-legacy .intel-block:nth-child(2) .intel-tag {
  color: var(--jinx-purple);
  border-color: var(--jinx-purple);
  text-shadow: 0 0 10px var(--jinx-purple);
}

#sw27 .sw-legacy .intel-block:nth-child(2):hover {
  background: rgba(181, 0, 255, 0.1);
  border-color: var(--jinx-purple);
  box-shadow: -10px 0 30px rgba(181, 0, 255, 0.2);
}

#sw27 .sw-legacy .intel-block:nth-child(3) {
  border-left-color: var(--gold-warning);
}

#sw27 .sw-legacy .intel-block:nth-child(3) .intel-tag {
  color: var(--gold-warning);
  border-color: var(--gold-warning);
  text-shadow: 0 0 10px var(--gold-warning);
}

#sw27 .sw-legacy .intel-block:nth-child(3):hover {
  background: rgba(255, 183, 0, 0.1);
  border-color: var(--gold-warning);
  box-shadow: -10px 0 30px rgba(255, 183, 0, 0.2);
}

/* =========================================
   TICKER (MARQUEE)
   ========================================= */
#sw27 .sw-legacy .ticker-wrap {
  width: 100%;
  overflow: hidden;
  height: 60px;
  background: var(--jinx-purple);
  z-index: 5;
  display: flex;
  align-items: center;
  box-shadow: 0 0 20px var(--jinx-purple);
}

#sw27 .sw-legacy .ticker {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

#sw27 .sw-legacy .ticker-item {
  font-family: var(--font-title);
  font-size: 2rem;
  color: #fff;
  padding: 0 2rem;
  text-transform: uppercase;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

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

/* =========================================
   HEADER GLASSMORPHISM (ASTRA STICKY)
   ========================================= */
#sw27 .sw-legacy #masthead {
  /* position: fixed !important; */
  top: 0;
  width: 100%;
  background: rgba(9, 10, 15, 0.6) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  z-index: 9999 !important;
  transition: all 0.3s ease;
}

/* Ensure Astra's high z-index elements don't overlap wrongly */
#sw27 .sw-legacy .site-header {
  background: transparent !important;
}

#sw27 .sw-legacy #masthead.header-scrolled {
  background: rgba(9, 10, 15, 0.95) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

#sw27 .sw-legacy .main-header-bar {
  background: transparent !important;
  border: none !important;
}

#sw27 .sw-legacy .ast-builder-menu-1 .main-header-menu .menu-item > .menu-link {
  color: var(--text-light) !important;
  background: transparent !important;
  font-family: var(--font-title);
  font-weight: normal !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease;
}

#sw27 .sw-legacy .weglot-lang .menu-link {
  background: #0c0c11 !important;
}

#sw27
  .sw-legacy
  .ast-builder-menu-1
  .main-header-menu
  .menu-item:hover
  > .menu-link {
  color: var(--hexcore-blue) !important;
  text-shadow: 0 0 10px var(--hexcore-blue);
}

/* Submenu Glassmorphism */
#sw27 .sw-legacy .ast-builder-menu-1 .main-header-menu .sub-menu {
  background: rgba(9, 10, 15, 0.9) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(0, 240, 255, 0.2) !important;
  padding: 10px 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

#sw27
  .sw-legacy
  .ast-builder-menu-1
  .main-header-menu
  .sub-menu
  .menu-item
  .menu-link {
  color: var(--text-light) !important;
  font-family: monospace !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
}

#sw27
  .sw-legacy
  .ast-builder-menu-1
  .main-header-menu
  .sub-menu
  .menu-item:hover
  > .menu-link {
  color: var(--hexcore-blue) !important;
  text-shadow: 0 0 8px var(--hexcore-blue);
  background: rgba(0, 240, 255, 0.05) !important;
  padding-left: 25px !important;
  /* Tiny reveal slide effect */
}

/* Force dark logo text if it's text-based */
#sw27 .sw-legacy .site-branding {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

#sw27 .sw-legacy .site-title a {
  font-family: var(--font-title) !important;
  color: var(--hexcore-blue) !important;
  font-size: 2rem !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  line-height: 1;
}

#sw27 .sw-legacy .custom-logo-link {
  display: flex;
  align-items: center;
}

#sw27 .sw-legacy .custom-logo {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  /* Help with blurriness */
}

/* Shop Icons Styling */
#sw27 .sw-legacy .shop-icon-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px !important;
}

#sw27 .sw-legacy .shop-icon-wrapper {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--text-light);
}

#sw27 .sw-legacy .menu-item:hover .shop-icon-wrapper {
  color: var(--hexcore-blue);
  filter: drop-shadow(0 0 8px var(--hexcore-blue));
  transform: scale(1.1);
}

/* Mobile adjustments for shop icons */
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .menu-item-cart,
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .menu-item-account {
  display: inline-block !important;
  width: auto !important;
  margin: 15px 10px !important;
}

#sw27
  .sw-legacy
  .ast-header-break-point
  .main-header-menu
  .menu-item-cart
  .menu-link,
#sw27
  .sw-legacy
  .ast-header-break-point
  .main-header-menu
  .menu-item-account
  .menu-link {
  padding: 10px !important;
  justify-content: center !important;
}

#sw27 .sw-legacy .ast-header-break-point .shop-icon-wrapper svg {
  width: 26px !important;
  height: 26px !important;
}

/* Mobile Menu Dark Theme & Toggle Fix - ULTRA High Specificity */
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-wrap
  .ast-mobile-header-content,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-wrap
  .ast-mobile-header-content
  .ast-container,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-wrap
  .ast-mobile-header-content
  .ast-builder-menu-1,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-wrap
  .ast-mobile-header-content
  #ast-hf-mobile-menu,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-wrap
  .ast-mobile-header-content
  .main-header-bar-navigation,
#sw27
  .sw-legacy
  .ast-header-break-point
  .main-header-bar-navigation
  .main-header-menu,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .main-header-menu,
#sw27 .sw-legacy .ast-header-break-point #ast-hf-mobile-menu .main-header-menu,
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .sub-menu,
#sw27 .sw-legacy .ast-header-break-point .ast-mobile-header-content .sub-menu {
  background-color: #0d0d12 !important;
  background-image: linear-gradient(
    135deg,
    rgba(13, 13, 18, 0.98) 0%,
    rgba(20, 20, 30, 0.98) 100%
  ) !important;
  backdrop-filter: blur(15px) !important;
}

/* Links color and separation in mobile menu */
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .main-header-menu
  .menu-item
  a,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .main-header-menu
  .menu-item
  .menu-link,
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .menu-item > a,
#sw27
  .sw-legacy
  .ast-header-break-point
  .main-header-menu
  .sub-menu
  .menu-item
  a {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  background-color: transparent !important;
}

/* Toggle alignment fix */
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .main-header-menu
  .menu-item-has-children
  > .ast-menu-toggle,
#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .ast-menu-toggle,
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .ast-menu-toggle {
  background: var(--jinx-purple) !important;
  color: #fff !important;
  border-radius: 4px !important;
  width: 35px !important;
  height: 35px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 15px !important;
  box-shadow: 0 0 10px rgba(181, 0, 255, 0.3) !important;
  line-height: 1 !important;
}

#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .ast-menu-toggle:hover {
  background: var(--hexcore-blue) !important;
  box-shadow: 0 0 15px var(--hexcore-blue) !important;
}

#sw27
  .sw-legacy
  .ast-header-break-point
  .ast-mobile-header-content
  .ast-menu-toggle
  .ast-icon
  svg {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
  margin: unset !important;
}

#sw27 .sw-legacy .ast-header-break-point .main-header-menu .menu-item-cart,
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .menu-item-account,
#sw27 .sw-legacy .ast-header-break-point .main-header-menu .menu-item-cart a,
#sw27
  .sw-legacy
  .ast-header-break-point
  .main-header-menu
  .menu-item-account
  a {
  background: transparent !important;
  border-bottom: none !important;
}

#sw27 .sw-legacy .header-custom-logo {
  height: 60px !important;
  width: auto !important;
  margin-left: 15px;
  vertical-align: middle;
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.2));
  margin-top: 7px;
}

#sw27 .sw-legacy .custom-logo-link:hover .custom-logo {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 10px var(--hexcore-blue));
}

/* Centering Grouped Header Content (Logo | Title | Menu) */
#sw27 .sw-legacy .ast-primary-header-bar {
  position: relative !important;
}

#sw27 .sw-legacy .site-branding {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

#sw27 .sw-legacy .header-custom-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.5vw, 2.8rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--hexcore-blue);
  text-shadow:
    0 0 10px rgba(0, 240, 255, 0.3),
    3px 3px 0px var(--jinx-purple);
  white-space: nowrap;
  line-height: 1;
  z-index: 10;
  pointer-events: auto;
  /* Re-enabled so the link works */
}

/* position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-family: var(--font-title);
font-size: clamp(1.2rem, 2.5vw, 2.8rem);
color: transparent;
-webkit-text-stroke: 1px var(--hexcore-blue);
text-shadow: 0 0 10px rgba(0, 240, 255, 0.3), 3px 3px 0px var(--jinx-purple);
white-space: nowrap;
line-height: 1;
z-index: 10;
pointer-events: auto; */

/* Specific adjustments for Astra's menu positioning */
#sw27 .sw-legacy .ast-builder-menu-1 {
  display: flex !important;
  align-items: center !important;
}

/* =========================================
   EDITIONS PAGE
   ========================================= */
#sw27 .sw-legacy .page-editions-main {
  /* padding-top: 150px; */
  background: var(--bg-deep);
  min-height: 100vh;
  color: var(--text-light);
  margin-top: unset !important;
}

#sw27 .sw-legacy .editions-hero {
  text-align: center;
  margin-bottom: 60px;
}

#sw27 .sw-legacy .editions-hero .page-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

#sw27 .sw-legacy .highlight-red {
  color: var(--hexcore-blue);
  /* We use the existing cyan 'blue' or jinx purple for highlight, since user said keep current DA */
  text-shadow: 0 0 20px var(--hexcore-blue);
}

#sw27 .sw-legacy .text-shadow-red {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

#sw27 .sw-legacy .editions-nav {
  margin-top: 40px;
}

#sw27 .sw-legacy .editions-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#sw27 .sw-legacy .btn-neon-red {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(5px);
}

#sw27 .sw-legacy .btn-neon-red:hover {
  border-color: var(--hexcore-blue);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  color: var(--hexcore-blue);
  transform: translateY(-2px);
}

#sw27 .sw-legacy .btn-neon-red.active {
  border-color: var(--hexcore-blue) !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4) !important;
  color: var(--hexcore-blue) !important;
  background: rgba(0, 240, 255, 0.08) !important;
}

#sw27 .sw-legacy .edition-section {
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

#sw27 .sw-legacy .edition-container {
  width: 100%;
  max-width: 80%;
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--hexcore-blue);
  padding: 40px;
  border-radius: 8px;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#sw27 .sw-legacy .edition-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

#sw27 .sw-legacy .edition-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

#sw27 .sw-legacy .edition-header h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
}

#sw27 .sw-legacy .flag-icon {
  font-size: 2.5rem;
}

#sw27 .sw-legacy .edition-badges {
  display: flex;
  gap: 10px;
}

#sw27 .sw-legacy .status-badge,
#sw27 .sw-legacy .program-badge {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
  text-decoration: none !important;
  display: inline-block;
}

#sw27 .sw-legacy .status-badge[href]:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#sw27 .sw-legacy .program-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

#sw27 .sw-legacy .status-badge.closed {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4444;
  color: #ff4444;
}

#sw27 .sw-legacy .status-badge.upcoming {
  background: rgba(255, 183, 0, 0.1);
  border: 1px solid var(--gold-warning);
  color: var(--gold-warning);
  position: relative;
  padding-right: 30px;
}

#sw27 .sw-legacy .status-badge.upcoming::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold-warning);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-warning);
  animation: badge-pulse-gold 1.5s infinite;
}

@keyframes badge-pulse-gold {
  0% {
    opacity: 0.4;
    transform: translateY(-50%) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }

  100% {
    opacity: 0.4;
    transform: translateY(-50%) scale(0.8);
  }
}

#sw27 .sw-legacy .status-badge.open {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--hexcore-blue);
  color: var(--hexcore-blue);
  position: relative;
  padding-right: 30px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

#sw27 .sw-legacy .status-badge.open::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--hexcore-blue);
  animation: badge-pulse-cyan 1s infinite;
}

@keyframes badge-pulse-cyan {
  0% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  70% {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }

  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

#sw27 .sw-legacy .status-badge.open[href]:hover {
  background: var(--hexcore-blue);
  color: #000;
}

#sw27 .sw-legacy .status-badge.open {
  background-color: var(--hexcore-blue);
  color: #000;
}

#sw27 .sw-legacy .status-badge.open.pulse-glow {
  animation: status-pulse-glow 2s infinite;
  box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
}

@keyframes status-pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

#sw27 .sw-legacy .status-badge.pending {
  background: rgba(181, 0, 255, 0.1);
  border: 1px solid var(--jinx-purple);
  color: var(--jinx-purple);
}

#sw27 .sw-legacy .edition-quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

#sw27 .sw-legacy .info-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-left: 3px solid var(--hexcore-blue);
}

#sw27 .sw-legacy .info-block .dashicons {
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--hexcore-blue);
  margin-top: -2px;
}

#sw27 .sw-legacy .info-block strong {
  display: block;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

#sw27 .sw-legacy .info-block p {
  margin: 0;
  color: #bbb;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

#sw27 .sw-legacy .edition-details h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--hexcore-blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* TABLE STYLES */
#sw27 .sw-legacy .table-responsive {
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#sw27 .sw-legacy .edition-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

#sw27 .sw-legacy .edition-table th,
#sw27 .sw-legacy .edition-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#sw27 .sw-legacy .edition-table th {
  background: rgba(0, 240, 255, 0.1);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#sw27 .sw-legacy .edition-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   QUALIFICATION BANNER (DA MATCH)
   ========================================= */
#sw27 .sw-legacy .qualification-banner {
  width: 100%;
  /* max-width: 800px; */
  margin: 0 auto 0 auto;
  text-align: center;
  /* padding: 30px 20px; */
  padding: 5px 0;
  background: #0a0a0f;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  /* subtle border to ground it in the site DA */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Simulate the scribble background */
#sw27 .sw-legacy .qualification-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 0, 106, 0.15) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 102, 255, 0.15) 0%,
      transparent 20%
    );
  pointer-events: none;
  z-index: 1;
}

#sw27 .sw-legacy .qual-content {
  position: relative;
  z-index: 2;
}

#sw27 .sw-legacy .qual-amateur {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0.3rem 10px 0 !important;
  letter-spacing: -1px;
}

#sw27 .sw-legacy .qual-asterisk {
  color: #ffde00;
}

#sw27 .sw-legacy .qual-qualify {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #ff007f;
  /* Hot pink */
  text-transform: uppercase;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
}

#sw27 .sw-legacy .qual-glow-text {
  font-family: var(--font-title);
  /* Fallback to title if no script font */
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 15px 0;
  text-shadow:
    0 0 10px rgba(138, 43, 226, 0.8),
    0 0 20px rgba(138, 43, 226, 0.5),
    -2px 2px 0px rgba(138, 43, 226, 0.8);
  transform: rotate(-2deg);
}

#sw27 .sw-legacy .qual-france {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin: 0 0 40px 0;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

#sw27 .sw-legacy .qual-disclaimer {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #ccc;
  font-weight: 700;
  margin: 0;
  text-transform: none;
}

/* Media Queries for Editions */
@media screen and (max-width: 768px) {
  #sw27 .sw-legacy .edition-header h2 {
    font-size: 2rem;
  }

  #sw27 .sw-legacy .edition-container {
    max-width: 95%;
    padding: 10px;
  }

  #sw27 .sw-legacy .info-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--hexcore-blue);
  }
}

/* Mobile Header Fixes - Specificity to beat Astra */
#sw27 .sw-legacy .ast-header-break-point #ast-desktop-header {
  display: none !important;
}

#sw27 .sw-legacy .ast-header-break-point .main-header-bar .ast-container {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  display: flex !important;
  padding: 10px 20px !important;
  gap: 10px !important;
}

#sw27 .sw-legacy .ast-header-break-point .site-branding {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

#sw27 .sw-legacy .ast-header-break-point .ast-builder-menu-1 {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
}

/* Logo Sizes on Mobile */
@media screen and (max-width: 921px) {
  #sw27 .sw-legacy .ast-builder-grid-row {
    margin: 0 !important;
  }

  #sw27 .sw-legacy .custom-logo {
    max-height: 50px !important;
    width: auto !important;
  }

  #sw27 .sw-legacy .header-custom-logo-link,
  #sw27 .sw-legacy .header-custom-logo {
    display: inline-block !important;
    height: 35px !important;
    width: auto !important;
    margin-left: 15px !important;
    vertical-align: middle !important;
    margin-top: 2px !important;
  }

  #sw27 .sw-legacy .header-custom-title {
    display: none !important;
  }

  /* Burger button padding */
  #sw27 .sw-legacy .menu-toggle,
  #sw27
    .sw-legacy
    .ast-mobile-menu-trigger-wrapper
    .ast-button-wrap
    .menu-toggle {
    padding: 8px 15px !important;
  }
}

/* Scroll Indicator Animation */
@keyframes scrollAnim {
  0% {
    top: 6px;
    opacity: 1;
  }

  50% {
    top: 18px;
    opacity: 0.2;
  }

  100% {
    top: 6px;
    opacity: 1;
  }
}

/* =========================================
   RAID JOURNEY MAP
   ========================================= */
#sw27 .sw-legacy .raid-journey-map {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding-left: 20px;
}

#sw27 .sw-legacy .journey-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#sw27 .sw-legacy .journey-path-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.5;
  stroke-dasharray: 2 2;
}

#sw27 .sw-legacy .journey-path-anim {
  fill: none;
  stroke: var(--hexcore-blue);
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px var(--hexcore-blue));
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

#sw27 .sw-legacy .journey-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
}

#sw27 .sw-legacy .node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000;
  position: relative;
  z-index: 3;
}

#sw27 .sw-legacy .journey-node .country-pill {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  background: rgba(10, 10, 15, 0.8);
  padding: 5px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

/* Prevent flags/emojis from being squashed by flexbox */
#sw27 .sw-legacy .journey-node .country-pill > span:first-child {
  flex-shrink: 0;
  min-width: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#sw27 .sw-legacy .journey-node.node-right .country-pill {
  left: auto;
  right: 25px;
  flex-direction: row-reverse;
  text-align: right;
}

#sw27 .sw-legacy .journey-node .country-pill:hover {
  border-color: currentColor;
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
  z-index: 10;
}

#sw27 .sw-legacy .journey-plane {
  position: absolute;
  z-index: 5;
  filter: drop-shadow(0 0 5px var(--hexcore-blue));
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 991px) {
  #sw27 .sw-legacy .raid-journey-map {
    min-height: 500px;
    padding-left: 0;
    margin-top: 40px;
  }
}

/* Custom Scrollbar for Responsive Tables */
#sw27 .sw-legacy .table-responsive::-webkit-scrollbar {
  height: 8px;
  width: 12px;
}

#sw27 .sw-legacy .table-responsive::-webkit-scrollbar-track {
  background: rgb(39 39 53 / 80%);
  border: 1px solid rgb(255 255 255 / 55%);
  border-bottom: none;
}

#sw27 .sw-legacy .table-responsive::-webkit-scrollbar-thumb {
  background: var(--hexcore-blue);
  background: linear-gradient(
    to right,
    var(--hexcore-blue),
    var(--jinx-purple)
  );
  border-radius: 10px;
  border: 2px solid #0a0a0f;
  box-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
}

#sw27 .sw-legacy .table-responsive::-webkit-scrollbar-thumb:hover {
  background: var(--hexcore-blue);
  box-shadow: 0 0 10px var(--hexcore-blue);
}

/* =========================================
   EDITION PARTNERS
   ========================================= */
#sw27 .sw-legacy .edition-partners {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
}

#sw27 .sw-legacy .edition-partners h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 25px;
  font-weight: 700;
}

#sw27 .sw-legacy .partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

#sw27 .sw-legacy .partner-logo-link {
  display: block;
}

#sw27 .sw-legacy .partner-logo-link img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  #sw27 .sw-legacy .edition-partners {
    margin-top: 30px;
    padding-top: 20px;
  }

  #sw27 .sw-legacy .partners-logos {
    gap: 30px;
  }

  #sw27 .sw-legacy .partner-logo-link img {
    max-height: 40px;
  }
}

/* =========================================
   MOBILE HEADER OFFSET FOR EDITIONS & WOO
   ========================================= */
@media (max-width: 921px) {
  #sw27 .sw-legacy .page-editions-main,
  #sw27 .sw-legacy .woocommerce-page .site-content {
    padding-top: 30px !important;
  }
}

/* =========================================
   WOOCOMMERCE CART & CHECKOUT OVERRIDES
   ========================================= */

/* 1. Fix Primary Action Buttons (Blue -> Yellow) */
#sw27 .sw-legacy .wc-block-cart__submit-button,
#sw27 .sw-legacy .wc-block-components-checkout-button,
#sw27 .sw-legacy .wp-block-woocommerce-checkout-button,
#sw27 .sw-legacy .wp-block-woocommerce-cart .components-button.is-primary,
#sw27 .sw-legacy .wp-block-woocommerce-checkout .components-button.is-primary,
#sw27 .sw-legacy .woocommerce button.button.alt,
#sw27 .sw-legacy .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#sw27 .sw-legacy .woocommerce input.button.alt,
#sw27 .sw-legacy .wc-block-components-button:not(.is-link) {
  background: linear-gradient(45deg, var(--gold-warning), #d49800) !important;
  color: #000 !important;
  box-shadow: none !important;
}

#sw27 .sw-legacy .wc-block-cart__submit-button:hover,
#sw27 .sw-legacy .wc-block-components-checkout-button:hover,
#sw27 .sw-legacy .wp-block-woocommerce-checkout-button:hover,
#sw27 .sw-legacy .wp-block-woocommerce-cart .components-button.is-primary:hover,
#sw27
  .sw-legacy
  .wp-block-woocommerce-checkout
  .components-button.is-primary:hover,
#sw27 .sw-legacy .woocommerce button.button.alt:hover,
#sw27
  .sw-legacy
  .woocommerce-cart
  .wc-proceed-to-checkout
  a.checkout-button:hover,
#sw27 .sw-legacy .woocommerce input.button.alt:hover,
#sw27 .sw-legacy .wc-block-components-button:not(.is-link):hover {
  background: linear-gradient(45deg, #fff, var(--gold-warning)) !important;
  box-shadow: 0 0 20px var(--gold-warning) !important;
  color: #000 !important;
}

/* 2. Fix Quantity Selector Layout & Reset Buttons */
#sw27 .sw-legacy .wc-block-cart-item__quantity {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 15px !important;
  justify-content: flex-start !important;
}

#sw27 .sw-legacy .wc-block-components-quantity-selector {
  display: flex !important;
  align-items: stretch !important;
  background: rgba(10, 10, 15, 0.8) !important;
  border: 1px solid var(--hexcore-blue) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  width: unset !important;
}

/* Reset quantity buttons from Arcane global styles */
#sw27 .sw-legacy .wc-block-components-quantity-selector__button {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  clip-path: none !important;
  transform: none !important;
  color: var(--gold-warning) !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  /* Hides original weird characters */
  position: relative !important;
}

#sw27 .sw-legacy .wc-block-cart-item__remove-link {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  clip-path: none !important;
  transform: none !important;
  color: var(--gold-warning) !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#sw27 .sw-legacy .wc-block-components-quantity-selector__button--minus::after {
  content: "-" !important;
  font-size: 1.5rem !important;
  font-family: Arial, sans-serif !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

#sw27 .sw-legacy .wc-block-components-quantity-selector__button--plus::after {
  content: "+" !important;
  font-size: 1.5rem !important;
  font-family: Arial, sans-serif !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

#sw27 .sw-legacy .wc-block-components-quantity-selector__button::before,
#sw27 .sw-legacy .wc-block-cart-item__remove-link::before {
  display: none !important;
  /* Remove Arcane inner glow polygon */
}

#sw27 .sw-legacy .wc-block-components-quantity-selector__button:hover,
#sw27 .sw-legacy .wc-block-cart-item__remove-link:hover {
  background: rgba(243, 174, 0, 0.1) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

#sw27 .sw-legacy .wc-block-components-quantity-selector__button:disabled {
  color: rgb(255 205 82 / 60%) !important;
  background: transparent !important;
  cursor: not-allowed;
}

/* 3. Style Quantity Input */
#sw27 .sw-legacy .wc-block-components-quantity-selector__input {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  border-left: 1px solid rgba(0, 240, 255, 0.3) !important;
  border-right: 1px solid rgba(0, 240, 255, 0.3) !important;
  font-family: monospace !important;
  font-size: 1rem !important;
  text-align: center !important;
  padding: 8px 10px !important;
  max-width: 60px !important;
  border-radius: 0 !important;
}

#sw27 .sw-legacy .wc-block-components-quantity-selector__input:focus {
  outline: none !important;
  background: rgba(0, 240, 255, 0.05) !important;
  color: #fff !important;
}

/* Remove Link Icon Color */
#sw27 .sw-legacy .wc-block-cart-item__remove-link svg {
  fill: var(--gold-warning) !important;
}

#sw27 .sw-legacy .wc-block-cart-item__remove-link:hover svg {
  fill: #fff !important;
}

/* 4. Fix Responsive Grid constraints of Astra / Block */
#sw27 .sw-legacy .wp-block-woocommerce-cart,
#sw27 .sw-legacy .wp-block-woocommerce-checkout {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  padding: 0 20px !important;
}

/* On mobile, correct the 50px side margins from Astra's grid row if inside .woocommerce */
@media screen and (max-width: 768px) {
  #sw27 .sw-legacy .woocommerce .ast-builder-grid-row,
  #sw27 .sw-legacy .woocommerce-cart .ast-builder-grid-row,
  #sw27 .sw-legacy .woocommerce-checkout .ast-builder-grid-row {
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
}

/* 5. Fix Form Inputs Legibility */
#sw27 .sw-legacy .woocommerce form .form-row input.input-text,
#sw27 .sw-legacy .woocommerce form .form-row textarea,
#sw27 .sw-legacy .woocommerce-page form input[type="email"],
#sw27 .sw-legacy .woocommerce-page form input[type="password"],
#sw27 .sw-legacy .woocommerce-page form input[type="text"],
#sw27 .sw-legacy .wc-block-components-text-input input,
#sw27 .sw-legacy .wc-block-components-combobox-control input {
  background: rgba(10, 10, 15, 0.8) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
  padding: 12px 15px !important;
}

#sw27 .sw-legacy .woocommerce form .form-row input.input-text::placeholder,
#sw27 .sw-legacy .woocommerce form .form-row textarea::placeholder,
#sw27 .sw-legacy .woocommerce-page form input::placeholder,
#sw27 .sw-legacy .wc-block-components-text-input input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

#sw27 .sw-legacy .woocommerce form .form-row input.input-text:focus,
#sw27 .sw-legacy .woocommerce form .form-row textarea:focus,
#sw27 .sw-legacy .woocommerce-page form input:focus,
#sw27 .sw-legacy .wc-block-components-text-input input:focus {
  border-color: var(--hexcore-blue) !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2) !important;
  outline: none !important;
  background: rgba(10, 10, 15, 0.95) !important;
}

/* Fix Labels */
#sw27 .sw-legacy .woocommerce-js form .form-row label,
#sw27 .sw-legacy .wc-block-components-text-input label {
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  letter-spacing: 1px !important;
  margin-bottom: 5px;
  display: inline-block;
}

/* Fix Password Eye toggle contrast */
#sw27 .sw-legacy .woocommerce form .form-row .show-password-input::after {
  color: #000000 !important;
}

/* 6. Form Login Checkbox and Button Alignment */
#sw27 .sw-legacy .woocommerce form.login .woocommerce-form-login__rememberme {
  display: block !important;
  margin-bottom: 15px !important;
  width: 100% !important;
}

#sw27 .sw-legacy .woocommerce form.login .woocommerce-form-login__submit {
  display: inline-block !important;
  margin-top: 10px !important;
  margin-left: 0 !important;
}

/* 7. SITWIDE STICKY CTA */
#sw27 .sw-legacy .global-sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  font-family: var(--font-mono, monospace);
  font-size: 0.9rem;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: sticky-float 3s ease-in-out infinite;
  pointer-events: auto;
}

#sw27 .sw-legacy .global-sticky-cta img.emoji {
  width: 1.6em !important;
  height: 1.6em !important;
  margin: 0 !important;
  vertical-align: middle !important;
  box-shadow: none !important;
}

#sw27 .sw-legacy .global-sticky-cta > span:first-child {
  display: inline-block;
  font-size: 16px !important;
  line-height: 1 !important;
}

@keyframes sticky-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

#sw27 .sw-legacy .global-sticky-cta.upcoming {
  background: rgba(4, 11, 22, 0.85);
  border: 1px solid var(--gold-warning);
  color: var(--gold-warning);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* .global-sticky-cta.upcoming::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--gold-warning);
    border-radius: 50%;
    animation: sticky-pulse-gold 1.5s infinite;
} */

@keyframes sticky-pulse-gold {
  0% {
    opacity: 0.4;
    transform: scale(0.8);
    box-shadow: 0 0 5px var(--gold-warning);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--gold-warning);
  }

  100% {
    opacity: 0.4;
    transform: scale(0.8);
    box-shadow: 0 0 5px var(--gold-warning);
  }
}

#sw27 .sw-legacy .global-sticky-cta.upcoming:hover {
  background: rgba(255, 183, 0, 0.1);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 183, 0, 0.2);
}

#sw27 .sw-legacy .global-sticky-cta.open {
  background: rgba(4, 11, 22, 0.9);
  border: 1px solid var(--hexcore-blue);
  color: #fff;
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.15);
}

#sw27 .sw-legacy .global-sticky-cta.open span.open-text {
  color: var(--hexcore-blue);
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* .global-sticky-cta.open::after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--hexcore-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--hexcore-blue);
    animation: sticky-pulse-cyan 1s infinite;
} */

@keyframes sticky-pulse-cyan {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  70% {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

#sw27 .sw-legacy .global-sticky-cta.open:hover {
  background: var(--hexcore-blue);
  color: #000;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
}

#sw27 .sw-legacy .global-sticky-cta.open:hover span.open-text {
  color: #000;
  text-shadow: none;
}

@media screen and (max-width: 768px) {
  #sw27 .sw-legacy .global-sticky-cta {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    padding: 8px 12px;
    white-space: nowrap;
    gap: 10px;
    animation: sticky-float-mobile 3s ease-in-out infinite;
  }

  #sw27 .sw-legacy .global-sticky-cta img.emoji {
    width: 1.6em !important;
    height: 1.6em !important;
  }

  #sw27 .sw-legacy .global-sticky-cta > span:first-child {
    font-size: 14px !important;
  }

  /* .global-sticky-cta.upcoming::after,
    .global-sticky-cta.open::after {
        width: 16px;
        height: 8px;
    } */

  @keyframes sticky-float-mobile {
    0% {
      transform: translateX(-50%) translateY(0);
    }

    50% {
      transform: translateX(-50%) translateY(-5px);
    }

    100% {
      transform: translateX(-50%) translateY(0);
    }
  }

  #sw27 .sw-legacy .global-sticky-cta.upcoming:hover,
  #sw27 .sw-legacy .global-sticky-cta.open:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.02);
  }
}

#sw27 .sw-legacy .woocommerce-js a.button {
  color: #fff !important;
}
/* Editions Past Event Styles */

#sw27 .sw-legacy .edition-winners-showcase {
  position: relative;
  z-index: 10;
  margin-top: -200px;
  padding: 0 10%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  /* Let clicks pass through if empty space */
}

#sw27 .sw-legacy .winner-card {
  pointer-events: auto;
  width: 250px;
  position: relative;
  z-index: 10;
}

#sw27 .sw-legacy .winner-card-inner {
  background: #000;
  border: 2px solid var(--hexcore-blue);
  padding: 10px;
  text-align: center;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

#sw27 .sw-legacy .winner-card.female-winner .winner-card-inner {
  border-color: #ff00ff;
  /* Purple for women's winner */
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

#sw27 .sw-legacy .winner-crown {
  position: absolute;
  top: -25px;
  width: 60px;
  z-index: 12;
}

#sw27 .sw-legacy .female-winner .winner-crown {
  left: -15px;
  transform: rotate(15deg);
}

#sw27 .sw-legacy .male-winner .winner-crown {
  right: -15px;
  transform: rotate(-15deg);
}

#sw27 .sw-legacy .winner-crown img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
}

#sw27 .sw-legacy .winner-photo {
  width: 100%;
  height: 220px;
  background-size: cover !important;
  background-position: center !important;
  margin-bottom: 10px;
  clip-path: polygon(
    5px 0,
    100% 0,
    100% calc(100% - 5px),
    calc(100% - 5px) 100%,
    0 100%,
    0 5px
  );
}

#sw27 .sw-legacy .winner-info h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: #fff;
  margin: 5px 0 0 0;
  line-height: 1;
}

#sw27 .sw-legacy .winner-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 3px 0 8px 0;
  text-transform: uppercase;
}

#sw27 .sw-legacy .winner-points {
  background: var(--hexcore-blue);
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  padding: 4px 12px;
  display: inline-block;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

#sw27 .sw-legacy .winner-card.female-winner .winner-points {
  background: #ff00ff;
  color: #fff;
}

/* Recap Photo */
#sw27 .sw-legacy .edition-recap-photo {
  margin: 30px 0;
  position: relative;
  border: 2px solid #333;
  overflow: hidden;
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}

#sw27 .sw-legacy .edition-recap-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

#sw27 .sw-legacy .edition-recap-photo .recap-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sw27 .sw-legacy .edition-recap-photo:hover img {
  /* Hover scale effect removed */
}

#sw27 .sw-legacy .edition-recap-photo:hover .recap-overlay {
  opacity: 1;
}

#sw27 .sw-legacy .recap-overlay span {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--hexcore-blue);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
  letter-spacing: 2px;
  text-align: center;
  padding: 20px;
  border: 2px solid var(--hexcore-blue);
  backdrop-filter: blur(5px);
}

/* Podiums */
#sw27 .sw-legacy .edition-podiums {
  margin-top: 30px;
  margin-bottom: 40px;
}

#sw27 .sw-legacy .edition-podiums h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2.5rem;
  color: #fff;
  font-family: var(--font-title);
  letter-spacing: 2px;
}

#sw27 .sw-legacy .podiums-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

#sw27 .sw-legacy .podium-section {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sw27 .sw-legacy .podium-section h4 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.9);
}

#sw27 .sw-legacy .podium-structure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 15px;
  height: 280px;
  width: 100%;
}

#sw27 .sw-legacy .podium-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 100px;
  width: 100px;
}

#sw27 .sw-legacy .podium-step .athlete-name {
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
  white-space: normal;
  line-height: 1.1;
  min-height: 2.2em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#sw27 .sw-legacy .podium-step .athlete-gl {
  font-size: 0.9rem;
  color: var(--hexcore-blue);
  margin-bottom: 12px;
  font-family: monospace;
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 5px;
  border-radius: 3px;
}

#sw27 .sw-legacy .female-podium .athlete-gl {
  color: #ff00ff;
  background: rgba(255, 0, 255, 0.1);
}

#sw27 .sw-legacy .step-block {
  width: 100%;
  background: #151515;
  border: 2px solid #333;
  border-bottom: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15px;
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: #555;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.5);
}

#sw27 .sw-legacy .step-1 .step-block {
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, #151515 100%);
  border-color: rgba(255, 215, 0, 0.6);
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#sw27 .sw-legacy .step-2 .step-block {
  height: 130px;
  background: linear-gradient(
    180deg,
    rgba(192, 192, 192, 0.15) 0%,
    #151515 100%
  );
  border-color: rgba(192, 192, 192, 0.6);
  color: #c0c0c0;
}

#sw27 .sw-legacy .step-3 .step-block {
  height: 90px;
  background: linear-gradient(
    180deg,
    rgba(205, 127, 50, 0.15) 0%,
    #151515 100%
  );
  border-color: rgba(205, 127, 50, 0.6);
  color: #cd7f32;
}

/* Mobile responsive for layout */
@media (max-width: 768px) {
  #sw27 .sw-legacy .edition-winners-showcase {
    margin-top: -10px;
    gap: 30px;
  }

  #sw27 .sw-legacy .winner-card {
    width: 160px;
  }

  #sw27 .sw-legacy .winner-crown {
    width: 45px;
    top: -15px;
  }

  #sw27 .sw-legacy .winner-photo {
    height: 140px;
  }

  #sw27 .sw-legacy .winner-info h3 {
    font-size: 1.3rem;
  }

  #sw27 .sw-legacy .recap-overlay span {
    font-size: 1.5rem;
    padding: 15px;
  }

  #sw27 .sw-legacy .podiums-container {
    gap: 30px;
    padding: 0 10px;
  }

  #sw27 .sw-legacy .podium-section {
    min-width: 100%;
    width: 100%;
  }

  #sw27 .sw-legacy .podium-structure {
    gap: 5px;
  }

  #sw27 .sw-legacy .podium-step {
    flex: 0 0 85px;
    width: 85px;
  }

  #sw27 .sw-legacy .podium-step .athlete-name {
    font-size: 0.8rem;
  }

  #sw27 .sw-legacy .step-block {
    font-size: 1.8rem;
  }
}

/* Accordion for Past Editions Details */
#sw27 .sw-legacy .edition-details-accordion {
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

#sw27 .sw-legacy .edition-accordion-toggle {
  width: 100%;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--hexcore-blue);
  color: var(--hexcore-blue);
  padding: 15px 25px;
  font-family: var(--font-mono);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  margin-bottom: 20px;
}

#sw27 .sw-legacy .edition-accordion-toggle:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

#sw27 .sw-legacy .edition-accordion-toggle .toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

#sw27 .sw-legacy .edition-accordion-toggle.active {
  background: rgba(0, 240, 255, 0.2);
}

#sw27 .sw-legacy .edition-accordion-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

#sw27 .sw-legacy .edition-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  opacity: 0;
}

#sw27 .sw-legacy .edition-accordion-content.expanded {
  max-height: 5000px;
  /* Large enough for the content */
  opacity: 1;
  margin-top: 20px;
}

#sw27 .sw-legacy {
  --font-title: "Luckiest Guy", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

#sw27 .sw-legacy .reveal {
  opacity: 1;
  transform: none;
}
