/* Cache bust: NEXT_PUBLIC_CLUB_CSS_VERSION trong .env */
/* home.css — trang chủ (index.html): nhúng sau base.css */

/* Placeholder ảnh */
.library-gallery__cell:not(:has(img)),
.news-card__image,
.board-card__photo,
.testimonial-card__avatar {
  background: var(--placeholder-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 7%, transparent);
}

img.news-card__image,
img.board-card__photo,
img.testimonial-card__avatar {
  background: transparent;
  box-shadow: none;
}

/* ——— Hero ——— */
.hero {
  --hero-content-width: min(92%, 34rem);
  --hero-content-band: min(88vw, 44rem);
  position: relative;
  isolation: isolate;
  padding-inline: var(--container-gutter);
  overflow: visible;
  background-color: var(--surface-cream);

}

/* Hòa mép tại ~60%: giữa đậm để che line cắt, hai bên vẫn loãng */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 248, 242, 0.07) 50%,
    rgba(255, 242, 232, 0.22) 55%,
    rgba(255, 236, 220, 0.42) 57.5%,
    rgba(255, 232, 212, 0.55) 59%,
    rgba(255, 228, 206, 0.62) 60%,
    rgba(255, 232, 212, 0.55) 61%,
    rgba(255, 236, 220, 0.42) 62.5%,
    rgba(255, 242, 232, 0.22) 65%,
    rgba(255, 248, 242, 0.07) 70%,
    transparent 80%,
    transparent 100%
  );
  filter: blur(clamp(1.5rem, 5.25vw, 3.1rem));
}

.hero__split {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  pointer-events: none;
}

.hero__split-panel {
  height: 100%;
  overflow: hidden;
}

.hero__split-panel--left {
  flex: 0 0 60%;
  width: 60%;
}

.hero__split-panel--right {
  flex: 0 0 40%;
  width: 40%;
}

.hero__split-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__split-panel--left img {
  object-position: center left;
}

.hero__split-panel--right img {
  object-position: center right;
}

/* Gradient ngang (trái–phải) + blur — dưới thảm đỏ; cùng vị trí/cột với hero__content */
.hero__glow {
  position: absolute;
  left: 60%;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: var(--hero-content-band);
  max-width: calc(100% - 2 * var(--container-gutter));
  transform: translateX(-50%);
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(38, 24, 14, 0) 6%,
      rgba(38, 24, 14, 0.02) 14%,
      rgba(38, 24, 14, 0.04) 24%,
      rgba(38, 24, 14, 0.06) 36%,
      rgba(38, 24, 14, 0.08) 44%,
      rgba(38, 24, 14, 0.095) 49%,
      rgba(38, 24, 14, 0.1) 50%,
      rgba(38, 24, 14, 0.095) 51%,
      rgba(38, 24, 14, 0.08) 56%,
      rgba(38, 24, 14, 0.06) 64%,
      rgba(38, 24, 14, 0.04) 76%,
      rgba(38, 24, 14, 0.02) 86%,
      rgba(38, 24, 14, 0) 94%,
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      transparent 36%,
      rgba(32, 20, 12, 0.04) 50%,
      rgba(32, 20, 12, 0.075) 58%,
      rgba(32, 20, 12, 0.09) 60%,
      rgba(32, 20, 12, 0.075) 62%,
      rgba(32, 20, 12, 0.04) 70%,
      transparent 84%,
      transparent 100%
    );
  filter: blur(clamp(1.65rem, 5.75vw, 3.25rem));
}

.hero__glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(255, 252, 248, 0) 0%,
      rgba(255, 249, 242, 0.25) 8%,
      rgba(255, 245, 234, 0.44) 18%,
      rgba(255, 241, 226, 0.68) 28%,
      rgb(255, 236, 216) 38%,
      rgb(255, 232, 208) 44%,
      rgb(255, 228, 200) 47.5%,
      rgb(255, 226, 196) 49.25%,
      rgb(255, 224, 192) 50%,
      rgb(255, 226, 196) 50.75%,
      rgb(255, 228, 200) 52.5%,
      rgb(255, 232, 208) 56%,
      rgb(255, 236, 216) 64%,
      rgb(255, 241, 226, 0.68) 72%,
      rgba(255, 245, 234, 0.44) 82%,
      rgba(255, 249, 242, 0.25) 92%,
      rgba(255, 252, 248, 0) 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      rgba(255, 246, 236, 0.03) 38%,
      rgba(255, 240, 224, 0.14) 48%,
      rgba(255, 234, 214, 0.22) 50%,
      rgba(255, 240, 224, 0.14) 52%,
      rgba(255, 246, 236, 0.03) 62%,
      transparent 100%
    );
  filter: blur(clamp(0.75rem, 2.5vw, 1.35rem));
}

.hero__bottom-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  transform: translateY(50%);
}

