/*
Theme Name: PE2M Theme
Theme URI: https://pe2mhb.fr
Author: PE2M
Description: Thème WordPress sur mesure pour PE2M Handball, prêt pour WooCommerce.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: pe2m-theme
*/

:root {
  --blue: #0b7cff;
  --blue-dark: #073f9e;
  --blue-soft: #63d4ff;
  --ink: #f7fbff;
  --paper: #ffffff;
  --muted: #a8b7c8;
  --muted-strong: #d8e5f4;
  --black: #02050a;
  --black-2: #07101d;
  --panel: rgba(8, 18, 32, 0.78);
  --panel-solid: #0a1626;
  --line: rgba(157, 194, 255, 0.22);
  --red: #e31331;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bahnschrift Condensed", "Arial Narrow", Impact, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(11, 124, 255, 0.12) 0 10%, transparent 10% 22%, rgba(99, 212, 255, 0.06) 22% 28%, transparent 28%),
    linear-gradient(180deg, #03070f 0%, #07101d 44%, #02050a 100%);
  font-family: var(--font-body);
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(99, 212, 255, 0.035) 1px, transparent 1px) 0 0 / 74px 74px,
    linear-gradient(0deg, rgba(99, 212, 255, 0.035) 1px, transparent 1px) 0 0 / 74px 74px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 10, 0.78);
  backdrop-filter: blur(18px);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 0 2rem;
}

.brand-mark {
  position: absolute;
  left: 50%;
  bottom: -48px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  transform: translateX(-50%);
}

.brand-mark img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5));
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(102px, 1fr)) 132px repeat(4, minmax(102px, 1fr));
  align-items: center;
  width: min(1440px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.nav-links > li:nth-child(5) {
  grid-column: 6;
}

.nav-links > li:nth-child(6) {
  grid-column: 7;
}

.nav-links > li:nth-child(7) {
  grid-column: 8;
}

.nav-links > li:nth-child(8) {
  grid-column: 9;
}

.nav-links a,
.dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.2rem 0.45rem;
  color: var(--muted-strong);
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links a::after,
.dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--blue-soft);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.dropdown-trigger:hover::after,
.dropdown-trigger:focus-visible::after {
  transform: scaleX(1);
}

.login-link {
  color: #ff5c70 !important;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 360px;
  overflow: visible;
  padding: 0.65rem;
  margin: 0;
  list-style: none;
  background: rgba(7, 16, 29, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translate(-50%, 0.45rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  scrollbar-width: none;
}

.dropdown-menu::-webkit-scrollbar {
  display: none;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  width: 100%;
  justify-content: flex-start;
  font-size: 0.95rem;
  white-space: normal;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
}

.dropdown-menu-compact {
  min-width: 250px;
}

.dropdown-featured {
  color: var(--paper) !important;
  background: rgba(11, 124, 255, 0.14);
}

.dropdown-family {
  position: relative;
  display: block;
  gap: 0;
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(157, 194, 255, 0.14);
  text-align: left;
}

.dropdown-family-trigger {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.45rem;
  border: 0;
  color: var(--blue-soft);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1.08;
  text-transform: uppercase;
  cursor: pointer;
  white-space: normal;
  text-align: left;
  overflow-wrap: break-word;
}

.dropdown-family-trigger::after {
  content: "+";
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 950;
  transition: transform 180ms ease;
}

.dropdown-family:hover .dropdown-family-trigger::after,
.dropdown-family:focus-within .dropdown-family-trigger::after,
.dropdown-family.is-open .dropdown-family-trigger::after {
  transform: rotate(45deg);
}

.dropdown-family-list {
  position: absolute;
  left: 100%;
  top: 0;
  display: grid;
  gap: 0.12rem;
  min-width: 280px;
  max-height: min(72vh, 560px);
  overflow: auto;
  padding: 0.55rem;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
  scrollbar-width: none;
}

.dropdown-family-list::-webkit-scrollbar {
  display: none;
}

.dropdown-family:hover .dropdown-family-list,
.dropdown-family:focus-within .dropdown-family-list,
.dropdown-family.is-open .dropdown-family-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.dropdown-family li a {
  min-height: 34px;
  padding-left: 1rem;
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.18;
}

.dropdown-family li a::before {
  content: "›";
  margin-right: 0.45rem;
  color: var(--blue-soft);
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

.section-band {
  position: relative;
  overflow: hidden;
}

.section-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 76px);
  padding: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 76px);
}

.team-panel {
  position: relative;
  display: flex;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  isolation: isolate;
}

.team-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.02) 0%, rgba(2, 5, 10, 0.58) 82%),
    linear-gradient(110deg, rgba(2, 5, 10, 0.38) 0 22%, rgba(7, 63, 158, 0.14) 22% 38%, rgba(2, 5, 10, 0.08) 38%);
}

.team-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(0.9);
  transition: transform 650ms ease, filter 240ms ease;
}

.team-panel picture {
  position: absolute;
  inset: 0;
}

.team-panel:hover img,
.team-panel:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.06) brightness(1);
}

.team-panel strong {
  position: absolute;
  z-index: 3;
  left: clamp(1.2rem, 5vw, 5rem);
  right: clamp(1.2rem, 5vw, 5rem);
  bottom: 5.2rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-style: italic;
  line-height: 0.95;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.72);
}

.panel-left strong {
  right: 37%;
}

.panel-right strong {
  left: 37%;
}

.team-panel strong::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: -0.8rem;
  width: 74px;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform: skewX(-24deg);
}

.team-panel > span {
  position: absolute;
  z-index: 3;
  left: clamp(1.2rem, 5vw, 5rem);
  right: clamp(1.2rem, 5vw, 5rem);
  bottom: 2.7rem;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.72);
}

.panel-left > span {
  right: 37%;
}

.panel-right > span {
  left: 37%;
}

.hero-logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.crest-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(28vw, 300px);
  min-width: 260px;
  aspect-ratio: 1;
  padding: 0.8rem;
  border: 1px solid rgba(99, 212, 255, 0.65);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(11, 124, 255, 0.36);
  animation: crestFloat 4s ease-in-out infinite;
}

.crest-ring::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 2px solid rgba(99, 212, 255, 0.18);
  border-top-color: var(--blue-soft);
  border-radius: 999px;
  animation: spinLine 12s linear infinite;
}

.crest-ring img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.crest-ring picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-partners-strip {
  border-top: 1px solid rgba(157, 194, 255, 0.14);
  border-bottom: 1px solid rgba(157, 194, 255, 0.14);
  background:
    linear-gradient(118deg, rgba(11, 124, 255, 0.16) 0 12%, transparent 12% 36%, rgba(99, 212, 255, 0.055) 36% 43%, transparent 43%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.96), rgba(2, 5, 10, 0.92));
}

.home-partners-shell {
  padding: 1.15rem 0;
}

.home-partners-marquee {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.home-partners-track {
  display: flex;
  width: max-content;
  animation: partnersMarquee var(--partner-duration, 28s) linear infinite;
}

.home-partners-marquee:hover .home-partners-track {
  animation-play-state: paused;
}

.home-partners-group {
  display: flex;
  gap: 0.8rem;
  padding-right: 0.8rem;
}

.home-partner-card {
  display: grid;
  flex: 0 0 clamp(250px, 24vw, 288px);
  grid-template-rows: minmax(58px, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  justify-items: center;
  min-height: 128px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(157, 194, 255, 0.16);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(11, 124, 255, 0.13), transparent 48%),
    rgba(8, 18, 32, 0.9);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
}

.home-partner-card img {
  width: 100%;
  max-width: 178px;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.home-partner-card picture {
  display: grid;
  place-items: center;
  width: 100%;
}

.home-partner-card strong {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-style: italic;
  line-height: 1;
}

.home-partner-card span {
  overflow: hidden;
  width: 100%;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes partnersMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

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

@media (prefers-reduced-motion: reduce) {
  .home-partners-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-partners-track {
    animation: none;
  }

  .home-partners-group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 700px) {
  .home-partners-shell {
    padding: 0.9rem 0 1rem;
  }

  .home-partner-card {
    flex-basis: 210px;
    min-height: 104px;
    padding: 0.82rem 0.9rem;
  }

  .home-partner-card img {
    max-width: 146px;
    max-height: 48px;
  }

  .home-partner-card span {
    font-size: 0.78rem;
  }
}

.home-shop-products {
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.8rem) 0;
  border-top: 1px solid rgba(99, 212, 255, 0.14);
  border-bottom: 1px solid rgba(99, 212, 255, 0.14);
  background:
    linear-gradient(125deg, rgba(11, 124, 255, 0.18) 0 10%, transparent 10% 34%, rgba(99, 212, 255, 0.07) 34% 40%, transparent 40%),
    linear-gradient(180deg, rgba(4, 11, 22, 0.96), rgba(2, 5, 10, 0.98));
}

.home-shop-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 2rem);
  margin-bottom: 1.15rem;
}

.home-shop-products-head h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-style: italic;
  line-height: 0.88;
  text-transform: uppercase;
}

.home-shop-products-head p:not(.eyebrow) {
  margin: 0;
  max-width: 620px;
  color: var(--muted-strong);
  font-weight: 850;
}

.home-shop-products-link {
  display: inline-flex;
  position: relative;
  width: fit-content;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.78rem 1.05rem 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(99, 212, 255, 0.34);
  border-left: 5px solid var(--blue-soft);
  border-radius: 0;
  color: var(--paper);
  background:
    linear-gradient(100deg, rgba(11, 124, 255, 0.36), rgba(11, 124, 255, 0.12) 58%, rgba(255, 255, 255, 0.035));
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  isolation: isolate;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-shop-products-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(99, 212, 255, 0.24), transparent 64%);
  transform: translateX(-100%);
  transition: transform 180ms ease;
}

.home-shop-products-link::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.home-shop-products-link:hover {
  border-color: rgba(99, 212, 255, 0.78);
  color: var(--paper);
  transform: translateY(-1px);
}

.home-shop-products-link:hover::before {
  transform: translateX(0);
}

.home-shop-products-link:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.home-shop-products-window {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0.65rem 0;
  border: 1px solid rgba(157, 194, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(99, 212, 255, 0.055), rgba(255, 255, 255, 0.012)),
    rgba(2, 5, 10, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.home-shop-products-track {
  display: flex;
  width: max-content;
  animation: shopProductsMarquee var(--shop-duration, 36s) linear infinite;
}

.home-shop-products-window:hover .home-shop-products-track {
  animation-play-state: paused;
}

.home-shop-products-group {
  display: flex;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.home-shop-product-card {
  display: grid;
  flex: 0 0 clamp(220px, 20vw, 268px);
  grid-template-rows: auto minmax(118px, auto);
  overflow: hidden;
  border: 1px solid rgba(157, 194, 255, 0.18);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(11, 124, 255, 0.16), transparent 54%),
    rgba(5, 12, 23, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-shop-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 212, 255, 0.52);
  box-shadow: 0 24px 62px rgba(11, 124, 255, 0.2);
}

.home-shop-product-image {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 4 / 5;
  padding: 1rem;
  border-bottom: 1px solid rgba(157, 194, 255, 0.12);
  background:
    radial-gradient(circle at 50% 28%, rgba(99, 212, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(8, 18, 32, 0.94), rgba(2, 5, 10, 0.96));
}

.home-shop-product-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 220px);
  max-height: min(100%, 260px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.34));
}

.home-shop-product-image picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.home-shop-product-image strong {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-style: italic;
}

.home-shop-product-content {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  gap: 0.48rem;
  padding: 0.95rem 1rem 1rem;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(5, 12, 23, 0.98);
}

.home-shop-product-content strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--paper);
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  font-weight: 950;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-shop-product-content em,
.home-shop-product-content .amount {
  color: var(--blue-soft);
  font-style: normal;
  font-weight: 950;
}

