:root {
  --hhl-navy: #001c3e;
  --hhl-blue: #0163ba;
  --hhl-ice: #82c4ef;
  --hhl-steel: #c9cace;
  --hhl-bg: #f4f7fa;
  --hhl-text: #071a2f;
  --hhl-white: #ffffff;
  --hhl-line: #dbe5ee;
  --hhl-shadow: 0 18px 44px rgba(0, 28, 62, 0.12);
  --hhl-radius: 8px;
  --hhl-max: 1180px;
  color-scheme: light;
  font-family: Inter, "Noto Sans", "Noto Sans Cyrillic", Arial, sans-serif;
}

body.post-type-archive-product,
body.tax-product_cat,
body.single-product {
  background:
    radial-gradient(circle at 72% 0, rgba(130, 196, 239, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 254, 0.94)),
    var(--hhl-bg);
}

.hhl-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hhl-shop-page,
.hhl-product-page {
  width: min(100% - 40px, 1840px);
  margin: 0 auto;
  color: #001c3e;
  font-size: 15px;
}

.hhl-shop-page {
  width: 100%;
  padding: 0 0 18px;
}

.hhl-shop-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 23, 54, 0.98) 0 44%, rgba(0, 31, 73, 0.78) 62%, rgba(0, 31, 73, 0.28) 100%),
    url("../../../../photo/DAC557DE-2AEF-4164-92DA-760B91954632.jpeg") right center / 780px auto no-repeat,
    #061f49;
  color: #ffffff;
}

.hhl-shop-promo::before,
.hhl-product-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(132deg, transparent 0 76%, rgba(1, 99, 186, 0.08) 76.2% 78%, transparent 78.2% 100%),
    repeating-linear-gradient(132deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 24px);
  opacity: 0.88;
}

.hhl-shop-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 64px, 1840px);
  margin: 0 auto;
}

.hhl-shop-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(123deg, transparent 0 58%, rgba(255, 255, 255, 0.42) 58.2% 58.7%, transparent 59%),
    linear-gradient(126deg, transparent 0 68%, rgba(20, 116, 216, 0.09) 68.2% 78%, transparent 78.2%);
}

.hhl-shop-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #9fb5d0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hhl-shop-breadcrumbs a,
.hhl-shop-breadcrumbs span:last-child {
  color: #dcecff;
}

.hhl-shop-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.hhl-shop-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 20px 0 0;
  color: #c9dbf0;
  font-size: 19px;
  line-height: 1.55;
}

.hhl-shop-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hhl-shop-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 236px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(220, 236, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #dcecff;
}

.hhl-shop-trust-row .hhl-icon,
.hhl-shop-reset .hhl-icon,
.hhl-shop-filters .hhl-icon,
.hhl-cart-button .hhl-icon,
.hhl-single-cart .hhl-icon {
  color: #0b74dd;
}

.hhl-shop-hero-art {
  display: none;
}

.hhl-shop-filters {
  display: grid;
  grid-template-columns: minmax(260px, 410px) minmax(180px, 280px) minmax(180px, 280px) minmax(200px, 280px) minmax(190px, 240px);
  gap: 20px;
  align-items: center;
  width: min(100% - 40px, 1840px);
  min-height: 86px;
  margin: 20px auto;
  padding: 20px 24px;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(0, 28, 62, 0.06);
}

.hhl-shop-filters label,
.hhl-shop-reset {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  min-width: 0;
  border: 1px solid #dce8f6;
  border-radius: 7px;
  background: #fff;
  color: #315585;
}

.hhl-shop-search {
  padding: 0 16px;
}

.hhl-shop-search input,
.hhl-shop-filters select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #315585;
  font: inherit;
}

.hhl-shop-filters select {
  height: 100%;
  padding: 0 18px;
  appearance: auto;
}

.hhl-shop-reset {
  justify-content: center;
  padding: 0 18px;
  text-transform: uppercase;
  font-size: 14px;
}

.hhl-shop-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 260px 230px 190px;
  align-items: center;
  gap: 26px;
  width: min(100% - 40px, 1840px);
  min-height: 182px;
  margin: 0 auto 14px;
  padding: 28px 58px;
  overflow: hidden;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 48%, rgba(230, 244, 255, 0.82)),
    #f7fbff;
}

.hhl-shop-promo > * {
  position: relative;
  z-index: 1;
}

.hhl-shop-promo span {
  display: block;
  margin-bottom: 6px;
  color: #0b74dd;
  font-size: 13px;
  text-transform: uppercase;
}

.hhl-shop-promo h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.1;
}

.hhl-shop-promo p {
  max-width: 330px;
  margin: 0 0 16px;
  color: #42618a;
  line-height: 1.35;
}

.hhl-shop-promo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #0877e6, #005ec4);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
}

.hhl-shop-promo img {
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 28, 62, 0.12));
}

.hhl-shop-promo img:nth-of-type(2) {
  max-height: 120px;
}

.hhl-shop-promo img:nth-of-type(3) {
  max-height: 126px;
  border-radius: 50%;
}

.hhl-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100% - 40px, 1840px);
  margin: 0 auto;
}

.hhl-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 224px;
  overflow: hidden;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(0, 28, 62, 0.045);
}

.hhl-product-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #16b66c;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hhl-product-badge.is-sale {
  background: #ef3f43;
}

.hhl-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 126px;
  padding: 14px 20px 0;
}

.hhl-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 28, 62, 0.12));
  transition: transform 0.2s ease;
}

.hhl-product-card:hover .hhl-product-image img {
  transform: translateY(-2px) scale(1.02);
}

.hhl-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 8px 16px 16px;
}

.hhl-product-category {
  color: #6f86a7;
  font-size: 11px;
  text-transform: uppercase;
}

.hhl-product-card h3 {
  min-height: 42px;
  margin: 2px 0 10px;
  color: #08234a;
  font-size: 17px;
  line-height: 1.18;
}

.hhl-product-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.hhl-product-card-footer strong,
.hhl-single-price {
  color: #061c3c;
  font-size: 22px;
  line-height: 1;
}

.hhl-product-card-footer del,
.hhl-single-price del {
  margin-left: 6px;
  color: #7d8fa9;
  font-size: 15px;
  text-decoration-thickness: 2px;
}

.hhl-product-card-footer ins,
.hhl-single-price ins {
  text-decoration: none;
}

.hhl-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 138px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(180deg, #0877e6, #005ec4);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.hhl-cart-button .hhl-icon,
.hhl-single-cart .hhl-icon {
  width: 20px;
  height: 20px;
  color: #fff;
}

.hhl-products-grid .hhl-shop-product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  padding: clamp(14px, 1.15vw, 20px);
  border: 1px solid rgba(0, 31, 73, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hhl-products-grid .hhl-shop-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 91, 191, 0.24);
  box-shadow: 0 28px 56px rgba(0, 30, 76, 0.13);
}

.hhl-products-grid .hhl-shop-product-card .hhl-product-badge {
  top: 20px;
  left: 20px;
}

.hhl-products-grid .shop-product-image {
  margin: 0;
  border-radius: 13px;
}


.hhl-products-grid .shop-product-image.is-lifestyle img {
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.hhl-products-grid .shop-product-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: clamp(12px, 0.95vw, 18px);
  min-width: 0;
  padding: clamp(16px, 1.05vw, 21px) 6px 4px;
}

.hhl-products-grid .shop-product-body strong {
  color: #102a55;
  font-size: clamp(22px, 1.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hhl-products-grid .shop-product-body > span:not(.shop-product-cta) {
  color: #075bc0;
  font-size: clamp(20px, 1.35vw, 28px);
  font-weight: 850;
  line-height: 1.1;
}

.hhl-products-grid .shop-product-body del {
  color: rgba(16, 42, 85, 0.46);
  font-weight: 650;
  text-decoration-thickness: 2px;
}

.hhl-products-grid .shop-product-body ins {
  margin-left: 18px;
  color: #075bc0;
  font-weight: 900;
}

.hhl-shop-product-title-link {
  color: inherit;
}

.hhl-products-grid .shop-product-cta {
  align-self: end;
  min-height: clamp(54px, 3.35vw, 68px);
  margin-top: clamp(10px, 1vw, 18px);
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #002b64 0%, #001f49 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 31, 73, 0.14);
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 900;
}

.hhl-products-grid .shop-product-cta .hhl-icon {
  width: clamp(22px, 1.35vw, 26px);
  height: clamp(22px, 1.35vw, 26px);
}

.hhl-shop-service-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(100% - 40px, 1840px);
  margin: 14px auto 0;
  padding: 14px 240px;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hhl-shop-service-row span,
.hhl-product-assurances span {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 12px;
  align-items: center;
  color: #315585;
}

.hhl-shop-service-row .hhl-icon,
.hhl-product-assurances .hhl-icon {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  color: #0b74dd;
}

.hhl-shop-service-row strong,
.hhl-product-assurances strong {
  font-size: 13px;
}

.hhl-shop-service-row small,
.hhl-product-assurances small {
  color: #6f86a7;
  font-size: 12px;
}

.hhl-product-page {
  padding: 18px 0 0;
}

.hhl-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: #6a83a7;
  font-size: 14px;
}

.hhl-breadcrumbs a {
  color: #315585;
}

.hhl-product-top {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(520px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.hhl-product-gallery,
.hhl-product-summary,
.hhl-detail-card {
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 28, 62, 0.045);
}

.hhl-product-gallery {
  position: relative;
  overflow: hidden;
  padding: 24px 14px 14px;
}

.hhl-gallery-zoom {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #dce8f6;
  border-radius: 7px;
  background: #fff;
  color: #315585;
}

.hhl-product-main-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 390px;
}

.hhl-product-main-image img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(0, 28, 62, 0.18));
}

.hhl-product-thumbs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hhl-product-thumbs button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  overflow: hidden;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: #fff;
}

.hhl-product-thumbs button.is-active {
  border: 2px solid #0b74dd;
}

.hhl-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hhl-lightbox-open {
  overflow: hidden;
}

.hhl-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 28, 62, 0.82);
}

.hhl-product-lightbox[hidden] {
  display: none;
}

.hhl-product-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
}

.hhl-product-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.hhl-product-summary {
  padding: 28px 34px 18px;
}

.hhl-product-label {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 4px;
  background: #dbeeff;
  color: #0b74dd;
  font-size: 12px;
  text-transform: uppercase;
}

.hhl-product-summary h1 {
  margin: 10px 0 8px;
  font-size: clamp(32px, 2.4vw, 44px);
  line-height: 1.06;
}

.hhl-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: #315585;
}

.hhl-rating-row span {
  color: #ffb600;
  font-size: 19px;
  letter-spacing: 0;
}

.hhl-rating-row strong {
  font-size: 14px;
}

.hhl-single-price {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 38px;
}

.hhl-single-price span {
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 5px;
  background: #ffe3e3;
  color: #ef3f43;
  font-size: 16px;
}

.hhl-product-summary > p {
  max-width: 560px;
  margin: 0 0 18px;
  color: #42618a;
  font-size: 17px;
  line-height: 1.35;
}

.hhl-product-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid #dce8f6;
  color: #42618a;
}

.hhl-product-meta-line div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hhl-product-meta-line dt {
  color: #12a55c;
}

.hhl-product-meta-line dt::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hhl-product-meta-line dd,
.hhl-product-meta-line dt {
  margin: 0;
}

.hhl-size-row {
  display: grid;
  grid-template-columns: repeat(5, 50px) 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 20px;
}

.hhl-size-row > span {
  grid-column: 1 / -1;
  color: #42618a;
  font-size: 13px;
}

.hhl-size-row > a {
  grid-column: 6;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b74dd;
  font-size: 13px;
}

.hhl-size-row label input {
  position: absolute;
  opacity: 0;
}

.hhl-size-row label span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  border: 1px solid #dce8f6;
  border-radius: 6px;
  background: #fff;
  color: #315585;
}

.hhl-size-row label input:checked + span {
  border: 2px solid #0b74dd;
  color: #0b74dd;
}

.hhl-buy-row {
  display: grid;
  grid-template-columns: 150px minmax(250px, 1fr) 280px;
  gap: 16px;
  align-items: end;
}

.hhl-qty {
  display: grid;
  gap: 8px;
}

.hhl-qty span {
  color: #42618a;
  font-size: 13px;
}

.hhl-qty input {
  width: 150px;
  height: 54px;
  border: 1px solid #dce8f6;
  border-radius: 6px;
  background: #fff;
  color: #001c3e;
  text-align: center;
  font: inherit;
}

.hhl-single-cart,
.hhl-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  border: 1px solid #dce8f6;
  border-radius: 6px;
  background: #fff;
  color: #001c3e;
  text-transform: uppercase;
  font-size: 14px;
}

.hhl-single-cart {
  border-color: transparent;
  background: linear-gradient(180deg, #0877e6, #005ec4);
  color: #fff;
}

.hhl-favorite .hhl-icon {
  color: #315585;
}

.hhl-favorite.is-active {
  border-color: rgba(1, 99, 186, 0.26);
  background: #edf6ff;
  color: #005ec4;
}

.hhl-favorite.is-active .hhl-icon {
  color: #005ec4;
  fill: rgba(1, 99, 186, 0.12);
}

.hhl-product-assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.hhl-product-assurances span {
  min-height: 62px;
  padding: 10px 18px;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: #fff;
}

.hhl-product-details {
  display: grid;
  grid-template-columns: 1.02fr 0.86fr 1.02fr;
  gap: 16px;
  margin-top: 8px;
}

.hhl-detail-card {
  min-height: 218px;
  padding: 22px 34px;
}

.hhl-description-card {
  padding-top: 0;
}

.hhl-tabs {
  display: flex;
  gap: 42px;
  margin: 0 -34px 22px;
  padding: 0 22px;
  border-bottom: 1px solid #dce8f6;
}

.hhl-tabs button {
  height: 54px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #315585;
  text-transform: uppercase;
  font-size: 13px;
}

.hhl-tabs button.is-active {
  border-color: #0b74dd;
  color: #0b74dd;
}

.hhl-detail-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.hhl-detail-card p {
  margin: 0 0 18px;
  color: #42618a;
  line-height: 1.45;
}

.hhl-detail-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b74dd;
}

.hhl-spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hhl-spec-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
}

.hhl-spec-list dt,
.hhl-spec-list dd {
  margin: 0;
  color: #42618a;
}

.hhl-related-products {
  margin-top: 18px;
}

.hhl-related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hhl-related-heading h2 {
  margin: 0;
  font-size: 24px;
}

.hhl-related-heading a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b74dd;
}

.hhl-products-grid-related .hhl-product-card {
  min-height: 205px;
}

@media (max-width: 1280px) {
  .hhl-shop-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hhl-shop-reset {
    grid-column: span 2;
  }

  .hhl-shop-promo {
    grid-template-columns: 1fr 180px 170px 140px;
    padding-inline: 34px;
  }

  .hhl-shop-service-row {
    padding-inline: 32px;
  }

  .hhl-product-top,
  .hhl-product-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hhl-product-page {
    width: min(100% - 24px, 1840px);
  }

  .hhl-shop-page {
    width: 100%;
  }

  .hhl-shop-hero {
    grid-template-columns: 1fr;
    min-height: 300px;
    background-size: auto 100%;
  }

  .hhl-shop-hero-copy {
    width: min(100% - 32px, 1840px);
  }

  .hhl-shop-hero-art {
    display: none;
  }

  .hhl-shop-trust-row,
  .hhl-shop-service-row,
  .hhl-product-assurances {
    grid-template-columns: 1fr;
  }

  .hhl-shop-trust-row {
    display: grid;
    gap: 10px;
  }

  .hhl-shop-promo {
    grid-template-columns: 1fr 130px;
    gap: 10px;
  }

  .hhl-shop-promo img:nth-of-type(n+2) {
    display: none;
  }

  .hhl-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hhl-buy-row,
  .hhl-size-row {
    grid-template-columns: 1fr;
  }

  .hhl-size-row > a {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .hhl-shop-page {
    padding-top: 0;
  }

  .hhl-shop-hero h1 {
    font-size: 40px;
  }

  .hhl-shop-filters,
  .hhl-products-grid,
  .hhl-product-thumbs,
  .hhl-shop-promo {
    grid-template-columns: 1fr;
  }

  .hhl-shop-reset {
    grid-column: auto;
  }

  .hhl-shop-promo img {
    display: none;
  }

  .hhl-product-top {
    gap: 12px;
  }

  .hhl-product-main-image {
    height: 300px;
  }

  .hhl-product-summary,
  .hhl-detail-card {
    padding-inline: 18px;
  }

  .hhl-tabs {
    gap: 12px;
    margin-inline: -18px;
    overflow-x: auto;
  }
}

/* Global typography rule: non-heading text is regular weight. */
body :where(
  p,
  span,
  a,
  li,
  dt,
  dd,
  td,
  th,
  small,
  em,
  strong,
  label,
  button,
  input,
  textarea,
  select,
  figcaption,
  time
) {
  font-weight: 400 !important;
}

body :where(h1, h2, h3, h4, h5, h6) {
  font-weight: 800 !important;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background:
    linear-gradient(135deg, rgba(130, 196, 239, 0.22) 0 18%, transparent 18% 100%),
    var(--hhl-bg);
  color: var(--hhl-text);
  font-family: Inter, "Noto Sans", "Noto Sans Cyrillic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.scoreboard-carousel {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-bottom: 1px solid #d9e2ea;
  background: rgba(244, 247, 250, 0.88);
  overflow: hidden;
}

.scoreboard-track {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  contain: layout paint;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scoreboard-track::-webkit-scrollbar {
  display: none;
}

.scoreboard-card {
  display: grid;
  grid-template-columns: 66px minmax(112px, 1fr) 66px;
  align-items: center;
  gap: 8px;
  flex: 0 0 292px;
  min-width: 0;
  min-height: 112px;
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid #d9dee5;
  border-radius: 0;
  background: var(--hhl-white);
  color: var(--hhl-text);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.scoreboard-card:hover {
  transform: none;
  background: #f8fbfd;
  box-shadow: inset 0 -3px 0 var(--hhl-blue);
}

.scoreboard-team {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.scoreboard-team img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 999px;
  background: #f4f6f8;
}

.scoreboard-team span {
  max-width: 68px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f3f3f4;
  color: #303941;
  font-size: 13px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scoreboard-main {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.scoreboard-date {
  color: #6c737b;
  font-size: 12px;
  font-weight: 600;
}

.scoreboard-group {
  max-width: 142px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef4f9;
  color: var(--hhl-blue);
  font-size: 10px;
  font-weight: 950;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.scoreboard-series {
  max-width: 142px;
  color: #5c6670;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.scoreboard-main strong {
  color: #15191d;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.scoreboard-upcoming {
  display: inline-block;
  min-width: 12ch;
  color: #6c737b;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}

.scoreboard-periods {
  color: #15191d;
  font-size: 13px;
  white-space: nowrap;
}

.scoreboard-periods-live {
  color: #c91b1b;
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: scoreboardLiveBlink 1s steps(2, end) infinite;
}

@keyframes scoreboardLiveBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.2;
  }
}

.scoreboard-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 100%;
  min-height: 112px;
  border: 0;
  border-right: 1px solid #d9dee5;
  border-radius: 0;
  background: #f7f8fa;
  color: #15191d;
  cursor: pointer;
}

.scoreboard-arrow[data-scoreboard-next] {
  border-right: 0;
  border-left: 1px solid #d9dee5;
}

.scoreboard-arrow:hover {
  background: var(--hhl-white);
  color: var(--hhl-blue);
}

.scoreboard-arrow span {
  display: block;
  margin-top: -4px;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 12px 24px;
  border: 0;
  border-bottom: 1px solid rgba(201, 202, 206, 0.65);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 28, 62, 0.08);
  backdrop-filter: blur(16px);
}

.season-context-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 12px 24px;
  background: #001c3e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 28, 62, 0.16);
}

.season-context-banner div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.season-context-banner strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.season-context-banner span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
}

.season-context-banner a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.season-context-banner a:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--hhl-white);
}

.brand-text {
  display: grid;
}

.brand-text strong {
  color: var(--hhl-navy);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-text span {
  color: #486078;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.main-menu,
.header-actions,
.language-switcher,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  display: block;
}

.mobile-menu-toggle {
  display: none;
}

.main-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-menu li {
  position: relative;
  list-style: none;
}

.site-footer li {
  display: contents;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 11px 10px;
  border-radius: 6px;
  background: unset;
  text-transform: uppercase;
  color: var(--hhl-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  background: unset;
  color: var(--hhl-navy);
}

.main-nav .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.main-nav .submenu-toggle {
  display: none;
}

.main-nav .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 20;
  display: grid;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--hhl-line);
  border-radius: 8px;
  background: var(--hhl-white);
  box-shadow: 0 18px 38px rgba(0, 28, 62, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  display: flex;
  width: 100%;
  min-height: 34px;
  color: var(--hhl-text);
  font-size: 13px;
  white-space: nowrap;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a {
  background: unset;
  color: var(--hhl-blue);
}

.language-menu {
  position: relative;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: unset;
  color: var(--hhl-blue);
  cursor: pointer;
  font: inherit;
}

.language-switcher span:last-child {
  color: var(--hhl-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.language-switcher::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.language-icon,
.language-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.language-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.language-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
  display: grid;
  min-width: 92px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--hhl-line);
  border-radius: 8px;
  background: var(--hhl-white);
  box-shadow: 0 18px 38px rgba(0, 28, 62, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.language-menu:hover .language-dropdown,
.language-menu:focus-within .language-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-dropdown a {
  display: flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--hhl-text);
  font-size: 13px;
  font-weight: 400;
}

.language-dropdown a:hover,
.language-dropdown a[aria-current="true"] {
  background: unset;
  color: var(--hhl-blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  background: var(--hhl-blue);
  color: var(--hhl-white);
  box-shadow: 0 10px 24px rgba(1, 99, 186, 0.22);
}

.button-secondary {
  border-color: var(--hhl-line);
  background: var(--hhl-white);
  color: var(--hhl-navy);
}

.facebook-button,
.site-header .facebook-button,
.woocommerce .site-header .facebook-button.button {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: #0866ff;
  line-height: 1;
}

.facebook-button:hover,
.site-header .facebook-button:hover,
.woocommerce .site-header .facebook-button.button:hover {
  background: #edf3f9;
  color: #0866ff;
}

.facebook-button span {
  color: #0866ff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.header-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 6px;
  color: var(--hhl-blue);
}

.header-icon-button:hover {
  background: #edf3f9;
}

.header-icon-button .hhl-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.featured-news-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  width: min(100% - 32px, var(--hhl-max));
  margin: 24px auto 22px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--hhl-line);
  border-radius: var(--hhl-radius);
  background:
    linear-gradient(125deg, var(--hhl-white) 0 58%, #e9f5fc 58% 100%);
  box-shadow: var(--hhl-shadow);
}

.featured-news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 54%, rgba(1, 99, 186, 0.08) 54% 58%, transparent 58%),
    linear-gradient(132deg, transparent 0 70%, rgba(130, 196, 239, 0.42) 70% 74%, transparent 74%);
  pointer-events: none;
}

.featured-news-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.featured-news-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--hhl-radius);
  background: var(--hhl-navy);
  border: 1px solid var(--hhl-line);
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.08);
}



.featured-news-card-large {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.featured-news-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: none;
}

.featured-news-card a {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--hhl-white);
  text-shadow: 0 2px 8px rgba(0, 12, 28, 0.7);
}

.featured-news-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 16, 38, 0) 0%, rgba(0, 16, 38, 0.26) 20%, rgba(0, 16, 38, 0.68) 100%);
}