.hero__bottom-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__content {
  position: relative;
  left: 60%;
  z-index: 4;
  width: var(--hero-content-band);
  max-width: calc(100% - 2 * var(--container-gutter));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  padding: 1rem 0rem 0.5rem 0rem;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero__content > * {
  pointer-events: auto;
  width: 100%;
  max-width: var(--hero-content-width);
}

.hero__logo {
  width: clamp(3.25rem, 7.5vw, 4.25rem);
  height: clamp(3.25rem, 7.5vw, 4.25rem);
  margin-inline: auto;
  margin-bottom: clamp(0.65rem, 2vw, 1rem);
  border-radius: 50%;
  border: 0.12em solid var(--brand-gold);
  object-fit: cover;
  display: block;
  box-shadow: 0 0.12em 0.35em rgba(0, 0, 0, 0.12);
}

.hero__heading {
  margin: 0 0 clamp(0.35rem, 1.2vw, 0.55rem);
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__heading-line {
  display: block;
}

/* Gradient dọc + đậm + tracking rộng; bóng nhẹ = filter (clip text không ăn text-shadow) */
.hero__heading-line--primary {
  font-size: clamp(1.35rem, 3.8vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(
    180deg,
    #c4382e 0%,
    #9f211b 42%,
    color-mix(in srgb, var(--brand-red-dark) 92%, #6b1512) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0.04em 0.02em rgba(80, 20, 15, 0.2))
    drop-shadow(0 0.12em 0.18em rgba(80, 20, 15, 0.16));
}

.hero__heading-line--gold {
  margin-top: 0.12em;
  font-size: clamp(1.35rem, 3.8vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.09em;
  background: linear-gradient(
    180deg,
    #fff0b8 0%,
    color-mix(in srgb, var(--brand-gold) 85%, #b8892e) 38%,
    #a97924 68%,
    #6b4812 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.015em rgba(120, 78, 22, 0.22);
  paint-order: stroke fill;
  filter: drop-shadow(0 0.04em 0.02em rgba(95, 62, 18, 0.18))
    drop-shadow(0 0.1em 0.14em rgba(95, 62, 18, 0.14));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__heading-line--primary {
    background: none;
    color: #9f211b;
    -webkit-text-fill-color: unset;
    filter: none;
    text-shadow:
      0 0.04em 0 rgba(80, 20, 15, 0.18),
      0 0.12em 0.22em rgba(80, 20, 15, 0.18);
  }

  .hero__heading-line--gold {
    background: none;
    color: #b8892e;
    -webkit-text-fill-color: unset;
    -webkit-text-stroke: 0;
    filter: none;
    text-shadow:
      0 0.04em 0 rgba(95, 62, 18, 0.2),
      0 0.1em 0.18em rgba(95, 62, 18, 0.16);
  }
}

.hero__script {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--brand-red-dark);
}

.hero__lead {
  margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
  max-width: 36em;
  font-size: clamp(0.8rem, 1.65vw, 0.95rem);
  line-height: 1.65;
  color: var(--text-primary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.55rem, 1.8vw, 1rem);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: clamp(0.55em, 1.4vw, 0.7em) clamp(1em, 2.4vw, 1.35em);
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.15vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.35em;
  transition: filter 0.2s, transform 0.15s, background 0.2s;
}

.hero__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-0.04em);
}

.hero__btn:focus-visible {
  outline: 0.15em solid var(--brand-gold);
  outline-offset: 0.15em;
}

.hero__btn--outline {
  background: var(--brand-red-dark);
  color: var(--surface-cream);
  border: 1px solid color-mix(in srgb, var(--brand-red-dark) 88%, black);
  box-shadow: 0 0.1em 0.25em rgba(0, 0, 0, 0.15);
}

.hero__btn--gold {
  color: var(--brand-red-dark);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-gold) 35%, white) 0%,
    var(--brand-gold) 45%,
    color-mix(in srgb, var(--brand-gold) 82%, #6b3a0a) 100%
  );
  border: 1px solid color-mix(in srgb, var(--brand-gold) 70%, #8a5a12);
  box-shadow: 0 0.1em 0.28em rgba(0, 0, 0, 0.12);
}

.hero__btn-icon {
  font-size: 0.85em;
}


/* ——— Boxicon (sát dưới hero, margin-top: 0 — không chỉnh hero) ——— */
.boxicon {
  margin: 0;
  padding: 0 var(--container-gutter) clamp(1.25rem, 3.5vw, 2.25rem);
  border-top: var(--section-divider);
  background: var(--surface-section-white);
}

.boxicon__inner {
  width: 100%;
  position: relative;
  z-index: var(--z-page);
  max-width: var(--container-max);
  margin-inline: auto;
}

.boxicon__grid {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: clamp(0.85rem, 2.2vw, 1.35rem) clamp(0.75rem, 2vw, 1.25rem);
  list-style: none;
  background: var(--surface-card);
  border-radius: 0.75em;
  box-shadow: 0 0.2em 1.1em rgba(0, 0, 0, 0.1);
  border: 1px solid color-mix(in srgb, var(--brand-gold) 14%, transparent);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1.15rem);
}

.boxicon__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.45rem, 1.2vw, 0.75rem);
  min-width: 0;
}

.boxicon__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.85rem, 6.25vw, 3.5rem);
  height: clamp(2.85rem, 6.25vw, 3.5rem);
  border-radius: 50%;
  background: var(--brand-red-dark);
}