.home-shop-product-content b {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  margin-top: auto;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(99, 212, 255, 0.26);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(11, 124, 255, 0.14);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes shopProductsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

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

@media (prefers-reduced-motion: reduce) {
  .home-shop-products-window {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-shop-products-track {
    animation: none;
  }

  .home-shop-products-group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 700px) {
  .home-shop-products {
    padding: 2.4rem 0;
  }

  .home-shop-products-head {
    display: grid;
    align-items: start;
  }

  .home-shop-products-link {
    width: fit-content;
  }

  .home-shop-products-head h2 {
    font-size: clamp(2.1rem, 12vw, 3.7rem);
  }

  .home-shop-product-card {
    flex-basis: min(74vw, 252px);
  }

  .home-shop-products-window {
    padding: 0.55rem;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  }
}

.club,
.contact {
  background: rgba(255, 255, 255, 0.025);
}

.teams,
.gallery {
  background: rgba(2, 5, 10, 0.3);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
}

.split-layout.is-reverse .section-copy {
  order: 2;
}

.split-layout.is-reverse .photo-stack,
.split-layout.is-reverse .contact-form {
  order: 1;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.75rem;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.team-hero-title h1 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-style: italic;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.section-copy h2::after,
.section-heading h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform: skewX(-24deg);
}

.section-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.stats-row div {
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
}

.club .section-copy {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.club .section-copy h2 {
  max-width: 760px;
}

.club .section-copy > p:not(.eyebrow) {
  max-width: 620px;
}

.club .stats-row {
  max-width: 640px;
  gap: 1.1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(99, 212, 255, 0.24);
}

.club .stats-row div {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.stats-row strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1;
}

.stats-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 560px;
  margin-top: 1.8rem;
}

.photo-stack {
  position: relative;
  min-height: 500px;
}

.photo-main,
.photo-accent {
  position: absolute;
  width: 75%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-stack picture {
  display: contents;
}

.photo-main {
  top: 0;
  right: 0;
}

.photo-accent {
  left: 0;
  bottom: 0;
  width: 56%;
  height: 260px;
  border: 8px solid var(--black-2);
}

.section-heading {
  padding-top: 6rem;
  margin-bottom: 2rem;
}

.teams {
  background:
    linear-gradient(124deg, rgba(11, 124, 255, 0.16) 0 12%, transparent 12% 34%, rgba(99, 212, 255, 0.055) 34% 42%, transparent 42%),
    linear-gradient(180deg, rgba(2, 5, 10, 0.28), rgba(8, 18, 32, 0.64) 44%, rgba(2, 5, 10, 0.34));
}

.teams-directory-head {
  display: grid;
  gap: 0.4rem;
  max-width: 760px;
  padding-top: 6rem;
  margin-bottom: 1.7rem;
}

.teams-directory-head h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  font-style: italic;
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

.teams-directory-head h2::after {
  content: "";
  display: block;
  width: 98px;
  height: 5px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform: skewX(-24deg);
}

.category-family-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 6rem;
  border-top: 1px solid rgba(157, 194, 255, 0.18);
  border-bottom: 1px solid rgba(157, 194, 255, 0.18);
}

.teams.layout-wide .category-family-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teams.layout-wide .category-grid {
  grid-template-columns: 1fr;
}

.category-family {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  padding: 1.25rem 1.1rem 1.45rem;
  border-right: 1px solid rgba(157, 194, 255, 0.16);
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.48), rgba(2, 5, 10, 0.12));
}

.category-family:last-child {
  border-right: 0;
}

.category-family h3 {
  max-width: 100%;
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.category-card {
  position: relative;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 54px;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.12);
  color: var(--muted-strong);
  transition: color 180ms ease, padding-left 180ms ease, border-color 180ms ease;
}

.category-card:last-child {
  border-bottom: 0;
}

.category-card:hover,
.category-card:focus-visible {
  padding-left: 0.35rem;
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.34);
}

.category-card-arrow {
  position: relative;
}

.category-card > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 34px);
  color: inherit;
  font-size: clamp(0.95rem, 1.45vw, 1.14rem);
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.category-card-arrow {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  margin-left: auto;
  opacity: 0.78;
}

.category-card-arrow::before,
.category-card-arrow::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-soft);
  transform-origin: right center;
}

.category-card-arrow::before {
  transform: translateY(-50%) rotate(42deg);
}

.category-card-arrow::after {
  transform: translateY(-50%) rotate(-42deg);
}

@media (max-width: 980px) {
  .teams-directory-head {
    padding-top: 4.5rem;
  }
}

@media (max-width: 620px) {
  .teams-directory-head {
    gap: 1rem;
    padding-top: 3.5rem;
  }

  .teams-directory-head h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .category-family {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(157, 194, 255, 0.16);
  }

  .category-family:last-child {
    border-bottom: 0;
  }

  .category-family h3 {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .category-card > span:first-child {
    font-size: 1rem;
  }
}

.gallery-grid {
  column-count: 4;
  column-gap: 0.85rem;
  padding-bottom: 6rem;
}

.gallery-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: 0.9rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.42);
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gallery-more-link::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.gallery-more-link:hover {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.78);
}

.gallery-more-link:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.gallery.layout-rows .gallery-grid {
  column-count: 3;
}

.gallery-mosaic-item {
  display: grid;
  width: 100%;
  min-height: 120px;
  place-items: center;
  margin: 0 0 0.85rem;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid rgba(157, 194, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.1), transparent 45%),
    rgba(8, 18, 32, 0.42);
}

.gallery-mosaic-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(220px, 32vw, 430px);
  object-fit: contain;
}

.gallery-mosaic-item picture {
  display: block;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: auto;
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.38);
  border-radius: 0;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-links a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.contact-links a:hover {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.78);
}

.contact-links a:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 212, 255, 0.7);
  box-shadow: 0 16px 42px rgba(11, 124, 255, 0.24);
}

.button.primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-color: rgba(99, 212, 255, 0.45);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}

.club-actions .button {
  position: relative;
  min-height: 52px;
  padding: 0.78rem 1.05rem 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(99, 212, 255, 0.32);
  border-left: 5px solid var(--blue-soft);
  border-radius: 0;
  color: var(--paper);
  background:
    linear-gradient(100deg, rgba(11, 124, 255, 0.34), rgba(11, 124, 255, 0.11) 58%, rgba(255, 255, 255, 0.035));
  box-shadow: none;
  gap: 0.7rem;
  font-size: 1rem;
  isolation: isolate;
}

.club-actions .button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(99, 212, 255, 0.22), transparent 64%);
  transform: translateX(-100%);
  transition: transform 180ms ease;
}

.club-actions .button::after {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease, color 160ms ease;
}

.club-actions .button:hover {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.72);
  box-shadow: none;
  transform: translateY(-1px);
}

.club-actions .button:hover::before {
  transform: translateX(0);
}

.club-actions .button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem clamp(1.1rem, 2.4vw, 1.7rem);
  padding: 0 0 0 clamp(1rem, 2.2vw, 1.4rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.3rem;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--blue-soft), rgba(99, 212, 255, 0.08));
  transform: skewY(-12deg);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-field-wide,
.contact-notice,
.contact-submit {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.28);
  border-radius: 0;
  padding: 0.82rem 0.15rem;
  color: var(--paper);
  background: transparent;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: rgba(99, 212, 255, 0.86);
  background: rgba(255, 255, 255, 0.025);
  outline: none;
}

.contact-form .button {
  width: fit-content;
  min-width: 0;
  margin-top: 0.25rem;
}

.contact-form .contact-submit {
  display: inline-flex;
  gap: 0.45rem;
  justify-self: start;
  min-height: auto;
  padding: 0.24rem 0;
  border: 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.42);
  border-radius: 0;
  color: var(--blue-soft);
  background: transparent;
  box-shadow: none;
}

.contact-form .contact-submit::after {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.contact-form .contact-submit:hover,
.contact-form .contact-submit:focus-visible {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.8);
  background: transparent;
  box-shadow: none;
  transform: none;
  outline: none;
}

.contact-form .contact-submit:hover::after,
.contact-form .contact-submit:focus-visible::after {
  transform: translateX(3px) rotate(45deg);
}

.contact-form select option {
  color: #07101d;
}

.pe2m-recaptcha {
  min-height: 78px;
  overflow: hidden;
}

.pe2m-recaptcha > div {
  transform-origin: left top;
}

@media (max-width: 380px) {
  .pe2m-recaptcha {
    min-height: 70px;
  }

  .pe2m-recaptcha > div {
    transform: scale(0.88);
  }
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-notice {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(157, 194, 255, 0.2);
  border-radius: var(--radius);
  color: var(--paper);
  font-weight: 900;
}

.contact-notice.is-success {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(20, 83, 45, 0.48);
}

.contact-notice.is-error {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.48);
}

.gym-map {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: stretch;
  margin-top: 1.4rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(1.3rem, 3vw, 2rem);
  border-top: 1px solid rgba(157, 194, 255, 0.18);
}

.gym-map-copy,
.gym-map-frame {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gym-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 0 0 0 clamp(1rem, 2.2vw, 1.4rem);
  border-left: 3px solid var(--blue-soft);
}

.gym-map-copy h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.gym-map-copy p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 850;
}

.gym-map-copy a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  min-height: auto;
  margin-top: 0.35rem;
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.42);
  border-radius: 0;
  color: var(--blue-soft);
  background: transparent;
  font-weight: 950;
  text-transform: uppercase;
}

.gym-map-copy a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.gym-map-copy a:hover {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.78);
}

.gym-map-copy a:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.gym-map-frame {
  position: relative;
  min-height: clamp(280px, 38vw, 430px);
  border-left: 1px solid rgba(99, 212, 255, 0.2);
}

.gym-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.pe2m-external-placeholder {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.6rem;
  width: 100%;
  min-height: 100%;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid rgba(99, 212, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(5, 12, 28, 0.92), rgba(11, 42, 98, 0.62)),
    radial-gradient(circle at 15% 20%, rgba(99, 212, 255, 0.16), transparent 34%);
  color: var(--paper);
}

.pe2m-external-placeholder[hidden] {
  display: none;
}

.pe2m-external-placeholder span {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-external-placeholder p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted-strong);
  font-weight: 800;
}

.pe2m-external-placeholder button {
  min-height: auto;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.5);
  border-radius: 0;
  color: var(--blue-soft);
  background: transparent;
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.pe2m-external-placeholder button:hover,
.pe2m-external-placeholder button:focus-visible {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.9);
}

.gym-map-placeholder {
  position: absolute;
  inset: 0;
}

.pe2m-recaptcha-placeholder {
  min-height: 118px;
  padding: 0.9rem 1rem;
}

.pe2m-recaptcha-placeholder span {
  font-size: 1.1rem;
}

.pe2m-page-main {
  min-height: 60vh;
}

.pe2m-page {
  padding: 6rem 0;
}

.pe2m-page .section-heading h1 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-page-organigramme .section-heading {
  position: relative;
  display: grid;
  gap: 0.65rem;
  padding-top: clamp(3.2rem, 6vw, 5rem);
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.pe2m-page-organigramme .section-heading::before {
  content: "Le club";
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-page-organigramme .section-heading h1 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 0.9;
}

.pe2m-page-organigramme .section-heading h1::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0;
  bottom: -0.18em;
  height: clamp(4px, 0.8vw, 8px);
  background: linear-gradient(90deg, var(--blue), var(--blue-soft), transparent);
  transform: skewX(-24deg);
}

.pe2m-page-organigramme .section-heading::after {
  content: "Bureau, sportif, vie du club et communication.";
  max-width: 520px;
  margin-top: 0.6rem;
  color: var(--muted-strong);
  font-weight: 850;
}

.pe2m-page-content {
  color: var(--muted-strong);
}

.pe2m-club-landing {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}

.pe2m-landing-hero,
.pe2m-landing-note {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(157, 194, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.16), transparent 45%),
    rgba(8, 18, 32, 0.82);
  box-shadow: var(--shadow);
}

.pe2m-landing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft), transparent);
}

.pe2m-landing-hero h2 {
  max-width: 900px;
  margin: 0.25rem 0 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.pe2m-landing-hero p:not(.eyebrow),
.pe2m-landing-note p {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: var(--muted-strong);
  font-weight: 850;
}

.pe2m-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pe2m-org-grid,
.pe2m-sponsor-benefits,
.pe2m-sponsor-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pe2m-org-grid article,
.pe2m-sponsor-benefits article,
.pe2m-sponsor-offers article {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 180px;
  padding: 1rem;
  border: 1px solid rgba(157, 194, 255, 0.16);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(5, 12, 23, 0.82);
}

.pe2m-org-grid span,
.pe2m-sponsor-benefits span {
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pe2m-org-grid h3,
.pe2m-sponsor-benefits h3,
.pe2m-sponsor-offers h3,
.pe2m-landing-note h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-org-grid p,
.pe2m-sponsor-benefits p,
.pe2m-sponsor-offers p {
  margin: 0;
  color: var(--muted);
  font-weight: 820;
}

.pe2m-page-sponsoring .section-heading {
  margin-bottom: clamp(1.4rem, 4vw, 2.6rem);
}

.pe2m-page-sponsoring .section-heading h1 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.pe2m-page-sponsoring .section-heading h1::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0;
  bottom: -0.16em;
  height: clamp(4px, 0.7vw, 7px);
  background: linear-gradient(90deg, var(--blue), var(--blue-soft), transparent);
  transform: skewX(-24deg);
}

.pe2m-sponsor-landing {
  gap: clamp(2rem, 4vw, 3.2rem);
}

.pe2m-sponsor-landing .pe2m-landing-hero,
.pe2m-page-sponsoring .pe2m-landing-note {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pe2m-sponsor-landing .pe2m-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: end;
  padding-bottom: clamp(1.35rem, 3vw, 2.1rem);
  border-bottom: 1px solid rgba(157, 194, 255, 0.2);
}

.pe2m-sponsor-landing .pe2m-landing-hero::after {
  left: 0;
  right: auto;
  width: min(420px, 52%);
  height: 3px;
}

.pe2m-sponsor-landing .pe2m-landing-hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1;
}