.featured-news-card span {
  color: var(--hhl-ice);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.featured-news-card h2 {
  max-width: 680px;
  margin: 0;
  color: var(--hhl-white);
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 850;
  text-transform: uppercase;
}

.featured-news-stack .featured-news-card h2 {
  font-size: clamp(22px, 2.2vw, 24px);
}

.featured-news-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.featured-news-card h2::after {
  content: "";
  display: block;
  width: min(100%, 360px);
  height: 3px;
  margin-top: 10px;
  background: var(--hhl-ice);
}

.featured-news-empty {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(1, 99, 186, 0.16);
  border-radius: var(--hhl-radius);
  background: rgba(255, 255, 255, 0.82);
  color: #49627b;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--hhl-navy);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--hhl-navy);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  color: var(--hhl-navy);
  font-size: 20px;
  line-height: 1.15;
}

.section-shell,
.sponsor-section,
.navy-band,
.content-shell {
  width: min(100% - 32px, var(--hhl-max));
  margin: 22px auto;
}

.section-heading {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 6px;
  margin-bottom: 18px;
}

.section-heading-invert h2 {
  color: var(--hhl-white);
}

.section-heading-invert .eyebrow {
  color: var(--hhl-ice);
}

.match-grid,
.team-grid,
.stats-grid,
.leaders-grid,
.sponsor-grid,
.standings-grid,
.post-grid {
  display: grid;
  gap: 16px;
}

.match-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-band {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 16px;
}

.photo-band figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--hhl-radius);
  background: var(--hhl-navy);
  box-shadow: 0 14px 32px rgba(0, 28, 62, 0.1);
}

.photo-band img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.photo-feature {
  min-height: 330px;
}

.photo-feature img {
  min-height: 330px;
}

.photo-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 28, 62, 0.82));
}

.photo-band figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: var(--hhl-white);
}

.photo-band figcaption .eyebrow {
  color: var(--hhl-ice);
}

.photo-band figcaption strong {
  font-size: 28px;
  line-height: 1;
}

.photo-transition {
  --photo-shift: 0px;
  position: relative;
  width: 100%;
  min-height: clamp(230px, 25vw, 360px);
  margin: 18px auto 28px;
  overflow: hidden;
  border-radius: 0;
  background: var(--hhl-navy);
  box-shadow: none;
  isolation: isolate;
}

.photo-transition::before,
.photo-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.photo-transition::before {
  background:
    linear-gradient(90deg, rgba(0, 28, 62, 0.34) 0%, rgba(0, 28, 62, 0.04) 42%, rgba(0, 28, 62, 0.36) 100%),
    linear-gradient(128deg, rgba(130, 196, 239, 0.46) 0 1px, transparent 1px 18%, rgba(255, 255, 255, 0.34) 18% 18.4%, transparent 18.4% 100%);
}

.photo-transition::after {
  inset: auto -8% -34px -8%;
  height: 88px;
  background: var(--hhl-bg);
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 100%);
}

.photo-transition-track {
  display: grid;
  grid-template-columns: 1.28fr 0.78fr 0.94fr;
  height: 100%;
  min-height: inherit;
  transform: translate3d(0, var(--photo-shift), 0);
  transition: transform 220ms ease-out;
  will-change: transform;
}

.photo-transition figure {
  position: relative;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.photo-transition figure:first-child {
  margin-left: -7%;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.photo-transition figure:last-child {
  margin-right: -7%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.photo-transition img {
  width: 100%;
  height: calc(100% + 48px);
  min-height: calc(100% + 48px);
  object-fit: cover;
  transform: translateY(-24px) scale(1.03);
  filter: saturate(1.08) contrast(1.03);
}

.photo-transition-split {
  margin-top: 28px;
}

.photo-transition-split::after {
  clip-path: polygon(0 0, 100% 42%, 100% 100%, 0 100%);
}

.photo-transition-bottom {
  margin-bottom: 20px;
}

.photo-transition-bottom .photo-transition-track {
  grid-template-columns: 0.85fr 1.15fr 0.95fr;
}

.match-card,
.team-card,
.news-card,
.player-stat,
.table-card,
.page-content {
  border: 1px solid var(--hhl-line);
  border-radius: var(--hhl-radius);
  background: var(--hhl-white);
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.08);
}

.match-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  color: var(--hhl-text);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 99, 186, 0.45);
  box-shadow: 0 18px 38px rgba(0, 28, 62, 0.12);
}

.match-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: 16px;
  width: 130px;
  height: 16px;
  background: rgba(130, 196, 239, 0.45);
  transform: skewX(-28deg);
}

.match-card-live {
  border-color: rgba(1, 99, 186, 0.5);
  box-shadow: 0 16px 34px rgba(1, 99, 186, 0.15);
}

.match-meta,
.match-footer,
.stat-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #60758a;
  font-size: 13px;
  font-weight: 800;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f5fd;
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 950;
}

.team-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.team-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team-line strong {
  overflow-wrap: anywhere;
}

.team-crest,
.team-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--hhl-navy);
  color: var(--hhl-white);
  font-size: 13px;
  font-weight: 950;
}

.team-crest img,
.team-badge img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.team-crest-alt,
.team-badge-blue {
  background: var(--hhl-blue);
}

.team-badge-ice {
  background: var(--hhl-ice);
  color: var(--hhl-navy);
}

.score {
  color: var(--hhl-navy);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.score-muted {
  color: #9aaabc;
}

.navy-band {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--hhl-radius);
  background:
    linear-gradient(116deg, rgba(130, 196, 239, 0.16) 0 26%, transparent 26%),
    var(--hhl-navy);
}

.navy-band::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: 44px;
  width: 420px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(-28deg);
}

.standings-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.standings-section {
  display: grid;
  gap: 26px;
}

.standings-panel {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.standings-panel > * {
  position: relative;
  z-index: 1;
}

.table-card {
  overflow-x: auto;
  border-color: rgba(1, 99, 186, 0.1);
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.08);
}

.table-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 8px;
}

.table-card h3 {
  margin: 0;
  padding: 0;
  color: var(--hhl-navy);
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.standings-group-link {
  color: inherit;
  text-decoration: none;
}

.standings-group-link:hover,
.standings-group-link:focus-visible {
  color: var(--hhl-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.standings-group-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.standings-group-cta::after {
  content: "→";
}

.standings-group-cta:hover,
.standings-group-cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .standings-group-cta-text {
    display: none;
  }
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--hhl-line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: #637a91;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

td {
  color: var(--hhl-text);
  font-weight: 800;
}

tbody tr:first-child td {
  background: #f4faff;
}

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

.standings-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.standings-team img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.standings-team span {
  overflow: hidden;
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invert-muted {
  color: #d5e8f7;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  padding: 22px;
}

.team-badge {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  font-size: 21px;
}

.team-card p,
.news-card p,
.player-stat p {
  margin-bottom: 0;
  color: #5d7186;
}

.stat-strip {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hhl-line);
  color: var(--hhl-blue);
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.player-stat {
  padding: 18px;
}

.player-stat span,
.news-card span {
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-stat strong {
  display: block;
  margin: 4px 0;
  color: var(--hhl-navy);
  font-size: 40px;
  line-height: 1;
}

.player-meta {
  margin-top: 8px;
  color: #60758a;
  font-size: 13px;
  font-weight: 800;
}

.leaders-section {
  position: relative;
  display: grid;
  gap: 26px;
}

.leaders-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.leaders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leaders-tabs button,
.leaders-all {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(1, 99, 186, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--hhl-navy);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.leaders-tabs button.is-active,.leaders-tabs button:hover,
.leaders-all:hover {
  background: var(--hhl-navy);
  border-color: var(--hhl-blue);
  color: var(--hhl-white);
  box-shadow: 0 8px 20px rgba(0, 28, 62, 0.16);
  font-weight: 800;
}

.leaders-all {
  justify-self: end;
  min-height: 42px;
  padding-inline: 18px;
}

@media (max-width: 760px) {
  .leaders-toolbar {
    min-width: 0;
  }

  .leaders-tabs,
  .player-season-tabs,
  .hhl-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-inline: calc(var(--mobile-tab-edge, 0px) * -1);
    padding-inline: var(--mobile-tab-edge, 0px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--mobile-tab-edge, 0px);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .leaders-tabs::-webkit-scrollbar,
  .player-season-tabs::-webkit-scrollbar,
  .hhl-tabs::-webkit-scrollbar,
  .news-stat-tabs::-webkit-scrollbar,
  .games-days-grid::-webkit-scrollbar {
    display: none;
  }

  .leaders-tabs button,
  .player-season-tabs button,
  .hhl-tabs button {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .leaders-tabs {
    --mobile-tab-edge: 18px;
    padding-block: 2px 10px;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }
}

.leaders-intro {
  max-width: 760px;
  color: #50677e;
}

.leaders-intro strong {
  display: block;
  color: var(--hhl-navy);
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.leaders-intro p {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.leaders-grid {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(219, 229, 238, 0.7);
  border-radius: var(--hhl-radius);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.92) 0 66%, rgba(234, 246, 253, 0.82) 66% 100%);
  box-shadow: 0 12px 30px rgba(0, 28, 62, 0.07);
}

.leaders-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 62%, rgba(1, 99, 186, 0.05) 62% 65%, transparent 65%),
    linear-gradient(132deg, transparent 0 82%, rgba(130, 196, 239, 0.24) 82% 86%, transparent 86%);
  pointer-events: none;
}

.leaders-grid > * {
  position: relative;
  z-index: 1;
}

.leader-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: center;
  min-height: 86px;
  overflow: hidden;
  border: 1px solid rgba(1, 99, 186, 0.1);
  border-radius: 6px;
  background: var(--hhl-white);
  color: inherit;
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.leader-card:hover {
  border-color: rgba(1, 99, 186, 0.36);
  box-shadow: 0 18px 34px rgba(0, 28, 62, 0.13);
  transform: translateY(-2px);
}

.leader-card::before {
  content: none;
}

.leader-player {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 8px 11px 12px;
  background: linear-gradient(90deg, #fbfdff, var(--hhl-white));
  text-align: left;
}

.leader-photo,
.leader-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.leader-photo {
  object-fit: cover;
  background: #eef4fa;
}

.leader-photo.leader-photo-team {
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border: 1px solid rgba(1, 99, 186, 0.22);
}

.leader-avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eef7fe, var(--hhl-white));
  border: 1px solid rgba(1, 99, 186, 0.22);
}

.leader-avatar svg {
  width: 23px;
  height: 23px;
  fill: var(--hhl-blue);
}

.leader-player h3 {
  display: block;
  max-width: 100%;
  margin: 0;
  color: var(--hhl-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.08;
}

.leader-player h3 .leader-name-line {
  display: block;
}

.leader-player h3 .leader-number {
  display: none;
}

.leader-player p {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin: 5px 0 0;
  color: #6f7378;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.leader-player p img {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  object-fit: contain;
}

.leader-player p span {
  white-space: nowrap;
}

.leader-metric {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 1px;
  padding: 9px 12px 9px 4px;
  background: transparent;
  text-align: right;
}

.leader-metric span {
  color: #666b70;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.leader-metric strong {
  color: #05070a;
  font-size: clamp(22px, 1.7vw, 30px);
  white-space: nowrap;
  font-weight: 950;
  line-height: 0.9;
}

.leader-card[data-leader-category="points"] .leader-metric strong {
  font-size: clamp(24px, 2vw, 32px);
}

.leader-metric em {
  color: #05070a;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.leader-card[data-leader-category="goalies"] {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.leader-card[data-leader-category="goalies"] .leader-metric {
  padding-right: 10px;
}

.leader-card[data-leader-category="goalies"] .leader-metric strong {
  font-size: clamp(22px, 1.45vw, 34px);
  letter-spacing: -0.02em;
}

.leader-card[data-leader-category="goalies"] .leader-metric em {
  font-size: 11px;
  line-height: 1.05;
  opacity: 0.85;
}

.leader-card[hidden] {
  display: none;
}

.player-list-grid,
.season-grid,
.utility-grid {
  display: grid;
  gap: 16px;
}

.player-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.player-card,
.season-card,
.utility-panel {
  border: 1px solid var(--hhl-line);
  border-radius: var(--hhl-radius);
  background: var(--hhl-white);
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.08);
}

.player-card {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.player-card span {
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 950;
}

.player-card strong {
  color: var(--hhl-navy);
  font-size: 17px;
  line-height: 1.15;
}

.player-card p,
.utility-panel p {
  margin-bottom: 0;
  color: #5d7186;
}

.utility-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.utility-panel {
  padding: 24px;
}

.utility-panel h2 {
  margin: 6px 0 10px;
  font-size: 30px;
}

.shop-carousel-section {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;

}

.shop-carousel-section::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -90px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.28;
  background:
    repeating-radial-gradient(circle at center, rgba(86, 113, 147, 0.14) 0 2px, transparent 2px 28px);
}

.shop-carousel-section .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.shop-carousel-section .section-heading p {
  margin: 10px 0 0;
  max-width: 720px;
  color: #5d7186;
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 500;
  line-height: 1.42;
}

.section-shell.shop-carousel-section {
  width: min(calc(100% - 16px), var(--hhl-max));
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
}

.shop-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.shop-carousel-track {
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.shop-carousel-track::-webkit-scrollbar {
  display: none;
}

.shop-product-card {
  display: grid;
  grid-template-rows: clamp(228px, 21vw, 336px) minmax(164px, auto);
  flex: 0 0 clamp(258px, 23.5vw, 356px);
  min-width: 0;
  border: 1px solid rgba(0, 31, 73, 0.1);
  border-radius: 18px;
  background: var(--hhl-white);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shop-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 99, 186, 0.32);
  box-shadow: 0 18px 38px rgba(6, 38, 84, 0.1);
}

.shop-product-image {
  position: relative;
  display: block;
  margin: 14px;
  border-radius: 14px;
  min-width: 0;
  overflow: hidden;
}

.shop-product-image img {
  display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
  object-position: center;
  transition: transform 260ms ease;
}

.shop-product-image.is-lifestyle img {
  padding: 0;
  object-fit: cover;
}

.shop-product-card:hover .shop-product-image img {
  transform: scale(1.035);
}

.shop-product-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0 16px 16px;
}

.shop-product-body strong {
  color: var(--hhl-navy);
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.shop-product-body span {
  color: var(--hhl-blue);
  font-size: clamp(16px, 1.1vw, 22px);
  font-weight: 600;
}

.shop-product-body del {
  color: rgba(0, 31, 73, 0.42);
  font-weight: 500;
  text-decoration-thickness: 1.8px;
}

.shop-product-body ins {
  margin-left: 10px;
  color: var(--hhl-blue);
  text-decoration: none;
}

.shop-product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: auto;
  border: 1px solid rgba(0, 31, 73, 0.2);
  border-radius: 12px;
  background: var(--hhl-navy);
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: clamp(18px, 1.05vw, 22px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.shop-product-cta .hhl-icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
}

.shop-product-cta em {
  font-style: normal;
}

.shop-product-card:hover .shop-product-cta {
  transform: translateY(-1px);
  background: #022252;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shop-carousel-arrow {
  display: grid;
  place-items: center;
  width: clamp(52px, 4.4vw, 68px);
  height: clamp(52px, 4.4vw, 68px);
  flex: 0 0 auto;
  border: 1px solid rgba(0, 31, 73, 0.1);
  border-radius: 999px;
  background: var(--hhl-white);
  color: #0a3f92;
  box-shadow: 0 10px 28px rgba(0, 28, 62, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.shop-carousel-arrow[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
}

.shop-carousel-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(1, 99, 186, 0.34);
  background: #fbfcff;
}

.shop-carousel-arrow span {
  display: block;
  margin-top: -2px;
  font-size: clamp(40px, 3vw, 50px);
  font-weight: 800;
  line-height: 1;
}

.shop-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.shop-carousel-dot {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 31, 73, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.shop-carousel-dot.is-active {
  transform: scale(1.14);
  background: #0a56bf;
}

.shop-trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid rgba(0, 31, 73, 0.1);
  padding-top: 18px;
}

.shop-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  color: #364e69;
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 550;
  line-height: 1.25;
}

.shop-trust span + span {
  border-left: 1px solid rgba(0, 31, 73, 0.12);
}

.shop-trust .hhl-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.season-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.season-card {
  padding: 16px;
  color: var(--hhl-navy);
  font-weight: 950;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease;
}

.season-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 99, 186, 0.45);
}

.game-detail {
  display: grid;
  gap: 18px;
  padding: clamp(12px, 2vw, 20px);
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(130, 196, 239, 0.34) 0%, transparent 54%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  box-shadow: 0 18px 44px rgba(0, 28, 62, 0.1);
}

.game-detail-hero {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: clamp(20px, 3.2vw, 38px);
  border-radius: 18px;
  background:
    linear-gradient(118deg, rgba(130, 196, 239, 0.23) 0 24%, transparent 24%),
    radial-gradient(80% 110% at 50% 0%, rgba(1, 99, 186, 0.32), transparent 60%),
    linear-gradient(145deg, #001c3e, #063f76 58%, #0a6fbd 100%);
  color: var(--hhl-white);
  isolation: isolate;
}

.game-detail-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: 34px;
  width: 480px;
  height: 34px;
  background: rgba(255, 255, 255, 0.13);
  transform: skewX(-28deg);
  z-index: -1;
}

.game-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.game-detail.page-content .game-detail-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--hhl-white);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.98;
  text-wrap: balance;
}

.back-link {
  width: fit-content;
  color: var(--hhl-white);
  font-weight: 900;
  text-decoration: none;
}

.game-detail .back-link {
  color: inherit;
}

.game-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--hhl-ice);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  padding: clamp(14px, 2vw, 22px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  color: var(--hhl-white);
  backdrop-filter: blur(8px);
}

.game-scoreboard::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: 30px;
  width: 340px;
  height: 22px;
  background: rgba(255, 255, 255, 0.16);
  transform: skewX(-28deg);
}

.game-team {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.game-team img {
  width: clamp(72px, 8vw, 104px);
  height: clamp(72px, 8vw, 104px);
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: var(--hhl-white);
  box-shadow: 0 18px 34px rgba(0, 28, 62, 0.18);
}

.game-team strong {
  max-width: 260px;
  color: var(--hhl-white);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.game-team strong a{
    color: var(--hhl-white);
}
.game-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 16px);
  min-width: clamp(160px, 20vw, 250px);
  color: var(--hhl-ice);
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 950;
  line-height: 1;
}

.game-score em {
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
}

.game-facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.game-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(1, 99, 186, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(0, 28, 62, 0.04);
}

.game-facts dt {
  color: #60758a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.game-facts dd {
  margin: 4px 0 0;
  color: var(--hhl-navy);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.game-events {
  overflow-x: auto;
}

.game-report-grid {
  gap: 18px;
}

.game-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.game-panel {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;

    margin-bottom: 20px;
  padding: clamp(16px, 2vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(0, 28, 62, 0.06);
}

.game-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -12px;
  width: 260px;
  height: 18px;
  background: rgba(130, 196, 239, 0.54);
  transform: skewX(-28deg);
}

.game-panel h2,
.lineup-column h3 {
  margin: 0;
}

.game-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.game-detail .table-card {
  max-width: 100%;
  overflow-x: auto;
    height: 100%;
}

.game-detail table {
  min-width: 540px;
  table-layout: fixed;
}

.game-detail th,
.game-detail td {
  padding: 8px 9px;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.game-detail .game-players-table {
  width: 100%;
  min-width: 560px;
  table-layout: fixed;
}

.game-players-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f2f7fc;
  color: #5f7489;
  padding: 9px 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-players-table td {
  padding: 10px 6px;
  vertical-align: middle;
  overflow-wrap: normal;
  word-break: normal;
}

.game-players-table tbody tr:nth-child(even) td {
  background: #f8fcff;
}

.game-players-table th:first-child,
.game-players-table td:first-child {
  width: 44px;
  text-align: center;
  white-space: nowrap;
}

.game-players-table th:nth-child(3),
.game-players-table td:nth-child(3) {
  width: 76px;
  text-align: center;
  white-space: nowrap;
}

.game-players-table th:nth-child(n + 4),
.game-players-table td:nth-child(n + 4) {
  width: 48px;
  white-space: nowrap;
  text-align: center;
}

.game-players-table th:nth-child(2),
.game-players-table td:nth-child(2) {
  width: 200px;
  min-width: 200px;
  text-align: left;
}

.game-players-table .game-player-link {
  display: inline-block;
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}


.game-report-grid th:nth-child(3),
.game-report-grid td:nth-child(3) {
  width: auto;
}

.game-stat-panel {
  gap: 14px;
}

.game-stat-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(1, 99, 186, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(226, 240, 250, 0.92));
}

.game-stat-head div {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.game-stat-head img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--hhl-white);
}

.game-stat-head span {
  color: #60758a;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.match-stat-list {
  display: grid;
  gap: 10px;
}

.match-stat-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 18px rgba(0, 28, 62, 0.04);
}

.match-stat-row > strong {
  color: var(--hhl-navy);
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.match-stat-row > div {
  display: grid;
  gap: 10px;
  text-align: center;
}

.match-stat-row span {
  color: var(--hhl-navy);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.match-stat-row i {
  display: flex;
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 28, 62, 0.08);
}

.match-stat-row b,
.match-stat-row em {
  display: block;
  min-width: 0;
  height: 100%;
}

.match-stat-row b {
  background: linear-gradient(90deg, var(--hhl-blue), #4aa8f7);
}

.match-stat-row em {
  background: linear-gradient(90deg, #ff6d7d, #ef476f);
}

.game-players-panel {
  gap: 16px;
  background:
    linear-gradient(118deg, rgba(130, 196, 239, 0.16) 0 22%, transparent 22%),
    linear-gradient(132deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 252, 0.94));
}

.game-team-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-player-table {
  gap: 10px;
  min-width: 0;
  overflow: hidden;
    height: 100%;
}

.team-player-table h3 {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, var(--hhl-navy), var(--hhl-blue));
  color: var(--hhl-white);
  text-align: center;
}

.game-report-grid .game-panel {
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 253, 0.96));
}

.game-broadcast {
  max-height: var(--game-stats-height, 100%);
  min-height: 0;
  background:
    linear-gradient(118deg, rgba(1, 99, 186, 0.08) 0 24%, transparent 24%),
    linear-gradient(132deg, rgba(255, 255, 255, 0.98), rgba(235, 244, 251, 0.96));
}

.game-broadcast ol {
  min-height: 0;
  max-height: calc(var(--game-stats-height, 560px) - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}

.team-player-table h3 a {
  color: inherit;
  text-decoration: none;
}

.team-player-table h3 a:hover,
.game-player-link:hover {
  color: var(--hhl-ice);
}

.game-player-link {
  color: var(--hhl-navy);
  font-weight: 950;
  text-decoration: none;
}

.game-h2h-panel {
  gap: 12px;
}

.game-h2h-panel h2 {
  font-size: 42px;
  line-height: 1.05;
}

.game-h2h-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 292px));
  gap: 10px;
  justify-content: start;
}