.boxicon__icon i {
  display: inline-block;
  font-size: clamp(1.25rem, 2.85vw, 2rem);
  line-height: 1;
  background: linear-gradient(
    148deg,
    color-mix(in srgb, var(--brand-gold) 72%, #fff9e8) 0%,
    color-mix(in srgb, var(--brand-gold) 95%, #f0d48a) 18%,
    color-mix(in srgb, var(--brand-gold) 100%, #b8860b) 38%,
    color-mix(in srgb, var(--brand-gold) 82%, #6b4a0a) 52%,
    color-mix(in srgb, var(--brand-gold) 100%, #c9a227) 66%,
    color-mix(in srgb, var(--brand-gold) 88%, #fff4d4) 82%,
    color-mix(in srgb, var(--brand-gold) 65%, #fffdf6) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .boxicon__icon i {
    background: none;
    color: var(--brand-gold);
    -webkit-text-fill-color: unset;
  }
}

.boxicon__body {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  text-align: left;
  min-width: 0;
}

.boxicon__title {
  font-family: var(--font-sans);
  font-size: clamp(0.62rem, 1.05vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-red-dark);
  line-height: 1.25;
}

.boxicon__desc {
  font-size: clamp(0.58rem, 0.95vw, 0.7rem);
  line-height: 1.45;
  color: color-mix(in srgb, var(--text-primary) 88%, gray);
}



/* ——— Giới thiệu CLB (ảnh + copy + 3 card) ——— */
.club-intro-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(1rem, 2vw, 2.5rem);
  background: var(--surface-cream-warm);
  color: var(--text-primary);
  font-family: inherit;
}

.club-intro-section__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  background:
    radial-gradient(ellipse min(90%, 44rem) 125% at 0% 48%, color-mix(in srgb, var(--brand-gold-light) 38%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse min(85%, 40rem) 120% at 100% 52%, color-mix(in srgb, var(--brand-gold) 18%, transparent) 0%, transparent 58%);
  mix-blend-mode: multiply;
}

/* .club-intro-section__container → .page-container.page-container--layered trong HTML */

.club-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 26fr) minmax(0, 44fr);
  gap: clamp(0.75rem, 1.75vw, 1.5rem);
  align-items: stretch;
}

/* Chiều cao hàng = khối text; ảnh fill theo ô grid (không đẩy cao bằng intrinsic size) */
.club-intro-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}

.club-intro-media__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(0.45rem, 1.1vw, 0.65rem);
  box-shadow: 0 0.1em 0.45em color-mix(in srgb, var(--text-primary) 10%, transparent);
}

.club-intro-media__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: clamp(0.45rem, 1.1vw, 0.65rem);
  background: linear-gradient(145deg, color-mix(in srgb, var(--placeholder-gray) 88%, #fff) 0%, var(--placeholder-gray) 45%, color-mix(in srgb, var(--placeholder-gray) 75%, #b0b0b0) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 8%, transparent);
}

.club-intro-media__ph-icon {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: color-mix(in srgb, var(--text-muted) 75%, #4a403c);
  opacity: 0.55;
}

.club-intro-copy {
  min-width: 0;
  min-height: 0;
  align-self: start;
}

.club-intro-copy__title {
  margin: 0 0 clamp(0.55rem, 1.4vw, 0.85rem);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--brand-red-dark);
}

.club-intro-copy__body {
  margin-bottom: clamp(0.75rem, 1.6vw, 1rem);
}

.club-intro-copy__body p {
  margin: 0 0 clamp(0.45rem, 1.1vw, 0.65rem);
  font-size: clamp(0.75rem, 1.05vw, 0.875rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.club-intro-copy__body p:last-child {
  margin-bottom: 0;
}

.club-intro-copy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.65em 1.35em;
  font-family: inherit;
  font-size: clamp(0.7rem, 1vw, 0.8125rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-radius: 0.35em;
  border: 1px solid color-mix(in srgb, var(--brand-red-dark) 55%, #000);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-red-mid) 88%, #fff) 0%, var(--brand-red-dark) 100%);
  box-shadow: 0 0.12em 0.35em color-mix(in srgb, var(--brand-red-dark) 35%, transparent);
  transition:
    filter 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.club-intro-copy__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-0.08em);
  box-shadow: 0 0.2em 0.45em color-mix(in srgb, var(--brand-red-dark) 42%, transparent);
}

.club-intro-copy__btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand-gold) 55%, #8a5a1a);
  outline-offset: 3px;
}

.club-intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(0.45rem, 1vw, 0.75rem);
  align-items: stretch;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
}

.club-intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 0;
  padding: clamp(0.75rem, 1.35vw, 1.05rem) clamp(0.5rem, 1vw, 0.75rem);
  border-radius: clamp(0.4rem, 0.9vw, 0.55rem);
  border: 1px solid color-mix(in srgb, var(--brand-gold) 32%, #c8b8a8 35%);
  background: color-mix(in srgb, #fff 92%, rgb(251 236 211));
  box-shadow: 0 0.05em 0.2em color-mix(in srgb, var(--text-primary) 5%, transparent);
}

.club-intro-card__icon-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(3.85rem, 7.8vw, 5rem);
  height: clamp(3.85rem, 7.8vw, 5rem);
  margin-bottom: clamp(0.55rem, 1.2vw, 0.75rem);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand-gold) 45%, var(--brand-gold-light));
  background: color-mix(in srgb, rgb(251 236 211) 70%, #fff);
  overflow: hidden;
  box-sizing: border-box;
}

.club-intro-card__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.club-intro-card__icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.club-intro-card__icon {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1;
  color: var(--brand-red-dark);
}

.club-intro-card__title {
  margin: 0 0 clamp(0.35rem, 0.85vw, 0.5rem);
  font-size: clamp(0.92rem, 1.45vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-red-dark);
  line-height: 1.25;
}

.club-intro-card__desc {
  flex: 1;
  width: 100%;
  margin: 0;
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  max-height: 7.25em;
  overflow: hidden;
}

/* Desktop: ảnh ~30% | text ~25% | cards ~45% */

/* Tablet: hàng trên ảnh + text; hàng dưới 3 card */

/* Mobile: ảnh → text → cards 2 cột; số lẻ item cuối căn giữa */


/* ——— Thanh thống kê (nền đỏ + họa tiết) ——— */
.club-stats-bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--brand-gold) 28%, transparent);
  padding-block: clamp(0.95rem, 2.4vw, 1.55rem);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand-red-dark) 92%, #000) 0%,
    color-mix(in srgb, var(--brand-red-mid) 88%, #000) 32%,
    color-mix(in srgb, var(--brand-red-accent) 82%, #1a0303) 50%,
    color-mix(in srgb, var(--brand-red-mid) 88%, #000) 68%,
    color-mix(in srgb, var(--brand-red-dark) 92%, #000) 100%
  );
}

.club-stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/club/images/background-section.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(165%, 120rem) auto;
  opacity: 0.16;
  mix-blend-mode: soft-light;
}

.club-stats-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 145% at 3% 50%, color-mix(in srgb, var(--brand-gold-light) 12%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 36% 135% at 97% 50%, color-mix(in srgb, var(--brand-gold) 9%, transparent) 0%, transparent 52%);
  opacity: 0.55;
}