.pe2m-sponsor-landing .pe2m-landing-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 0.75rem;
  color: var(--muted-strong);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 760;
}

.pe2m-sponsor-landing .pe2m-landing-actions {
  align-self: end;
  justify-content: flex-end;
  margin-top: 0;
}

.pe2m-sponsor-landing .pe2m-landing-actions .button {
  min-height: auto;
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.38);
  border-radius: 0;
  color: var(--blue-soft);
  background: transparent;
  box-shadow: none;
}

.pe2m-sponsor-landing .pe2m-landing-actions .button::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.pe2m-sponsor-landing .pe2m-landing-actions .button:hover {
  color: var(--paper);
  background: transparent;
  transform: none;
}

.pe2m-sponsor-landing .pe2m-landing-actions .button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits,
.pe2m-page-sponsoring .pe2m-sponsor-offers {
  position: relative;
  gap: 0;
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits::before,
.pe2m-page-sponsoring .pe2m-sponsor-offers::before {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 1.65rem;
  margin-bottom: 1rem;
  padding: 0.18rem 0.75rem 0.18rem 0.65rem;
  border-left: 3px solid var(--blue-soft);
  color: var(--muted-strong);
  background: linear-gradient(90deg, rgba(11, 124, 255, 0.18), rgba(11, 124, 255, 0));
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits::before {
  content: "Ce que le partenariat apporte";
}

.pe2m-page-sponsoring .pe2m-sponsor-offers::before {
  content: "Formats possibles";
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(157, 194, 255, 0.2);
  border-bottom: 1px solid rgba(157, 194, 255, 0.2);
  background: linear-gradient(90deg, rgba(11, 124, 255, 0.07), rgba(8, 18, 32, 0.18), transparent);
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits article,
.pe2m-page-sponsoring .pe2m-sponsor-offers article {
  min-height: 0;
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits article {
  display: grid;
  gap: 0.45rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits article + article {
  border-left: 1px solid rgba(157, 194, 255, 0.16);
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 0.2rem;
  border: 0;
  color: var(--blue-soft);
  font-size: 0.74rem;
  line-height: 1;
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits h3,
.pe2m-page-sponsoring .pe2m-sponsor-offers h3,
.pe2m-page-sponsoring .pe2m-landing-note h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.75rem);
  line-height: 1.02;
}

.pe2m-page-sponsoring .pe2m-sponsor-benefits p,
.pe2m-page-sponsoring .pe2m-sponsor-offers p,
.pe2m-page-sponsoring .pe2m-landing-note p {
  color: var(--muted-strong);
  font-weight: 740;
}

.pe2m-page-sponsoring .pe2m-sponsor-offers {
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(157, 194, 255, 0.18);
}

.pe2m-page-sponsoring .pe2m-sponsor-offers article {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: clamp(0.85rem, 2vw, 1.6rem);
  align-items: baseline;
  padding: clamp(0.95rem, 2.2vw, 1.25rem) 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.16);
}

.pe2m-page-sponsoring .pe2m-sponsor-offers h3 {
  color: var(--paper);
}

.pe2m-page-sponsoring .pe2m-sponsor-offers p {
  max-width: 740px;
}

.pe2m-page-sponsoring .pe2m-landing-note {
  padding-top: clamp(1rem, 2.2vw, 1.4rem);
  border-top: 1px solid rgba(99, 212, 255, 0.28);
}

.pe2m-org-board {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  padding-left: clamp(0.2rem, 1vw, 0.8rem);
}

.pe2m-org-pole {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start;
}

.pe2m-org-pole::before {
  content: "";
  position: absolute;
  left: clamp(150px, 24%, 230px);
  top: 0.35rem;
  bottom: -1.1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(99, 212, 255, 0.62), rgba(99, 212, 255, 0.08));
}

.pe2m-org-pole-head {
  position: sticky;
  top: 102px;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 0;
  padding: 0.1rem 1rem 0.7rem 0;
  border: 0;
  background: transparent;
}

.pe2m-org-pole-head span {
  max-width: 100%;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.1vw, 3.25rem);
  font-style: italic;
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.pe2m-org-pole-head strong {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  color: var(--blue-soft);
  border: 1px solid rgba(99, 212, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(11, 124, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 950;
}

.pe2m-org-pole-head strong::after {
  content: " personne(s)";
  margin-left: 0.25rem;
  color: var(--muted);
  font-weight: 850;
}

.pe2m-org-people {
  display: grid;
  gap: 0.95rem;
}

.pe2m-org-person {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 120px;
  padding: 0 0 0.95rem;
  border: 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.14);
  background: transparent;
}

.pe2m-org-person::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 46px;
  width: 1.5rem;
  height: 1px;
  background: rgba(99, 212, 255, 0.45);
}

.pe2m-org-photo {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  padding: 0;
  border: 1px solid rgba(99, 212, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 20%, rgba(99, 212, 255, 0.16), transparent 50%),
    rgba(2, 5, 10, 0.46);
}

.pe2m-org-photo img {
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02);
}

.pe2m-org-photo.is-empty span {
  position: relative;
  width: 62px;
  height: 70px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 26%, #05080d 0 22%, transparent 23%),
    radial-gradient(ellipse at 50% 92%, #05080d 0 48%, transparent 49%),
    linear-gradient(180deg, rgba(99, 212, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.pe2m-org-person-content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  padding: 0;
}

.pe2m-org-person-content h3 {
  flex: 1 1 100%;
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  font-style: italic;
  line-height: 0.86;
  text-transform: uppercase;
}

.pe2m-org-person-content p {
  flex: 0 1 auto;
  margin: 0;
  color: var(--blue-soft);
  font-weight: 950;
}

.pe2m-org-person-content small {
  flex: 1 1 100%;
  color: var(--muted);
  font-weight: 800;
}

.pe2m-org-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1 1 100%;
  margin-top: 0.15rem;
}

.pe2m-org-contact a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.32);
  border-radius: 0;
  color: var(--muted-strong);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 850;
}

@media (max-width: 900px) {
  .pe2m-org-grid,
  .pe2m-sponsor-benefits,
  .pe2m-sponsor-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pe2m-sponsor-landing .pe2m-landing-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pe2m-sponsor-landing .pe2m-landing-actions {
    justify-content: flex-start;
  }

  .pe2m-page-sponsoring .pe2m-sponsor-benefits {
    grid-template-columns: 1fr;
  }

  .pe2m-page-sponsoring .pe2m-sponsor-benefits article + article {
    border-top: 1px solid rgba(157, 194, 255, 0.16);
    border-left: 0;
  }

  .pe2m-page-sponsoring .pe2m-sponsor-offers article {
    grid-template-columns: 1fr;
  }

  .pe2m-org-pole {
    grid-template-columns: 1fr;
  }

  .pe2m-org-pole::before,
  .pe2m-org-person::before {
    display: none;
  }

  .pe2m-org-pole-head {
    position: static;
    min-height: auto;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .pe2m-org-grid,
  .pe2m-sponsor-benefits,
  .pe2m-sponsor-offers {
    grid-template-columns: 1fr;
  }

  .pe2m-org-person {
    grid-template-columns: 1fr;
  }

  .pe2m-org-photo {
    width: 82px;
    height: 82px;
  }

  .pe2m-landing-actions .button {
    width: 100%;
  }
}

.team-hero-cover {
  min-height: 70svh;
  display: grid;
  place-items: center;
}

.home-section-hero.layout-stacked .hero-split {
  grid-template-columns: 1fr;
}

.home-section-hero.layout-stacked .team-panel {
  min-height: calc((100svh - 76px) / 2);
}

.home-section-hero.layout-stacked .panel-left strong,
.home-section-hero.layout-stacked .panel-right strong {
  left: clamp(1.2rem, 5vw, 5rem);
  right: clamp(1.2rem, 5vw, 5rem);
}

.team-hero-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.team-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.18) 0%, rgba(2, 5, 10, 0.46) 55%, #02050a 100%),
    linear-gradient(90deg, rgba(7, 63, 158, 0.36), rgba(2, 5, 10, 0.22));
}

.team-hero-title {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(980px, calc(100% - 2rem));
  text-align: center;
}

.team-hero-title h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.86;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
}

.team-hero-title p {
  max-width: 720px;
  color: var(--muted-strong);
  font-weight: 800;
}

.team-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.83rem;
  font-weight: 850;
}

.team-sheet-section {
  margin-top: -4rem;
  overflow: visible;
}

.team-sheet-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 6rem;
}

.manager-panel,
.team-focus-card,
.team-subcard,
.notice-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 18, 32, 0.86);
  box-shadow: var(--shadow);
}

.manager-panel {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
  position: sticky;
  top: 98px;
}

.manager-avatar {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(99, 212, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(2, 5, 10, 0.92);
}

.manager-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-avatar.is-empty span {
  position: relative;
  width: 38%;
  height: 38%;
  border-radius: 999px 999px 46% 46%;
  background: #000;
  box-shadow: 0 78px 0 36px #000;
}

.manager-panel h2,
.staff-block h3,
.team-focus-header h2,
.team-subcard h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.manager-panel h2 {
  font-size: 2.1rem;
}

.manager-links,
.source-list.compact {
  display: grid;
  gap: 0.45rem;
}

.manager-links a {
  color: var(--blue-soft);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.staff-block {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.staff-block ul,
.training-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-block li,
.training-list li {
  color: var(--muted-strong);
}

.team-content-panel {
  display: grid;
  gap: 1rem;
}

.squad-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.squad-tab {
  min-height: 42px;
  padding: 0.6rem 1rem;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.squad-tab[aria-pressed="true"] {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.72);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.team-focus-card {
  display: none;
  gap: 1rem;
  padding: 1rem;
}

.team-focus-card.is-active {
  display: grid;
}

.team-focus-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.team-focus-header span,
.team-subcard > span {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.team-focus-header h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.team-subcard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.team-subcard-grid-legacy {
  display: none !important;
}

.team-subcard {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 220px;
  padding: 1rem;
}

.team-subcard h3 {
  font-size: 2rem;
}

.team-subcard p {
  margin: 0;
  color: var(--muted-strong);
}

.training-subcard {
  grid-column: span 2;
}

.ranking-table-card {
  grid-column: 1 / -1;
  min-height: 0;
}

.recent-form-list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-form-list li {
  display: grid;
  gap: 0.35rem;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.recent-form-list strong {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-style: italic;
  text-transform: uppercase;
}

.recent-form-list strong span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
}

.recent-form-list em {
  color: var(--muted-strong);
  font-style: normal;
  line-height: 1.35;
}

.recent-form-list .result-win {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.1);
}

.recent-form-list .result-win strong span,
.ranking-form-chips .form-win {
  color: #052e16;
  background: #4ade80;
}

.recent-form-list .result-loss {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.1);
}

.recent-form-list .result-loss strong span,
.ranking-form-chips .form-loss {
  color: #450a0a;
  background: #f87171;
}

.recent-form-list .result-draw {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(250, 204, 21, 0.1);
}

.recent-form-list .result-draw strong span,
.ranking-form-chips .form-draw {
  color: #422006;
  background: #facc15;
}

.recent-form-list .result-pending {
  border-color: rgba(148, 163, 184, 0.38);
}

.recent-form-list .result-pending strong span,
.ranking-form-chips .form-pending {
  color: var(--paper);
  background: rgba(148, 163, 184, 0.35);
}

.ranking-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ranking-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--muted-strong);
}

.ranking-table th,
.ranking-table td {
  padding: 0.72rem 0.66rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  white-space: nowrap;
}

.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2) {
  text-align: left;
  white-space: normal;
}

.ranking-table th {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
  text-transform: uppercase;
  background: rgba(99, 212, 255, 0.08);
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.ranking-table .is-current td {
  color: var(--paper);
  font-weight: 900;
  background: rgba(34, 91, 255, 0.2);
}

.ranking-form-chips {
  display: inline-flex;
  gap: 0.25rem;
}

.ranking-form-chips b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.mini-stats strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
}

.training-list strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  text-transform: uppercase;
}

.training-list span {
  display: block;
  color: var(--muted-strong);
}

.notice-panel {
  padding: 1.2rem;
  margin-bottom: 6rem;
}

.category-page {
  color: #07101d;
}