.game-h2h-card {
  display: grid;
  grid-template-columns: 66px minmax(112px, 1fr) 66px;
  align-items: center;
  gap: 8px;
  min-height: 112px;
  padding: 12px 14px;
  border: 1px solid #d9dee5;
  border-radius: 12px;
  background: var(--hhl-white);
  color: var(--hhl-text);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.game-h2h-card:hover {
  border-color: #8ec6ef;
  box-shadow: inset 0 -3px 0 var(--hhl-blue);
}

.game-h2h-team {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.game-h2h-team img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 999px;
  background: #f4f6f8;
}

.game-h2h-team span {
  max-width: 68px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f3f3f4;
  color: #303941;
  font-size: 13px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-h2h-main {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.game-h2h-main b {
  color: var(--hhl-navy);
  font-size: 30px;
  line-height: 1;
}

.game-h2h-main small {
  color: #5f7489;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.game-lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lineup-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.lineup-column ul,
.game-broadcast ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-broadcast ol {
  padding-right: 6px;
}

.lineup-column li,
.game-broadcast li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(0, 28, 62, 0.04);
}

.lineup-column li {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.lineup-column li em {
  grid-column: 2;
  color: #60758a;
  font-style: normal;
}

.game-broadcast time {
  color: var(--hhl-blue);
  font-size: 13px;
  font-weight: 950;
}

.game-broadcast span {
  color: var(--hhl-navy);
  font-weight: 800;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden;
  padding: 20px;
}

.news-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 92px;
  height: 9px;
  background: rgba(130, 196, 239, 0.65);
  transform: skewX(-28deg);
}

.news-card h1,
.news-card h3 {
  max-width: none;
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.15;
}

.news-image {
  display: block;
  margin: -20px -20px 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8f3fb;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsor-section {
  position: relative;
  margin-top: 44px;
  margin-bottom: 54px;
  padding: 54px 0 64px;
}

.sponsor-section .section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.sponsor-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  align-items: stretch;
  gap: 22px;
}

.sponsor-grid > span {
  display: grid;
  min-height: 184px;
  place-items: center;
  padding: 34px;
  border: 1px solid rgba(0, 28, 62, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #6c7f91;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 18px 46px rgba(0, 28, 62, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sponsor-grid > span:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 99, 186, 0.22);
  box-shadow: 0 24px 54px rgba(0, 28, 62, 0.09);
}

.sponsor-grid a {
  display: grid;
  width: 100%;
  min-height: 116px;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.sponsor-grid img {
  width: auto;
  max-width: min(100%, 240px);
  max-height: 92px;
  height: auto;
  object-fit: contain;
}

.site-footer {
  position: relative;
  width: 100%;
  margin: 32px 0 0;
  padding: 42px 24px 24px;
  overflow: hidden;
  border-top: 0;
  border-radius: 0;
  background:
    linear-gradient(118deg, transparent 0 23%, rgba(1, 99, 186, 0.3) 23% 24.2%, transparent 24.2% 100%),
    linear-gradient(118deg, transparent 0 72%, rgba(130, 196, 239, 0.22) 72% 73.4%, transparent 73.4% 100%),
    linear-gradient(180deg, #07111d 0%, var(--hhl-navy) 100%);
  color: var(--hhl-white);
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(100%, var(--hhl-max));
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-brand-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 100%;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--hhl-white);
}

.footer-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.footer-brand-panel p {
  max-width: 470px;
  margin: 0;
  color: rgba(213, 232, 247, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.footer-brand-meta {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.site-footer .footer-link-list,
.site-footer .footer-contact,
.site-footer .footer-widget {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-link-list strong,
.footer-contact strong,
.footer-widget-title,
.site-footer .widgettitle {
  color: var(--hhl-white);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer .footer-menu,
.site-footer .footer-widget ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-widget p {
  margin: 0;
}

.footer-link-list a,
.footer-contact a,
.footer-contact span,
.footer-widget a,
.footer-widget p,
.footer-widget li,
.footer-brand-meta a,
.footer-brand-meta span,
.footer-bottom a,
.footer-bottom p,
.footer-credit span {
  color: rgba(213, 232, 247, 0.74);
  font-size: 14px;
  font-weight: 400;
}

.footer-link-list a,
.footer-contact a,
.footer-widget a,
.footer-brand-meta a,
.footer-bottom a,
.footer-credit a {
  width: fit-content;
}

.footer-link-list a:hover,
.footer-contact a:hover,
.footer-widget a:hover,
.footer-brand-meta a:hover,
.footer-bottom a:hover,
.footer-credit a:hover {
  color: var(--hhl-ice);
}

.footer-contact > a[href^="mailto:"],
.footer-brand-meta > a[href^="mailto:"] {
  color: var(--hhl-white);
  overflow-wrap: anywhere;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hhl-white);
}

.footer-social svg {
  width: 28px;
  height: 28px;
  fill: var(--hhl-ice);
}

.footer-season-extra {
  position: relative;
  z-index: 1;
  width: min(100%, var(--hhl-max));
  margin: 18px auto 0;
}

.footer-season-extra__inner {
  padding: 14px 16px;
  border: 1px solid rgba(213, 232, 247, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(233, 242, 250, 0.9);
  line-height: 1.6;
}

.footer-season-extra__inner p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(213, 232, 247, 0.16);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-credit {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  color: rgba(213, 232, 247, 0.74);
  font-size: 14px;
  text-align: right;
}

.footer-credit a {
  color: var(--hhl-white);
  font-size: 14px;
  font-weight: 700;
}

/* Hide WPML frontend footer switcher and development banner. */
.wpml-ls-statics-footer,
#wpml-footer,
.otgs-installer-notice,
#otgs-installer-notice {
  display: none !important;
}

.content-shell {
  padding: 28px 0;
}

.page-content {
  padding: clamp(22px, 4vw, 46px);
}

.page-content h1 {
  max-width: none;
  font-size: clamp(36px, 5vw, 58px);
}

.page-content a {
  color: var(--hhl-blue);
  font-weight: 800;
}

.page-content img,
.post-hero-image {
  border-radius: var(--hhl-radius);
}

.not-found-page {
  width: min(100% - 64px, 1840px);
  margin: 0 auto;
  padding: 34px 0 54px;
  color: var(--hhl-text);
}

.not-found-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  align-items: stretch;
  min-height: clamp(360px, 45vw, 560px);
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: var(--hhl-radius);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.98) 0 50%, rgba(231, 244, 255, 0.86) 50.2% 74%, rgba(255, 255, 255, 0.96) 74.2%),
    #f4f9ff;
  box-shadow: 0 18px 44px rgba(0, 28, 62, 0.08);
  isolation: isolate;
}

.not-found-hero::before,
.not-found-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.not-found-hero::before {
  inset: 0;
  background:
    linear-gradient(123deg, transparent 0 58%, rgba(255, 255, 255, 0.68) 58.2% 58.7%, transparent 59%),
    linear-gradient(126deg, transparent 0 68%, rgba(20, 116, 216, 0.09) 68.2% 78%, transparent 78.2%);
  z-index: -1;
}

.not-found-hero::after {
  right: 8%;
  bottom: 10%;
  width: min(36vw, 520px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(1, 99, 186, 0.42), transparent);
  transform: rotate(-18deg);
}

.not-found-copy {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 70px);
}

.not-found-copy h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  color: var(--hhl-navy);
  font-size: clamp(42px, 5.1vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.not-found-copy p {
  max-width: 720px;
  margin: 0;
  color: #506783;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.not-found-actions .button {
  gap: 10px;
  min-height: 48px;
  padding-inline: 20px;
  text-transform: uppercase;
}

.not-found-actions .hhl-icon,
.not-found-links .hhl-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.not-found-search {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 48px;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #d5e2f0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 28, 62, 0.06);
}

.not-found-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--hhl-navy);
  font: inherit;
  outline: 0;
  padding: 0 16px;
}

.not-found-search button {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid #e2edf8;
  background: #f1f7fd;
  color: var(--hhl-blue);
  cursor: pointer;
}

.not-found-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
}

.not-found-mark::before {
  content: "";
  position: absolute;
  inset: 18% -24% 17% 8%;
  border: 2px solid rgba(1, 99, 186, 0.16);
  border-radius: 50%;
  transform: skewX(-18deg) rotate(-12deg);
}

.not-found-mark::after {
  content: "";
  position: absolute;
  inset: auto 12% 18% 4%;
  height: 62px;
  background:
    repeating-linear-gradient(132deg, rgba(1, 99, 186, 0.18) 0 2px, transparent 2px 16px),
    linear-gradient(90deg, rgba(130, 196, 239, 0.42), transparent);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.not-found-mark span {
  position: relative;
  z-index: 1;
  color: rgba(0, 28, 62, 0.08);
  font-size: clamp(120px, 16vw, 260px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
  transform: skew(-10deg);
}

.not-found-mark img {
  position: absolute;
  z-index: 2;
  width: clamp(116px, 13vw, 190px);
  height: clamp(116px, 13vw, 190px);
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 28, 62, 0.18));
}

.not-found-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 22px;
  margin-top: 22px;
}

.not-found-panel {
  border: 1px solid #dbe8f6;
  border-radius: var(--hhl-radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(6, 31, 73, 0.06);
}

.not-found-link-panel {
  padding: 26px;
}

.not-found-link-panel h2,
.not-found-status h2 {
  margin: 0;
  color: var(--hhl-navy);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.not-found-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.not-found-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #dbe8f6;
  border-radius: 6px;
  background: #fbfdff;
  color: #315585;
  font-weight: 800;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.not-found-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 99, 186, 0.42);
  color: var(--hhl-blue);
  box-shadow: 0 12px 24px rgba(0, 28, 62, 0.08);
}

.not-found-status {
  display: grid;
  align-content: center;
  padding: 26px;
  background:
    linear-gradient(138deg, rgba(0, 28, 62, 0.96), rgba(1, 99, 186, 0.88)),
    var(--hhl-navy);
  color: #ffffff;
}

.not-found-status span {
  color: var(--hhl-ice);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.not-found-status h2 {
  margin-top: 8px;
  color: #ffffff;
}

.not-found-status p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-page {
  display: grid;
  gap: 22px;
}

.contacts-page-org {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(1, 99, 186, 0.2);
  border-radius: 10px;
  background: linear-gradient(160deg, #f6fbff 0%, #ffffff 60%);
}

.contacts-page-org h2 {
  margin: 0 0 10px;
  color: var(--hhl-navy);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
}

.contacts-page-org p {
  margin: 0;
  color: #35506c;
  font-size: 17px;
}

.contacts-page-org p + p {
  margin-top: 8px;
}

.contacts-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(1, 99, 186, 0.16);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.08);
}

.contact-card h3 {
  margin: 0;
  color: var(--hhl-navy);
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.12;
}

.contact-card p {
  margin: 0;
  color: #486581;
}

@media (max-width: 1080px) {
  .game-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .not-found-page {
    width: min(100% - 32px, var(--hhl-max));
  }

  .not-found-hero,
  .not-found-grid {
    grid-template-columns: 1fr;
  }

  .not-found-mark {
    min-height: 230px;
  }

  .not-found-mark::before {
    inset: 4% 8% 12%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .leaders-toolbar {
    grid-template-columns: 1fr;
  }

  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leaders-all {
    justify-self: start;
  }

  .contacts-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .scoreboard-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    width: 100%;
  }

  .scoreboard-track {
    width: 100%;
  }

  .scoreboard-card {
    flex-basis: 268px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    padding-top: 8px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid rgba(1, 99, 186, 0.25);
    border-radius: 8px;
    background: #fff;
    color: var(--hhl-blue);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-header:not(.is-menu-open) .main-nav {
    display: none;
  }

  .site-header:not(.is-menu-open) .header-actions {
    display: none;
  }

  .site-header.is-menu-open .main-nav {
    display: block;
  }

  .site-header.is-menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(1, 99, 186, 0.14);
  }

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

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

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

  .main-menu {
    display: grid;
    gap: 2px;
    width: 100%;
  }

  .main-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
    padding: 10px 12px;
  }

  .main-nav .sub-menu {
    position: static;
    min-width: 0;
    margin: 0 0 0 10px;
    padding: 2px 0 8px;
    border: 0;
    box-shadow: none;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .main-nav .menu-item-has-children > a {
    grid-column: 1 / 2;
  }

  .main-nav .menu-item-has-children > a::after {
    display: none;
  }

  .main-nav .submenu-toggle {
    grid-column: 2 / 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: var(--hhl-blue);
    cursor: pointer;
  }

  .main-nav .submenu-toggle span {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 140ms ease;
  }

  .main-nav .menu-item-has-children > .sub-menu {
    grid-column: 1 / -1;
  }

  .main-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    display: grid;
  }

  .main-nav .menu-item-has-children.is-submenu-open > .submenu-toggle span {
    transform: rotate(180deg);
  }

  .main-nav .sub-menu a {
    min-height: 34px;
  }

  .header-actions {
    align-items: flex-start;
    gap: 8px;
  }

  .contacts-page-grid {
    grid-template-columns: 1fr;
  }

  .featured-news-section {
    grid-template-columns: 1fr;
  }

  .photo-transition,
  .photo-transition-track {
    min-height: 300px;
  }

  .photo-transition-track,
  .photo-transition-bottom .photo-transition-track {
    grid-template-columns: 1.15fr 0.95fr;
  }

  .photo-transition figure:last-child {
    display: none;
  }

  .featured-news-card-large {
    min-height: 420px;
  }

  .match-grid,
  .team-grid,
  .sponsor-grid,
  .standings-grid,
  .photo-band,
  .post-grid,
  .player-list-grid,
  .season-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-grid,
  .game-facts,
  .game-report-grid,
  .game-overview-grid,
  .game-team-tables {
    grid-template-columns: 1fr;
  }

  .photo-feature {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leaders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom nav,
  .footer-credit {
    justify-content: flex-start;
    text-align: left;
  }

  .sponsor-section {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .sponsor-grid {
    gap: 18px;
  }

  .sponsor-grid > span {
    min-height: 168px;
    padding: 30px;
  }
}

@media (max-width: 720px) {
  .game-detail {
    padding: 10px;
    border-radius: 16px;
  }

  .game-detail-hero {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .game-detail-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .game-status-pill {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .game-scoreboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .game-team {
    grid-template-columns: 56px minmax(0, 1fr);
    justify-items: start;
    width: 100%;
    text-align: left;
  }

  .game-team:last-child {
      display: flex;
      justify-items: start;
      text-align: center;
  }

  .game-team:last-child img {
    grid-column: 2;
    grid-row: 1;
  }

  .game-team img {
    width: 56px;
    height: 56px;
    padding: 6px;
    border-radius: 10px;
  }

  .game-score {
    order: -1;
    min-width: 0;
    font-size: clamp(50px, 17vw, 72px);
  }

  .game-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-overview-grid,
  .game-team-tables,
  .game-report-grid {
    gap: 12px;
  }

  .game-h2h-list {
    grid-template-columns: 1fr;
  }

  .game-h2h-card {
    min-height: 96px;
    padding: 10px;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
  }

  .game-h2h-main b {
    font-size: 24px;
  }

  .game-detail .game-players-table {
    min-width: 560px;
  }

  .match-stat-row {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 10px;
    padding: 10px;
  }

  .match-stat-row span {
    font-size: 12px;
  }

  .season-context-banner,
  .season-context-banner div {
    align-items: flex-start;
    flex-direction: column;
  }

  .not-found-page {
    width: min(100% - 20px, var(--hhl-max));
    padding: 16px 0 34px;
  }

  .not-found-copy {
    padding: 28px 20px;
  }

  .not-found-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .not-found-actions .button,
  .not-found-search {
    width: 100%;
  }

  .not-found-search {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .not-found-links {
    grid-template-columns: 1fr;
  }

  .not-found-link-panel,
  .not-found-status {
    padding: 20px;
  }

  .season-context-banner {
    gap: 10px;
    padding: 12px 16px;
  }

  .season-context-banner div {
    gap: 4px;
  }

  .season-context-banner a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .game-lineup-grid {
    grid-template-columns: 1fr;
  }

  .game-stat-head {
    grid-template-columns: 1fr;
  }

  .match-stat-row > strong {
    font-size: 28px;
  }

  .game-detail {
    gap: 18px;
  }

  .game-panel {
    padding: 16px;
  }

  .game-detail th,
  .game-detail td {
    padding: 7px 6px;
    font-size: 12px;
  }

  .game-detail th:first-child,
  .game-detail td:first-child {
    width: 38px;
  }

  .game-detail th:nth-child(3),
  .game-detail td:nth-child(3),
  .game-detail th:nth-child(n + 4),
  .game-detail td:nth-child(n + 4) {
    width: 44px;
  }

  .game-detail .game-players-table th:nth-child(2),
  .game-detail .game-players-table td:nth-child(2) {
    width: 200px;
    min-width: 200px;
  }

  .game-detail .game-players-table th:nth-child(3),
  .game-detail .game-players-table td:nth-child(3) {
    width: 76px;
  }
}

@media (max-width: 768px) {
  .section-shell.shop-carousel-section {
    width: 100%;
    padding-inline: 10px;
    overflow: hidden;
  }

  .shop-carousel {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .shop-carousel-arrow {
    display: none;
  }

  .shop-carousel-track {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    gap: 12px;
    padding: 0 0 4px;
    scroll-padding-inline: 0;
  }

  .shop-product-card {
    flex: 0 0 82%;
    max-width: 82%;
    grid-template-rows: 236px minmax(146px, auto);
  }

  .shop-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
    column-gap: 0;
  }

  .shop-trust span {
    justify-content: flex-start;
    border-left: none !important;
  }

  .shop-trust span:nth-child(odd) {
    border-right: 1px solid rgba(0, 31, 73, 0.12);
    padding-right: 16px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .scoreboard-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .scoreboard-arrow {
    display: none;
  }

  .scoreboard-track {
    width: 100%;
  }

  .scoreboard-card {
    flex-basis: min(82vw, 320px);
    grid-template-columns: 58px minmax(100px, 1fr) 58px;
  }

  .shop-carousel {
    align-items: stretch;
    gap: 10px;
  }

  .shop-carousel-arrow {
    display: none;
  }

  .shop-carousel-track {
    gap: 12px;
    flex: 0 0 100%;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0;
  }

  .shop-product-card {
    flex: 0 0 82%;
    max-width: 82%;
    border-radius: 8px;
  }

  .shop-carousel-dots {
    margin-top: 12px;
  }

  .shop-trust {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding-top: 14px;
  }

  .shop-trust span {
    padding: 0;
    font-size: 15px;
    border: none !important;
  }

  .scoreboard-main strong {
    font-size: 26px;
  }

  .site-header,
  .section-shell,
  .featured-news-section,
  .sponsor-section,
  .navy-band,
  .content-shell {
    width: min(100% - 20px, var(--hhl-max));
  }

  .site-header {
    width: 100%;
    padding: 12px 10px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .featured-news-section {
    padding: 8px;
  }

  .photo-transition {
    width: 100%;
    min-height: 310px;
    margin: 14px auto 24px;
  }

  .photo-transition-track,
  .photo-transition-bottom .photo-transition-track {
    grid-template-columns: 1fr;
  }

  .photo-transition figure,
  .photo-transition figure:first-child,
  .photo-transition figure:last-child {
    margin: 0;
    clip-path: none;
  }

  .photo-transition figure:not(:first-child) {
    display: none;
  }

  .photo-transition::before {
    background:
      linear-gradient(180deg, rgba(0, 28, 62, 0.04) 0%, rgba(0, 28, 62, 0.12) 48%, rgba(0, 28, 62, 0.44) 100%),
      linear-gradient(128deg, transparent 0 62%, rgba(130, 196, 239, 0.34) 62% 64%, transparent 64% 100%);
  }

  .featured-news-card,
  .featured-news-card-large {
    min-height: 300px;
  }

  .featured-news-card img {
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.04);
  }

  .featured-news-card a {
    padding: 20px;
  }

  .featured-news-card h2 {
    font-size: 22px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .featured-news-card p {
    font-size: 15px;
  }

  h1 {
    font-size: 42px;
  }

  .match-grid,
  .team-grid,
  .sponsor-grid,
  .standings-grid,
  .photo-band,
  .post-grid,
  .leaders-grid,
  .player-list-grid,
  .season-grid {
    grid-template-columns: 1fr;
  }

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

  .game-scoreboard {
    grid-template-columns: 1fr;
  }

  .game-score {
    justify-content: center;
  }

  .game-detail.page-content .game-detail-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.02;
  }

  .game-facts {
    grid-template-columns: 1fr;
  }

  .game-facts div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .game-facts dd {
    margin: 0;
    text-align: right;
  }

  .game-panel h2 {
    font-size: 24px;
  }

  .game-report-grid .game-table-scroll,
  .game-report-grid .table-card {
    overflow-x: visible;
  }

  .game-report-grid table {
    min-width: 100%;
    table-layout: auto;
  }

  .game-report-grid th:first-child,
  .game-report-grid td:first-child {
    width: 58px;
  }

  .game-report-grid th:nth-child(3),
  .game-report-grid td:nth-child(3),
  .game-report-grid th:nth-child(n + 4),
  .game-report-grid td:nth-child(n + 4) {
    width: auto;
  }

  .navy-band,
  .sponsor-section {
    padding: 22px 16px;
  }

  .sponsor-section {
    margin-top: 28px;
    margin-bottom: 36px;
    padding: 34px 0 42px;
  }

  .sponsor-section .section-heading {
    margin-bottom: 24px;
  }

  .sponsor-grid {
    gap: 14px;
  }

  .sponsor-grid > span {
    min-height: 146px;
    padding: 28px 24px;
  }

  .sponsor-grid a {
    min-height: 90px;
  }

  .sponsor-grid img {
    max-width: min(100%, 220px);
    max-height: 78px;
  }

  .site-footer {
    padding: 30px 14px 22px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

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

  .footer-logo {
    width: 78px;
    height: 78px;
  }

  .footer-bottom nav {
    gap: 12px;
  }

}

.games-calendar-page {
  padding: 28px 16px 56px;
}

.games-calendar-wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.games-calendar-head {
  margin-bottom: 20px;
}

.games-calendar-head h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.games-calendar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  position: relative;
}

.games-week-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--hhl-line);
  border-radius: 10px;
  background: #fff;
  color: #5f6772;
  font-size: 32px;
  line-height: 1;
}

.games-week-range {
  min-width: 180px;
  padding: 11px 16px;
  border: 1px solid var(--hhl-line);
  border-radius: 10px;
  background: #fff;
  color: #111820;
  font-size: 1.45rem;
  text-align: center;
}

.games-week-range-trigger {
  cursor: pointer;
}

.games-filter-form {
  margin-left: 0;
}

.games-filter-form select {
  min-width: 220px;
  height: 48px;
  padding: 0 44px 0 14px;
  border: 1px solid var(--hhl-line);
  border-radius: 10px;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' fill='none' stroke='%2317305d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 12px auto;
  color: #111820;
  font-size: 1rem;
}

.games-days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.games-day-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 118px;
  padding: 14px 16px;
  border: 1px solid var(--hhl-line);
  border-radius: 12px;
  background: #fff;
}

.games-day-card.is-active {
  border-color: var(--hhl-blue);
  box-shadow: 0 0 0 1px rgba(1, 99, 186, 0.25);
}

.games-day-date {
  font-size: 1.12rem;
  font-weight: 700 !important;
}

.games-day-name {
  color: #616a75;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.games-day-count {
  margin-top: auto;
  color: #0d1520;
  font-size: 1rem;
  font-weight: 700 !important;
}

.games-day-block {
  margin: 0 0 34px;
}

.games-day-block h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
}

.games-table-head,
.games-row {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(80px, 0.9fr) minmax(90px, 0.85fr) minmax(80px, 0.8fr) minmax(120px, 1.3fr) minmax(100px, 0.85fr);
  gap: 14px;
  align-items: center;
}

.games-table-head {
  padding: 14px;
  border-top: 1px solid var(--hhl-line);
  border-bottom: 1px solid var(--hhl-line);
  color: #1f2832;
  font-size: 0.95rem;
  font-weight: 800 !important;
}

.games-row {
  padding: 18px 14px;
  border-bottom: 1px solid var(--hhl-line);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: inherit;
}

.games-day-block .games-row:nth-of-type(even) {
  background: #f7fbff;
}

.games-day-block .games-row:nth-of-type(odd) {
  background: #ffffff;
}

.games-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.games-time{
    text-align: center;
}
.games-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.games-team-home {
  justify-content: flex-start;
  text-align: left;
}

.games-team-away {
    justify-content: right;
    text-align: right;
    flex-direction: row-reverse;
}

.games-team img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.games-team strong {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
  font-size: 0.95rem;
}

.team-name-short {
  display: none;
}

.games-vs {
  color: #64707e;
  font-weight: 700 !important;
}

.games-result strong,
.games-link {
  color: var(--hhl-blue);
  font-weight: 800 !important;
}

.games-status {
  color: #6a7380;
}

.games-link {
  justify-self: end;
  font-weight: 500 !important;
  white-space: nowrap;
  min-width: 0;
}

.games-row:hover,
.games-row:focus-visible {
  background: #eef6ff;
}

.games-range-form {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}

.games-range-popover {
  position: absolute;
  left: 58px;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 320px;
  padding: 12px;
  border: 1px solid var(--hhl-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 28, 62, 0.12);
  display: none;
}

.games-range-popover.is-open {
  display: flex;
}

.games-range-form label {
  display: grid;
  gap: 3px;
  color: #4d5866;
  font-size: 0.82rem;
}

.games-range-form input[type="date"] {
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--hhl-line);
  border-radius: 8px;
  background: #fff;
  color: #111820;
}

.games-range-form button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--hhl-blue);
  border-radius: 8px;
  background: #fff;
  color: var(--hhl-blue);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.games-datepicker {
  width: 100%;
}

.games-datepicker-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.games-datepicker-head strong {
  text-align: center;
  font-size: 1.15rem;
}

.games-datepicker-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hhl-line);
  border-radius: 8px;
  background: #fff;
  color: #415063;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.games-datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 0.76rem;
  text-align: center;
}