/* .club-stats-bar__inner → .page-container.page-container--layered trong HTML */

.club-stats-bar__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.club-stats-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 2vw, 1.1rem);
  min-width: 0;
  padding-inline: clamp(0.35rem, 1.5vw, 0.85rem);
}

.club-stats-bar__item:not(:last-child) {
  border-inline-end: 1px solid color-mix(in srgb, var(--brand-gold-light) 22%, transparent);
}

.club-stats-bar__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(2.35rem, 5.5vw, 3rem);
  height: clamp(2.35rem, 5.5vw, 3rem);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand-gold) 55%, transparent);
  background: color-mix(in srgb, var(--brand-red-dark) 65%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-gold-light) 12%, transparent);
}

.club-stats-bar__icon {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  line-height: 1;
  color: var(--brand-gold-light);
}

.club-stats-bar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15em;
  min-width: 0;
  text-align: left;
}

.club-stats-bar__value {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--brand-gold-light);
  text-shadow: 0 0.06em 0.2em color-mix(in srgb, var(--brand-red-dark) 55%, transparent);
}

.club-stats-bar__label {
  font-size: clamp(0.58rem, 1vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--brand-gold-soft);
  max-width: 12rem;
}



/* ——— Quyền lợi hội viên + hoạt động + lịch sự kiện ——— */
.member-activity-section {
  color: var(--brand-red-dark);
  font-family: inherit;
}

/* .member-activity-section → .section-shell.bg-cream-warm; __container → .page-container */

.member-activity-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(1rem, 2.8vw, 2rem);
  align-items: stretch;
}

.member-activity-section__col--main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  min-width: 0;
}

/* .member-benefits__title → .section-heading.section-heading--benefits */

.member-benefits__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.45rem, 1.4vw, 0.85rem);
}

.member-benefits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  min-width: 0;
  padding: clamp(0.6rem, 1.5vw, 1rem);
  background: var(--surface-section-white);
  border-radius: clamp(0.45rem, 1vw, 0.65rem);
  border: 1px solid color-mix(in srgb, var(--brand-red-dark) 10%, var(--brand-gold) 14%);
  box-shadow: 0 0.06em 0.2em color-mix(in srgb, var(--brand-red-dark) 6%, transparent);
}

.member-benefits__icon-circle {
  display: grid;
  place-items: center;
  width: clamp(2.35rem, 5vw, 2.85rem);
  height: clamp(2.35rem, 5vw, 2.85rem);
  border-radius: 50%;
  background: var(--brand-red-dark);
}

.member-benefits__icon-circle i {
  font-size: clamp(0.82rem, 1.75vw, 1.05rem);
  line-height: 1;
  color: var(--brand-gold);
}

.member-benefits__item-title {
  margin: 0;
  font-size: clamp(0.52rem, 0.95vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--brand-red-dark);
}

.member-benefits__item-desc {
  margin: 0;
  font-size: clamp(0.48rem, 0.82vw, 0.6rem);
  line-height: 1.45;
  color: color-mix(in srgb, var(--brand-red-dark) 88%, #1a0a0a);
}

/* .featured-activities__head → .section-header-row.section-header-row--spaced-sm */
/* .featured-activities__title → .section-heading.section-heading--band */

.featured-activities__scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.2rem;
}

.featured-activities__strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(4.85rem, 1fr));
  gap: clamp(0.35rem, 1vw, 0.55rem);
  min-width: min(100%, 52rem);
}

.featured-activities__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: clamp(0.4rem, 0.9vw, 0.55rem);
  overflow: hidden;
  background: var(--surface-section-white);
  box-shadow: 0 0.06em 0.2em color-mix(in srgb, var(--brand-red-dark) 8%, transparent);
}

.featured-activities__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--placeholder-gray) 88%, #fff) 0%,
    var(--placeholder-gray) 50%,
    color-mix(in srgb, var(--placeholder-gray) 78%, #a8a4a0) 100%
  );
}

.featured-activities__thumb i {
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  color: var(--brand-gold);
  opacity: 0.55;
}

.featured-activities__caption {
  margin: 0;
  padding: 0.5em 0.35em;
  font-size: clamp(0.48rem, 0.78vw, 0.58rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--text-white);
  background: var(--brand-red-dark);
}

.event-calendar-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.4vw, 0.85rem);
  min-width: 0;
}

/* .event-calendar-aside__head → .section-header-row.section-header-row--start */

.event-calendar-aside__title {
  margin: 0;
  max-width: 14rem;
  font-size: clamp(0.68rem, 1.12vw, 0.88rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-red-dark);
}

/* .event-calendar-aside__link → .link-view-all */

.event-calendar-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.event-calendar-aside__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.4rem, 1.1vw, 0.65rem);
  align-items: start;
  padding-block: clamp(0.5rem, 1.2vw, 0.75rem);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-red-dark) 14%, transparent);
}

.event-calendar-aside__item:last-child {
  border-bottom: none;
}

.event-calendar-aside__bullet {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--brand-red-dark);
}

.event-calendar-aside__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.45rem, 1.1vw, 0.75rem);
  align-items: start;
  min-width: 0;
}

.event-calendar-aside__date {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.35rem;
  align-items: center;
}

.event-calendar-aside__day {
  grid-row: 1 / 3;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 900;
  line-height: 1;
  color: var(--brand-red-dark);
}

.event-calendar-aside__my {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08em;
  font-size: clamp(0.5rem, 0.82vw, 0.62rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-red-dark);
}

.event-calendar-aside__body {
  min-width: 0;
}