.category-hero-v2 {
  position: relative;
  min-height: clamp(360px, 52vh, 560px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.category-hero-v2 img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.84), rgba(3, 12, 28, 0.48) 50%, rgba(2, 5, 10, 0.84)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.1), rgba(2, 5, 10, 0.92));
}

.category-hero-content {
  width: min(1180px, calc(100% - 2rem));
  padding: 8rem 0 6.5rem;
}

.category-kicker,
.category-hero-meta span,
.category-team-heading span,
.category-stat-card > span,
.category-panel-head .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0.38rem 0.66rem;
  border: 1px solid rgba(99, 212, 255, 0.55);
  border-radius: var(--radius);
  color: var(--blue-soft);
  background: rgba(2, 5, 10, 0.54);
}

.category-hero-content h1 {
  max-width: 980px;
  margin: 0.7rem 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9.4rem);
  font-style: italic;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.category-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.category-hero-meta span {
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.category-dashboard-section {
  margin-top: -4.2rem;
  overflow: visible;
}

.category-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 6rem;
}

.category-side-card,
.category-team-heading,
.category-stat-card,
.category-ranking-panel,
.category-detail-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-side-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(157, 194, 255, 0.35);
  color: #07101d;
  background: #f7fbff;
}

.category-manager-block {
  display: grid;
  gap: 0.9rem;
}

.category-manager-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #061226;
}

.category-manager-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-manager-photo.is-empty span {
  position: relative;
  width: 34%;
  height: 34%;
  border-radius: 999px 999px 46% 46%;
  background: #000;
  box-shadow: 0 70px 0 34px #000;
}

.category-side-card .eyebrow,
.category-panel-head .eyebrow {
  margin: 0 0 0.25rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
}

.category-side-card h2,
.category-info-block h3,
.category-panel-head h3,
.category-team-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.category-side-card h2 {
  color: #07101d;
  font-size: clamp(2rem, 4vw, 3rem);
}

.category-contact-links,
.category-source-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.category-contact-links a,
.category-source-buttons a,
.category-link-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(7, 63, 158, 0.2);
  border-radius: var(--radius);
  color: #073f9e;
  background: #e9f2ff;
  font-weight: 900;
}

.category-info-block {
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 16, 29, 0.12);
}

.category-info-block h3 {
  color: #07101d;
  font-size: 1.65rem;
}

.category-simple-list,
.category-training-list,
.category-form-list {
  display: grid;
  gap: 0.62rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.category-simple-list li,
.category-training-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.72rem;
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.055);
}

.category-simple-list strong,
.category-training-list strong {
  color: #07101d;
  font-weight: 950;
}

.category-simple-list span,
.category-training-list span {
  color: #44546a;
}

.category-main-area {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.category-team-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(157, 194, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(2, 5, 10, 0.74);
  backdrop-filter: blur(14px);
}

.category-team-tab {
  min-height: 42px;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.category-team-tab[aria-pressed="true"] {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.72);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.category-team-panel {
  display: none;
  gap: 1rem;
}

.category-team-panel.is-active {
  display: grid;
}

.category-team-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.05rem;
  color: var(--paper);
  border: 1px solid rgba(99, 212, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.9), rgba(3, 18, 43, 0.94)),
    #061226;
}

.category-team-heading span {
  color: var(--blue-soft);
  font-size: 0.85rem;
}

.category-team-heading h2 {
  color: var(--paper);
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.category-team-heading p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 800;
  text-align: right;
}

.category-live-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(240px, 1fr) minmax(300px, 1.35fr);
  gap: 0.85rem;
}

.category-stat-card,
.category-ranking-panel,
.category-detail-panel {
  border: 1px solid rgba(7, 63, 158, 0.14);
  color: #07101d;
  background: #f7fbff;
}

.category-stat-card {
  display: grid;
  gap: 0.62rem;
  align-content: start;
  min-height: 210px;
  padding: 1rem;
}

.category-stat-card > span {
  color: #073f9e;
  font-size: 0.82rem;
}

.category-stat-card > strong {
  color: #07101d;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.category-stat-card p,
.category-stat-card small {
  margin: 0;
  color: #44546a;
  font-weight: 800;
}

.category-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: auto;
}

.category-stat-row em {
  min-height: 32px;
  padding: 0.32rem 0.48rem;
  border-radius: 6px;
  color: #07101d;
  background: #e9f2ff;
  font-style: normal;
  font-weight: 950;
}

.category-form-card {
  min-height: 0;
}

.category-form-list {
  margin-top: 0;
}

.category-form-list li {
  display: grid;
  grid-template-columns: minmax(74px, 0.32fr) minmax(80px, 0.36fr) minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid rgba(7, 16, 29, 0.1);
  border-radius: var(--radius);
  background: #fff;
}

.category-form-list b {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
  color: #07101d;
  background: #dbeafe;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.category-form-list strong {
  color: #07101d;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1;
}

.category-form-list em {
  color: #44546a;
  font-style: normal;
  line-height: 1.3;
}

.category-form-list .is-win b,
.category-form-chips .is-win {
  color: #052e16;
  background: #4ade80;
}

.category-form-list .is-loss b,
.category-form-chips .is-loss {
  color: #450a0a;
  background: #f87171;
}

.category-form-list .is-draw b,
.category-form-chips .is-draw {
  color: #422006;
  background: #facc15;
}

.category-form-list .is-pending b,
.category-form-chips .is-pending {
  color: #07101d;
  background: #cbd5e1;
}

.category-ranking-panel,
.category-detail-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.category-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.category-panel-head h3 {
  color: #07101d;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.category-table-wrap {
  margin: 0;
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(7, 16, 29, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.category-ranking-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #07101d;
}

.category-ranking-table th,
.category-ranking-table td {
  padding: 0.82rem 0.72rem;
  border-bottom: 1px solid rgba(7, 16, 29, 0.08);
  text-align: center;
  white-space: nowrap;
}

.category-ranking-table th:nth-child(2),
.category-ranking-table td:nth-child(2) {
  text-align: left;
  white-space: normal;
}

.category-ranking-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #073f9e;
  background: #e9f2ff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-style: italic;
  text-transform: uppercase;
}

.category-ranking-table tbody tr:hover td {
  background: #f2f7ff;
}

.category-ranking-table .is-current td {
  color: #04152f;
  background: rgba(99, 212, 255, 0.22);
  font-weight: 950;
}

.category-form-chips {
  display: inline-flex;
  gap: 0.25rem;
}

.category-form-chips b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
}

.category-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 0.85rem;
}

.category-source-buttons a {
  color: var(--paper);
  border-color: rgba(7, 63, 158, 0.22);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.category-empty-note {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius);
  color: #44546a;
  background: #fff;
  font-weight: 800;
}

.pe2m-cat-page {
  color: var(--paper);
}

.pe2m-cat-hero {
  position: relative;
  min-height: clamp(320px, 48vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #061226;
}

.pe2m-cat-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe2m-cat-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.88), rgba(2, 5, 10, 0.34) 52%, rgba(2, 5, 10, 0.78)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.9));
}

.pe2m-cat-hero-inner {
  width: min(1180px, calc(100% - 2rem));
  padding: 7rem 0 4.5rem;
}

.pe2m-cat-hero-inner span,
.pe2m-cat-team-head small,
.pe2m-cat-panel-head small,
.pe2m-cat-sidebar small {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-cat-hero-inner h1 {
  max-width: 940px;
  margin: 0.55rem 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 10vw, 8.6rem);
  font-style: italic;
  line-height: 0.86;
  text-transform: uppercase;
}

.pe2m-cat-hero-inner p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 900;
}

.pe2m-cat-body {
  margin-top: -2.6rem;
  overflow: visible;
}

.pe2m-cat-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 6rem;
}

.pe2m-cat-sidebar {
  position: sticky;
  top: 96px;
  z-index: 2;
}

.pe2m-cat-side-panel,
.pe2m-cat-panel,
.pe2m-cat-team-head,
.pe2m-cat-tabs {
  border: 1px solid rgba(157, 194, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pe2m-cat-side-panel {
  display: grid;
  gap: 1rem;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding: 1rem;
  color: #07101d;
  background: #f7fbff;
}

.pe2m-cat-manager {
  display: grid;
  gap: 0.85rem;
}

.pe2m-cat-manager-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #061226;
}

.pe2m-cat-manager-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe2m-cat-manager-photo.is-empty span {
  position: relative;
  width: 34%;
  height: 34%;
  border-radius: 999px 999px 46% 46%;
  background: #000;
  box-shadow: 0 70px 0 34px #000;
}

.pe2m-cat-sidebar h2,
.pe2m-cat-sidebar h3,
.pe2m-cat-team-head h2,
.pe2m-cat-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-cat-sidebar h2 {
  color: #07101d;
  font-size: 2.25rem;
}

.pe2m-cat-sidebar h3 {
  color: #07101d;
  font-size: 1.45rem;
}

.pe2m-cat-contact {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.pe2m-cat-contact a,
.pe2m-cat-panel-head a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  color: #073f9e;
  background: #e9f2ff;
  font-weight: 900;
}

.pe2m-cat-side-block {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(7, 16, 29, 0.12);
}

.pe2m-cat-side-block ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.pe2m-cat-side-block li {
  display: grid;
  gap: 0.12rem;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: rgba(7, 16, 29, 0.055);
}

.pe2m-cat-side-block strong {
  color: #07101d;
}

.pe2m-cat-side-block span {
  color: #475569;
}

.pe2m-cat-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pe2m-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.55rem;
  background: rgba(2, 5, 10, 0.76);
}

.pe2m-cat-tabs button {
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.pe2m-cat-tabs button[aria-pressed="true"] {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.72);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.pe2m-cat-team {
  display: none;
  gap: 1rem;
}

.pe2m-cat-team.is-active {
  display: grid;
}

.pe2m-cat-team-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  background: rgba(8, 18, 32, 0.92);
}

.pe2m-cat-team-head h2 {
  color: var(--paper);
  font-size: clamp(2rem, 5vw, 4rem);
}

.pe2m-cat-rank-summary {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
}

.pe2m-cat-rank-summary strong {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-style: italic;
  line-height: 0.9;
}

.pe2m-cat-rank-summary span {
  color: var(--muted-strong);
  font-weight: 900;
}

.pe2m-cat-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  color: #07101d;
  background: #f7fbff;
}

.pe2m-cat-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.pe2m-cat-panel-head h3 {
  color: #07101d;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.pe2m-cat-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(7, 16, 29, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.pe2m-cat-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: #07101d;
}

.pe2m-cat-calendar {
  min-width: 720px;
}

.pe2m-cat-table th,
.pe2m-cat-table td {
  padding: 0.78rem 0.7rem;
  border-bottom: 1px solid rgba(7, 16, 29, 0.08);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.pe2m-cat-table th:nth-child(2),
.pe2m-cat-table td:nth-child(2),
.pe2m-cat-calendar th:nth-child(3),
.pe2m-cat-calendar td:nth-child(3),
.pe2m-cat-calendar th:nth-child(4),
.pe2m-cat-calendar td:nth-child(4) {
  text-align: left;
  white-space: normal;
}

.pe2m-cat-table th {
  color: #073f9e;
  background: #e9f2ff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-style: italic;
  text-transform: uppercase;
}

.pe2m-cat-table .is-current td {
  color: #04152f;
  background: rgba(99, 212, 255, 0.22);
  font-weight: 950;
}

.pe2m-cat-form-chips {
  display: inline-flex;
  gap: 0.25rem;
}

.pe2m-cat-form-chips b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.74rem;
}

.pe2m-cat-form-chips .is-win,
.pe2m-cat-results .is-win strong {
  color: #052e16;
  background: #4ade80;
}

.pe2m-cat-form-chips .is-loss,
.pe2m-cat-results .is-loss strong {
  color: #450a0a;
  background: #f87171;
}

.pe2m-cat-form-chips .is-draw,
.pe2m-cat-results .is-draw strong {
  color: #422006;
  background: #facc15;
}

.pe2m-cat-form-chips .is-pending,
.pe2m-cat-results .is-pending strong {
  color: #07101d;
  background: #cbd5e1;
}

.pe2m-cat-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pe2m-cat-results article {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid rgba(7, 16, 29, 0.1);
  border-radius: var(--radius);
  background: #fff;
}