.games-datepicker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.games-datepicker-grid .is-empty {
  min-height: 34px;
}

.games-day-pick {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #121a25;
  font-size: 0.95rem;
  cursor: pointer;
}

.games-day-pick.is-selected {
  border-color: #0d5fd3 !important;
  background: #0d5fd3 !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.games-day-pick.is-in-range {
  border-color: #9ec3f6 !important;
  background: #e8f1ff !important;
  color: #0d5fd3 !important;
}

.games-day-pick.is-range-start,
.games-day-pick.is-range-end {
  box-shadow: 0 0 0 2px rgba(13, 95, 211, 0.22) inset;
}

.games-datepicker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.games-datepicker-today,
.games-datepicker-apply {
  height: 40px;
  border-radius: 8px;
}

.games-datepicker-today {
  border: 1px solid var(--hhl-line);
  background: #fff;
  color: #223043;
}

.games-datepicker-apply {
  border: 1px solid var(--hhl-blue);
  background: var(--hhl-blue);
  color: #fff;
}

.games-empty {
  padding: 16px 0;
  color: #5f6670;
}

@media (max-width: 1180px) {
  .games-days-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .games-table-head {
    display: none;
  }

  .games-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    border: 1px solid var(--hhl-line);
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .games-matchup {
    grid-column: 1 / -1;
  }

  .games-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .games-calendar-page {
    padding: 20px 12px 34px;
  }

  .games-days-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(142px, 56vw);
    grid-template-columns: none;
    gap: 8px;
    margin-inline: -12px;
    padding-inline: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    -webkit-overflow-scrolling: touch;
  }

  .games-day-card {
    min-height: 104px;
    scroll-snap-align: start;
  }

  .games-calendar-controls {
    gap: 8px;
  }

  .games-week-range {
    min-width: 0;
    flex: 1;
    font-size: 1.1rem;
  }

  .games-filter-form {
    margin-left: 0;
    width: 100%;
  }

  .games-filter-form select {
    width: 100%;
  }

  .games-range-form {
    width: 100%;
  }

  .games-range-popover {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .games-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .games-matchup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 10px;
  }

  .games-team {
    flex: 1 1 0;
  }

  .games-team-home {
    justify-content: flex-start;
    text-align: left;
  }

  .games-team-away {
    text-align: right;
  }

  .team-name-full {
    display: none;
  }

  .team-name-short {
    display: inline;
  }

  .games-vs {
    flex: 0 0 auto;
  }
}

.group-page-shell {
  max-width: min(1440px, 100vw - 48px);
}

.group-page-layout {
  display: grid;
  gap: 18px;
}

.group-standings-block {
  order: 1;
}

.group-schedule-block {
  order: 2;
}

.group-leaders-section {
  order: 3;
}

.group-page-header {
  margin-bottom: 4px;
}

.group-overview-panel {
  order: 0;
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1.35fr 1.65fr;
  gap: 12px;
}

.group-overview-card {
  display: grid;
  align-content: center;
  min-height: 104px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(1, 99, 186, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(0, 28, 62, 0.06);
}

.group-overview-card span {
  color: #60758a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.group-overview-card strong {
  display: block;
  margin-top: 7px;
  color: var(--hhl-navy);
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.group-overview-card small {
  margin-left: 3px;
  color: #60758a;
  font-size: 0.62em;
  font-weight: 800;
}

.group-overview-card em {
  display: block;
  margin-top: 6px;
  color: var(--hhl-blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.group-table-scroll {
  position: relative;
}

.group-table-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.group-table-scroll {
  overflow-x: auto;
}

.group-table-scroll table {
  min-width: 720px;
}

.group-table-scroll tbody tr.is-group-leader {
  background: linear-gradient(90deg, rgba(232, 244, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.standing-rank {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef5fc;
  color: var(--hhl-navy);
  font-weight: 950;
}

.is-group-leader .standing-rank {
  background: var(--hhl-navy);
  color: #fff;
}

.group-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.group-filter-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.group-filter-controls .games-filter-form {
  margin-left: 0;
}

.group-schedule-meta {
  display: flex;
  justify-content: flex-end;
  margin: -6px 0 12px;
  color: #657386;
  font-size: 13px;
  font-weight: 850;
}

.group-games-day-block {
  margin: 0;
}

.group-schedule-row {
  text-decoration: none;
}

.group-schedule-row[hidden] {
  display: none;
}

.group-schedule-row .games-team {
  font-weight: 800;
}

.group-schedule-row .games-result {
  font-weight: 900;
}

.group-schedule-row .games-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5fc;
  color: #526172;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.group-schedule-row .games-status.is-pending {
  background: #fff5dc;
  color: #7a5814;
}

.group-schedule-empty {
  margin: 14px 0 0;
  padding: 18px;
  border: 1px dashed rgba(1, 99, 186, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #526172;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 760px) {
  .group-page-shell {
    max-width: 100%;
  }

  .group-overview-panel {
    grid-template-columns: 1fr;
  }

  .group-overview-card {
    min-height: 92px;
    padding: 14px;
  }

  .group-overview-card-wide {
    grid-column: 1 / -1;
  }

  .group-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .group-filter-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .group-filter-row .games-filter-form select {
    width: 100%;
    min-width: 0;
  }

  .group-schedule-meta {
    justify-content: flex-start;
    margin-top: 0;
  }

  .group-schedule-row .games-time,
  .group-schedule-row .games-result,
  .group-schedule-row .games-group,
  .group-schedule-row .games-arena,
  .group-schedule-row .games-link {
    display: grid;
    grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .group-schedule-row .games-time::before,
  .group-schedule-row .games-result::before,
  .group-schedule-row .games-group::before,
  .group-schedule-row .games-arena::before,
  .group-schedule-row .games-link::before {
    content: attr(data-label);
    color: #657386;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .group-schedule-row .games-link {
    justify-self: stretch;
  }
}

.team-page-shell {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 28px;
}

.team-page-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.team-page-layout > .section-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.team-overview-card {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 3.1vw, 58px) clamp(30px, 3.5vw, 66px) clamp(24px, 2.45vw, 46px);
  border: 1px solid var(--hhl-line);
  border-radius: 18px;
  background:
    radial-gradient(130% 130% at 100% 0%, rgba(219, 235, 251, 0.72) 0%, rgba(245, 249, 254, 0.45) 55%, #fff 100%),
    linear-gradient(132deg, #ffffff 0%, #eef4fb 100%);
  box-shadow: 0 14px 38px rgba(0, 28, 62, 0.09);
}

.team-overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 2.4vw, 46px);
}

.team-overview-main {
  display: grid;
  gap: 14px;
}

.team-overview-season {
  color: #4c6180;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
}

.team-overview-main h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(72px, 7.15vw, 146px);
  line-height: 0.92;
  letter-spacing: 0;
}

.team-overview-facts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 64px;
  width: fit-content;
  padding: 0 12px;
  border: 1px solid #d8e4f1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.team-overview-fact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 20px;
  color: #425676;
  font-size: clamp(18px, 1.16vw, 26px);
  font-weight: 500;
}

.team-overview-fact + .team-overview-fact {
  border-left: 1px solid #d8e4f1;
}

.team-overview-fact svg {
  width: 25px;
  height: 25px;
  fill: #2f83f3;
}

.team-overview-side {
  display: grid;
  justify-items: end;
  gap: 26px;
  min-width: 320px;
}

.team-overview-side img {
  width: clamp(180px, 15vw, 290px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.team-overview-select {
  width: clamp(260px, 22vw, 380px);
  min-height: 64px;
  padding: 10px 18px;
  border: 2px solid #c5d6ea;
  border-radius: 18px;
  background: #fff;
  color: #2d4263;
  font-size: clamp(20px, 1.25vw, 30px);
  font-weight: 500;
}

.team-overview-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-top: 26px;
  border-top: 1px solid #dbe4ef;
}

.team-overview-stat {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px 18px;
  text-align: center;
}

.team-overview-stat + .team-overview-stat {
  border-left: 1px solid #dbe4ef;
}

.team-overview-stat span {
  color: #4f6181;
  font-size: clamp(18px, 1.05vw, 24px);
  font-weight: 500;
}

.team-overview-stat strong {
  color: var(--hhl-navy);
  font-size: clamp(48px, 3.2vw, 72px);
  font-weight: 900;
  line-height: 0.98;
  white-space: nowrap;
}

.team-history-card {
  padding: clamp(26px, 2.9vw, 52px) clamp(30px, 3.5vw, 66px);
  border-radius: 18px;
}

.team-history-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: clamp(30px, 2.8vw, 52px);
}

.team-history-card h2::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 3h8l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z' stroke='%230163ba' stroke-width='1.7'/%3E%3Cpath d='M14 3v5h5M8 12h8M8 16h8M8 8h3' stroke='%230163ba' stroke-width='1.7'/%3E%3C/svg%3E");
}

.team-history-card p {
  margin-bottom: 10px;
  color: #425571;
  font-size: clamp(18px, 1.18vw, 27px);
  line-height: 1.5;
}

.team-history-card .team-about-list {
  margin-top: 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.team-history-card .team-about-list li {
  color: #4e6282;
  font-size: clamp(18px, 1.2vw, 26px);
}

.team-about-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.team-empty-note {
  padding: 0 16px 16px;
  color: #5f7488;
}

.team-roster-table,
.team-games-table,
.team-group-table {
  overflow-x: auto;
}

.team-game-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid var(--hhl-line);
  border-radius: var(--hhl-radius);
  overflow: hidden;
  background: var(--hhl-white);
}

.team-spotlight-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
  color: inherit;
  text-decoration: none;
  background: #fdfefe;
  border-right: 1px solid var(--hhl-line);
}

.team-spotlight-card:last-child {
  border-right: 0;
}

.team-spotlight-card .eyebrow {
  color: #6d7885;
}

.team-spotlight-main {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 8px;
}

.team-spotlight-side {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.team-spotlight-side img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.team-spotlight-side span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #edf0f3;
  color: #39424d;
  font-size: 16px;
  font-weight: 500 !important;
  line-height: 1;
}

.team-spotlight-center {
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

.team-spotlight-date {
  color: #6a7380;
  font-size: 18px;
  font-weight: 600 !important;
}

.team-spotlight-group {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #e9eef4;
  color: var(--hhl-blue);
  font-size: 13px;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.team-spotlight-series {
  color: #5f6975;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-spotlight-status {
  color: #666f7a;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.team-spotlight-empty {
  margin: 0;
  color: #66707b;
}

.team-news-grid .news-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-news-grid .news-card {
  min-width: 0;
}

.team-news-grid .news-card h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
  .team-news-grid .news-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .team-overview-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .team-overview-side {
    width: 100%;
    min-width: 0;
    justify-items: start;
  }

  .team-overview-select {
    width: 100%;
  }

  .team-overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-overview-stat:nth-child(4) {
    border-left: 0;
  }

  .team-news-grid .news-grid-inner {
    grid-template-columns: 1fr;
  }

  .team-history-card h2::before {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 760px) {
  .team-overview-card {
    padding: 16px;
    border-radius: 12px;
  }

  .team-overview-main h1 {
    font-size: clamp(44px, 12vw, 72px);
  }

  .team-overview-season {
    font-size: 20px;
  }

  .team-overview-facts {
    width: 100%;
    max-width: 560px;
    min-height: 42px;
    padding: 0 6px;
  }

  .team-overview-fact {
    min-height: 40px;
    padding: 0 10px;
    font-size: 14px;
    gap: 8px;
  }

  .team-overview-fact svg {
    width: 18px;
    height: 18px;
  }

  .team-overview-side img {
    width: 120px;
  }

  .team-overview-select {
    min-height: 46px;
    border-radius: 12px;
    font-size: 18px;
  }

  .team-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 12px;
  }

  .team-overview-stat:nth-child(odd) {
    border-left: 0;
  }

  .team-overview-stat:nth-child(even) {
    border-left: 1px solid #dbe4ef;
  }

  .team-overview-stat span {
    font-size: 14px;
  }

  .team-overview-stat strong {
    font-size: 32px;
  }

  .team-game-cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .team-spotlight-card {
    border-right: 0;
    border-bottom: 1px solid var(--hhl-line);
  }

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

  .team-spotlight-main {
    grid-template-columns: 60px minmax(0, 1fr) 60px;
  }

  .team-spotlight-side img {
    width: 44px;
    height: 44px;
  }

  .team-spotlight-side span {
    min-width: 52px;
    min-height: 34px;
    font-size: 14px;
  }

  .team-spotlight-date {
    font-size: 16px;
  }

  .team-spotlight-group {
    font-size: 14px;
  }

  .team-spotlight-series {
    font-size: 14px;
  }

  .team-spotlight-status {
    font-size: 16px;
  }

  .team-history-card {
    padding: 16px;
    border-radius: 12px;
  }

  .team-history-card h2 {
    font-size: 30px;
  }

  .team-history-card p {
    font-size: 18px;
  }
}

.single-hhlm_team {
  background:
    linear-gradient(135deg, rgba(230, 244, 255, 0.9) 0 18%, transparent 18.2%),
    linear-gradient(315deg, rgba(225, 238, 250, 0.82) 0 14%, transparent 14.2%),
    #f4f8fc;
}

.team-page-shell {
  width: min(100% - 28px, 1360px);
  padding: 6px 0 34px;
}

.team-overview-card {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  gap: 22px;
  padding: clamp(22px, 3vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.96) 0 54%, rgba(235, 245, 255, 0.92) 54.2% 100%),
    #fff;
  box-shadow: 0 16px 42px rgba(8, 38, 84, 0.1);
}

.team-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--hhl-blue), #092b61 70%, #e3362d);
}

.team-overview-top {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  align-items: center;
  min-width: 0;
}

.team-overview-season {
  color: var(--hhl-blue);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 900 !important;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-overview-main h1 {
  max-width: 760px;
  min-width: 0;
  font-size: clamp(42px, 5.3vw, 82px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.team-overview-facts {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbe7f4;
}

.team-overview-fact {
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  color: #425571;
  font-size: 15px;
  font-weight: 800 !important;
}

.team-overview-fact span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-overview-side {
  justify-items: stretch;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.team-overview-logo {
  display: grid;
  place-items: center;
  min-height: 186px;
  padding: 22px;
  border: 1px solid #d8e5f3;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.82) 68%, rgba(221, 238, 252, 0.76));
}

.team-overview-logo img,
.team-overview-side img {
  width: min(190px, 100%);
  max-height: 150px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.team-overview-controls {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.team-overview-select {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 44px 0 14px;
  border: 1px solid #c6d7e9;
  border-radius: 8px;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' fill='none' stroke='%2317305d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px auto;
  font-size: 16px;
  font-weight: 800 !important;
}

.team-overview-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--hhl-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 900 !important;
  text-decoration: none;
  white-space: nowrap;
}

.team-overview-stats {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  overflow: hidden;
  background: #dbe7f4;
}

.team-overview-stat {
  min-width: 0;
  padding: 16px 10px;
  background: rgba(255, 255, 255, 0.92);
}

.team-overview-stat + .team-overview-stat {
  border-left: 0;
}

.team-overview-stat span {
  color: #5a6b80;
  font-size: 12px;
  font-weight: 900 !important;
  line-height: 1.15;
  text-transform: uppercase;
}

.team-overview-stat strong {
  max-width: 100%;
  color: #082654;
  font-size: clamp(26px, 2.55vw, 42px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.team-overview-highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-overview-highlight {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.team-overview-highlight span {
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 950 !important;
  line-height: 1.15;
  text-transform: uppercase;
}

.team-overview-highlight strong {
  color: var(--hhl-navy);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.team-overview-highlight small {
  color: #5e6c7d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.team-history-card {
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(8, 38, 84, 0.07);
}

.team-history-card h2 {
  font-size: clamp(26px, 2.3vw, 38px);
}

.team-history-card p {
  max-width: 980px;
  font-size: clamp(16px, 1.05vw, 19px);
}

.team-roster-table,
.team-games-table,
.team-group-table {
  border-radius: 8px;
}

.team-game-cards {
  border-radius: 8px;
}

.team-spotlight-card {
  padding: 18px;
}

.team-season-games-list .games-row {
  min-width: 0;
}

@media (max-width: 1180px) {
  .team-overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-overview-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .team-page-shell {
    width: min(100% - 20px, 1360px);
    margin-top: 14px;
  }

  .team-page-layout {
    gap: 14px;
    max-width: 100%;
    overflow: hidden;
  }

  .team-overview-card {
    padding: 18px;
  }

  .team-overview-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-overview-main {
    gap: 10px;
  }

  .team-overview-main h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .team-overview-facts {
    width: 100%;
  }

  .team-overview-fact {
    flex: 1 1 0;
    justify-content: flex-start;
    padding: 0 10px;
    font-size: 14px;
  }

  .team-overview-logo {
    min-height: 150px;
    padding: 16px;
  }

  .team-overview-logo img,
  .team-overview-side img {
    width: min(150px, 62vw);
    max-height: 122px;
  }

  .team-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-overview-stat {
    padding: 14px 8px;
  }

  .team-overview-stat strong {
    font-size: clamp(24px, 8vw, 34px);
    white-space: normal;
  }

  .team-history-card {
    padding: 18px;
  }

  .team-history-card h2 {
    font-size: 27px;
  }

  .team-history-card p {
    font-size: 16px;
  }

  .team-spotlight-main {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
  }

  .team-spotlight-side span {
    min-width: 48px;
    min-height: 30px;
    padding: 5px 8px;
  }

  .team-season-games-list .games-row {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 8px;
  }

  .team-season-games-list .games-time,
  .team-season-games-list .games-result,
  .team-season-games-list .games-group,
  .team-season-games-list .games-arena,
  .team-season-games-list .games-link {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    justify-self: stretch;
    text-align: left;
  }

  .team-season-games-list .games-time::before,
  .team-season-games-list .games-result::before,
  .team-season-games-list .games-group::before,
  .team-season-games-list .games-arena::before,
  .team-season-games-list .games-link::before {
    content: attr(data-label);
    color: #647386;
    font-size: 12px;
    font-weight: 950 !important;
    line-height: 1.1;
    text-transform: uppercase;
  }
}

@media (max-width: 520px) {
  .team-overview-card {
    padding: 16px 12px;
  }

  .team-overview-season {
    font-size: 13px;
  }

  .team-overview-main h1 {
    font-size: clamp(34px, 12.5vw, 48px);
  }

  .team-overview-facts {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .team-overview-fact + .team-overview-fact {
    border-top: 1px solid #d8e4f1;
    border-left: 0;
  }

  .team-overview-controls {
    flex-direction: column;
  }

  .team-overview-site {
    width: 100%;
  }

  .team-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-overview-highlight {
    padding: 14px;
  }

  .team-roster-table table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .team-roster-table th:nth-child(4),
  .team-roster-table td:nth-child(4),
  .team-roster-table th:nth-child(5),
  .team-roster-table td:nth-child(5),
  .team-roster-table th:nth-child(7),
  .team-roster-table td:nth-child(7) {
    display: none;
  }

  .team-roster-table th,
  .team-roster-table td {
    padding: 13px 10px;
    font-size: 14px;
  }

  .team-roster-table th:first-child,
  .team-roster-table td:first-child {
    width: 52px;
  }

  .team-roster-table th:nth-child(3),
  .team-roster-table td:nth-child(3),
  .team-roster-table th:nth-child(6),
  .team-roster-table td:nth-child(6) {
    width: 48px;
    text-align: center;
  }

  .team-roster-table th:nth-child(2),
  .team-roster-table td:nth-child(2) {
    width: auto;
    overflow-wrap: anywhere;
  }
}

.single-hhlm_player {
  background:
    linear-gradient(135deg, rgba(236, 247, 255, 0.9) 0 12%, transparent 12.2%),
    linear-gradient(315deg, rgba(223, 242, 255, 0.95) 0 11%, transparent 11.2%),
    #f4f8fc;
}

.player-page-shell {
  width: min(100% - 20px, 1412px);
  margin: 0 auto;
  padding: 4px 0 22px;
  color: #082654;
}

.player-page-content {
  display: grid;
  gap: 18px;
}

.player-profile-hero,
.player-panel {
  border: 1px solid #d9e6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(8, 38, 84, 0.08);
}

.player-profile-hero {
  display: grid;
  grid-template-columns: 368px minmax(390px, 1fr) 392px;
  column-gap: 26px;
  row-gap: 18px;
  align-items: start;
  padding: 26px 30px;
}

.player-id-card {
  position: relative;
  grid-row: 1 / 3;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid #cfe0f2;
  border-radius: 8px;
  background: #eff7ff;
}

.player-id-card__ice {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 68%, rgba(30, 107, 202, 0.2) 68.2% 70%, transparent 70.2%),
    linear-gradient(135deg, transparent 0 73%, rgba(30, 107, 202, 0.45) 73.2% 75%, transparent 75.2%),
    radial-gradient(ellipse at 44% 31%, transparent 0 34%, rgba(44, 111, 190, 0.26) 34.4% 35%, transparent 35.4%),
    repeating-linear-gradient(135deg, rgba(0, 87, 173, 0.08) 0 1px, transparent 1px 17px),
    #edf6ff;
}

.player-id-card__ice::after {
  content: "";
  position: absolute;
  inset: 78px auto auto -28px;
  width: 128px;
  height: 60px;
  background: repeating-linear-gradient(135deg, rgba(22, 111, 205, 0.22) 0 3px, transparent 3px 13px);
  clip-path: polygon(0 30%, 100% 0, 78% 80%, 0 100%);
}

.player-id-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-id-card__initials {
  position: absolute;
  inset: 0 0 38px;
  display: grid;
  place-items: center;
  color: #062a60;
  font-size: 68px;
  font-weight: 900 !important;
  line-height: 1;
}

.player-id-card__number {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 96px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(63deg, #062a60 0 76%, transparent 76.5%);
  color: #fff;
  font-size: 22px;
  font-weight: 900 !important;
  line-height: 1;
  z-index: 2;
}

.player-id-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 13px;
  background: linear-gradient(90deg, #2f90ff, #0069db);
}

.player-profile-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.player-name-block {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.player-name-block span,
.player-current-team-card__copy span,
.player-summary-card__head span,
.player-season-strip span {
  color: #3970bd;
  font-size: 12px;
  font-weight: 800 !important;
  letter-spacing: 0;
  text-transform: uppercase;
}

.player-name-block h1 {
  margin: 0;
  color: #062a60;
  font-size: clamp(52px, 4.8vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.player-current-team-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 146px;
  padding: 20px 26px;
  border: 1px solid #d9e6f4;
  border-radius: 8px;
  background: #fff;
}

.player-current-team-card__logo {
  display: grid;
  place-items: center;
}

.player-current-team-card__logo img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.player-current-team-card__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.player-current-team-card__copy strong {
  overflow-wrap: anywhere;
  color: #081f49;
  font-size: clamp(28px, 2.2vw, 32px);
  line-height: 1.05;
}

.player-current-team-card__copy p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0 0;
  color: #153866;
  font-size: 18px;
  font-weight: 800 !important;
}

.player-current-team-card__copy em,
.player-current-team-card__copy b {
  font-style: normal;
  font-weight: 800 !important;
}

.player-current-team-card__copy i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #9db7d5;
}

.player-summary-cards {
  display: grid;
  gap: 10px;
}

.player-summary-card {
  min-height: 120px;
  padding: 18px 22px 16px;
  border: 1px solid #d9e6f4;
  border-radius: 8px;
  background: #fff;
}

.player-summary-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.player-summary-card__head b {
  color: #4d6790;
  font-size: 14px;
  line-height: 1.2;
  text-align: right;
}

.player-summary-card__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.player-summary-card__stats span {
  display: grid;
  gap: 8px;
  min-width: 0;
  border-left: 1px solid #dce7f3;
  text-align: center;
}

.player-summary-card__stats span:first-child {
  border-left: 0;
}

.player-summary-card__stats small {
  color: #4671ad;
  font-size: 12px;
  font-weight: 700 !important;
  line-height: 1;
  text-transform: uppercase;
}

.player-summary-card__stats strong {
  color: #062a60;
  font-size: 30px;
  font-weight: 900 !important;
  line-height: 1;
}

.player-season-strip {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid #d9e6f4;
  border-radius: 8px;
  background: #f9fcff;
  color: #2c4b76;
}

.player-season-strip b {
  min-width: 0;
  color: #2c4b76;
  font-size: 14px;
  line-height: 1.35;
}

.player-content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
  align-items: start;
}

.player-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.player-points-panel {
  grid-row: span 2;
}

.player-panel__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dce7f3;
}

.player-awards-panel .player-panel__heading {
  border-bottom: 0;
  padding-bottom: 0;
}

.player-panel__heading h2 {
  margin: 0;
  color: #082654;
  font-size: 22px;
  line-height: 1.05;
}

.player-section-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #2f83ef;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-structure-table,
.player-points-table {
  min-width: 0;
}

.player-events-table {
  min-width: 620px;
}

.player-events-table {
  min-width: 760px;
}

.player-page-shell .table-card {
  overflow: auto;
  border: 1px solid #dce7f3;
  border-radius: 7px;
  background: #fff;
}

.player-page-shell .hhl-table {
  width: 100%;
  border-collapse: collapse;
  color: #1b365d;
  font-size: 14px;
}

.player-page-shell .hhl-table th,
.player-page-shell .hhl-table td {
  height: 34px;
  padding: 8px 12px;
  border-bottom: 1px solid #e3ebf5;
  vertical-align: middle;
}

.player-page-shell .hhl-table tr:last-child td {
  border-bottom: 0;
}

.player-page-shell .hhl-table th {
  color: #6887b0;
  font-size: 10px;
  font-weight: 900 !important;
  text-align: left;
  text-transform: uppercase;
}

.player-page-shell .hhl-table strong {
  font-weight: 800 !important;
}

.player-structure-table td,
.player-points-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.player-points-table th:first-child,
.player-points-table td:first-child {
  width: 94px;
}

.player-points-table th:nth-child(2),
.player-points-table td:nth-child(2) {
  width: 30%;
}

.player-points-table th:last-child,
.player-points-table td:last-child {
  width: 72px;
}

.player-season-groups {
  display: grid;
  gap: 16px;
}

.player-season-group {
  display: grid;
  gap: 8px;
}

.player-season-group h3 {
  position: relative;
  margin: 0;
  padding-left: 13px;
  color: #123869;
  font-size: 16px;
  line-height: 1.2;
}

.player-season-group h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: #2f83ef;
}

.player-empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid #dce7f3;
  border-radius: 8px;
  background: #fbfdff;
  color: #7592b8;
  font-size: 13px;
  font-weight: 800 !important;
}

.player-empty-card__icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px dashed #bcd5f3;
  border-radius: 999px;
  fill: none;
  stroke: #78adf4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-empty-text {
  margin: 0;
  color: #5f789e;
  font-weight: 700 !important;
}

.player-event-match {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 420px;
}

.player-event-team {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.player-event-team img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.player-event-team span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.player-event-vs {
  flex: 0 0 auto;
  color: #6b86a8;
  font-size: 11px;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.player-points-table td:last-child,
.player-points-table th:last-child,
.player-events-table td:last-child,
.player-events-table th:last-child,
.player-structure-table td:nth-last-child(-n + 5),
.player-structure-table th:nth-last-child(-n + 5) {
  text-align: center;
}

@media (max-width: 1180px) {
  .player-profile-hero {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .player-summary-cards {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-season-strip {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .player-content-grid,
  .player-profile-hero,
  .player-summary-cards {
    grid-template-columns: 1fr;
  }

  .player-id-card {
    min-height: 330px;
  }

  .player-name-block h1 {
    font-size: 46px;
  }

  .player-current-team-card {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 18px;
  }

  .player-current-team-card__logo img {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 560px) {
  .player-page-shell {
    width: min(100% - 12px, 1412px);
  }

  .player-profile-hero,
  .player-panel {
    padding: 12px;
  }

  .player-id-card {
    min-height: 280px;
  }

  .player-current-team-card,
  .player-season-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .player-summary-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-summary-card__head b {
    text-align: left;
  }

  .player-panel__heading h2 {
    font-size: 19px;
  }
}

.single-hhlm_player {
  background:
    linear-gradient(180deg, rgba(234, 243, 252, 0.95), rgba(247, 250, 253, 0.98) 420px),
    #f7f9fc;
}

.player-page-shell {
  width: min(100% - 32px, 1420px);
  padding: 18px 0 42px;
}

.player-profile-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(260px, 360px) minmax(330px, 1fr) minmax(320px, 390px);
  gap: clamp(16px, 2vw, 30px);
  padding: clamp(18px, 2.6vw, 34px);
  border-color: rgba(1, 99, 186, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 255, 0.96) 55%, rgba(239, 247, 255, 0.96) 100%);
  box-shadow: 0 18px 48px rgba(8, 38, 84, 0.11);
}

.player-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 64%, rgba(1, 99, 186, 0.055) 64.2% 76%, transparent 76.2%),
    linear-gradient(90deg, rgba(1, 99, 186, 0.08), transparent 34%);
}

.player-profile-hero > * {
  position: relative;
  z-index: 1;
}

.player-id-card {
  min-height: 390px;
  border-color: rgba(1, 99, 186, 0.2);
  background: #eaf4ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 16px 34px rgba(8, 38, 84, 0.1);
}

.player-id-card__photo {
  object-position: center;
}

.player-id-card__photo--placeholder {
  padding: clamp(28px, 5vw, 58px);
  object-fit: contain;
}

.player-id-card__number {
  min-width: 116px;
  height: 52px;
  padding-inline: 24px 34px;
  background: linear-gradient(65deg, #062a60 0 78%, transparent 78.5%);
  font-size: 26px;
}

.player-id-card::after {
  height: 15px;
  background: linear-gradient(90deg, #0163ba, #42a5ff);
}

.player-name-block {
  gap: 10px;
  padding-top: 6px;
}

.player-name-block h1 {
  max-width: 8.8em;
  color: #082654;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.96;
}

.player-current-team-card,
.player-summary-card,
.player-season-strip,
.player-panel {
  border-color: rgba(1, 99, 186, 0.15);
  box-shadow: 0 10px 24px rgba(8, 38, 84, 0.055);
}

.player-current-team-card {
  min-height: 160px;
  padding: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, 0.86);
}

.player-current-team-card__logo {
  width: 118px;
  height: 118px;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  background: #fff;
}

.player-current-team-card__logo img {
  width: 88px;
  height: 88px;
}

.player-current-team-card__copy strong {
  color: #0b244f;
  font-size: clamp(26px, 2.3vw, 34px);
}

.player-current-team-card__copy p {
  flex-wrap: wrap;
  color: #153866;
}

.player-summary-cards {
  gap: 12px;
}

.player-summary-card {
  min-height: 124px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
}

.player-summary-card__head b {
  color: #1e477c;
}

.player-summary-card__stats span {
  padding: 0 8px;
}

.player-summary-card__stats strong {
  color: #082654;
  font-size: clamp(28px, 2.4vw, 36px);
}

.player-season-strip {
  align-items: start;
  min-height: 66px;
  padding: 15px 22px;
  background: rgba(255, 255, 255, 0.82);
}

.player-season-strip b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.player-content-grid {
  gap: 16px;
}

.player-panel {
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px);
  background: rgba(255, 255, 255, 0.96);
}

.player-panel__heading {
  min-height: 38px;
  padding-bottom: 12px;
}

.player-panel__heading h2 {
  font-size: clamp(20px, 1.55vw, 28px);
}

.player-page-shell .table-card {
  border-color: rgba(1, 99, 186, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.player-page-shell .hhl-table th {
  height: 42px;
  background: #f5f9fd;
  color: #496a96;
}

.player-page-shell .hhl-table td {
  height: 46px;
}

.player-page-shell .hhl-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.player-page-shell .hhl-table tbody tr:hover td {
  background: #eef6ff;
}

.player-season-tabs {
  gap: 10px;
}

.player-season-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f8fbff;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.player-season-tabs button:hover,
.player-season-tabs button:focus-visible,
.player-season-tabs button.is-active {
  border-color: #1267d8;
  background: #1267d8;
  color: #fff;
}

.player-events-panel {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .player-profile-hero {
    grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  }

  .player-profile-main {
    align-self: stretch;
    align-content: start;
  }
}

@media (max-width: 900px) {
  .player-page-shell {
    width: min(100% - 24px, 1420px);
    padding-top: 12px;
  }

  .player-profile-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .player-id-card {
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .player-name-block h1 {
    max-width: 100%;
    font-size: clamp(42px, 10vw, 66px);
  }

  .player-current-team-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .player-current-team-card__logo {
    width: 92px;
    height: 92px;
  }

  .player-current-team-card__logo img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 640px) {
  .player-page-shell {
    width: min(100% - 16px, 1420px);
    padding-bottom: 28px;
  }

  .player-page-content {
    gap: 14px;
  }

  .player-profile-hero {
    padding: 12px;
    border-radius: 8px;
  }

  .player-id-card {
    aspect-ratio: 1 / 0.92;
  }

  .player-id-card__number {
    min-width: 92px;
    height: 44px;
    font-size: 22px;
  }

  .player-current-team-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .player-current-team-card__logo {
    width: 72px;
    height: 72px;
  }

  .player-current-team-card__logo img {
    width: 56px;
    height: 56px;
  }

  .player-current-team-card__copy strong {
    font-size: 24px;
  }

  .player-current-team-card__copy p {
    font-size: 16px;
  }

  .player-summary-cards {
    gap: 10px;
  }

  .player-summary-card {
    min-height: 0;
    padding: 14px;
  }

  .player-summary-card__head {
    gap: 5px;
    margin-bottom: 12px;
  }

  .player-summary-card__stats {
    gap: 8px;
  }

  .player-summary-card__stats span {
    min-height: 64px;
    align-content: center;
    border: 1px solid #e2edf7;
    border-radius: 8px;
    background: #fbfdff;
  }

  .player-summary-card__stats span:first-child {
    border-left: 1px solid #e2edf7;
  }

  .player-summary-card__stats strong {
    font-size: 28px;
  }

  .player-season-strip {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    min-height: 0;
    padding: 14px;
  }

  .player-season-strip b {
    grid-column: 1 / -1;
    -webkit-line-clamp: 4;
  }

  .player-panel {
    padding: 14px;
  }

  .player-panel__heading h2 {
    font-size: 20px;
  }

  .player-page-shell .table-card {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .player-page-shell .hhl-table,
  .player-page-shell .hhl-table thead,
  .player-page-shell .hhl-table tbody,
  .player-page-shell .hhl-table tr,
  .player-page-shell .hhl-table th,
  .player-page-shell .hhl-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .player-page-shell .hhl-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .player-page-shell .hhl-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .player-page-shell .hhl-table tbody {
    display: grid;
    gap: 10px;
  }

  .player-page-shell .hhl-table tr {
    padding: 12px;
    border: 1px solid #dce7f3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(8, 38, 84, 0.045);
  }

  .player-page-shell .hhl-table td,
  .player-page-shell .hhl-table tbody tr:nth-child(even) td,
  .player-page-shell .hhl-table tbody tr:hover td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 34px;
    height: auto;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f8;
    background: transparent;
    text-align: right !important;
  }

  .player-page-shell .hhl-table td:last-child {
    border-bottom: 0;
  }

  .player-page-shell .hhl-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #6684aa;
    font-size: 11px;
    font-weight: 900 !important;
    text-align: left;
    text-transform: uppercase;
  }

  .player-page-shell .hhl-table td:first-child {
    align-items: flex-start;
    color: #0b2a5d;
    font-size: 16px;
    font-weight: 900 !important;
  }

  .player-event-team {
    min-width: 0;
  }

  .player-event-team span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .player-profile-hero {
    gap: 12px;
  }

  .player-id-card {
    aspect-ratio: 1 / 1;
  }

  .player-name-block h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .player-current-team-card {
    grid-template-columns: 1fr;
  }

  .player-current-team-card__logo {
    width: 76px;
    height: 76px;
  }

  .player-summary-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Blog archive and single post visuals */
.blog-archive-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(1, 99, 186, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% -14%, rgba(130, 196, 239, 0.38), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.blog-archive-hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.98;
}

.blog-archive-hero p {
  margin: 0;
  max-width: 74ch;
  color: #597088;
}

.blog-archive-grid {
  gap: 20px;
}

.blog-post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: clip;
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 99, 186, 0.28);
  box-shadow: 0 20px 40px rgba(0, 28, 62, 0.14);
}

.blog-post-card::after {
  display: none;
}

.blog-post-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8f3fb;
}

.blog-post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.blog-post-card:hover .blog-post-card-media img {
  transform: scale(1.04);
}

.blog-post-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 18px 20px;
}

.blog-post-card-date {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #d8e8f5;
  border-radius: 999px;
  color: var(--hhl-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-post-card h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.04;
}

.blog-post-card h2 a {
  color: var(--hhl-navy);
}

.blog-post-card p {
  margin: 0;
  color: #5a7085;
}

.blog-post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 4px;
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-single {
  max-width: 860px;
  margin-inline: auto;
  border-radius: 12px;
}

.blog-single-header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.blog-single-header h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #566f88;
  font-size: 14px;
}

.blog-single-hero {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 12px;
}

.blog-single-content {
  color: #1f3a56;
}

.blog-single-content > *:first-child {
  margin-top: 0;
}

.blog-single-content p,
.blog-single-content li {
  font-size: 18px;
  line-height: 1.72;
}

.blog-single-content h2,
.blog-single-content h3 {
  margin-top: 1.35em;
}

.blog-single-content blockquote {
  margin: 28px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--hhl-blue);
  background: #f4f9ff;
  color: #2f4f6e;
}

.blog-single-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-single-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 18px auto 0;
}

.blog-single-nav > div {
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--hhl-line);
  border-radius: 10px;
  background: #fff;
}

.blog-single-nav > div:last-child {
  text-align: right;
}

.blog-single-nav a {
  color: var(--hhl-blue);
  font-size: 14px;
  font-weight: 900;
}

.content-shell .navigation.pagination {
  margin-top: 8px;
}

.content-shell .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.content-shell .nav-links a,
.content-shell .nav-links span {
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--hhl-line);
  border-radius: 8px;
  background: #fff;
  color: #45617d;
  font-weight: 800;
}

.content-shell .nav-links .current {
  border-color: var(--hhl-blue);
  background: #eaf5ff;
  color: var(--hhl-blue);
}

.content-shell ul.page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.content-shell ul.page-numbers li {
  margin: 0;
}

.content-shell ul.page-numbers a,
.content-shell ul.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--hhl-line);
  border-radius: 8px;
  background: #fff;
  color: #45617d;
  font-weight: 800;
}

.content-shell ul.page-numbers .current {
  border-color: var(--hhl-blue);
  background: #eaf5ff;
  color: var(--hhl-blue);
}

@media (max-width: 980px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }

  .blog-single-content p,
  .blog-single-content li {
    font-size: 17px;
    line-height: 1.62;
  }

  .blog-single-nav {
    grid-template-columns: 1fr;
  }

  .blog-single-nav > div:last-child {
    text-align: left;
  }
}