.event-calendar-aside__event-title {
  margin: 0 0 0.3em;
  font-size: clamp(0.6rem, 1vw, 0.74rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--brand-red-dark);
}

.event-calendar-aside__loc {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
  font-size: clamp(0.52rem, 0.88vw, 0.62rem);
  color: color-mix(in srgb, var(--brand-red-dark) 78%, var(--text-muted));
}

.event-calendar-aside__loc i {
  flex-shrink: 0;
  font-size: 0.95em;
  color: var(--brand-gold);
}





/* ——— Đối tác đồng hành ——— */
.partners-section {
  color: var(--text-primary);
  font-family: inherit;
}

.partners-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.25rem);
  margin-bottom: clamp(1.15rem, 2.4vw, 1.85rem);
}

.partners-section__line {
  display: block;
  height: 1px;
  background: color-mix(in srgb, var(--brand-gold) 38%, var(--border-ui) 40%);
  align-self: center;
}

.partners-section__title {
  margin: 0;
}

.partners-section__header-end {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.4vw, 1rem);
  min-width: 0;
}

.partners-section__header-end .partners-section__line {
  flex: 1;
  min-width: clamp(1rem, 4vw, 3rem);
}

/* .partners-section__link → .link-view-all.link-view-all--muted */

.partners-section__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1.15rem);
}


.partners-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: clamp(0.06rem, 0.28vw, 0.14rem);
  min-width: 0;
  padding: clamp(0.4rem, 1vw, 0.58rem) clamp(0.4rem, 1vw, 0.58rem) clamp(0.32rem, 0.85vw, 0.48rem);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--text-primary) 12%, #fff 88%);
  border-radius: clamp(0.28rem, 0.65vw, 0.4rem);
}

.partners-card__logo {
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0;
  padding: clamp(0.1rem, 0.28vw, 0.18rem) clamp(0.12rem, 0.32vw, 0.2rem) 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.partners-card__logo:is(div, [role="img"]) {
  background: var(--placeholder-bg-light);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 6%, transparent);
  border-radius: clamp(0.15rem, 0.35vw, 0.25rem);
}

img.partners-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  background: transparent;
}

.partners-card__brand {
  flex-shrink: 0;
  margin: 0;
  padding-inline: 0.1em;
  padding-top: 0.05em;
  font-size: clamp(0.58rem, 0.82vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-primary) 92%, #1a2744);
}

.partners-card__slogan {
  flex-shrink: 0;
  margin: 0;
  padding-inline: 0.1em;
  padding-bottom: 0.05em;
  font-size: clamp(0.5rem, 0.72vw, 0.6rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-primary) 55%, var(--text-muted));
}



/* ——— Cảm nhận hội viên ——— */
.testimonials-section {
  color: var(--text-primary);
  font-family: inherit;
}

.testimonials-section__header {
  margin-bottom: clamp(1.15rem, 2.4vw, 1.85rem);
}

.testimonials-section__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
  align-items: stretch;
}

.testimonials-section__grid > li {
  display: flex;
  min-height: 0;
}

.testimonial-card {
  --testimonial-avatar-size: clamp(3.35rem, 8vw, 4.15rem);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: clamp(11rem, 22vw, 13.5rem);
  width: 100%;
  margin: 0;
  padding: clamp(0.85rem, 1.8vw, 1.2rem);
  padding-top: clamp(1.85rem, 3.5vw, 2.35rem);
  background: #fff;
  border-radius: clamp(0.35rem, 0.8vw, 0.5rem);
  box-shadow:
    0 0.06rem 0.2rem color-mix(in srgb, var(--text-primary) 8%, transparent),
    0 0.35rem 1rem color-mix(in srgb, var(--brand-red-dark) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--text-primary) 10%, #fff 90%);
  overflow: hidden;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: min(52%, 9.5rem);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.14;
  background:
    radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--brand-gold) 55%, transparent) 0%, transparent 42%),
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      color-mix(in srgb, var(--brand-gold-light) 35%, transparent) 0deg 12deg,
      transparent 12deg 24deg
    );
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
}

.testimonial-card__all {
  position: absolute;
  top: clamp(0.7rem, 1.6vw, 1rem);
  right: clamp(0.7rem, 1.6vw, 1rem);
  font-size: clamp(0.58rem, 0.95vw, 0.72rem);
  font-weight: 600;
  color: var(--brand-red-dark);
  text-decoration: none;
  white-space: nowrap;
}

.testimonial-card__all:hover {
  text-decoration: underline;
}

.testimonial-card__all:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 0.15rem;
}

.testimonial-card__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--testimonial-avatar-size) minmax(0, 1fr);
  gap: clamp(0.55rem, 1.35vw, 0.8rem);
  flex: 1;
  width: 100%;
  min-height: 0;
  align-items: start;
}

.testimonial-card__media {
  align-self: start;
  flex-shrink: 0;
  width: var(--testimonial-avatar-size);
  min-width: var(--testimonial-avatar-size);
}

.testimonial-card__avatar {
  display: block;
  width: var(--testimonial-avatar-size);
  height: var(--testimonial-avatar-size);
  min-width: var(--testimonial-avatar-size);
  min-height: var(--testimonial-avatar-size);
  max-width: var(--testimonial-avatar-size);
  max-height: var(--testimonial-avatar-size);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.testimonial-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-right: clamp(1.25rem, 5vw, 2.25rem);
}

.testimonial-card__name {
  margin: 0 0 0.12rem;
  width: 100%;
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  color: var(--text-primary);
}

.testimonial-card__role {
  margin: 0 0 clamp(0.4rem, 0.9vw, 0.55rem);
  width: 100%;
  font-size: clamp(0.68rem, 0.95vw, 0.78rem);
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  color: color-mix(in srgb, var(--text-primary) 52%, var(--text-muted));
}