.pe2m-cat-results strong {
  justify-self: start;
  min-height: 28px;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pe2m-cat-results span {
  color: #07101d;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1;
}

.pe2m-cat-results small,
.pe2m-cat-empty {
  color: #475569;
  font-weight: 800;
}

.pe2m-cat-empty {
  margin: 0;
  padding: 0.95rem;
  border-radius: var(--radius);
  background: #fff;
}

@media (max-width: 1080px) {
  .pe2m-cat-layout {
    grid-template-columns: 1fr;
  }

  .pe2m-cat-sidebar {
    position: static;
  }

  .pe2m-cat-side-panel {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .pe2m-cat-body {
    margin-top: -1.6rem;
  }

  .pe2m-cat-team-head,
  .pe2m-cat-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pe2m-cat-rank-summary {
    justify-items: start;
  }

  .pe2m-cat-results {
    grid-template-columns: 1fr;
  }

  .pe2m-cat-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .pe2m-cat-tabs button,
  .pe2m-cat-panel-head a {
    width: 100%;
  }
}

.site-footer {
  border-top: 1px solid rgba(157, 194, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.12), transparent 38%),
    #02050a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.footer-brand strong,
.footer-contact span {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  color: var(--muted-strong);
  font-weight: 850;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  overflow: visible;
  white-space: normal;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.footer-nav a,
.footer-contact a,
.footer-legal a,
.footer-legal button {
  color: var(--muted-strong);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--blue-soft);
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(157, 194, 255, 0.12);
}

.footer-legal a,
.footer-legal button {
  font-size: 0.82rem;
}

.pe2m-cookie-banner {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  width: min(780px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(99, 212, 255, 0.38);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(2, 5, 10, 0.96);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.pe2m-cookie-banner[hidden] {
  display: none;
}

.pe2m-cookie-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-cookie-banner p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.pe2m-cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.pe2m-cookie-actions button {
  min-height: 40px;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(157, 194, 255, 0.22);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(8, 18, 32, 0.94);
  font-weight: 900;
  cursor: pointer;
}

.pe2m-cookie-actions button:last-child {
  border-color: rgba(99, 212, 255, 0.6);
  background: rgba(11, 124, 255, 0.72);
}

.pe2m-legal-page {
  display: grid;
  gap: 1rem;
  color: var(--muted-strong);
}

.pe2m-legal-page h2 {
  margin: 1rem 0 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.pe2m-legal-page p,
.pe2m-legal-page li {
  color: var(--muted-strong);
  font-weight: 800;
  line-height: 1.55;
}

.pe2m-legal-page dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.pe2m-legal-page dl > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 0.8rem;
  padding: 0.75rem;
  border: 1px solid rgba(157, 194, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(8, 18, 32, 0.74);
}

.pe2m-legal-page dt {
  color: var(--blue-soft);
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-legal-page dd {
  margin: 0;
}

.pe2m-legal-note {
  padding: 0.95rem;
  border: 1px solid rgba(99, 212, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(11, 124, 255, 0.12);
}

.woocommerce main,
.woocommerce-page main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes crestFloat {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes spinLine {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .navbar {
    justify-content: space-between;
    min-height: 72px;
    padding: 0 1rem;
  }

  .brand-mark {
    position: relative;
    left: auto;
    bottom: auto;
    width: 64px;
    height: 64px;
    transform: none;
  }

  .brand-mark img {
    width: 48px;
    height: 48px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    right: auto;
    z-index: 122;
    flex: 0 0 46px;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 0;
    z-index: 121;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.16rem;
    height: calc(100dvh - 72px);
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    padding: 1rem 1rem max(2rem, env(safe-area-inset-bottom));
    background: rgba(2, 5, 10, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, visibility 220ms ease;
    overscroll-behavior: contain;
    scrollbar-width: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links > li,
  .nav-links > li:nth-child(4),
  .nav-links > li:nth-child(5),
  .nav-links > li:nth-child(6),
  .nav-links > li:nth-child(7),
  .nav-links > li:nth-child(8) {
    grid-column: auto;
  }

  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a,
  .dropdown-trigger {
    min-height: 48px;
    width: 100%;
    justify-content: flex-start;
    color: var(--paper);
  }

  .dropdown-family-trigger {
    min-height: 46px;
    color: var(--blue-soft);
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
    margin: 0.15rem 0 0;
    padding: 0.55rem;
    border-color: rgba(157, 194, 255, 0.14);
    background: rgba(8, 18, 32, 0.88);
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
    left: auto;
    top: auto;
    transform: none;
  }

  .dropdown-family-trigger {
    padding-left: 0;
  }

  .dropdown-family-list {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0.15rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-family:hover .dropdown-family-list {
    display: none;
  }

  .dropdown-family.is-open .dropdown-family-list {
    display: grid;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-split,
  .split-layout,
  .gym-map,
  .team-sheet-layout,
  .category-family-list,
  .teams.layout-wide .category-grid,
  .team-subcard-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gym-map-frame {
    border-left: 0;
  }

  .hero-split {
    min-height: calc(100svh - 72px);
  }

  .team-panel {
    min-height: calc((100svh - 72px) / 2);
  }

  .panel-left strong,
  .panel-right strong,
  .panel-left > span,
  .panel-right > span {
    left: 1.2rem;
    right: 1.2rem;
  }

  .footer-contact {
    justify-items: start;
  }

  .footer-nav,
  .footer-legal {
    width: 100%;
  }

  .pe2m-cookie-banner {
    grid-template-columns: 1fr;
  }

  .hero-logo-overlay .crest-ring {
    width: 142px !important;
    min-width: 142px !important;
    padding: 0.5rem;
  }

  .gallery-grid {
    column-count: 2;
  }

  .training-subcard {
    grid-column: auto;
  }

  .manager-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .split-layout {
    padding: 4rem 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 1;
  }

  .photo-stack {
    min-height: auto;
  }

  .photo-main,
  .photo-accent {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
  }

  .photo-accent {
    margin-top: 1rem;
    border: 0;
  }

  .team-panel strong {
    bottom: 6.4rem;
    font-size: 2.3rem;
  }

  .team-panel > span {
    bottom: 4.55rem;
    font-size: 0.95rem;
  }

  .hero-logo-overlay .crest-ring {
    width: 116px !important;
    min-width: 116px !important;
    padding: 0.42rem;
  }

  .crest-ring::after {
    inset: -8px;
  }

  .team-hero-title h1 {
    font-size: 3.4rem;
  }

  .contact-links,
  .pe2m-cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-nav,
  .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 0.15rem;
  }

  .pe2m-legal-page dl > div {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-links a {
    width: 100%;
  }

  .contact-form .contact-submit {
    width: fit-content;
  }
}

@media (max-width: 1180px) {
  .category-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .category-side-card {
    position: static;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
    align-items: start;
  }

  .category-manager-block {
    grid-row: span 2;
  }

  .category-live-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-form-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .category-hero-v2 {
    min-height: 420px;
  }

  .category-hero-content {
    padding: 7rem 0 5.5rem;
  }

  .category-dashboard-section {
    margin-top: -2.8rem;
  }

  .category-side-card,
  .category-live-grid,
  .category-bottom-grid {
    grid-template-columns: 1fr;
  }

  .category-manager-block {
    grid-row: auto;
  }

  .category-team-heading,
  .category-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-team-heading p {
    text-align: left;
  }

  .category-form-list li {
    grid-template-columns: 1fr;
  }

  .category-form-list b {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .category-hero-content h1 {
    font-size: 3.6rem;
  }

  .category-hero-meta,
  .category-team-tabs,
  .category-contact-links,
  .category-source-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .category-team-tab,
  .category-contact-links a,
  .category-source-buttons a,
  .category-link-button {
    width: 100%;
  }

  .category-ranking-table {
    min-width: 780px;
  }

  .category-stat-card > strong {
    font-size: 3.1rem;
  }
}

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}

/* Category page V3 */
.pe2m-category-v3 {
  color: var(--paper);
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0) 0, rgba(5, 15, 32, 0.86) 430px, rgba(4, 10, 23, 0.95) 68%, #02050a 100%),
    linear-gradient(124deg, rgba(11, 124, 255, 0.18) 0 11%, transparent 11% 33%, rgba(99, 212, 255, 0.075) 33% 39%, transparent 39%),
    linear-gradient(236deg, transparent 0 58%, rgba(7, 63, 158, 0.14) 58% 72%, transparent 72%),
    repeating-linear-gradient(135deg, rgba(157, 194, 255, 0.026) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, #07162d 0%, #07101d 42%, #02050a 100%);
}

.pe2m-category-v3::before {
  content: "";
  position: absolute;
  inset: clamp(320px, 48vh, 620px) 0 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.62;
  background:
    linear-gradient(156deg, rgba(11, 124, 255, 0.13) 0 10%, transparent 10% 44%, rgba(99, 212, 255, 0.055) 44% 50%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 104px),
    linear-gradient(180deg, rgba(8, 18, 32, 0.18), rgba(2, 5, 10, 0.5));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7rem, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 7rem, #000 100%);
}

.pe2m-category-v3 > .pe2m-category-cover,
.pe2m-category-v3 > .pe2m-category-stage {
  position: relative;
  z-index: 1;
}

.pe2m-category-v3 .pe2m-category-cover {
  position: relative;
  display: grid;
  min-height: clamp(360px, 50vh, 560px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #061226;
}

.pe2m-category-v3 .pe2m-category-cover picture,
.pe2m-category-v3 .pe2m-category-cover img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.pe2m-category-v3 .pe2m-category-cover img {
  object-fit: cover;
}

.pe2m-category-v3 .pe2m-category-cover-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.92), rgba(2, 5, 10, 0.36) 58%, rgba(2, 5, 10, 0.84)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.1), rgba(2, 5, 10, 0.94));
}

.pe2m-category-v3 .pe2m-category-cover-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  padding: 7.2rem 0 5rem;
}

.pe2m-category-v3 .pe2m-category-cover-content span,
.pe2m-category-v3 .pe2m-category-rail small,
.pe2m-category-v3 .pe2m-category-team-hero small,
.pe2m-category-v3 .pe2m-category-panel-head small,
.pe2m-category-v3 .pe2m-category-metrics span,
.pe2m-category-v3 .pe2m-category-scoreline span {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-cover-content h1 {
  max-width: 960px;
  margin: 0.65rem 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 10vw, 8.8rem);
  font-style: italic;
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.pe2m-category-v3 .pe2m-category-cover-content p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 900;
}

.pe2m-category-v3 .pe2m-category-stage {
  margin-top: -3rem;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(5, 15, 32, 0.58), rgba(3, 9, 20, 0.68) 56%, rgba(2, 5, 10, 0.84)),
    linear-gradient(118deg, rgba(11, 124, 255, 0.055) 0 14%, transparent 14% 43%, rgba(99, 212, 255, 0.035) 43% 49%, transparent 49%);
}

.pe2m-category-v3 .pe2m-category-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: min(1440px, calc(100% - 2rem));
  padding-bottom: 6rem;
}

.pe2m-category-v3.is-outside-competition .pe2m-category-layout {
  grid-template-columns: 1fr;
  width: min(1180px, calc(100% - 2rem));
}

.pe2m-category-v3 .pe2m-category-rail {
  position: sticky;
  top: 96px;
  z-index: 2;
}

.pe2m-category-v3 .pe2m-category-rail-card {
  display: grid;
  gap: 1rem;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(99, 212, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(11, 124, 255, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(7, 16, 29, 0.97), rgba(2, 5, 10, 0.97));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.pe2m-category-v3 .pe2m-category-manager {
  display: grid;
  gap: 0.85rem;
}

.pe2m-category-v3 .pe2m-category-manager-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(99, 212, 255, 0.35);
  border-radius: var(--radius);
  background: #02050a;
}

.pe2m-category-v3 .pe2m-category-manager-photo picture,
.pe2m-category-v3 .pe2m-category-focus-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.pe2m-category-v3 .pe2m-category-manager-photo img,
.pe2m-category-v3 .pe2m-category-focus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe2m-category-v3 .pe2m-category-manager-photo.is-empty span {
  position: relative;
  width: 34%;
  height: 34%;
  border-radius: 999px 999px 46% 46%;
  background: #000;
  box-shadow: 0 72px 0 34px #000;
}

.pe2m-category-v3 .pe2m-category-rail h2,
.pe2m-category-v3 .pe2m-category-rail h3,
.pe2m-category-v3 .pe2m-category-team-hero h2,
.pe2m-category-v3 .pe2m-category-panel-head h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-rail h2 {
  font-size: 2.25rem;
}

.pe2m-category-v3 .pe2m-category-rail h3 {
  font-size: 1.45rem;
}

.pe2m-category-v3 .pe2m-category-contact {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.pe2m-category-v3 .pe2m-category-contact a,
.pe2m-category-v3 .pe2m-category-panel-head a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(99, 212, 255, 0.26);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(11, 124, 255, 0.18);
  font-weight: 900;
}

.pe2m-category-v3 .pe2m-category-rail-section {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(157, 194, 255, 0.18);
}

.pe2m-category-v3 .pe2m-category-rail-section ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.pe2m-category-v3 .pe2m-category-rail-section li {
  display: grid;
  gap: 0.12rem;
  padding: 0.68rem;
  border: 1px solid rgba(157, 194, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.pe2m-category-v3 .pe2m-category-rail-section strong {
  color: var(--paper);
}

.pe2m-category-v3 .pe2m-category-rail-section span {
  color: var(--muted-strong);
}

.pe2m-category-v3 .pe2m-category-content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pe2m-category-v3 .pe2m-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(157, 194, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(2, 5, 10, 0.72);
  box-shadow: var(--shadow);
}

.pe2m-category-v3 .pe2m-category-tabs button {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.pe2m-category-v3 .pe2m-category-tabs button[aria-pressed="true"] {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.75);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.pe2m-category-v3 .pe2m-category-team {
  display: none;
  gap: 1rem;
}

.pe2m-category-v3 .pe2m-category-team.is-active {
  display: grid;
}

.pe2m-category-v3 .pe2m-category-team-hero,
.pe2m-category-v3 .pe2m-category-panel,
.pe2m-category-v3 .pe2m-category-metrics > div {
  border: 1px solid rgba(157, 194, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pe2m-category-v3 .pe2m-category-team-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.42), rgba(2, 5, 10, 0.58)),
    rgba(8, 18, 32, 0.94);
}

.pe2m-category-v3 .pe2m-category-team-hero h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.pe2m-category-v3 .pe2m-category-scoreline {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
}

.pe2m-category-v3 .pe2m-category-scoreline strong {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  line-height: 0.85;
}

.pe2m-category-v3 .pe2m-category-scoreline em {
  color: var(--muted-strong);
  font-style: normal;
  font-weight: 900;
}

.pe2m-category-v3 .pe2m-category-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.pe2m-category-v3 .pe2m-category-metrics > div {
  display: grid;
  gap: 0.35rem;
  min-height: 98px;
  padding: 0.9rem;
  background: rgba(247, 251, 255, 0.96);
}

.pe2m-category-v3 .pe2m-category-metrics span {
  color: #073f9e;
  font-size: 0.78rem;
}

.pe2m-category-v3 .pe2m-category-metrics strong {
  color: #07101d;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-style: italic;
  line-height: 1;
}

.pe2m-category-v3 .pe2m-category-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  color: #07101d;
  background: rgba(247, 251, 255, 0.98);
}

.pe2m-category-v3 .pe2m-category-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.pe2m-category-v3 .pe2m-category-panel-head small {
  color: #073f9e;
}

.pe2m-category-v3 .pe2m-category-panel-head h3 {
  color: #07101d;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.pe2m-category-v3 .pe2m-category-panel-head a {
  color: #073f9e;
  border-color: rgba(7, 63, 158, 0.16);
  background: #e9f2ff;
}

.pe2m-category-v3 .pe2m-category-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(7, 16, 29, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.pe2m-category-v3 .pe2m-category-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  color: #07101d;
}

.pe2m-category-v3 .pe2m-category-table th,
.pe2m-category-v3 .pe2m-category-table td {
  padding: 0.78rem 0.7rem;
  border-bottom: 1px solid rgba(7, 16, 29, 0.08);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.pe2m-category-v3 .pe2m-category-table th:nth-child(2),
.pe2m-category-v3 .pe2m-category-table td:nth-child(2) {
  text-align: left;
  white-space: normal;
}

.pe2m-category-v3 .pe2m-category-table th {
  color: #073f9e;
  background: #e9f2ff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-style: italic;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-table .is-current td {
  color: #04152f;
  background: rgba(99, 212, 255, 0.23);
  font-weight: 950;
}

.pe2m-category-v3 .pe2m-category-form {
  display: inline-flex;
  gap: 0.25rem;
}

.pe2m-category-v3 .pe2m-category-form b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.74rem;
}

.pe2m-category-v3 .pe2m-category-form .is-win,
.pe2m-category-v3 .pe2m-category-result-list .is-win b {
  color: #052e16;
  background: #4ade80;
}

.pe2m-category-v3 .pe2m-category-form .is-loss,
.pe2m-category-v3 .pe2m-category-result-list .is-loss b {
  color: #450a0a;
  background: #f87171;
}

.pe2m-category-v3 .pe2m-category-form .is-draw,
.pe2m-category-v3 .pe2m-category-result-list .is-draw b {
  color: #422006;
  background: #facc15;
}

.pe2m-category-v3 .pe2m-category-form .is-pending,
.pe2m-category-v3 .pe2m-category-result-list .is-pending b {
  color: #07101d;
  background: #cbd5e1;
}

.pe2m-category-v3 .pe2m-category-result-list article.is-win {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(240, 253, 244, 0.96);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-loss {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(254, 242, 242, 0.96);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-draw {
  border-color: rgba(250, 204, 21, 0.35);
  background: rgba(254, 252, 232, 0.96);
}

.pe2m-category-v3 .pe2m-category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1rem;
}

.pe2m-category-v3 .pe2m-category-match-list,
.pe2m-category-v3 .pe2m-category-result-list,
.pe2m-category-v3 .pe2m-category-training-grid {
  display: grid;
  gap: 0.65rem;
}

.pe2m-category-v3 .pe2m-category-match-list article,
.pe2m-category-v3 .pe2m-category-result-list article,
.pe2m-category-v3 .pe2m-category-training-grid article {
  display: grid;
  gap: 0.28rem;
  padding: 0.82rem;
  border: 1px solid rgba(7, 16, 29, 0.1);
  border-radius: var(--radius);
  background: #fff;
}

.pe2m-category-v3 .pe2m-category-match-list article {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
}

.pe2m-category-v3 .pe2m-category-match-list time {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 7px;
  color: var(--paper);
  background: #073f9e;
  font-weight: 950;
  text-align: center;
}

.pe2m-category-v3 .pe2m-category-match-list strong,
.pe2m-category-v3 .pe2m-category-training-grid strong {
  color: #07101d;
}

.pe2m-category-v3 .pe2m-category-match-list span,
.pe2m-category-v3 .pe2m-category-training-grid span,
.pe2m-category-v3 .pe2m-category-result-list span {
  color: #475569;
}

.pe2m-category-v3 .pe2m-category-result-list article b {
  justify-self: start;
  min-height: 28px;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-result-list article strong {
  color: #07101d;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1;
}

.pe2m-category-v3 .pe2m-category-empty {
  margin: 0;
  padding: 0.95rem;
  border-radius: var(--radius);
  color: #475569;
  background: #fff;
  font-weight: 850;
}

.pe2m-category-v3 .pe2m-category-welcome {
  display: grid;
  gap: 1rem;
}

.pe2m-category-v3 .pe2m-category-welcome-copy,
.pe2m-category-v3 .pe2m-category-focus-card {
  border: 1px solid rgba(157, 194, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pe2m-category-v3 .pe2m-category-welcome-copy {
  display: grid;
  gap: 0.55rem;
  min-height: 240px;
  align-content: end;
  padding: clamp(1.1rem, 3vw, 2rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.34), rgba(2, 5, 10, 0.72)),
    rgba(8, 18, 32, 0.98);
}

.pe2m-category-v3 .pe2m-category-welcome-copy span,
.pe2m-category-v3 .pe2m-category-focus-card small {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-welcome-copy h2,
.pe2m-category-v3 .pe2m-category-focus-card h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-welcome-copy h2 {
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.pe2m-category-v3 .pe2m-category-welcome-copy p {
  max-width: 740px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.05rem;
  font-weight: 850;
}

.pe2m-category-v3 .pe2m-category-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
}

.pe2m-category-v3 .pe2m-category-focus-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 230px;
  padding: 1rem;
  background: rgba(8, 18, 32, 0.96);
}

.pe2m-category-v3 .pe2m-category-focus-card.is-manager {
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  align-items: center;
}

.pe2m-category-v3 .pe2m-category-focus-card h3 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.pe2m-category-v3 .pe2m-category-focus-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(99, 212, 255, 0.35);
  border-radius: var(--radius);
  background: #02050a;
}

.pe2m-category-v3 .pe2m-category-focus-photo.is-empty span {
  position: relative;
  width: 34%;
  height: 34%;
  border-radius: 999px 999px 46% 46%;
  background: #000;
  box-shadow: 0 72px 0 34px #000;
}

.pe2m-category-v3 .pe2m-category-staff-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.pe2m-category-v3 .pe2m-category-staff-list li {
  display: grid;
  gap: 0.12rem;
  padding: 0.72rem;
  border: 1px solid rgba(157, 194, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.pe2m-category-v3 .pe2m-category-staff-list strong {
  color: var(--paper);
}

.pe2m-category-v3 .pe2m-category-staff-list span {
  color: var(--muted-strong);
}

.pe2m-category-v3 .pe2m-category-training-showcase {
  display: grid;
  gap: 0.7rem;
}

.pe2m-category-v3 .pe2m-category-training-showcase article {
  display: grid;
  grid-template-columns: minmax(110px, 0.24fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid rgba(157, 194, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(11, 23, 41, 0.98);
}

.pe2m-category-v3 .pe2m-category-training-showcase time {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 0.4rem;
  border-radius: 7px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
  text-align: center;
}

.pe2m-category-v3 .pe2m-category-training-showcase strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1;
}

.pe2m-category-v3 .pe2m-category-training-showcase span,
.pe2m-category-v3 .pe2m-category-free-content {
  color: var(--muted-strong);
}

@media (max-width: 1100px) {
  .pe2m-category-v3 .pe2m-category-layout {
    grid-template-columns: 1fr;
  }

  .pe2m-category-v3 .pe2m-category-rail {
    position: static;
  }

  .pe2m-category-v3 .pe2m-category-rail-card {
    max-height: none;
  }
}

@media (max-width: 820px) {
  .pe2m-category-v3 .pe2m-category-stage {
    margin-top: -1.6rem;
  }

  .pe2m-category-v3 .pe2m-category-team-hero,
  .pe2m-category-v3 .pe2m-category-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pe2m-category-v3 .pe2m-category-scoreline {
    justify-items: start;
  }

  .pe2m-category-v3 .pe2m-category-metrics,
  .pe2m-category-v3 .pe2m-category-grid {
    grid-template-columns: 1fr;
  }

  .pe2m-category-v3 .pe2m-category-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .pe2m-category-v3 .pe2m-category-tabs button,
  .pe2m-category-v3 .pe2m-category-panel-head a {
    width: 100%;
  }

  .pe2m-category-v3 .pe2m-category-focus-card.is-manager,
  .pe2m-category-v3 .pe2m-category-training-showcase article {
    grid-template-columns: 1fr;
  }

  .pe2m-category-v3 .pe2m-category-focus-photo {
    width: min(260px, 100%);
  }
}

@media (max-width: 560px) {
  .pe2m-category-v3 .pe2m-category-team-heading {
    width: 100%;
    min-height: 0;
  }

  .pe2m-category-v3 .pe2m-category-team-heading h2 {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: clamp(1.55rem, 10vw, 2.35rem);
    line-height: 1;
  }

  .pe2m-category-v3 .pe2m-category-cover-content h1 {
    font-size: 3.5rem;
  }

  .pe2m-category-v3 .pe2m-category-match-list article {
    grid-template-columns: 1fr;
  }

  .pe2m-category-v3 .pe2m-category-table {
    min-width: 0;
    font-size: 0.92rem;
  }

  .pe2m-category-v3 .pe2m-category-table th,
  .pe2m-category-v3 .pe2m-category-table td {
    padding: 0.7rem 0.5rem;
  }

  .pe2m-category-v3 .pe2m-category-table th:nth-child(n+4),
  .pe2m-category-v3 .pe2m-category-table td:nth-child(n+4) {
    display: none;
  }

  .pe2m-category-v3 .pe2m-category-table th:nth-child(1),
  .pe2m-category-v3 .pe2m-category-table td:nth-child(1) {
    width: 52px;
  }

  .pe2m-category-v3 .pe2m-category-table th:nth-child(3),
  .pe2m-category-v3 .pe2m-category-table td:nth-child(3) {
    width: 58px;
    font-weight: 950;
  }
}

/* Category V3 theme cleanup */
.pe2m-category-v3 {
  --cat-surface: rgba(8, 18, 32, 0.965);
  --cat-surface-2: rgba(11, 23, 41, 0.975);
  --cat-surface-3: rgba(15, 31, 54, 0.97);
  --cat-line: rgba(157, 194, 255, 0.22);
  --cat-text: #f7fbff;
  --cat-muted: #b9c9dc;
  --cat-table-head: rgba(99, 212, 255, 0.13);
}

.pe2m-category-v3 .pe2m-category-panel,
.pe2m-category-v3 .pe2m-category-metrics > div {
  color: var(--cat-text);
  border-color: var(--cat-line);
  background:
    linear-gradient(145deg, rgba(11, 124, 255, 0.07), transparent 42%),
    var(--cat-surface);
  backdrop-filter: blur(8px);
}

.pe2m-category-v3 .pe2m-category-panel-head h3,
.pe2m-category-v3 .pe2m-category-metrics strong {
  color: var(--cat-text);
}

.pe2m-category-v3 .pe2m-category-panel-head small,
.pe2m-category-v3 .pe2m-category-metrics span {
  color: var(--blue-soft);
}

.pe2m-category-v3 .pe2m-category-panel-head a {
  color: var(--cat-text);
  border-color: rgba(99, 212, 255, 0.28);
  background: rgba(11, 124, 255, 0.22);
}

.pe2m-category-v3 .pe2m-category-table-wrap {
  border-color: var(--cat-line);
  background: var(--cat-surface-2);
}

.pe2m-category-v3 .pe2m-category-table {
  color: var(--cat-text);
}

.pe2m-category-v3 .pe2m-category-table th,
.pe2m-category-v3 .pe2m-category-table td {
  border-bottom-color: rgba(157, 194, 255, 0.12);
}

.pe2m-category-v3 .pe2m-category-table th {
  color: var(--blue-soft);
  background: var(--cat-table-head);
}

.pe2m-category-v3 .pe2m-category-table tbody tr:hover td {
  background: rgba(99, 212, 255, 0.06);
}

.pe2m-category-v3 .pe2m-category-table .is-current td {
  color: var(--cat-text);
  background: rgba(11, 124, 255, 0.28);
}

.pe2m-category-v3 .pe2m-category-match-list article,
.pe2m-category-v3 .pe2m-category-result-list article,
.pe2m-category-v3 .pe2m-category-training-grid article,
.pe2m-category-v3 .pe2m-category-empty {
  color: var(--cat-text);
  border-color: rgba(157, 194, 255, 0.14);
  background: var(--cat-surface-2);
}

.pe2m-category-v3 .pe2m-category-match-list strong,
.pe2m-category-v3 .pe2m-category-training-grid strong,
.pe2m-category-v3 .pe2m-category-result-list article strong {
  color: var(--cat-text);
}

.pe2m-category-v3 .pe2m-category-match-list span,
.pe2m-category-v3 .pe2m-category-training-grid span,
.pe2m-category-v3 .pe2m-category-result-list span,
.pe2m-category-v3 .pe2m-category-empty {
  color: var(--cat-muted);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-win {
  border-color: rgba(74, 222, 128, 0.38);
  background: rgba(20, 83, 45, 0.32);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-loss {
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(127, 29, 29, 0.32);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-draw {
  border-color: rgba(250, 204, 21, 0.38);
  background: rgba(113, 63, 18, 0.32);
}

.pe2m-category-v3 .pe2m-category-rail-card,
.pe2m-category-v3 .pe2m-category-table-wrap {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pe2m-category-v3 .pe2m-category-rail-card::-webkit-scrollbar,
.pe2m-category-v3 .pe2m-category-table-wrap::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Category team header */
.pe2m-category-v3 .pe2m-category-team-hero {
  align-items: flex-start;
  padding: 1.15rem 1.1rem 1rem;
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.36), rgba(2, 5, 10, 0.74)),
    rgba(8, 18, 32, 0.98);
}

.pe2m-category-v3 .pe2m-category-team-heading {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
  min-height: 110px;
  padding-top: 0.05rem;
}

.pe2m-category-v3 .pe2m-category-team-label {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-team-heading h2 {
  max-width: 780px;
  font-size: clamp(2.1rem, 4.6vw, 4.35rem);
}

.pe2m-category-v3 .pe2m-category-team-heading p {
  margin: auto 0 0;
  color: var(--cat-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-scoreline {
  min-width: 140px;
  align-content: start;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 820px) {
  .pe2m-category-v3 .pe2m-category-team-hero {
    flex-direction: column;
  }

  .pe2m-category-v3 .pe2m-category-scoreline {
    justify-items: start;
  }
}

/* Category page refinements */
.pe2m-category-v3 .pe2m-category-cover {
  min-height: clamp(430px, 62vh, 720px);
}

.pe2m-category-v3 .pe2m-category-cover.has-image img {
  object-position: center 36%;
  filter: saturate(1.08) contrast(1.03);
}

.pe2m-category-v3 .pe2m-category-cover.has-image .pe2m-category-cover-shade {
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.58), rgba(2, 5, 10, 0.12) 56%, rgba(2, 5, 10, 0.46)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.02), rgba(2, 5, 10, 0.52) 74%, rgba(2, 5, 10, 0.94));
}

.pe2m-category-v3 .pe2m-category-cover.is-empty {
  background:
    linear-gradient(125deg, rgba(99, 212, 255, 0.18) 0 18%, transparent 18% 32%, rgba(11, 124, 255, 0.16) 32% 44%, transparent 44%),
    linear-gradient(180deg, #08152a, #02050a);
}

.pe2m-category-v3 .pe2m-category-manager-photo {
  aspect-ratio: 0.9 / 1;
  min-height: clamp(190px, 23vw, 280px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pe2m-category-v3 .pe2m-category-manager-photo img {
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center center;
}

.pe2m-category-v3 .pe2m-category-manager-photo.is-empty {
  min-height: 168px;
}

.pe2m-category-v3 .pe2m-category-manager-photo.is-empty span {
  width: 30%;
  height: 30%;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 66px 0 34px rgba(0, 0, 0, 0.78);
}

.pe2m-category-v3 .pe2m-category-team-heading h2 {
  max-width: 100%;
  overflow: visible;
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  line-height: 0.98;
  white-space: nowrap;
}

.pe2m-category-v3 .pe2m-category-grid {
  align-items: start;
}

.pe2m-category-v3 .pe2m-category-grid > .pe2m-category-panel {
  align-self: start;
}

.pe2m-category-v3 .pe2m-category-panel {
  gap: 0.72rem;
}

.pe2m-category-v3 .pe2m-category-match-list,
.pe2m-category-v3 .pe2m-category-result-list {
  gap: 0.5rem;
}

.pe2m-category-v3 .pe2m-category-match-list article,
.pe2m-category-v3 .pe2m-category-result-list article {
  padding: 0.68rem;
}

.pe2m-category-v3 .pe2m-category-match-list article {
  grid-template-columns: 84px minmax(0, 1fr);
}

.pe2m-category-v3 .pe2m-category-match-list time {
  min-height: 44px;
  font-size: 0.88rem;
}

.pe2m-category-v3 .pe2m-category-match-list strong span,
.pe2m-category-v3 .pe2m-category-result-list article em span {
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
}

.pe2m-category-v3 .pe2m-category-result-list article {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.78rem;
  row-gap: 0.18rem;
}

.pe2m-category-v3 .pe2m-category-result-list article b {
  grid-row: 1 / span 3;
  align-self: stretch;
  min-width: 86px;
  margin: 0;
}

.pe2m-category-v3 .pe2m-category-result-list article strong {
  font-size: 1.62rem;
}

.pe2m-category-v3 .pe2m-category-result-list article span {
  font-size: 0.82rem;
}

.pe2m-category-v3 .pe2m-category-result-list article em {
  color: var(--cat-text);
  font-style: normal;
  font-weight: 950;
  line-height: 1.15;
}

.pe2m-category-v3 .pe2m-category-empty {
  padding: 0.72rem;
}

@media (max-width: 560px) {
  .pe2m-category-v3 .pe2m-category-result-list article {
    grid-template-columns: 1fr;
  }

  .pe2m-category-v3 .pe2m-category-result-list article b {
    grid-row: auto;
    min-width: 0;
  }
}

/* Match result cards */
.pe2m-category-v3 .pe2m-category-result-list article {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 112px;
  padding: 0.9rem 0.95rem 0.85rem;
  overflow: hidden;
  border-left-width: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--cat-surface-2);
}

.pe2m-category-v3 .pe2m-category-result-list article::after {
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  content: "";
}

.pe2m-category-v3 .pe2m-category-result-list article.is-win {
  border-color: rgba(74, 222, 128, 0.72);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(10, 26, 20, 0.1)),
    var(--cat-surface-2);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-loss {
  border-color: rgba(248, 113, 113, 0.72);
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(36, 12, 12, 0.12)),
    var(--cat-surface-2);
}

.pe2m-category-v3 .pe2m-category-result-list article.is-draw {
  border-color: rgba(250, 204, 21, 0.72);
}

.pe2m-category-v3 .pe2m-category-result-list article b {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  min-width: 0;
  min-height: 0;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.pe2m-category-v3 .pe2m-category-result-list article strong {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0.18rem;
  color: var(--cat-text);
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.pe2m-category-v3 .pe2m-category-result-list article > span {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  padding-top: 0.18rem;
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.pe2m-category-v3 .pe2m-category-result-list article em {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  gap: 0.42rem;
  align-items: baseline;
  margin-top: 0.1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(0.98rem, 2vw, 1.16rem);
}

.pe2m-category-v3 .pe2m-category-result-list article em span {
  flex: 0 0 auto;
  color: var(--blue-soft);
}

.pe2m-category-v3 .pe2m-match-stage {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.52rem;
  border: 1px solid rgba(99, 212, 255, 0.44);
  border-radius: 999px;
  background: rgba(99, 212, 255, 0.12);
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pe2m-category-v3 .pe2m-category-match-list .pe2m-match-stage {
  margin-top: 0.35rem;
}

.pe2m-category-v3 .pe2m-category-result-list article .pe2m-match-stage {
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: start;
}

@media (max-width: 560px) {
  .pe2m-category-v3 .pe2m-category-result-list article {
    grid-template-columns: 1fr;
  }

  .pe2m-category-v3 .pe2m-category-result-list article > span {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .pe2m-category-v3 .pe2m-category-result-list article em {
    grid-row: 4;
  }

  .pe2m-category-v3 .pe2m-category-result-list article .pe2m-match-stage {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .pe2m-category-v3 .pe2m-category-result-list article > span {
    grid-row: 4;
  }

  .pe2m-category-v3 .pe2m-category-result-list article em {
    grid-row: 5;
  }
}

@media (max-width: 760px) {
  .pe2m-category-v3 .pe2m-category-table {
    min-width: 0;
    font-size: 0.92rem;
  }

  .pe2m-category-v3 .pe2m-category-table th,
  .pe2m-category-v3 .pe2m-category-table td {
    padding: 0.7rem 0.5rem;
  }

  .pe2m-category-v3 .pe2m-category-table th:nth-child(n+4),
  .pe2m-category-v3 .pe2m-category-table td:nth-child(n+4) {
    display: none;
  }

  .pe2m-category-v3 .pe2m-category-table th:nth-child(1),
  .pe2m-category-v3 .pe2m-category-table td:nth-child(1) {
    width: 52px;
  }

  .pe2m-category-v3 .pe2m-category-table th:nth-child(3),
  .pe2m-category-v3 .pe2m-category-table td:nth-child(3) {
    width: 58px;
    font-weight: 950;
  }
}

/* Announcement banner */
.home-announcement {
  position: relative;
  z-index: 12;
  overflow: hidden;
  color: var(--announcement-text, #fff);
  background: var(--announcement-bg, var(--blue));
  isolation: isolate;
}

.home-announcement::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.18) 0 8%, transparent 8% 82%, rgba(0, 0, 0, 0.18) 82%),
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(255, 255, 255, 0.06) 34px 35px);
  content: "";
}

.home-announcement-inner {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  align-items: center;
  min-height: 76px;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.home-announcement-marker {
  align-self: stretch;
  background: currentColor;
  opacity: 0.82;
  transform: skewX(-10deg);
}

.home-announcement-message {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 760;
  line-height: 1.35;
}

.home-announcement-message p {
  margin: 0;
}

.home-announcement-message strong,
.home-announcement-message b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 950;
  text-transform: uppercase;
}

.home-announcement-message a {
  color: inherit;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 2px solid currentColor;
  color: inherit;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-announcement-link::after,
.home-events-calendar-link::after,
.home-event-item > a::after,
.pe2m-event-row-content > a::after {
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.home-announcement-link:hover::after,
.home-events-calendar-link:hover::after,
.home-event-item > a:hover::after,
.pe2m-event-row-content > a:hover::after {
  transform: translateX(4px) rotate(45deg);
}

/* Homepage events */
.home-events {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(11, 124, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(4, 12, 27, 0.98), rgba(2, 7, 17, 0.98));
}

.home-events::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 9%, rgba(99, 212, 255, 0.09) 9% 9.1%, transparent 9.1%);
  content: "";
}

.home-events .section-inner {
  position: relative;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.home-events-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.8rem);
}

.home-events-head > div {
  max-width: 760px;
}

.home-events-head h2 {
  max-width: 820px;
  margin: 0.35rem 0 0.8rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.home-events-head > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted-strong);
  font-weight: 750;
}

.home-events-calendar-link,
.home-event-item > a,
.pe2m-event-row-content > a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(99, 212, 255, 0.56);
  color: var(--blue-soft);
  font-weight: 950;
  text-transform: uppercase;
}

.home-events-list {
  border-top: 1px solid rgba(157, 194, 255, 0.24);
}

.home-event-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
  min-height: 150px;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.18);
  transition: padding 180ms ease, background 180ms ease;
}

.home-event-item:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  background: rgba(11, 124, 255, 0.08);
}

.home-event-item time,
.pe2m-event-row time {
  display: grid;
  justify-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
}

.home-event-item time strong,
.pe2m-event-row time strong {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.8;
}

.home-event-item time span,
.pe2m-event-row time span {
  margin-top: 0.45rem;
  color: var(--blue-soft);
  font-size: 0.9rem;
  font-weight: 950;
}

.home-event-content {
  min-width: 0;
}

.home-event-meta,
.pe2m-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  color: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-event-meta span + span::before,
.pe2m-event-meta span + span::before {
  margin-right: 1.2rem;
  color: rgba(157, 194, 255, 0.42);
  content: "/";
}

.home-event-content h3 {
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-event-content p {
  max-width: 720px;
  margin: 0;
  color: var(--muted-strong);
}

.home-events-empty {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(157, 194, 255, 0.24);
  border-bottom: 1px solid rgba(157, 194, 255, 0.18);
  color: var(--muted-strong);
  font-weight: 850;
}

.home-events.layout-compact .home-event-item {
  min-height: 112px;
}

/* Events calendar page */
.pe2m-page-calendrier-evenements .section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.pe2m-page-calendrier-evenements .section-heading h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.9;
}

.pe2m-events-calendar {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.pe2m-events-calendar-intro {
  max-width: 680px;
  padding-left: 1rem;
  border-left: 3px solid var(--blue-soft);
}

.pe2m-events-calendar-intro p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.05rem;
  font-weight: 800;
}

.pe2m-events-month {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.pe2m-events-month > h2 {
  position: sticky;
  top: 110px;
  align-self: start;
  margin: 0;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-style: italic;
  line-height: 0.92;
  text-transform: uppercase;
}

.pe2m-events-list {
  border-top: 1px solid rgba(157, 194, 255, 0.24);
}

.pe2m-event-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 150px) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.18);
}

.pe2m-event-row.no-image {
  grid-template-columns: 76px minmax(0, 1fr);
}

.pe2m-event-row-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(11, 124, 255, 0.12);
}

.pe2m-event-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pe2m-event-row-content h3 {
  margin: 0.35rem 0 0.65rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-event-row-content p {
  max-width: 720px;
  margin: 0 0 0.8rem;
  color: var(--muted-strong);
}

.pe2m-event-description > :first-child {
  margin-top: 0;
}

.pe2m-event-description > :last-child {
  margin-bottom: 0.8rem;
}

.pe2m-events-empty {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(157, 194, 255, 0.24);
  border-bottom: 1px solid rgba(157, 194, 255, 0.18);
  color: var(--muted-strong);
  font-weight: 850;
}

@media (max-width: 820px) {
  .home-announcement-inner {
    grid-template-columns: 6px minmax(0, 1fr);
  }

  .home-announcement-link {
    grid-column: 2;
    justify-self: start;
  }

  .home-events-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-event-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .home-event-item > a {
    grid-column: 2;
    justify-self: start;
  }

  .pe2m-events-month {
    grid-template-columns: 1fr;
  }

  .pe2m-events-month > h2 {
    position: static;
  }
}

@media (max-width: 560px) {
  .home-announcement-inner {
    width: min(100% - 1.2rem, var(--container));
    min-height: 70px;
  }

  .home-announcement-message {
    font-size: 0.94rem;
  }

  .home-events .section-inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-events-head h2 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .home-event-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.9rem;
    min-height: 0;
    padding: 1.25rem 0;
  }

  .home-event-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .home-event-item time strong,
  .pe2m-event-row time strong {
    font-size: 2.4rem;
  }

  .home-event-content h3 {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
  }

  .home-event-meta span,
  .pe2m-event-meta span {
    width: 100%;
  }

  .home-event-meta span + span::before,
  .pe2m-event-meta span + span::before {
    display: none;
  }

  .pe2m-event-row,
  .pe2m-event-row.no-image {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .pe2m-event-row-image {
    grid-column: 2;
    width: min(100%, 280px);
  }

  .pe2m-event-row-content {
    grid-column: 2;
  }
}

/* Gallery page */
.pe2m-gallery-page {
  display: grid;
  gap: 1.25rem;
}

.pe2m-gallery-head {
  display: grid;
  gap: 0.4rem;
  max-width: 840px;
}

.pe2m-gallery-head h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  font-style: italic;
  line-height: 0.88;
  text-transform: uppercase;
}

.pe2m-gallery-head p:last-child {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 850;
}

.pe2m-gallery-albums {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.6rem;
  border: 1px solid rgba(157, 194, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(2, 5, 10, 0.62);
}

.pe2m-gallery-albums a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(157, 194, 255, 0.16);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 900;
}

.pe2m-gallery-albums a.is-active {
  color: var(--paper);
  border-color: rgba(99, 212, 255, 0.68);
  background: rgba(11, 124, 255, 0.24);
}

.pe2m-gallery-albums span {
  color: var(--blue-soft);
  font-size: 0.82rem;
}

.pe2m-gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.pe2m-gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.pe2m-gallery-album-card {
  position: relative;
  display: grid;
  min-height: 260px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(157, 194, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 124, 255, 0.22), rgba(8, 18, 32, 0.94)),
    rgba(8, 18, 32, 0.92);
  box-shadow: var(--shadow);
}

.pe2m-gallery-album-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 240ms ease, opacity 240ms ease;
}

.pe2m-gallery-album-card:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.pe2m-gallery-album-card span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  padding: 4.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(2, 5, 10, 0.94));
}

.pe2m-gallery-album-card strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.pe2m-gallery-album-card em {
  color: var(--blue-soft);
  font-style: normal;
  font-weight: 950;
}

.pe2m-gallery-photo {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(157, 194, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 18, 32, 0.92);
  cursor: zoom-in;
}

.pe2m-gallery-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.pe2m-gallery-photo:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.pe2m-gallery-photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.12rem;
  padding: 2.1rem 0.75rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(2, 5, 10, 0.9));
}

.pe2m-gallery-photo strong {
  color: var(--paper);
  line-height: 1.15;
}

.pe2m-gallery-photo em {
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

body.pe2m-lightbox-open {
  overflow: hidden;
}

.pe2m-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  padding: clamp(0.8rem, 2.4vw, 1.5rem);
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 12%, rgba(11, 124, 255, 0.25), transparent 34%),
    linear-gradient(135deg, rgba(2, 5, 10, 0.98), rgba(7, 16, 29, 0.96));
}

.pe2m-lightbox[hidden] {
  display: none;
}

.pe2m-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pe2m-lightbox-title {
  margin: 0;
  color: var(--blue-soft);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pe2m-lightbox-close,
.pe2m-lightbox-arrow,
.pe2m-lightbox-thumb {
  border: 1px solid rgba(157, 194, 255, 0.24);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(8, 18, 32, 0.72);
  box-shadow: none;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pe2m-lightbox-close {
  padding: 0.62rem 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-lightbox-close:hover,
.pe2m-lightbox-arrow:hover,
.pe2m-lightbox-thumb:hover,
.pe2m-lightbox-close:focus-visible,
.pe2m-lightbox-arrow:focus-visible,
.pe2m-lightbox-thumb:focus-visible {
  border-color: rgba(99, 212, 255, 0.78);
  background: rgba(11, 124, 255, 0.32);
  outline: none;
}

.pe2m-lightbox-stage {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  align-items: center;
  gap: clamp(0.55rem, 1.4vw, 1rem);
  min-height: 0;
}

.pe2m-lightbox-figure {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.pe2m-lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: min(74vh, 760px);
  object-fit: contain;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.55));
}

.pe2m-lightbox-figure img.is-loaded {
  opacity: 1;
  transform: none;
}

.pe2m-lightbox-figure figcaption {
  margin-top: 0.65rem;
  color: var(--muted-strong);
  font-weight: 850;
  text-align: center;
}

.pe2m-lightbox-arrow {
  display: grid;
  width: 3.6rem;
  height: 4.8rem;
  place-items: center;
}

.pe2m-lightbox-arrow::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.pe2m-lightbox-prev::before {
  transform: rotate(-135deg);
}

.pe2m-lightbox-next::before {
  transform: rotate(45deg);
}

.pe2m-lightbox-arrow:disabled {
  opacity: 0.22;
  pointer-events: none;
}

.pe2m-lightbox-thumbs {
  display: flex;
  gap: 0.55rem;
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: 0.15rem 0 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.pe2m-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.pe2m-lightbox-thumb {
  flex: 0 0 86px;
  width: 86px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  opacity: 0.62;
}

.pe2m-lightbox-thumb.is-active {
  border-color: rgba(99, 212, 255, 0.92);
  background: rgba(11, 124, 255, 0.28);
  opacity: 1;
  transform: translateY(-2px);
}

.pe2m-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .pe2m-lightbox {
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .pe2m-lightbox-stage {
    position: relative;
    grid-template-columns: 1fr;
  }

  .pe2m-lightbox-figure img {
    max-height: 64vh;
  }

  .pe2m-lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.9rem;
    height: 4rem;
    transform: translateY(-50%);
    background: rgba(2, 5, 10, 0.62);
  }

  .pe2m-lightbox-prev {
    left: 0;
  }

  .pe2m-lightbox-next {
    right: 0;
  }

  .pe2m-lightbox-thumb {
    flex-basis: 68px;
    width: 68px;
    height: 52px;
  }
}

.pe2m-gallery-empty {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(157, 194, 255, 0.18);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(8, 18, 32, 0.9);
  font-weight: 900;
}

/* Partners page */
.pe2m-partners-page {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.pe2m-partners-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(157, 194, 255, 0.2);
}

.pe2m-partners-intro p {
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 780;
}

.pe2m-partners-intro a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-soft);
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pe2m-partners-intro a::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.pe2m-partners-intro a:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.pe2m-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(157, 194, 255, 0.16);
}

.pe2m-partner-card {
  display: grid;
  grid-template-columns: minmax(96px, 0.26fr) minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.3rem);
  align-items: center;
  min-height: 132px;
  padding: clamp(1rem, 2.2vw, 1.35rem) 0;
  border-bottom: 1px solid rgba(157, 194, 255, 0.16);
  color: var(--paper);
  background: transparent;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pe2m-partner-card:nth-child(odd) {
  padding-right: clamp(0.8rem, 2vw, 1.2rem);
  border-right: 1px solid rgba(157, 194, 255, 0.16);
}

.pe2m-partner-card:nth-child(even) {
  padding-left: clamp(0.8rem, 2vw, 1.2rem);
}

.pe2m-partner-card:hover {
  transform: translateX(3px);
  border-bottom-color: rgba(99, 212, 255, 0.42);
}

.pe2m-partner-logo {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 0.75rem;
  border: 1px solid rgba(157, 194, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.pe2m-partner-logo img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.pe2m-partner-logo.is-empty {
  color: var(--paper);
  background:
    radial-gradient(circle at 30% 20%, rgba(99, 212, 255, 0.4), transparent 34%),
    rgba(2, 5, 10, 0.78);
}

.pe2m-partner-logo.is-empty strong {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
}

.pe2m-partner-content {
  display: grid;
  align-content: center;
  gap: 0.36rem;
  min-width: 0;
  padding: 0;
}

.pe2m-partner-content em {
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.pe2m-partner-content strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-style: italic;
  line-height: 0.98;
  text-transform: uppercase;
}

.pe2m-partner-content small {
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.pe2m-partners-empty {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(157, 194, 255, 0.18);
  border-bottom: 1px solid rgba(157, 194, 255, 0.18);
  color: var(--muted-strong);
  background: transparent;
}

@media (max-width: 1100px) {
  .pe2m-gallery-grid-full,
  .pe2m-gallery-album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pe2m-partners-grid {
    grid-template-columns: 1fr;
  }

  .pe2m-partner-card:nth-child(odd),
  .pe2m-partner-card:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .pe2m-gallery-grid-full,
  .pe2m-gallery-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pe2m-partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pe2m-gallery-grid-full,
  .pe2m-gallery-album-grid {
    grid-template-columns: 1fr;
  }

  .pe2m-partner-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .pe2m-partner-logo {
    min-height: 76px;
  }
}