.hockey-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(118deg, rgba(1, 99, 186, 0.12) 0 18%, transparent 18.2% 100%),
    linear-gradient(118deg, transparent 0 74%, rgba(201, 34, 45, 0.1) 74.2% 75.4%, transparent 75.6% 100%),
    #ffffff;
  box-shadow: inset 0 -1px 0 var(--hhl-line);
}

.hockey-blog-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 150px;
  height: 12px;
  background: #c9222d;
  transform: skewX(-28deg);
}

.hockey-blog-hero h1 {
  max-width: 780px;
  font-size: 3.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hockey-blog-hero p {
  max-width: 680px;
  font-size: 1.06rem;
}

.hockey-blog-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-post-card-featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  grid-template-rows: auto;
  min-height: 360px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.blog-post-card-featured .blog-post-card-media {
  aspect-ratio: auto;
  min-height: 360px;
}

.blog-post-card-featured .blog-post-card-body {
  align-content: center;
  padding: 30px;
}

.blog-post-card-featured h2 {
  font-size: 2.25rem;
  line-height: 1;
}

.blog-post-card-featured p {
  font-size: 1rem;
  line-height: 1.62;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-post-category {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(201, 34, 45, 0.2);
  border-radius: 999px;
  background: rgba(201, 34, 45, 0.06);
  color: #9d1821;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-post-card-fallback,
.blog-single-hero-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px),
    linear-gradient(118deg, rgba(130, 196, 239, 0.26) 0 30%, transparent 30.2% 100%),
    var(--hhl-navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.blog-single {
  position: relative;
  overflow: hidden;
  border: 0;
  box-shadow: 0 18px 42px rgba(0, 28, 62, 0.1);
}

.blog-single::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--hhl-blue), var(--hhl-ice) 55%, #c9222d);
}

.blog-single-header h1 {
  font-size: 3.75rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.blog-single-meta span,
.blog-single-meta time {
  display: inline-flex;
  align-items: center;
}

.blog-single-meta span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 999px;
  background: #c9222d;
}

.blog-single-hero-fallback {
  min-height: 320px;
}

.blog-single-hero-fallback span {
  font-size: 4rem;
}

@media (max-width: 980px) {
  .hockey-blog-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-post-card-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hockey-blog-hero {
    padding: 22px 18px;
  }

  .hockey-blog-hero::after {
    right: 18px;
    bottom: 18px;
    width: 86px;
  }

  .hockey-blog-hero h1,
  .blog-single-header h1 {
    font-size: 2.55rem;
  }

  .hockey-blog-layout,
  .blog-post-card-featured {
    grid-template-columns: 1fr;
  }

  .blog-post-card-featured .blog-post-card-media {
    min-height: 230px;
  }

  .blog-post-card-featured .blog-post-card-body {
    padding: 20px;
  }

  .blog-post-card-featured h2 {
    font-size: 1.7rem;
  }
}

.players-archive-page {
  display: grid;
  gap: 20px;
}

.players-archive-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(1, 99, 186, 0.2);
  border-radius: var(--hhl-radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.95) 0 56%, rgba(223, 241, 252, 0.85) 56% 100%),
    linear-gradient(145deg, rgba(130, 196, 239, 0.2), rgba(1, 99, 186, 0.08));
  overflow: hidden;
}

.players-archive-hero::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -20px;
  width: 240px;
  height: 84px;
  background: linear-gradient(90deg, rgba(1, 99, 186, 0.18), rgba(130, 196, 239, 0.32));
  transform: rotate(-18deg);
}

.players-archive-hero-inner,
.players-archive-kpis {
  position: relative;
  z-index: 1;
}

.players-archive-hero h1 {
  margin: 8px 0 10px;
  max-width: 16ch;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
}

.players-archive-hero p {
  max-width: 58ch;
  margin: 0;
  color: #4a657f;
  font-size: 17px;
}

.players-archive-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.players-kpi-card {
  padding: 14px;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(0, 28, 62, 0.08);
}

.players-kpi-card span {
  display: block;
  color: #60758a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.players-kpi-card strong {
  display: block;
  margin-top: 6px;
  color: var(--hhl-navy);
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1;
}

.players-archive-toolbar {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: var(--hhl-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 255, 0.92));
}

.players-archive-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.players-insight-card {
  padding: 14px;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: 8px;
  background: #fff;
}

.players-insight-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.players-insight-card ul {
  margin: 0;
  padding-left: 18px;
}

.players-insight-card p {
  margin: 0 0 10px;
}

.players-filter-form {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, minmax(0, 180px)) auto auto;
  gap: 10px;
  align-items: center;
}

.players-filter-form input,
.players-filter-form select,
.players-filter-form button,
.players-filter-reset {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(1, 99, 186, 0.24);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.players-filter-form button {
  padding-inline: 16px;
  background: var(--hhl-navy);
  border-color: var(--hhl-navy);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
}

.players-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hhl-navy);
  font-weight: 800;
  text-transform: uppercase;
}

.players-results-count {
  margin: 0;
  color: #566f86;
}

.players-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.players-archive-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(1, 99, 186, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 28, 62, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.players-archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 99, 186, 0.35);
  box-shadow: 0 20px 34px rgba(0, 28, 62, 0.13);
}

.players-archive-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf4fc, #f8fcff);
}

.players-archive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.players-archive-card:hover .players-archive-card-media img {
  transform: scale(1.04);
}

.players-archive-card-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--hhl-blue);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
}

.players-archive-status {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.players-archive-status.is-active {
  background: rgba(2, 140, 62, 0.16);
  color: #056734;
}

.players-archive-status.is-inactive {
  background: rgba(101, 114, 128, 0.18);
  color: #3f4a54;
}

.players-archive-card-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.players-archive-card-body h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
}

.players-archive-meta {
  display: grid;
  gap: 6px;
  color: #4e667e;
  font-size: 14px;
}

.players-archive-link {
  width: fit-content;
  color: var(--hhl-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .players-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .players-filter-form button,
  .players-filter-reset {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .players-archive-hero {
    grid-template-columns: 1fr;
  }

  .players-archive-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .players-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .players-archive-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .players-archive-grid,
  .players-filter-form {
    grid-template-columns: 1fr;
  }

  .players-archive-insights {
    grid-template-columns: 1fr;
  }
}

.post-type-archive-hhlm_team {
  background: #f7fbff;
}

.players-page-v2 {
  --players-navy: #061f49;
  --players-blue: #1474d8;
  --players-muted: #687c98;
  --players-line: #dbe8f6;
  --players-soft: #f6faff;
  background: #ffffff;
  color: var(--players-navy);
}

.players-v2-container {
  width: min(100% - 80px, 1840px);
  margin: 0 auto;
}

.players-v2-hero {
  position: relative;
  min-height: 286px;
  padding: 32px 0 32px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0 54%, rgba(255, 255, 255, 0.7) 66%, rgba(255, 255, 255, 0.12) 100%),
    linear-gradient(115deg, rgba(244, 249, 255, 0.98) 0 42%, rgba(225, 240, 252, 0.72) 42% 64%, rgba(255, 255, 255, 0) 64%),
    url("../../../../photo/DAC557DE-2AEF-4164-92DA-760B91954632.jpeg") right 40px center / 760px auto no-repeat,
    #f7fbff;
  border-bottom: 1px solid #eef4fb;
}

.players-v2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 64%, rgba(4, 31, 73, 0.06) 64.2% 68%, transparent 68.2%),
    radial-gradient(circle at 72% 8%, rgba(20, 116, 216, 0.12), transparent 28%);
}

.players-v2-logo {
  position: absolute;
  right: 74px;
  top: 76px;
  z-index: 1;
  width: 220px;
  opacity: 0.28;
  filter: grayscale(1);
  transform: rotate(-11deg);
}

.players-v2-breadcrumbs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: #9aacc3;
  font-size: 13px;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.players-v2-breadcrumbs a,
.players-v2-breadcrumbs span:last-child {
  font-weight: 800 !important;
}

.players-v2-breadcrumbs span:last-child {
  color: var(--players-blue);
}

.players-v2-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0;
  color: var(--players-navy);
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
}