.testimonial-card__quote {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}

.testimonial-card__quote p {
  margin: 0;
  font-size: clamp(0.76rem, 1.05vw, 0.88rem);
  font-weight: 400;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text-primary) 92%, var(--text-muted));
}

.testimonial-card__rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.12em;
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  padding-top: clamp(0.5rem, 1.1vw, 0.75rem);
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  color: var(--brand-gold);
  line-height: 1;
}

.testimonial-card__rating .fa-star {
  filter: drop-shadow(0 0.03em 0 color-mix(in srgb, var(--brand-red-dark) 18%, transparent));
}


/* ——— Thư viện hình ảnh + Ban chấp hành ——— */
.library-board-section {
  color: var(--text-primary);
  font-family: inherit;
}

.library-board-section__layout {
  /* Một “dải” thấp: lưới ảnh và hàng thẻ cùng chiều cao, đáy thẳng hàng */
  --library-tile-gap: clamp(0.45rem, 1vw, 0.625rem);
  --library-radius: 0.5625rem;
  --library-strip-h: clamp(7.75rem, 12vw, 9.75rem);
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(1rem, 2.8vw, 1.85rem);
  align-items: start;
}

.library-gallery {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.library-board {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.library-gallery__header {
  margin-bottom: clamp(0.45rem, 1vw, 0.65rem);
}

.library-gallery__title {
  margin: 0;
}

.library-gallery__link {
  flex-shrink: 0;
}

/* .library-board__title → .section-heading.section-heading--band (+ modifiers bên dưới) */

.library-board__title {
  margin-bottom: 0;
  padding-right: 0.5rem;
}

.library-board__title-sep {
  font-weight: 800;
  opacity: 0.85;
}

.library-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--library-tile-gap);
  height: var(--library-strip-h);
  min-height: 0;
}

.library-gallery__cell {
  min-height: 0;
  min-width: 0;
  height: 100%;
  align-self: stretch;
  border-radius: var(--library-radius);
  overflow: hidden;
  position: relative;
}

.library-gallery__cell-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.library-gallery__cell--portrait {
  grid-row: 1 / -1;
}

.library-gallery__cell--half {
  grid-row: span 1;
}

.library-gallery__cell--slot-1 {
  grid-column: 1;
  grid-row: 1 / -1;
}

.library-gallery__cell--slot-2 {
  grid-column: 2;
  grid-row: 1 / -1;
}

.library-gallery__cell--slot-3 {
  grid-column: 3;
  grid-row: 1;
}

.library-gallery__cell--slot-4 {
  grid-column: 3;
  grid-row: 2;
}

.library-gallery__cell--slot-5 {
  grid-column: 4;
  grid-row: 1 / -1;
}

/* .library-board__header → .section-header-row.section-header-row--start (+ margin-bottom riêng) */
.library-board__header {
  margin-bottom: clamp(0.45rem, 1vw, 0.65rem);
}

.library-board__title {
  flex: 1;
  min-width: 0;
}

.library-board__link {
  margin-top: 0.12em;
}

.library-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--library-tile-gap);
  height: var(--library-strip-h);
  min-height: 0;
  align-items: stretch;
}

.library-board__list > li {
  display: flex;
  min-height: 0;
  min-width: 0;
}

.board-card {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  border-radius: var(--library-radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-cream-warm) 42%, #fff 58%);
  border: 1px solid color-mix(in srgb, var(--brand-gold) 22%, transparent);
  box-shadow: 0 0.04rem 0.12rem color-mix(in srgb, var(--text-primary) 6%, transparent);
}

.board-card__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-bottom: clamp(0.62rem, 1.5vw, 0.82rem);
}

.board-card__photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--library-radius) var(--library-radius) 0 0;
  object-fit: cover;
}

.board-card__badge {
  position: absolute;
  left: 50%;
  bottom: clamp(0.06rem, 0.35vw, 0.12rem);
  transform: translate(-50%, 0%);
  z-index: 1;
  margin: 0;
  display: inline-block;
  max-width: calc(100% - 0.85rem);
  padding: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-gold) 88%, #fff) 0%,
    var(--brand-gold) 45%,
    color-mix(in srgb, var(--brand-gold) 72%, #c9a227) 100%
  );
  width: max-content;
  border: 1px solid color-mix(in srgb, var(--brand-gold) 55%, #8a6a20);
  font-size: clamp(0.38rem, 0.55vw, 0.48rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.22;
  text-transform: uppercase;
  color: var(--brand-red-dark);
  box-shadow: 0 0.06rem 0.12rem color-mix(in srgb, var(--text-primary) 12%, transparent);
}

.board-card__name {
  flex: 0 0 auto;
  margin: 0;
  padding: clamp(0.38rem, 1vw, 0.5rem) 0.3rem 0.3rem;
  font-size: clamp(0.58rem, 0.78vw, 0.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}




/* ——— Tin tức mới nhất ——— */
.latest-news-section {
  padding-block: clamp(1.35rem, 3vw, 2.35rem);
  color: var(--text-primary);
  font-family: inherit;
}

/* .latest-news-section__header → .section-header-row.section-header-row--spaced-md */
/* .latest-news-section__title → .section-heading.section-heading--band */

.latest-news-section__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.35vw, 0.85rem);
  align-items: stretch;
}

.latest-news-section__grid > li {
  display: flex;
  min-width: 0;
}