.players-v2-hero p {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 10px 0 22px;
  color: #58708f;
  font-size: 17px;
}

.players-v2-kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 238px);
  gap: 18px;
}

.players-v2-kpi {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 78px;
  padding: 14px 20px;
  border: 1px solid var(--players-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(6, 31, 73, 0.04);
}

.players-v2-kpi-icon {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f0f6ff;
  color: var(--players-blue);
}

.players-v2-kpi svg,
.players-v2-insight svg,
.players-v2-search svg,
.players-v2-reset svg,
.players-v2-avatar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.players-v2-kpi span:not(.players-v2-kpi-icon) {
  color: #7b90ac;
  font-size: 12px;
  font-weight: 800 !important;
  line-height: 1.05;
  text-transform: uppercase;
}

.players-v2-kpi strong {
  color: var(--players-navy);
  font-size: 32px;
  font-weight: 800 !important;
  line-height: 0.95;
}

.players-v2-content {
  display: grid;
  gap: 22px;
  padding: 30px 0 16px;
}

.players-v2-insights {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.35fr;
  gap: 14px;
}

.players-v2-insight {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  min-height: 126px;
  padding: 28px 24px;
  border: 1px solid var(--players-line);
  border-radius: 6px;
  background: #fff;
}

.players-v2-insight > span {
  color: var(--players-navy);
}

.players-v2-insight h2 {
  margin: 0 0 12px;
  color: #38506f;
  font-size: 14px;
  font-weight: 800 !important;
  line-height: 1.15;
  text-transform: uppercase;
}

.players-v2-insight p {
  margin: 0 0 8px;
  color: var(--players-navy);
  font-size: 16px;
  font-weight: 600 !important;
}

.players-v2-insight a {
  font-weight: 600 !important;
}

.players-v2-toolbar {
  display: grid;
  gap: 14px;
}

.players-v2-filter {
  display: grid;
  grid-template-columns: minmax(320px, 1.5fr) minmax(170px, 0.64fr) minmax(190px, 0.82fr) minmax(170px, 0.64fr) 146px 146px;
  gap: 30px;
  align-items: center;
}

.players-v2-search {
  position: relative;
}

.players-v2-search span {
  position: absolute;
  left: 20px;
  top: 50%;
  color: #6e86a5;
  transform: translateY(-50%);
}

.players-v2-filter input,
.players-v2-filter select,
.players-v2-filter button,
.players-v2-reset,
.players-v2-sort select {
  width: 100%;
  height: 56px;
  border: 1px solid var(--players-line);
  border-radius: 6px;
  background: #fff;
  color: var(--players-navy);
  font-size: 15px;
  outline: none;
  box-shadow: 0 8px 24px rgba(6, 31, 73, 0.03);
}

.players-v2-filter input {
  padding: 0 18px 0 58px;
}

.players-v2-filter select,
.players-v2-sort select {
  padding: 0 42px 0 20px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #17375f 50%) calc(100% - 24px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #17375f 50%, transparent 50%) calc(100% - 19px) 50% / 7px 7px no-repeat,
    #fff;
}

.players-v2-filter button {
  border-color: #072650;
  background: #072650;
  color: #fff;
  font-size: 14px;
  font-weight: 800 !important;
  text-transform: uppercase;
  cursor: pointer;
}

.players-v2-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--players-blue);
  font-size: 14px;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.players-v2-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.players-v2-toolbar-row p {
  margin: 0;
  color: #7185a0;
  font-size: 16px;
}

.players-v2-toolbar-row strong {
  color: var(--players-navy);
  font-weight: 800 !important;
}

.players-v2-sort label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7185a0;
  white-space: nowrap;
}

.players-v2-sort select {
  width: 235px;
  height: 44px;
}

.players-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
}

.players-v2-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--players-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 31, 73, 0.035);
}

.players-v2-card-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 72px;
  align-items: center;
  min-height: 142px;
  padding: 22px 22px 22px 30px;
}

.players-v2-rank {
  position: absolute;
  left: 6px;
  top: 6px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--players-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800 !important;
  line-height: 1;
}

.players-v2-avatar {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d5e3f4;
  border-radius: 50%;
  background: #f3f7fd;
  color: #5a85c7;
}

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

.players-v2-info {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding-left: 18px;
}

.players-v2-info strong {
  display: grid;
  color: var(--players-navy);
  font-size: 20px;
  font-weight: 800 !important;
  line-height: 1.08;
}

.players-v2-info strong span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800 !important;
}

.players-v2-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #52637a;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.players-v2-meta img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}

.players-v2-score {
  display: grid;
  justify-items: end;
  align-content: center;
  color: #111;
  text-align: right;
}

.players-v2-score strong {
  color: #06080b;
  font-size: 40px;
  font-weight: 500 !important;
  line-height: 0.94;
}

.players-v2-score span {
  margin-top: 2px;
  color: #111;
  font-size: 15px;
  font-weight: 500 !important;
  line-height: 1;
}

.players-v2-score em {
  color: #697181;
  font-size: 13px;
  font-style: normal;
  line-height: 1.1;
  text-transform: uppercase;
}

.players-v2-empty {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--players-line);
  border-radius: 6px;
  color: #7185a0;
  text-align: center;
}
.pagination{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
}
.players-page-v2 .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px auto 0;
  padding: 0;
  list-style: none;
}

.players-page-v2 a.page-numbers,
.players-page-v2 span.page-numbers {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--players-line);
  border-radius: 6px;
  background: #fff;
  color: var(--players-navy);
  font-size: 16px;
  font-weight: 700 !important;
}

.players-page-v2 span.page-numbers.current {
  border-color: var(--players-blue);
  background: var(--players-blue);
  color: #fff;
}

@media (max-width: 1280px) {
  .players-v2-container {
    width: min(100% - 40px, 1180px);
  }

  .players-v2-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .players-v2-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .players-v2-hero {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78)),
      url("../../../../photo/DAC557DE-2AEF-4164-92DA-760B91954632.jpeg") right center / cover no-repeat,
      #f7fbff;
  }

  .players-v2-logo {
    display: none;
  }

  .players-v2-kpis,
  .players-v2-insights,
  .players-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .players-v2-filter {
    grid-template-columns: 1fr 1fr;
  }

  .players-v2-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 680px) {
  .players-v2-container {
    width: min(100% - 28px, 560px);
  }

  .players-v2-hero {
    min-height: 0;
    padding: 24px 0;
  }

  .players-v2-hero h1 {
    font-size: 34px;
  }

  .players-v2-kpis,
  .players-v2-insights,
  .players-v2-filter,
  .players-v2-grid {
    grid-template-columns: 1fr;
  }

  .players-v2-toolbar-row {
    align-items: stretch;
    flex-direction: column;
  }

  .players-v2-sort label,
  .players-v2-sort select {
    width: 100%;
  }

  .players-v2-card-link {
    grid-template-columns: 72px minmax(0, 1fr) 62px;
    min-height: 118px;
    padding: 18px 16px 18px 22px;
  }

  .players-v2-avatar {
    width: 64px;
    height: 64px;
  }

  .players-v2-info {
    padding-left: 10px;
  }

  .players-v2-info strong {
    font-size: 18px;
  }

  .players-v2-score strong {
    font-size: 34px;
  }
}

.teams-archive-page {
  --teams-blue: #1684f8;
  --teams-navy: #071c42;
  --teams-muted: #5b6e8c;
  --teams-line: #dce8f6;
  --teams-soft: #f3f8ff;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 36px;
  color: var(--teams-navy);
  background:
    linear-gradient(180deg, #f9fcff 0, #f7fbff 230px, #f8fbff 100%);
}

.teams-archive-hero {
  position: relative;
  min-height: 242px;
  overflow: hidden;
  border-bottom: 1px solid var(--teams-line);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0 54%, rgba(233, 244, 255, 0.82) 54% 100%),
    linear-gradient(130deg, transparent 0 59%, rgba(48, 143, 245, 0.11) 59% 67%, transparent 67% 100%),
    #f9fcff;
}

.teams-archive-hero-inner,
.teams-archive-content {
  width: min(100% - 108px, 1788px);
  margin-inline: auto;
}

.teams-archive-hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 0 27px;
}

.teams-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 20px;
  margin-bottom: 18px;
  color: var(--teams-blue);
  font-size: 13px;
  font-weight: 800 !important;
  line-height: 1;
  text-transform: uppercase;
}

.teams-breadcrumbs a,
.teams-breadcrumbs span {
  font-weight: 800 !important;
}

.teams-breadcrumbs span[aria-hidden] {
  color: #9bb6d8;
  font-size: 20px;
}

.teams-archive-hero h1 {
  max-width: 820px;
  margin: 0 0 9px;
  color: var(--teams-navy);
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: 0;
}

.teams-archive-hero p {
  max-width: 780px;
  margin: 0;
  color: #526886;
  font-size: 17px;
  line-height: 1.38;
}

.teams-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
}

.teams-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 17px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #4e6382;
  box-shadow: 0 10px 28px rgba(8, 55, 103, 0.04);
  font-size: 15px;
  font-weight: 700 !important;
}

.teams-hero-meta svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--teams-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.teams-hero-meta img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.92;
}

.teams-hero-mark {
  position: absolute;
  z-index: 0;
  top: -28px;
  right: 86px;
  width: 292px;
  height: 292px;
  object-fit: contain;
  opacity: 0.12;
  transform: rotate(-8deg);
}

.teams-archive-content {
  padding-top: 24px;
}

.teams-filter-form {
  display: grid;
  grid-template-columns: minmax(260px, 426px) minmax(190px, 230px) minmax(180px, 224px) minmax(210px, 226px) auto;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
}

.teams-search-control,
.teams-select-control,
.teams-filter-reset {
  height: 48px;
  border: 1px solid var(--teams-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 78, 134, 0.035);
}

.teams-search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
}

.teams-search-control svg,
.teams-filter-reset svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.teams-search-control svg {
  color: #263a60;
}

.teams-search-control input,
.teams-select-control select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #15264d;
  font: inherit;
  font-size: 15px;
}

.teams-search-control input::placeholder {
  color: #6d7785;
}

.teams-select-control {
  position: relative;
  display: block;
}

.teams-select-control::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 26px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #17305d;
  border-bottom: 2px solid #17305d;
  pointer-events: none;
  transform: rotate(45deg);
}

.teams-select-control select {
  height: 100%;
  padding: 0 56px 0 18px;
  appearance: none;
  cursor: pointer;
}

.teams-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  justify-self: end;
  min-width: 228px;
  padding: 0 18px;
  border-color: transparent;
  background: #edf5ff;
  color: var(--teams-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.teams-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px 15px;
}

.teams-card {
  min-width: 0;
}

.teams-card-link {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 196px;
  padding: 14px 16px 0;
  overflow: hidden;
  border: 1px solid var(--teams-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 74, 134, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.teams-card-link:hover,
.teams-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 132, 248, 0.45);
  box-shadow: 0 14px 30px rgba(17, 74, 134, 0.09);
}

.teams-card-topline {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 4px;
}

.teams-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #168047;
  font-size: 11px;
  line-height: 1;
}

.teams-status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #13b95f;
}

.teams-group-pill {
  display: inline-flex;
  align-items: center;
  max-width: 110px;
  min-height: 28px;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 5px;
  background: #edf5ff;
  color: var(--teams-blue);
  font-size: 13px;
  font-weight: 800 !important;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teams-card-main {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 70px;
  margin-top: -15px;
}

.teams-card-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}

.teams-card-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 7px rgba(7, 28, 66, 0.16));
}

.teams-card h2 {
  display: -webkit-box;
  min-height: 1.14em;
  max-width: 240px;
  margin: 0;
  overflow: hidden;
  color: var(--teams-navy);
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.teams-card p {
  margin: 2px 0 0;
  color: #526886;
  font-size: 14px;
  line-height: 1.1;
  text-transform: uppercase;
}

.teams-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0 10px;
  padding: 0;
}

.teams-card-stats div {
  min-width: 0;
}

.teams-card-stats dt {
  margin: 0 0 2px;
  color: #667c9c;
  font-size: 12px;
  line-height: 1.15;
}

.teams-card-stats dd {
  margin: 0;
  color: var(--teams-navy);
  font-size: 17px;
  font-weight: 800 !important;
  line-height: 1.1;
}

.teams-card-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0 -16px;
  padding: 0 16px;
  border-top: 1px solid #e5edf6;
  color: var(--teams-blue);
  font-size: 15px;
  font-weight: 800 !important;
}

.teams-card-cta span {
  font-size: 20px;
  line-height: 1;
}

.teams-empty-state {
  padding: 28px;
}

@media (max-width: 1440px) {
  .teams-archive-hero-inner,
  .teams-archive-content {
    width: min(100% - 56px, 1788px);
  }

  .teams-filter-form {
    gap: 18px;
    grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(170px, 0.8fr)) auto;
  }
}

@media (max-width: 1180px) {
  .teams-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teams-filter-reset {
    justify-self: stretch;
  }

  .teams-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .teams-archive-hero-inner,
  .teams-archive-content {
    width: min(100% - 32px, 1788px);
  }

  .teams-archive-hero h1 {
    font-size: 38px;
  }

  .teams-hero-mark {
    right: -40px;
    opacity: 0.08;
  }

  .teams-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .teams-archive-hero {
    min-height: 0;
  }

  .teams-archive-hero-inner {
    padding: 24px 0;
  }

  .teams-archive-hero h1 {
    font-size: 32px;
  }

  .teams-hero-meta,
  .teams-filter-form,
  .teams-card-grid {
    grid-template-columns: 1fr;
  }

  .teams-hero-meta {
    display: grid;
    gap: 10px;
  }

  .teams-filter-form {
    gap: 12px;
  }
}

.seasons-archive-page {
  --seasons-blue: #1684f8;
  --seasons-navy: #071c42;
  --seasons-muted: #526886;
  --seasons-line: #dce8f6;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 42px;
  color: var(--seasons-navy);
  background: linear-gradient(180deg, #f8fcff 0, #f3f8ff 280px, #f8fbff 100%);
}

.seasons-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--seasons-line);
  background:
    linear-gradient(90deg, rgba(7, 28, 66, 0.94) 0 44%, rgba(7, 28, 66, 0.68) 64%, rgba(7, 28, 66, 0.18) 100%),
    url("../../../../photo/74F45709-1FA2-4F9A-AC17-B12C380D1164.jpeg") right center / min(880px, 58vw) auto no-repeat,
    #071c42;
  color: #fff;
}

.seasons-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(123deg, transparent 0 58%, rgba(255, 255, 255, 0.22) 58.2% 58.7%, transparent 59%),
    linear-gradient(126deg, transparent 0 68%, rgba(22, 132, 248, 0.14) 68.2% 78%, transparent 78.2%);
}

.seasons-hero-inner,
.seasons-archive-content {
  width: min(100% - 108px, 1788px);
  margin-inline: auto;
}

.seasons-hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 0 30px;
}

.seasons-breadcrumbs,
.seasons-breadcrumbs a,
.seasons-breadcrumbs span {
  color: #dcecff;
}

.seasons-breadcrumbs span[aria-hidden] {
  color: rgba(220, 236, 255, 0.64);
}

.seasons-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 384px);
  gap: 34px;
  align-items: end;
}

.seasons-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #82c4ef;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.seasons-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.seasons-hero p {
  max-width: 740px;
  margin: 16px 0 0;
  color: #c9dbf0;
  font-size: 18px;
  line-height: 1.46;
}

.seasons-hero-card {
  display: grid;
  gap: 14px;
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(220, 236, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.seasons-hero-card span,
.seasons-hero-card a,
.seasons-hero-meta span,
.seasons-card-head span,
.seasons-card-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.seasons-hero-card span {
  color: #dcecff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.seasons-hero-card strong {
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.seasons-hero-card a {
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  background: #1684f8;
  color: #fff;
  font-weight: 850;
  text-transform: uppercase;
}

.seasons-hero svg,
.seasons-card svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.seasons-hero-card a svg {
  width: 19px;
  height: 19px;
}

.seasons-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.seasons-hero-meta span {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(220, 236, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #dcecff;
  font-size: 14px;
  font-weight: 750;
}

.seasons-hero-meta b {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.seasons-archive-content {
  padding-top: 28px;
}

.seasons-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seasons-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  min-height: 334px;
  overflow: hidden;
  border: 1px solid var(--seasons-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 74, 134, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seasons-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 132, 248, 0.42);
  box-shadow: 0 18px 34px rgba(17, 74, 134, 0.1);
}

.seasons-card.is-current {
  border-color: rgba(22, 132, 248, 0.48);
  background:
    linear-gradient(135deg, rgba(237, 245, 255, 0.72), rgba(255, 255, 255, 0.96) 42%),
    #fff;
}

.seasons-card-head {
  padding: 20px 20px 12px;
}

.seasons-card-head span {
  margin-bottom: 13px;
  color: var(--seasons-blue);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.seasons-card h2 {
  margin: 0;
  color: var(--seasons-navy);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.seasons-card h2 a {
  color: inherit;
}

.seasons-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0 20px 18px;
}

.seasons-stat-grid div {
  min-width: 0;
  padding: 0 12px;
  border-left: 1px solid #e5edf6;
}

.seasons-stat-grid div:first-child {
  padding-left: 0;
  border-left: 0;
}

.seasons-stat-grid dt {
  margin: 0 0 4px;
  color: #667c9c;
  font-size: 12px;
  line-height: 1.15;
}

.seasons-stat-grid dd {
  margin: 0;
  color: var(--seasons-navy);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.seasons-leaders {
  display: grid;
  align-self: start;
  gap: 8px;
  margin: 0 20px 20px;
  padding: 13px;
  border-radius: 8px;
  background: #f3f8ff;
  list-style: none;
}

.seasons-leaders li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  color: #36506f;
  font-size: 14px;
}

.seasons-leaders span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seasons-leaders b {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  border-radius: 5px;
  background: #fff;
  color: var(--seasons-blue);
  font-size: 14px;
}

.seasons-card-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e5edf6;
}

.seasons-card-actions a {
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  padding: 0 8px;
  color: var(--seasons-blue);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.seasons-card-actions a + a {
  border-left: 1px solid #e5edf6;
}

.seasons-card-actions svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1180px) {
  .seasons-hero-inner,
  .seasons-archive-content {
    width: min(100% - 56px, 1788px);
  }

  .seasons-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .seasons-hero-card {
    max-width: 420px;
  }

  .seasons-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .seasons-hero {
    background:
      linear-gradient(180deg, rgba(7, 28, 66, 0.98), rgba(7, 28, 66, 0.86)),
      url("../../../../photo/74F45709-1FA2-4F9A-AC17-B12C380D1164.jpeg") center / cover no-repeat,
      #071c42;
  }

  .seasons-hero-inner,
  .seasons-archive-content {
    width: min(100% - 32px, 1788px);
  }

  .seasons-hero-inner {
    padding: 24px 0;
  }

  .seasons-hero h1 {
    font-size: 38px;
  }

  .seasons-hero-card strong {
    font-size: 30px;
  }

  .seasons-hero-meta,
  .seasons-card-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seasons-card {
    min-height: 0;
  }

  .seasons-stat-grid,
  .seasons-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seasons-stat-grid {
    gap: 12px 0;
  }

  .seasons-stat-grid div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .seasons-card-actions a:nth-child(3) {
    border-left: 0;
  }
}

/* HHL history page */
.history-shell {
  width: min(100% - 32px, 1060px);
  margin: 36px auto 70px;
}

.history-page {
  display: grid;
  gap: 24px;
}

.history-hero {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--hhl-line);
  border-radius: 18px;
  background:
    radial-gradient(120% 200% at 0% 0%, rgba(130, 196, 239, 0.28) 0%, rgba(130, 196, 239, 0) 55%),
    linear-gradient(135deg, #ffffff 0%, #f3f8fc 100%);
  overflow: hidden;
}

.history-kicker {
  margin: 0 0 10px;
  color: var(--hhl-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.history-hero h1 {
  margin: 0;
  color: var(--hhl-navy);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
}

.history-lead {
  max-width: 76ch;
  margin: 14px 0 0;
  color: #21374f;
  font-size: 18px;
  line-height: 1.65;
}

.history-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.history-fact {
  padding: 16px 14px;
  border: 1px solid var(--hhl-line);
  border-radius: 14px;
  background: #ffffff;
}

.history-fact span {
  display: block;
  color: #5b6b7c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.history-fact strong {
  display: block;
  margin-top: 8px;
  color: var(--hhl-navy);
  font-size: 20px;
  line-height: 1.2;
}

.history-section,
.history-timeline {
  padding: 26px 24px;
  border: 1px solid var(--hhl-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 28, 62, 0.06);
}

.history-section h2,
.history-timeline h2 {
  margin: 0 0 12px;
  color: var(--hhl-navy);
  font-size: clamp(24px, 3.6vw, 34px);
}

.history-section p {
  margin: 0;
  color: #263b52;
  line-height: 1.75;
}

.history-section p + p {
  margin-top: 14px;
}

.history-timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.history-timeline-item {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7fbff 0%, #edf5fb 100%);
  border: 1px solid #d6e7f5;
}

.history-timeline-item h3 {
  margin: 0 0 8px;
  color: var(--hhl-blue);
  font-size: 21px;
}

.history-timeline-item p {
  margin: 0;
  color: #23394f;
  line-height: 1.65;
}

.history-signoff {
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--hhl-navy);
  color: #d5e8f8;
}

.history-signoff p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .history-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-timeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .history-shell {
    width: min(100% - 18px, 1060px);
    margin-top: 22px;
  }

  .history-hero,
  .history-section,
  .history-timeline,
  .history-signoff {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .history-facts {
    grid-template-columns: 1fr;
  }

  .history-lead {
    font-size: 16px;
  }
}

.history-content-prose p {
  margin: 0;
}

.history-content-prose p + p {
  margin-top: 18px;
}

.history-content-prose h2,
.history-content-prose h3 {
  margin: 28px 0 12px;
  color: var(--hhl-navy);
}

.history-content-prose ul,
.history-content-prose ol {
  margin: 14px 0 14px 20px;
}

.history-content-prose {
  max-width: 900px;
  margin-inline: auto;
}

.history-content-prose p {
  color: #20364d;
  font-size: 18px;
  line-height: 1.85;
  text-wrap: pretty;
}

.history-content-prose p:first-child {
  margin: 0 0 10px;
  color: var(--hhl-navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900 !important;
  letter-spacing: -0.01em;
}

.history-content-prose p:nth-child(2) {
  padding: 18px 18px 18px 22px;
  border-left: 4px solid var(--hhl-blue);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(130, 196, 239, 0.18) 0%, rgba(130, 196, 239, 0) 100%);
  color: #1d3650;
  font-size: 19px;
}

.history-content-prose p:nth-child(n + 3) {
  padding: 18px 20px;
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fbfdff;
  box-shadow: 0 6px 18px rgba(0, 28, 62, 0.04);
}

.history-content-prose p:nth-child(n + 3):hover {
  border-color: #c3d7ea;
  background: #ffffff;
}

.history-content-prose p:nth-child(n + 3):first-letter {
  color: var(--hhl-blue);
  font-size: 1.25em;
  font-weight: 800;
}

@media (max-width: 640px) {
  .history-content-prose p {
    font-size: 16px;
    line-height: 1.75;
  }

  .history-content-prose p:nth-child(2),
  .history-content-prose p:nth-child(n + 3) {
    padding: 14px 14px;
    border-radius: 10px;
  }
}

/* Contacts and about league reference layouts */
.contacts-v2-page,
.about-v2 {
  margin: 0;
  background: #ffffff;
  color: #061f49;
}

.contacts-v2-container,
.about-v2-container {
  width: min(100% - 64px, 1840px);
  margin: 0 auto;
}

.contacts-v2-hero {
  position: relative;
  min-height: 214px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(255, 255, 255, 0.64) 68%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(120deg, rgba(242, 248, 255, 0.96) 0 40%, rgba(222, 239, 253, 0.72) 40% 62%, rgba(255, 255, 255, 0) 62%),
    url("../../../../photo/37A81DE4-2D5E-4019-99F7-5C9F296E55BE.jpeg") right center / 720px auto no-repeat,
    #f4f9ff;
  border-bottom: 1px solid #e7f0fb;
}

.contacts-v2-hero::after,
.about-v2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(123deg, transparent 0 58%, rgba(255, 255, 255, 0.42) 58.2% 58.7%, transparent 59%),
    linear-gradient(126deg, transparent 0 68%, rgba(20, 116, 216, 0.09) 68.2% 78%, transparent 78.2%);
}

.contacts-v2-hero h1,
.about-v2-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #061f49;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.contacts-v2-hero h1::after {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-top: 22px;
  border-radius: 999px;
  background: #1f74d8;
}

.contacts-v2-hero p,
.about-v2-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 20px 0 0;
  color: #506783;
  font-size: 19px;
  line-height: 1.55;
}

.contacts-v2-content,
.about-v2-content {
  display: grid;
  gap: 22px;
  padding: 24px 0 44px;
}

.contacts-v2-org,
.contacts-v2-person,
.contacts-v2-questions,
.contacts-v2-form,
.about-v2-mission,
.about-v2-timeline article {
  border: 1px solid #dbe8f6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(6, 31, 73, 0.06);
}

.contacts-v2-org {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 184px;
  padding: 30px 42px;
}

.contacts-v2-icon {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #edf5ff;
  color: #1f74d8;
}

.contacts-v2-icon-large {
  width: 122px;
  height: 122px;
}

.contacts-v2 svg,
.about-v2 svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-v2-icon-large svg {
  width: 56px;
  height: 56px;
}

.contacts-v2 h2,
.contacts-v2 h3,
.about-v2 h2,
.about-v2 h3 {
  margin: 0;
  color: #061f49;
  letter-spacing: 0;
}

.contacts-v2-org h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.contacts-v2-org p,
.contacts-v2-person a {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contacts-v2-org p {
  margin: 18px 0 0;
  color: #354c69;
  font-size: 18px;
  font-weight: 700;
}

.contacts-v2-org p + p {
  margin-top: 14px;
}

.contacts-v2-org p svg,
.contacts-v2-person a svg,
.contacts-v2-note svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #1f74d8;
}

.contacts-v2-org a,
.contacts-v2-person a {
  color: #1f74d8;
  font-weight: 800;
}

.contacts-v2-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contacts-v2-person {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 150px;
  padding: 22px 26px;
}

.contacts-v2-person .contacts-v2-icon {
  width: 104px;
  height: 104px;
}

.contacts-v2-person h3 {
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.05;
}

.contacts-v2-person p,
.contacts-v2-form p,
.contacts-v2-questions > p,
.about-v2 p {
  margin: 8px 0 0;
  color: #5b6f8b;
  line-height: 1.55;
}

.contacts-v2-person a {
  margin-top: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contacts-v2-bottom {
  display: grid;
  grid-template-columns: 1.05fr 0.88fr;
  gap: 22px;
}

.contacts-v2-questions,
.contacts-v2-form {
  padding: 28px;
}

.contacts-v2-question-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contacts-v2-question-grid article {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 218px;
  padding: 28px 16px 24px;
  border: 1px solid #dbe8f6;
  border-radius: 6px;
  background: #ffffff;
  text-align: center;
}

.contacts-v2-question-grid span {
  color: #1f74d8;
}

.contacts-v2-question-grid span svg {
  width: 44px;
  height: 44px;
}

.contacts-v2-question-grid strong {
  color: #061f49;
  font-size: 18px;
  line-height: 1.15;
}

.contacts-v2-question-grid em {
  color: #667c98;
  font-style: normal;
}

.contacts-v2-question-grid b {
  padding: 8px 18px;
  border-radius: 999px;
  background: #e9f3ff;
  color: #1f74d8;
}

.contacts-v2-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f1f6fd;
  color: #5b6f8b;
  font-weight: 700;
}

.contacts-v2-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 14px;
}

.contacts-v2-form label {
  display: grid;
  gap: 7px;
  color: #4e6480;
  font-size: 14px;
  font-weight: 800;
}

.contacts-v2-full,
.contacts-v2-form button {
  grid-column: 1 / -1;
}

.contacts-v2-form input,
.contacts-v2-form select,
.contacts-v2-form textarea {
  width: 100%;
  border: 1px solid #d5e2f0;
  border-radius: 6px;
  background: #ffffff;
  color: #061f49;
  font: inherit;
  outline: none;
}

.contacts-v2-form input,
.contacts-v2-form select {
  height: 44px;
  padding: 0 14px;
}

.contacts-v2-form textarea {
  min-height: 76px;
  padding: 12px 14px;
  resize: vertical;
}

.contacts-v2-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: #1267d8;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.contacts-v2-form button svg {
  width: 22px;
  height: 22px;
}

.about-v2-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 23, 54, 0.98) 0 44%, rgba(0, 31, 73, 0.78) 62%, rgba(0, 31, 73, 0.28) 100%),
    url("../../../../photo/DAC557DE-2AEF-4164-92DA-760B91954632.jpeg") right center / 780px auto no-repeat,
    #061f49;
  color: #ffffff;
}

.about-v2-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #9fb5d0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-v2-breadcrumbs a,
.about-v2-breadcrumbs span:last-child {
  color: #dcecff;
}

.about-v2-hero h1,
.about-v2-hero p {
  color: #ffffff;
}

.about-v2-hero p {
  color: #c9dbf0;
}

.about-v2-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.64fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.about-v2-mission-text {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 26px;
}

.about-v2-mission-text > span,
.about-v2-stats span,
.about-v2-timeline article > span {
  color: #1f74d8;
}

.about-v2-mission-text h2 {
  font-size: 20px;
}

.about-v2-stats {
  display: grid;
  gap: 24px;
  padding-left: 34px;
  border-left: 1px solid #dbe8f6;
}

.about-v2-stats article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
}

.about-v2-stats span {
  grid-row: 1 / 3;
}

.about-v2-stats em {
  color: #7a8da6;
  font-size: 12px;
  font-style: normal;
}

.about-v2-stats strong {
  color: #061f49;
  font-size: 17px;
  line-height: 1.2;
}

.about-v2-timeline h2 {
  margin: 10px 0 24px;
  font-size: 30px;
}

.about-v2-timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.about-v2-timeline-grid::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 18px;
  height: 2px;
  background: #cfe0f2;
}

.about-v2-timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 214px;
  padding: 44px 20px 22px;
}

.about-v2-timeline article b {
  position: absolute;
  left: 18px;
  top: -12px;
  padding: 8px 13px;
  border-radius: 5px;
  background: #1f74d8;
  color: #ffffff;
  font-size: 12px;
}

.about-v2-timeline article > span svg {
  width: 36px;
  height: 36px;
}

.about-v2-timeline h3 {
  font-size: 15px;
}

.about-v2-timeline p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.about-v2-bottom {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
}

.about-v2-map,
.about-v2-why {
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
}

.about-v2-map {
  padding: 34px;
  background:
    radial-gradient(circle at 82% 16%, rgba(45, 139, 245, 0.8), transparent 5%),
    radial-gradient(circle at 70% 56%, rgba(45, 139, 245, 0.75), transparent 5%),
    radial-gradient(circle at 54% 72%, rgba(45, 139, 245, 0.7), transparent 5%),
    linear-gradient(135deg, rgba(6, 31, 73, 0.96), rgba(0, 22, 50, 0.98));
  color: #ffffff;
}

.about-v2-map h2,
.about-v2-map p {
  color: #ffffff;
}

.about-v2-map div {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.about-v2-map span {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
}

.about-v2-why {
  display: grid;
  align-items: center;
  padding: 28px 36px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 58%, rgba(255, 255, 255, 0.66) 75%, rgba(255, 255, 255, 0.16) 100%),
    url("../../../../photo/5D30D192-6B5B-4FFC-8F4D-A9543582F4D3.jpeg") right center / 360px auto no-repeat,
    #ffffff;
  border: 1px solid #dbe8f6;
}

.about-v2-why ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-v2-why li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #405976;
  font-weight: 700;
}

.about-v2-why li svg {
  width: 18px;
  height: 18px;
  color: #1f74d8;
}

.about-v2-quote {
  max-width: 980px;
  margin: 4px auto 0;
  padding: 40px 80px;
  border: 0;
  color: #74879f;
  text-align: center;
}

.about-v2-quote p {
  position: relative;
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.about-v2-quote p::before,
.about-v2-quote p::after {
  position: absolute;
  top: -20px;
  color: #d8e4f1;
  font-size: 70px;
  line-height: 1;
}

.about-v2-quote p::before {
  content: "“";
  left: -58px;
}

.about-v2-quote p::after {
  content: "”";
  right: -58px;
}

.about-v2-quote cite {
  display: block;
  margin-top: 14px;
  color: #7f91a9;
  font-style: normal;
  font-weight: 800;
}

.about-v2-afterword {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(230px, 0.36fr);
  gap: 28px;
  align-items: end;
  margin-top: 12px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 8px;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(240, 247, 255, 0.9) 52% 100%),
    #ffffff;
  box-shadow: 0 16px 34px rgba(6, 31, 73, 0.08);
}

.about-v2-afterword::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #1f74d8, #82c4ef);
}

.about-v2-afterword-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #edf5ff;
  color: #1f74d8;
}

.about-v2-afterword-mark svg {
  width: 30px;
  height: 30px;
}

.about-v2-afterword-copy {
  position: relative;
  z-index: 1;
}

.about-v2-afterword-copy > span,
.about-v2-author span {
  display: inline-flex;
  color: #1f74d8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-v2-afterword-copy h2,
.about-v2-afterword-content h2,
.about-v2-afterword-content h3 {
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.about-v2-afterword-content > *:first-child {
  margin-top: 8px;
}

.about-v2-afterword-content > *:last-child {
  margin-bottom: 0;
}

.about-v2-afterword-copy p,
.about-v2-afterword-content li {
  max-width: 980px;
  margin-top: 16px;
  color: #354c69;
  font-size: 18px;
}

.about-v2-afterword-content ul,
.about-v2-afterword-content ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.about-v2-author {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-left: 1px solid #d3e2f3;
}

.about-v2-author strong,
.about-v2-author em {
  display: block;
}

.about-v2-author strong {
  margin-top: 9px;
  color: #061f49;
  font-size: 20px;
  line-height: 1.15;
}

.about-v2-author em {
  margin-top: 8px;
  color: #70849e;
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .contacts-v2-people,
  .contacts-v2-bottom,
  .about-v2-mission,
  .about-v2-bottom,
  .about-v2-afterword {
    grid-template-columns: 1fr;
  }

  .contacts-v2-question-grid,
  .about-v2-timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-v2-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid #dbe8f6;
  }
}

@media (max-width: 760px) {
  .contacts-v2-container,
  .about-v2-container {
    width: min(100% - 28px, 1840px);
  }

  .contacts-v2-hero,
  .about-v2-hero {
    min-height: 260px;
    background-position: right -260px center;
  }

  .contacts-v2-org,
  .contacts-v2-person,
  .contacts-v2-form form,
  .about-v2-mission-text,
  .about-v2-stats {
    grid-template-columns: 1fr;
  }

  .contacts-v2-org,
  .contacts-v2-person,
  .contacts-v2-questions,
  .contacts-v2-form,
  .about-v2-mission {
    padding: 22px;
  }

  .contacts-v2-question-grid,
  .about-v2-timeline-grid {
    grid-template-columns: 1fr;
  }

  .about-v2-timeline-grid::before {
    display: none;
  }

  .about-v2-why {
    background: #ffffff;
  }

  .about-v2-quote {
    padding: 0 18px;
  }

  .about-v2-quote p {
    font-size: 18px;
  }

  .about-v2-quote p::before,
  .about-v2-quote p::after {
    display: none;
  }

  .about-v2-afterword {
    gap: 18px;
    padding: 24px 22px;
  }

  .about-v2-author {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #d3e2f3;
  }
}

/* News redesign */
.news-shell {
  width: min(100% - 44px, 1880px);
  margin: 0 auto 46px;
  color: #091d48;
}

.news-hero {
  position: relative;
  min-height: 190px;
  margin-inline: calc((100vw - min(100vw, 1880px)) / -2);
  padding: 24px max(22px, calc((100vw - 1880px) / 2 + 28px)) 14px;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.9) 58%, rgba(248, 252, 255, 0.55) 100%),
    radial-gradient(circle at 72% 40%, rgba(1, 99, 186, 0.14), transparent 28%),
    var(--news-hero-photo) right 8px top 50% / auto 220px no-repeat,
    #f3f8fd;
  overflow: hidden;
}

.news-hero::before {
  content: "HHL";
  position: absolute;
  right: 300px;
  top: 24px;
  color: rgba(9, 29, 72, 0.06);
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transform: skew(-10deg);
}

.news-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #071a47;
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: 0;
}

.news-hero p {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 12px 0 18px;
  color: #38517c;
  font-size: 15px;
}

.news-stat-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 220px));
  gap: 38px;
}

.news-stat-tabs a,
.news-filter-bar,
.news-feature-card,
.news-card-modern,
.news-widget,
.news-article,
.news-related-card {
  border: 1px solid #dfe9f6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 26px rgba(8, 38, 92, 0.06);
}

.news-stat-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 18px;
  color: #1b3264;
  font-size: 13px;
  font-weight: 800 !important;
}

.news-stat-tabs span {
  color: #0868da;
  font-size: 20px;
  line-height: 1;
}

.news-stat-tabs b {
  position: absolute;
  right: -7px;
  top: -8px;
  min-width: 30px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0868da;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
}

.news-filter-bar {
  margin: 18px 0 10px;
  padding: 16px 22px;
}

.news-filter-bar form {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr) minmax(220px, 0.85fr) 250px;
  gap: 26px;
}

.news-filter-bar label {
  position: relative;
  min-width: 0;
}

.news-filter-bar input,
.news-filter-bar select,
.news-filter-bar button {
  width: 100%;
  height: 42px;
  border: 1px solid #d9e4f2;
  border-radius: 6px;
  background: #fff;
  color: #1e3568;
  font: inherit;
  font-size: 13px;
}

.news-filter-bar input {
  padding: 0 44px 0 18px;
}

.news-filter-bar select {
  padding: 0 18px;
  appearance: auto;
}

.news-filter-bar button {
  border-color: transparent;
  background: #f4f8fe;
  color: #0868da;
  font-weight: 900 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 16px;
  align-items: start;
    margin-top: 30px;
}

.news-feed {
  min-width: 0;
}

.news-feature-card {
  display: grid;
  grid-template-columns: minmax(420px, 44%) minmax(0, 1fr);
  gap: 28px;
  min-height: 250px;
  padding: 8px 20px 8px 8px;
}

.news-feature-image img {
  width: 100%;
  height: 232px;
  object-fit: cover;
  border-radius: 7px;
}