.news-card {
  margin: 0;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: clamp(0.45rem, 1vw, 0.6rem);
  background: #fff;
  border-radius: clamp(0.32rem, 0.75vw, 0.45rem);
  border: 1px solid color-mix(in srgb, var(--text-primary) 7%, transparent);
  box-shadow: 0 0.04rem 0.14rem color-mix(in srgb, var(--text-primary) 5%, transparent);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.news-card__link:hover {
  border-color: color-mix(in srgb, var(--brand-gold) 45%, var(--border-ui));
  box-shadow: 0 0.12rem 0.35rem color-mix(in srgb, var(--text-primary) 8%, transparent);
}

.news-card__link:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: clamp(0.22rem, 0.5vw, 0.32rem);
  object-fit: cover;
  object-position: center;
}

.news-card__date {
  display: block;
  margin-top: clamp(0.4rem, 1vw, 0.55rem);
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  font-weight: 400;
  line-height: 1.3;
  color: #666666;
}

.news-card__title {
  margin: clamp(0.28rem, 0.75vw, 0.4rem) 0 0;
  flex: 1 1 auto;
  font-size: clamp(0.68rem, 0.95vw, 0.8rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: #000000;
}




/* ——— CTA hội viên ——— */
.cta-banner {
  padding-block: clamp(2.25rem, 5.5vw, 4rem);
  background: var(--cta-banner-bg-image, none) top center / cover no-repeat;
}

.cta-banner__box {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.cta-banner__eyebrow {
  margin: 0 0 clamp(0.35rem, 1vw, 0.5rem);
  font-size: clamp(0.72rem, 1.25vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-gold-light) 88%, #fff 12%);
}

.cta-banner__title {
  margin: 0 0 clamp(0.45rem, 1.2vw, 0.65rem);
  font-size: clamp(1.05rem, 2.35vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--brand-gold);
  text-shadow: 0 0.08em 0.35em color-mix(in srgb, #000 35%, transparent);
}

.cta-banner__tagline {
  margin: 0 auto clamp(1.25rem, 2.8vw, 1.85rem);
  max-width: 36rem;
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: color-mix(in srgb, var(--brand-gold-soft) 82%, #fff 18%);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.5vw, 0.75rem);
}

.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55em 1.25em 0.5em;
  border-radius: 0.35rem;
  font-size: clamp(0.68rem, 1.05vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.cta-banner__btn--primary {
  color: #1a0f0a;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-gold) 55%, #fff) 0%,
    var(--brand-gold) 42%,
    color-mix(in srgb, var(--brand-gold) 72%, #a07018) 100%
  );
  border: 1px solid color-mix(in srgb, var(--brand-gold) 60%, #5c3d0a);
  box-shadow:
    0 0.12em 0 color-mix(in srgb, #000 18%, transparent),
    0 0.25em 0.65em color-mix(in srgb, #000 25%, transparent);
}

.cta-banner__btn--primary:hover {
  transform: translateY(-0.06em);
  box-shadow:
    0 0.14em 0 color-mix(in srgb, #000 15%, transparent),
    0 0.35em 0.85em color-mix(in srgb, #000 28%, transparent);
}

.cta-banner__btn--ghost {
  color: var(--brand-gold);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--brand-gold) 78%, #fff 22%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-gold) 15%, transparent);
}

.cta-banner__btn--ghost:hover {
  background: color-mix(in srgb, var(--brand-gold) 12%, transparent);
  border-color: var(--brand-gold-light);
}

.cta-banner__btn:focus-visible {
  outline: 2px solid var(--brand-gold-light);
  outline-offset: 3px;
}




/* =============================================================================
   Responsive — desktop-first, chỉ max-width (đồng bộ base.css)
   Desktop: mặc định (> 992px)
   Tablet:  max-width: 992px
   Mobile:  max-width: 640px
   ============================================================================= */

/* —— Tablet —— */
@media (max-width: 992px) {
  .hero {
    --hero-content-band: min(92vw, 28rem);
    --hero-content-width: min(94%, 26rem);
    padding-inline: var(--container-gutter);
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 252, 248, 0.08) 0%,
      rgba(255, 245, 234, 0.28) 38%,
      rgba(255, 236, 220, 0.52) 62%,
      rgba(255, 228, 206, 0.78) 82%,
      var(--surface-cream) 100%
    );
    filter: blur(clamp(0.75rem, 3vw, 1.75rem));
  }

  .hero__split-panel--right {
    display: none;
  }

  .hero__split-panel--left {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero__split-panel--left img {
    object-position: center center;
  }

  .hero__glow {
    left: 50%;
    width: min(100%, var(--hero-content-band));
    max-width: calc(100% - 2 * var(--container-gutter));
  }

  .hero__glow::before {
    opacity: 0.5;
  }

  .hero__content {
    position: relative;
    left: auto;
    z-index: 4;
    width: 100%;
    max-width: var(--hero-content-band);
    margin-inline: auto;
    transform: none;
    padding: clamp(0.75rem, 2.5vw, 1rem) 0 clamp(0.85rem, 2.8vw, 1.15rem);
    align-items: center;
    text-align: center;
  }

  .hero__content > * {
    margin-inline: auto;
  }

  .hero__logo {
    margin-bottom: clamp(0.5rem, 1.6vw, 0.75rem);
  }

  .hero__script {
    margin-bottom: clamp(0.65rem, 1.8vw, 0.9rem);
  }

  .hero__lead {
    margin-inline: auto;
    margin-bottom: clamp(0.95rem, 2.5vw, 1.2rem);
  }

  .hero__bottom-banner {
    transform: translateY(42%);
  }

  .boxicon__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .library-board-section__layout {
    grid-template-columns: 1fr;
    --library-strip-h: clamp(7rem, 22vw, 10rem);
  }

  .library-gallery__grid {
    height: var(--library-strip-h);
  }

  .library-board__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: auto;
    min-height: var(--library-strip-h);
  }

  .library-board__list > li {
    min-height: var(--library-strip-h);
  }
  .cta-banner {
    padding-block: clamp(1.25rem, 4vw, 1.75rem);
  }

  .cta-banner__box {
    padding-inline: clamp(0.5rem, 3vw, 1rem);
  }

  .cta-banner__title {
    font-size: clamp(0.88rem, 4.2vw, 1.1rem);
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .cta-banner__tagline {
    margin-bottom: clamp(0.85rem, 2.2vw, 1.1rem);
    font-size: clamp(0.72rem, 3vw, 0.85rem);
    line-height: 1.4;
  }

  .cta-banner__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    max-width: min(100%, 24rem);
    margin-inline: auto;
  }

  .cta-banner__btn {
    flex: 1 1 0%;
    width: auto;
    min-height: 2.65rem;
    padding: 0.6em 0.5em;
    font-size: clamp(0.68rem, 3vw, 0.78rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
  }

  .member-activity-section__layout {
    grid-template-columns: 1fr;
  }

  .event-calendar-aside {
    padding-top: clamp(0.25rem, 1vw, 0.5rem);
    border-top: 1px solid color-mix(in srgb, var(--brand-red-dark) 12%, transparent);
  }

  .testimonials-section__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card__body {
    padding-right: clamp(1.25rem, 6vw, 2.25rem);
  }

  .testimonial-card__layout {
    grid-template-columns: var(--testimonial-avatar-size) minmax(0, 1fr);
  }

  .club-stats-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .club-stats-bar__item {
    width: 100%;
    min-height: 100%;
    justify-content: flex-start;
    padding-inline: clamp(0.5rem, 3vw, 1rem);
    padding-block: clamp(0.55rem, 1.6vw, 0.75rem);
  }

  /* Ghi đè desktop :not(:last-child) — chỉ cột trái (1, 3) có vạch phải */
  .club-stats-bar__item:not(:last-child) {
    border-inline-end: none;
  }

  .club-stats-bar__item:nth-child(odd) {
    border-inline-end: 1px solid color-mix(in srgb, var(--brand-gold-light) 22%, transparent);
  }

  .club-stats-bar__item:nth-child(even) {
    border-inline-end: none;
  }

  .club-stats-bar__item:nth-child(-n + 2) {
    border-bottom: 1px solid color-mix(in srgb, var(--brand-gold-light) 22%, transparent);
  }

  .partners-section__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.35rem, 1.2vw, 0.75rem);
  }

  .partners-card__brand {
    font-size: clamp(0.5rem, 2.1vw, 0.6rem);
  }

  .partners-card__slogan {
    font-size: clamp(0.44rem, 1.85vw, 0.54rem);
  }

  .club-intro-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .club-intro-copy__btn {
    width: min(100%, 16rem);
  }

  .club-intro-cards {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-self: stretch;
  }

  .club-intro-media {
    align-self: stretch;
  }

  .club-intro-copy {
    align-self: start;
  }

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

}

/* —— Mobile —— */
@media (max-width: 640px) {
  .partners-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .partners-section__header > .partners-section__line {
    display: none;
  }

  .partners-section__header-end {
    justify-content: flex-end;
    width: 100%;
  }

  .partners-section__header-end .partners-section__line {
    display: none;
  }

  .testimonials-section__header {
    margin-bottom: 1rem;
  }

  .section-heading--partners {
    white-space: normal;
  }

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

  .partners-card:nth-child(n+7) {
    display: none;
  }

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

  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    max-width: min(100%, 24rem);
    margin-inline: auto;
  }

  .hero__btn {
    flex: 1 1 0%;
    width: auto;
  }

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

  .library-board__header,
  .library-gallery__header {
    flex-wrap: wrap;
  }

  .library-board__header .link-view-all,
  .library-gallery__header .link-view-all {
    margin-top: 0;
    margin-left: auto;
  }

  .library-board-section__layout {
    --library-strip-h: auto;
  }

  .library-gallery__grid {
    height: auto;
    min-height: clamp(7rem, 48vw, 10rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .library-gallery__cell--portrait,
  .library-gallery__cell--half {
    grid-column: auto;
    grid-row: auto;
    min-height: clamp(4.5rem, 28vw, 6.5rem);
  }

  .library-gallery__cell--slot-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .library-gallery__cell--slot-2 {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .library-gallery__cell--slot-3 {
    grid-column: 1;
    grid-row: 3;
    min-height: clamp(3.25rem, 22vw, 4.5rem);
  }

  .library-gallery__cell--slot-4 {
    grid-column: 2;
    grid-row: 3;
    min-height: clamp(3.25rem, 22vw, 4.5rem);
  }

  .library-gallery__cell--slot-5 {
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: clamp(4.25rem, 26vw, 6rem);
    aspect-ratio: 16 / 9;
  }

  .library-board__list > li {
    min-height: 0;
  }

  .library-board__list {
    min-height: 0;
  }

  .member-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.4rem, 2.5vw, 0.65rem);
  }

  .section-header-row--news {
    flex-wrap: wrap;
    align-items: center;
  }

  .section-header-row--news .link-view-all {
    margin-left: auto;
  }

  .latest-news-section__grid {
    grid-template-columns: 1fr;
  }

  .club-intro-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 1.35rem);
  }

  .club-intro-media,
  .club-intro-copy {
    align-self: stretch;
  }

  .club-intro-media {
    position: relative;
    min-height: clamp(10rem, 48vw, 14rem);
  }

  .club-intro-media__img,
  .club-intro-media__placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: unset;
  }

  .club-intro-cards {
    grid-column: 1;
    --club-intro-cards-gap: clamp(0.65rem, 3vw, 0.85rem);
    gap: var(--club-intro-cards-gap);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 3 item: 2 + 1 căn giữa; 4 item: 2×2 (item chẵn không match rule này) */
  .club-intro-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, calc((100% - var(--club-intro-cards-gap)) / 2));
  }

  .club-intro-card {
    min-height: 0;
  }
}