.news-feature-body {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.news-badge {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 4px;
  background: #e9f2ff;
  color: #0868da;
  font-size: 11px;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-feature-body h2,
.news-article-header h1 {
  margin: 0;
  color: #071a47;
  font-size: 28px;
  line-height: 1.08;
}

.news-feature-body p {
  max-width: 62ch;
  margin: 0;
  color: #53658c;
  font-size: 15px;
  line-height: 1.45;
}

.news-feature-body time,
.news-card-modern time,
.news-mini-card time,
.news-related-card time {
  color: #6b7ca0;
  font-size: 12px;
}

.news-primary-link {
  justify-self: end;
  align-self: end;
  min-width: 252px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #075fd2;
  color: #fff;
  font-size: 13px;
  font-weight: 900 !important;
  text-align: center;
  text-transform: uppercase;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.news-card-modern {
  overflow: hidden;
}

.news-card-image {
  position: relative;
  display: block;
}

.news-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-image span {
  position: absolute;
  left: 10px;
  top: 9px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 4px;
  background: #0868da;
  color: #fff;
  font-size: 10px;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-modern > div {
  display: grid;
  gap: 5px;
  min-height: 126px;
  padding: 9px 14px 12px;
}

.news-card-modern h3 {
  margin: 0;
  color: #0a1f4c;
  font-size: 16px;
  line-height: 1.15;
}

.news-card-modern p {
  margin: 0;
  color: #53658c;
  font-size: 13px;
  line-height: 1.35;
}

.news-read-more {
  color: #0868da;
  font-size: 13px;
  font-weight: 900 !important;
}

.news-sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.news-widget {
  padding: 18px 22px;
}

.news-widget h2 {
  margin: 0 0 14px;
  color: #0a1f4c;
  font-size: 20px;
  line-height: 1.15;
}

.news-mini-list {
  display: grid;
  gap: 16px;
}

.news-mini-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.news-mini-card img {
  width: 130px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.news-mini-card span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.news-mini-card strong,
.news-related-card strong {
  color: #0a1f4c;
  font-size: 14px;
  font-weight: 900 !important;
  line-height: 1.2;
}

.news-widget-link {
  display: block;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid #dfe9f6;
  border-radius: 6px;
  color: #0868da;
  font-size: 13px;
  font-weight: 900 !important;
  text-align: center;
  text-transform: uppercase;
}

.news-match-list {
  display: grid;
  gap: 8px;
}

.news-match-card {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(82px, 1.1fr) minmax(64px, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 104px;
  padding: 12px 10px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: inset 0 -1px 0 #d9dee5;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.news-match-card:hover {
  background: #f8fbfd;
  box-shadow: inset 0 -3px 0 var(--hhl-blue);
}

.news-match-main {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.news-match-time {
  color: #5b6f99;
  font-size: 12px;
  font-weight: 800 !important;
  line-height: 1.15;
}

.news-match-time strong {
  display: block;
  color: #0868da;
  font-size: 18px;
  font-weight: 950 !important;
  line-height: 1.05;
}

.news-match-team {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.news-match-team img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 999px;
  background: #f4f6f8;
}

.news-match-team span {
  max-width: 68px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f3f3f4;
  color: #303941;
  font-size: 13px;
  font-weight: 950 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-match-card b {
  color: #0a1f4c;
  font-size: 18px;
  font-weight: 950 !important;
  letter-spacing: 0.02em;
  text-align: center;
}

.news-match-card em {
  color: #7a87a5;
  font-size: 11px;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 1.2;
  text-align: center;
}

.news-empty {
  padding: 24px;
  border: 1px solid #dfe9f6;
  border-radius: 8px;
  background: #fff;
}

.news-shell .navigation.pagination {
  margin: 12px auto 0;
}

.news-shell .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.news-shell .page-numbers {
  display: inline-grid;
  min-width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid #dfe9f6;
  border-radius: 6px;
  background: #fff;
  color: #0a1f4c;
  font-size: 14px;
}

.news-shell .page-numbers.current {
  background: #0868da;
  color: #fff;
}

.news-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  color: #53658c;
  font-size: 13px;
}

.news-single-grid {
  grid-template-columns: minmax(0, 1fr) 580px;
}

.news-article {
  padding: 22px 28px 18px;
}

.news-article-header {
  display: grid;
  gap: 10px;
  margin: -22px -28px 18px;
  padding: 36px 34px 30px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(90deg, rgba(0, 23, 54, 0.98) 0 50%, rgba(0, 31, 73, 0.72) 72%, rgba(0, 31, 73, 0.36) 100%),
    linear-gradient(123deg, transparent 0 60%, rgba(255, 255, 255, 0.34) 60.2% 60.7%, transparent 61%),
    #061f49;
}

.news-article-header h1 {
  max-width: 980px;
  font-size: 36px;
  color: #ffffff;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.news-article-meta a,
.news-article-meta button {
  display: inline-grid;
  width: 42px;
  height: 30px;
  place-items: center;
  border: 1px solid #dfe9f6;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #0868da;
  font: inherit;
  font-size: 12px;
  font-weight: 900 !important;
}

.news-article-hero {
  width: 100%;
  height: 220px;
  margin: 14px 0 12px;
  object-fit: cover;
  border-radius: 8px;
}

.news-article-content {
  color: #243b64;
  font-size: 15px;
  line-height: 1.55;
}

.news-article-content p {
  margin: 0 0 12px;
}

.news-article-lead,
.news-article-content > p:first-child {
  color: #1c315d;
  font-size: 16px;
}

.news-article-content h2,
.news-article-content h3 {
  margin: 22px 0 8px;
  color: #0a1f4c;
  font-size: 22px;
  line-height: 1.2;
}

.news-article-content blockquote {
  margin: 14px 0;
  padding: 16px 20px;
  border: 1px solid #dfe9f6;
  border-left: 0;
  border-radius: 8px;
  background: #f8fbff;
  color: #1e3568;
  font-size: 15px;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: #53658c;
  font-size: 13px;
}

.news-tags a {
  padding: 6px 16px;
  border: 1px solid #dfe9f6;
  border-radius: 5px;
  background: #f7fbff;
  color: #0868da;
  font-size: 12px;
}

.news-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.news-post-nav > div {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 12px 18px;
  border: 1px solid #dfe9f6;
  border-radius: 8px;
  background: #fff;
}

.news-post-nav span {
  color: #6b7ca0;
  font-size: 12px;
}

.news-post-nav a {
  color: #0a1f4c;
  font-size: 14px;
  font-weight: 900 !important;
  line-height: 1.2;
}

.news-author-widget {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.news-author-widget img {
  width: 112px;
  height: 82px;
  object-fit: contain;
  border: 1px solid #dfe9f6;
  border-radius: 8px;
  padding: 8px;
}

.news-author-widget p,
.news-subscribe-widget p {
  margin: 0;
  color: #53658c;
  font-size: 14px;
  line-height: 1.45;
}

.news-social-row {
  display: flex;
  gap: 14px;
  margin: 18px 0;
}

.news-social-row a {
  display: grid;
  width: 50px;
  height: 42px;
  place-items: center;
  border: 1px solid #dfe9f6;
  border-radius: 8px;
  color: #0868da;
  font-size: 12px;
  font-weight: 900 !important;
}

.news-subscribe-button {
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  background: #075fd2;
  color: #fff;
  font-size: 13px;
  font-weight: 900 !important;
  text-align: center;
  text-transform: uppercase;
}

.news-related-row {
  margin-top: 16px;
}

.news-related-row h2 {
  margin: 0 0 8px;
  color: #0a1f4c;
  font-size: 20px;
}

.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-related-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding: 8px;
}

.news-related-card img {
  width: 150px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.news-related-card span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.news-related-card em {
  color: #0868da;
  font-size: 12px;
  font-style: normal;
  font-weight: 900 !important;
}

@media (max-width: 1320px) {
  .news-page-grid,
  .news-single-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .news-filter-bar form,
  .news-stat-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 1020px) {
  .news-shell {
    width: min(100% - 24px, 1880px);
  }

  .news-page-grid,
  .news-single-grid,
  .news-feature-card,
  .news-related-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-feature-card {
    padding: 8px;
  }

  .news-feature-body {
    padding: 6px 8px 10px;
  }
}

@media (max-width: 720px) {
  .news-hero {
    margin-inline: -12px;
    padding: 22px 14px 14px;
    background:
      linear-gradient(90deg, rgba(248, 252, 255, 0.96), rgba(248, 252, 255, 0.88)),
      var(--news-hero-photo) right -86px top 20px / auto 180px no-repeat,
      #f3f8fd;
  }

  .news-hero::before {
    display: none;
  }

  .news-hero h1 {
    max-width: 280px;
    font-size: 38px;
  }

  .news-stat-tabs,
  .news-filter-bar form,
  .news-card-grid,
  .news-sidebar,
  .news-post-nav {
    grid-template-columns: 1fr;
  }

  .news-stat-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(178px, 72vw);
    gap: 10px;
    margin-inline: -14px;
    padding-inline: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    -webkit-overflow-scrolling: touch;
  }

  .news-stat-tabs a {
    scroll-snap-align: start;
  }

  .news-filter-bar {
    padding: 12px;
  }

  .news-feature-image img,
  .news-article-hero {
    height: 210px;
  }

  .news-feature-body h2,
  .news-article-header h1 {
    font-size: 25px;
  }

  .news-primary-link {
    justify-self: stretch;
    min-width: 0;
  }

  .news-mini-card,
  .news-related-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .news-mini-card img,
  .news-related-card img {
    width: 112px;
  }

  .news-match-card {
    grid-template-columns: minmax(58px, 1fr) minmax(82px, 1.15fr) minmax(58px, 1fr);
    padding-inline: 8px;
  }

.news-article {
  padding: 18px 14px;
}
}

@media (max-width: 420px) {
  .section-shell.shop-carousel-section {
    padding-inline: 8px;
  }

  .shop-carousel-track {
    gap: 10px;
  }

  .shop-product-card {
    flex-basis: 86%;
    max-width: 86%;
  }

  .shop-product-body {
    padding: 15px 15px 17px;
  }

  .shop-product-body strong {
    font-size: 17px;
  }
}

/* Final mobile override for shop carousel: keep original visual style, prevent horizontal page overflow. */
@media (max-width: 768px) {
  .section-shell.shop-carousel-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px 0 !important;
    padding-inline: 10px !important;
    overflow: hidden !important;
  }

  .shop-carousel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .shop-carousel-arrow {
    display: none !important;
  }

  .shop-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .shop-product-card {
    flex: 0 0 82% !important;
    max-width: 82% !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
    grid-template-rows: 210px minmax(140px, auto) !important;
  }
}

/* May 2026 polish pass */
.group-overview-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.group-overview-logos img,
.group-overview-team img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 999px;
  background: #f3f7fb;
}

.group-overview-team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.group-overview-team > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.group-overview-card-match {
  padding: 16px 18px;
}

.group-mini-scoreboard {
  display: grid;
  grid-template-columns: 68px minmax(96px, 1fr) 68px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: inherit;
  text-decoration: none;
}

.group-mini-team {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.group-mini-team img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 999px;
  background: #f3f7fb;
}

.group-mini-team b {
  max-width: 72px;
  color: #061f49;
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-mini-center {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.group-mini-center small {
  color: #637796;
  font-size: 12px;
  line-height: 1.15;
}

.group-mini-center strong {
  color: #061f49;
  font-size: 22px;
  line-height: 1;
}

.player-id-card__photo--placeholder {
  padding: 18px;
  object-fit: contain;
  background: #ffffff;
}

.player-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.player-season-tabs button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #d6e4f4;
  border-radius: 6px;
  background: #fff;
  color: #0b2a5d;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.player-season-tabs button.is-active {
  border-color: #1267d8;
  background: #1267d8;
  color: #fff;
}

.player-season-group[hidden] {
  display: none !important;
}

.team-overview-card {
  gap: 18px;
  padding: clamp(20px, 2.2vw, 36px) clamp(22px, 2.6vw, 44px) clamp(18px, 2vw, 32px);
  border-radius: 12px;
}

.team-overview-main h1 {
  font-size: clamp(50px, 5.15vw, 96px);
}

.team-overview-season {
  font-size: clamp(18px, 1.45vw, 24px);
}

.team-overview-facts {
  min-height: 50px;
  border-radius: 12px;
}

.team-overview-fact {
  min-height: 48px;
  padding: 0 14px;
  font-size: clamp(15px, 0.95vw, 20px);
}

.team-overview-side {
  gap: 16px;
  min-width: 240px;
}

.team-overview-side img {
  width: clamp(140px, 12vw, 220px);
}

.team-overview-select {
  width: clamp(230px, 20vw, 330px);
  min-height: 52px;
  border-radius: 12px;
  font-size: clamp(16px, 1vw, 22px);
}

.team-overview-stats {
  padding-top: 18px;
}

.team-overview-stat {
  gap: 6px;
  padding: 10px 12px;
}

.team-overview-stat span {
  font-size: clamp(14px, 0.9vw, 18px);
}

.team-overview-stat strong {
  font-size: clamp(34px, 2.45vw, 52px);
}

.news-shell {
  width: min(100% - 40px, 1760px);
}

.news-hero,
.contacts-v2-hero,
.teams-archive-hero {
  min-height: 300px;
  display: grid;
  align-items: center;
  padding: 44px max(24px, calc((100vw - 1760px) / 2 + 44px));
  background:
    linear-gradient(90deg, rgba(0, 23, 54, 0.98) 0 44%, rgba(0, 31, 73, 0.78) 62%, rgba(0, 31, 73, 0.28) 100%),
    linear-gradient(123deg, transparent 0 60%, rgba(255, 255, 255, 0.42) 60.2% 60.7%, transparent 61%),
    var(--news-hero-photo) right center / 760px auto no-repeat,
    #061f49;
}

.news-hero {
  margin-inline: calc((100vw - min(100vw, 1760px)) / -2);
}

.contacts-v2-hero {
  background:
    linear-gradient(90deg, rgba(0, 23, 54, 0.98) 0 44%, rgba(0, 31, 73, 0.78) 62%, rgba(0, 31, 73, 0.28) 100%),
    linear-gradient(123deg, transparent 0 60%, rgba(255, 255, 255, 0.42) 60.2% 60.7%, transparent 61%),
    url("../../../../photo/37A81DE4-2D5E-4019-99F7-5C9F296E55BE.jpeg") right center / 760px auto no-repeat,
    #061f49;
}

.teams-archive-hero {
  background:
    linear-gradient(90deg, rgba(0, 23, 54, 0.98) 0 44%, rgba(0, 31, 73, 0.78) 62%, rgba(0, 31, 73, 0.28) 100%),
    linear-gradient(123deg, transparent 0 60%, rgba(255, 255, 255, 0.42) 60.2% 60.7%, transparent 61%),
    url("../../../../photo/DAC557DE-2AEF-4164-92DA-760B91954632.jpeg") right center / 760px auto no-repeat,
    #061f49;
}

.news-hero::before {
  display: none;
}

.news-hero-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-hero-breadcrumbs a {
  color: #ffffff;
}

.news-hero h1,
.contacts-v2-hero h1,
.teams-archive-hero h1 {
  color: #ffffff;
  font-size: clamp(46px, 5.8vw, 88px);
}

.news-hero p,
.contacts-v2-hero p,
.teams-archive-hero p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.45;
}

.teams-breadcrumbs,
.teams-breadcrumbs a {
  color: rgba(255, 255, 255, 0.76);
}

.teams-hero-meta span {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.teams-hero-meta svg {
  color: #ffffff;
}

.news-stat-tabs {
  grid-template-columns: repeat(4, minmax(130px, 190px));
  gap: 12px;
}

.news-page-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.news-single-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.news-feature-image img,
.news-card-image img,
.news-mini-card img,
.news-related-card img {
  object-fit: contain;
  background: #f2f7fd;
}

.news-article-hero {
  display: block;
  height: auto;
  max-height: none;
  object-fit: cover;
  background: transparent;
  border-radius: 0;
}

.news-mini-card {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.news-mini-card img {
  width: 92px;
  height: 58px;
}

.news-widget {
  padding: 16px;
}

.news-match-card {
  grid-template-columns: minmax(58px, 1fr) minmax(82px, 1.15fr) minmax(58px, 1fr);
  gap: 8px;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 #d9dee5;
}

.news-match-time {
  font-size: 12px;
  line-height: 1.15;
}

.news-match-time strong {
  font-size: 18px;
}

.news-match-team img {
  width: 42px;
  height: 42px;
}

.news-match-team span {
  max-width: 68px;
}

.news-match-card em {
  grid-column: auto;
}

.news-social-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.news-social-row a {
  width: auto;
  min-width: 0;
}

.news-subscribe-widget {
  border-color: rgba(18, 103, 216, 0.28);
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}

.news-subscribe-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.news-subscribe-form input[type="email"] {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d6e4f4;
  border-radius: 6px;
  font: inherit;
}

.news-gdpr-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #53658c;
  font-size: 12px;
  line-height: 1.35;
}

.news-gdpr-check input {
  margin-top: 2px;
}

.news-subscribe-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contacts-v2-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.contacts-v2-form .wpcf7-form p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.contacts-v2-form .wpcf7-form p:has(textarea),
.contacts-v2-form .wpcf7-form p:has(input[type="submit"]),
.contacts-v2-form .wpcf7-response-output {
  grid-column: 1 / -1;
}

.contacts-v2-form .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.contacts-v2-form input[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: #1267d8;
  color: #fff;
  font-weight: 800;
}

.shop-carousel {
  display: flex !important;
  gap: 8px !important;
}

.shop-carousel-arrow {
  display: grid !important;
}

.shop-carousel-track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.shop-product-card {
  grid-template-rows: 190px minmax(132px, auto) !important;
  flex: 0 0 clamp(220px, 19vw, 280px) !important;
  width: auto !important;
  max-width: none !important;
}


.shop-product-body {
  padding: 14px 14px 16px;
}

.shop-product-body strong {
  font-size: 16px;
}

@media (max-width: 1180px) {
  .news-page-grid,
  .news-single-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .group-mini-scoreboard {
    grid-template-columns: 58px minmax(80px, 1fr) 58px;
  }

  .news-shell {
    width: min(100% - 24px, 1760px);
  }

  .news-hero {
    min-height: 260px;
    margin-inline: calc((100vw - min(100vw, 1760px)) / -2);
    padding: 32px 18px;
    background:
      linear-gradient(90deg, rgba(0, 23, 54, 0.98), rgba(0, 31, 73, 0.84)),
      var(--news-hero-photo) right -120px center / auto 240px no-repeat,
      #061f49;
  }

  .news-stat-tabs,
  .news-sidebar,
  .contacts-v2-form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .news-stat-tabs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(178px, 72vw);
    grid-template-columns: none;
  }

  .news-feature-card {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
  }

  .news-filter-bar form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-hero,
  .contacts-v2-hero,
  .teams-archive-hero {
    background:
      linear-gradient(90deg, rgba(0, 23, 54, 0.98), rgba(0, 31, 73, 0.84)),
      #061f49;
  }

  .contacts-v2-form .wpcf7-form p:has(textarea),
  .contacts-v2-form .wpcf7-form p:has(input[type="submit"]),
  .contacts-v2-form .wpcf7-response-output {
    grid-column: auto;
  }
}

/* Prototype rebuild: homepage shop block */
#shop.shop-carousel-section {
  --shop-navy: #001f49;
  --shop-blue: #075bbf;
  --shop-muted: #61718a;
  --shop-card-gap: clamp(18px, 1.55vw, 24px);
    width: min(100% - 32px, var(--hhl-max));
    margin: 22px auto;
  border-radius: 0 !important;
  overflow: hidden !important;
}

#shop .section-heading {
  margin: 0 0 clamp(34px, 3.1vw, 50px) !important;
  max-width: 860px;
}

#shop .section-heading .eyebrow {
  color: #125bbb;
  font-size: clamp(16px, 1.15vw, 24px);
  font-weight: 900;
  letter-spacing: 0.34em;
}

#shop .section-heading h2 {
  margin: 16px 0 0;
  color: var(--shop-navy);
  font-size: clamp(48px, 4vw, 78px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

#shop .section-heading p {
  margin-top: 18px !important;
  color: var(--shop-muted) !important;
  font-size: clamp(18px, 1.25vw, 24px) !important;
}

#shop .shop-carousel {
  display: block !important;
  align-items: initial !important;
  gap: 0 !important;
  overflow: visible !important;
}

#shop .shop-carousel-track {
  gap: var(--shop-card-gap) !important;
  padding: 0 2px 4px !important;
  overflow-x: auto !important;
  scroll-padding-inline: 2px;
}

#shop .shop-product-card {
  position: relative;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  flex: 0 0 calc((100% - (var(--shop-card-gap) * 3)) / 4) !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: clamp(14px, 1.15vw, 20px) !important;
  border: 1px solid rgba(0, 31, 73, 0.08) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px);
}

#shop .shop-product-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(7, 91, 191, 0.24) !important;
  box-shadow: 0 28px 56px rgba(0, 30, 76, 0.13) !important;
}

#shop .shop-product-image {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  border-radius: 13px !important;
  aspect-ratio: auto !important;
}

#shop .shop-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: saturate(1.04) contrast(1.035) drop-shadow(0 15px 16px rgba(0, 31, 73, 0.12));
}

#shop .shop-product-image.is-lifestyle img {
  padding: 0 !important;
  object-fit: cover !important;
  filter: saturate(1.12) contrast(1.05);
}

#shop .shop-product-body {
  display: grid !important;
  grid-template-rows: auto auto 1fr;
  gap: clamp(12px, 0.95vw, 18px) !important;
  padding: clamp(16px, 1.05vw, 21px) 6px 4px !important;
}

#shop .shop-product-body strong {
  color: #102a55 !important;
  font-size: clamp(22px, 1.5vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
}

#shop .shop-product-body > span:not(.shop-product-cta) {
  color: #075bc0 !important;
  font-size: clamp(20px, 1.35vw, 28px) !important;
  font-weight: 850 !important;
  line-height: 1.1;
}

#shop .shop-product-body del {
  color: rgba(16, 42, 85, 0.46) !important;
  font-weight: 650 !important;
  text-decoration-thickness: 2px !important;
}

#shop .shop-product-body ins {
  margin-left: 18px !important;
  color: #075bc0 !important;
  font-weight: 900 !important;
}

#shop .shop-product-cta {
  align-self: end;
  min-height: clamp(54px, 3.35vw, 68px) !important;
  margin-top: clamp(10px, 1vw, 18px) !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #002b64 0%, #001f49 100%) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 31, 73, 0.14) !important;
  font-size: clamp(17px, 1.15vw, 22px) !important;
  font-weight: 900 !important;
}

#shop .shop-product-cta .hhl-icon {
  width: clamp(22px, 1.35vw, 26px) !important;
  height: clamp(22px, 1.35vw, 26px) !important;
}

#shop .shop-carousel-arrow {
  position: absolute !important;
  top: 47% !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center;
  width: clamp(58px, 4.8vw, 84px) !important;
  height: clamp(58px, 4.8vw, 84px) !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #06478f !important;
  box-shadow: 0 16px 34px rgba(0, 31, 73, 0.13) !important;
}

#shop .shop-carousel-arrow[data-product-carousel-prev] {
  left: calc(-1 * clamp(12px, 4vw, 76px)) !important;
}

#shop .shop-carousel-arrow[data-product-carousel-next] {
  right: calc(-1 * clamp(12px, 4vw, 76px)) !important;
}

#shop .shop-carousel-arrow span {
  margin-top: -4px !important;
  font-size: clamp(46px, 3.5vw, 62px) !important;
  font-weight: 700 !important;
}

#shop .shop-carousel-dots {
  margin-top: clamp(24px, 2.1vw, 36px) !important;
  gap: 16px !important;
}

#shop .shop-carousel-dot {
  width: 14px !important;
  height: 14px !important;
  background: #d1d9e3 !important;
}

#shop .shop-carousel-dot.is-active {
  background: #075bc0 !important;
}

#shop .shop-trust {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: clamp(34px, 3vw, 48px) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

#shop .shop-trust span {
  min-height: 34px;
  padding: 0 clamp(20px, 2vw, 36px) !important;
  color: #263d5b !important;
  font-size: clamp(14px, .86vw, 18px) !important;
  font-weight: 650 !important;
}

#shop .shop-trust span + span {
  border-left: 1px solid rgba(0, 31, 73, 0.16) !important;
}

#shop .shop-trust .hhl-icon {
  width: 28px !important;
  height: 28px !important;
  color: #1c3152;
}

@media (max-width: 1320px) {
  #shop .shop-product-card {
    flex-basis: calc((100% - (var(--shop-card-gap) * 3)) / 4) !important;
  }
}

@media (max-width: 768px) {
  #shop.shop-carousel-section {
    width: 100% !important;
    margin: 28px 0 !important;
    padding: 42px 14px 34px !important;
  }

  #shop .shop-carousel {
    display: block !important;
  }

  #shop .shop-carousel-arrow {
    display: none !important;
  }

  #shop .shop-carousel-track {
    gap: 14px !important;
    padding-bottom: 4px !important;
  }

  #shop .shop-product-card {
    flex-basis: 82% !important;
    max-width: 82% !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  #shop .shop-product-image {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  #shop .shop-trust {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    justify-content: stretch;
  }

  #shop .shop-trust span {
    justify-content: flex-start !important;
    padding: 0 !important;
    border-left: 0 !important;
  }
}

@media (max-width: 420px) {
  #shop .shop-product-card {
    flex-basis: 88% !important;
    max-width: 88% !important;
  }

  #shop .shop-product-image {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (min-width: 769px) {
  #shop .shop-carousel--static-desktop .shop-carousel-arrow,
  #shop .shop-carousel--static-desktop + .shop-carousel-dots {
    display: none !important;
  }

  #shop .shop-carousel--static-desktop .shop-carousel-track {
    overflow: visible !important;
  }
}

/* Player profile final pass: keep these late so shared page styles do not override the profile layout. */
.single-hhlm_player .player-season-tabs {
  gap: 10px;
}

.single-hhlm_player .player-season-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f8fbff;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.single-hhlm_player .player-season-tabs button:hover,
.single-hhlm_player .player-season-tabs button:focus-visible,
.single-hhlm_player .player-season-tabs button.is-active {
  border-color: #1267d8;
  background: #1267d8;
  color: #fff;
}

/* Unified form controls: keep this late so archive, shop, news and contact pages share one control language. */
:root {
  --hhl-form-height: 56px;
  --hhl-form-radius: 8px;
  --hhl-form-border: #d6e4f4;
  --hhl-form-border-hover: #b9d2ee;
  --hhl-form-text: #061f49;
  --hhl-form-muted: #6b7f99;
  --hhl-form-focus: rgba(18, 103, 216, 0.18);
  --hhl-form-shadow: 0 10px 26px rgba(6, 31, 73, 0.035);
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) :where(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]), select, textarea),
.team-overview-select {
  width: 100%;
  min-height: var(--hhl-form-height);
  border: 1px solid var(--hhl-form-border);
  border-radius: var(--hhl-form-radius);
  background-color: #fff;
  color: var(--hhl-form-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  outline: none;
  box-shadow: var(--hhl-form-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) :where(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]), select) {
  height: var(--hhl-form-height);
  padding: 0 18px;
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) select,
.team-overview-select {
  padding-right: 48px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' fill='none' stroke='%23061f49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 12px auto;
  cursor: pointer;
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) textarea {
  min-height: 116px;
  padding: 16px 18px;
  resize: vertical;
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) :where(input, textarea)::placeholder {
  color: var(--hhl-form-muted);
  opacity: 1;
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) :where(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]), select, textarea):hover,
.team-overview-select:hover {
  border-color: var(--hhl-form-border-hover);
}

body :where(
  .hhl-shop-filters,
  .games-calendar-controls,
  .group-filter-controls,
  .teams-filter-form,
  .players-v2-filter,
  .players-v2-sort,
  .players-filter-form,
  .contacts-v2-form,
  .news-filter-bar,
  .news-subscribe-form,
  .not-found-search,
  .team-overview-controls
) :where(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]), select, textarea):focus,
.team-overview-select:focus {
  border-color: #1267d8;
  box-shadow: 0 0 0 4px var(--hhl-form-focus), var(--hhl-form-shadow);
}

body :where(.hhl-shop-search, .teams-search-control, .players-v2-search) {
  min-height: var(--hhl-form-height);
  border: 1px solid var(--hhl-form-border);
  border-radius: var(--hhl-form-radius);
  background: #fff;
  box-shadow: var(--hhl-form-shadow);
}

body :where(.hhl-shop-search, .teams-search-control, .players-v2-search):focus-within {
  border-color: #1267d8;
  box-shadow: 0 0 0 4px var(--hhl-form-focus), var(--hhl-form-shadow);
}

body :where(.hhl-shop-search input, .teams-search-control input, .players-v2-search input) {
  min-height: calc(var(--hhl-form-height) - 2px);
  border: 0;
  box-shadow: none;
}

body :where(.teams-select-control) {
  min-height: var(--hhl-form-height);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body :where(.teams-select-control)::after {
  display: none;
}

body :where(
  .hhl-shop-reset,
  .teams-filter-reset,
  .players-v2-reset,
  .players-filter-reset,
  .contacts-v2-form button,
  .contacts-v2-form input[type="submit"],
  .news-filter-bar button,
  .news-subscribe-button,
  .not-found-search button,
  .players-v2-filter button,
  .players-filter-form button,
  .games-range-form button
) {
  min-height: var(--hhl-form-height);
  border-radius: var(--hhl-form-radius);
  font-size: 14px;
  font-weight: 800 !important;
  letter-spacing: 0;
}

body :where(
  .contacts-v2-form button,
  .contacts-v2-form input[type="submit"],
  .news-subscribe-button,
  .not-found-search button,
  .players-v2-filter button,
  .players-filter-form button
) {
  border: 1px solid #1267d8;
  background: #1267d8;
  color: #fff;
}

body :where(
  .hhl-shop-reset,
  .teams-filter-reset,
  .players-v2-reset,
  .players-filter-reset,
  .news-filter-bar button,
  .games-range-form button
) {
  border: 1px solid #dbe9f8;
  background: #f4f8fe;
  color: #1267d8;
}

.hhl-shop-filters select,
.games-filter-form select,
.group-filter-controls .games-filter-form select,
.teams-select-control select,
.players-v2-filter select,
.players-v2-sort select,
.players-filter-form select,
.contacts-v2-form select,
.news-filter-bar select,
.team-overview-select {
  height: var(--hhl-form-height) !important;
  min-height: var(--hhl-form-height) !important;
  padding: 0 48px 0 18px !important;
  border: 1px solid var(--hhl-form-border) !important;
  border-radius: var(--hhl-form-radius) !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' fill='none' stroke='%23061f49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: right 20px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px auto !important;
  color: var(--hhl-form-text) !important;
  box-shadow: var(--hhl-form-shadow) !important;
}

.hhl-shop-reset,
.teams-filter-reset,
.players-v2-reset,
.players-filter-reset,
.contacts-v2-form button,
.contacts-v2-form input[type="submit"],
.news-filter-bar button,
.news-subscribe-button,
.not-found-search button,
.players-v2-filter button,
.players-filter-form button,
.games-range-form button {
  min-height: var(--hhl-form-height) !important;
  border-radius: var(--hhl-form-radius) !important;
}

.hhl-shop-search,
.teams-search-control,
.players-v2-search,
.games-week-range {
  min-height: var(--hhl-form-height) !important;
  border: 1px solid var(--hhl-form-border) !important;
  border-radius: var(--hhl-form-radius) !important;
  background: #fff !important;
  color: var(--hhl-form-text) !important;
  box-shadow: var(--hhl-form-shadow) !important;
}

.games-week-range {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px !important;
}

.contacts-v2-form button,
.contacts-v2-form input[type="submit"],
.news-subscribe-button,
.not-found-search button,
.players-v2-filter button,
.players-filter-form button {
  border-color: #1267d8 !important;
  background: #1267d8 !important;
  color: #fff !important;
}

.hhl-shop-reset,
.teams-filter-reset,
.players-v2-reset,
.players-filter-reset,
.news-filter-bar button,
.games-range-form button {
  border-color: #dbe9f8 !important;
  background: #f4f8fe !important;
  color: #1267d8 !important;
}

@media (max-width: 640px) {
  body :where(
    .hhl-shop-filters,
    .games-filter-form,
    .group-filter-controls .games-filter-form,
    .teams-filter-form,
    .players-v2-filter,
    .players-v2-sort,
    .players-filter-form,
    .contacts-v2-form form,
    .contacts-v2-form .wpcf7-form,
    .news-filter-bar form,
    .news-subscribe-form,
    .not-found-search,
    .team-overview-controls
  ) {
    gap: 12px;
  }

  body :where(
    .hhl-shop-filters,
    .teams-filter-form,
    .players-v2-filter,
    .players-filter-form,
    .contacts-v2-form form,
    .contacts-v2-form .wpcf7-form,
    .news-filter-bar form,
    .team-overview-controls
  ) {
    grid-template-columns: 1fr;
  }
}
