/* Lotusmiles Golf — layout & section chrome */

:root {
  --lmg-primary: #15708c;
  --lmg-primary-deep: #026986;
  --lmg-sky: #56b5e3;
  --lmg-sky-deep: #0179c1;
  --lmg-page-base: #0f2036;
  --lmg-gold: #f7dea4;
  --lmg-gold-deep: #fac75a;
  --lmg-text: #1c2b45;
  --lmg-white: #ffffff;
  --lmg-container: 1120px;
  --lmg-header-h: 90px;
  --lmg-header-stuck-h: 83px;
  --lmg-topbar-h: 44px;
  --lmg-header-blue: #56b5e3;
  --lmg-topbar-bg: #15708c;
  --lmg-nav-stuck: #024a5d;
}

@font-face {
  font-family: "DVN-Beaufort";
  src: url("../fonts/DVN-Beaufort-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DVN-Beaufort";
  src: url("../fonts/DVN-Beaufort-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DVN-Beaufort";
  src: url("../fonts/BeaufortforLOL-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DVN-Beaufort";
  src: url("../fonts/BeaufortforLOL-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  background: var(--lmg-page-base);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
html.lmg-smooth {
  scroll-behavior: auto; /* wheel lerp owns smoothing */
}

body {
  margin: 0;
  font-family: Exo, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--lmg-text);
  background: var(--lmg-page-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* Admin bar adds html margin-top — subtract so body doesn't overflow viewport
     and leave a sky-blue strip under the app CTA. */
  min-height: 100%;
  min-height: 100dvh;
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1 0 auto;
  width: 100%;
  /* Clip absolute clouds horizontally only — full overflow:hidden was
     causing browsers to discard off-screen section BG bitmaps while scrolling. */
  overflow-x: clip;
  overflow-y: visible;
}

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

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

h1,
h2,
h3,
h4,
.lmg-heading {
  font-family: "DVN-Beaufort", Georgia, serif;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}

h2,
.lmg-h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.lmg-container {
  width: min(100% - 40px, var(--lmg-container));
  margin-inline: auto;
}

.lmg-skip {
  position: absolute;
  left: -999px;
}
.lmg-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: #fff;
  padding: 8px 12px;
}

/* —— Header (copied metrics from 2025 Flatsome @1440) —— */
.lmg-topbar {
  background: #15708c !important;
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.lmg-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
  min-height: 44px;
}
.lmg-hotline {
  color: #fff !important;
  font-family: Exo, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 16px;
}
.lmg-hotline strong {
  font-weight: 700;
}
.lmg-langs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lmg-langs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: visible;
}
/* Match 2025 computed sizes; beat effects.css */
.lmg-langs .vietnamflag svg {
  display: block;
  width: 30px !important;
  height: 30px !important;
  max-width: 30px;
  max-height: 30px;
}
.lmg-langs .enflag svg {
  display: block;
  width: 23px !important;
  height: 21px !important;
  max-width: 23px;
  max-height: 21px;
}

.lmg-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  flex-shrink: 0;
}
/* Front page: always fixed. Slide whole header up by topbar height when stuck
   (GPU transform — no layout reflow / sticky swap snap). */
.lmg-header[data-transparent="1"] {
  position: fixed;
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.lmg-header[data-transparent="1"].is-stuck {
  transform: translate3d(0, calc(-1 * var(--lmg-topbar-slide, 44px)), 0);
}
.lmg-header[data-transparent="1"].is-stuck .lmg-topbar {
  pointer-events: none;
}
/* Inner pages only */
.lmg-header:not([data-transparent="1"]) {
  position: sticky;
  top: 0;
}
.lmg-header-bar {
  position: relative;
  background: transparent;
  transition: box-shadow 0.35s ease;
}
.lmg-header-bg {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lmg-header.is-stuck .lmg-header-bg,
.lmg-header:not([data-transparent="1"]) .lmg-header-bg {
  opacity: 1;
}
.lmg-header.is-stuck .lmg-header-bar,
.lmg-header:not([data-transparent="1"]) .lmg-header-bar {
  box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.15);
}
/* Inner pages: never show topbar / never grow to 90px (avoids sticky jump). */
.lmg-header:not([data-transparent="1"]) .hide-for-sticky {
  display: none !important;
}
.lmg-header:not([data-transparent="1"]) .lmg-header-main {
  height: 83px;
}

.lmg-header-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 90px;
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lmg-header.is-stuck .lmg-header-main,
.lmg-header:not([data-transparent="1"]) .lmg-header-main {
  height: 83px;
}
/* Removed: inner-page 90px pre-stuck height (caused jump with topbar hide). */

.lmg-logo {
  flex: 0 0 auto;
  width: 201px;
  height: 90px;
  line-height: 0;
  position: relative;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lmg-header.is-stuck .lmg-logo,
.lmg-header:not([data-transparent="1"]) .lmg-logo {
  height: 83px;
}
.lmg-logo-img {
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 201px;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  padding: 2px 0;
  transform: translateY(-50%);
  transition: opacity 0.28s ease, max-height 0.32s ease, padding 0.32s ease, filter 0.28s ease;
}
.lmg-logo-color,
.lmg-logo-white {
  display: block;
  opacity: 0;
  pointer-events: none;
}
/* Front transparent at top: white logo */
.lmg-header.is-transparent:not(.is-stuck) .lmg-logo-white {
  opacity: 1;
  pointer-events: auto;
}
.lmg-header.is-transparent:not(.is-stuck) .lmg-logo-color {
  opacity: 0;
}
/* Stuck or inner pages: colored logo */
.lmg-header.is-stuck .lmg-logo-white,
.lmg-header:not([data-transparent="1"]) .lmg-logo-white {
  opacity: 0;
}
.lmg-header.is-stuck .lmg-logo-color,
.lmg-header:not([data-transparent="1"]) .lmg-logo-color {
  opacity: 1;
  pointer-events: auto;
}
.lmg-header.is-stuck .lmg-logo-img,
.lmg-header:not([data-transparent="1"]) .lmg-logo-img {
  max-height: 83px !important;
  padding: 11px 0;
}
.lmg-header.is-transparent:not(.is-stuck) .lmg-logo-img:hover {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
}
.lmg-header.is-stuck .lmg-logo-img:hover {
  filter: drop-shadow(0 0 1px rgba(22, 113, 140, 0.7));
}

.lmg-nav-wrap {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.lmg-nav {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.lmg-nav > li {
  margin: 0 11px;
}
.lmg-nav > li:first-child {
  margin-left: 0;
}
.lmg-nav a {
  display: block;
  font-family: Exo, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  padding: 10px 0;
  color: #fff !important;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.28s ease;
}
.lmg-nav a:hover {
  -webkit-text-stroke: 1px;
}
.lmg-header.is-stuck .lmg-nav a,
.lmg-header:not(.is-transparent) .lmg-nav a {
  color: #024a5d !important;
}
.lmg-header.is-stuck .lmg-nav a:hover,
.lmg-header:not(.is-transparent) .lmg-nav a:hover {
  color: #024a5d !important;
}

.lmg-header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.lmg-live-btn.svg-toa-sang,
.lmg-live-btn {
  position: relative;
  display: inline-block;
  background: #d70e0e;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0;
  max-height: 27px;
  max-width: 42px;
  line-height: 0;
  flex: 0 0 auto;
  margin-left: 11px;
}
.lmg-live-btn svg {
  display: block;
  position: relative;
  z-index: 2;
  width: 22px;
  height: 15px;
}

/* Header register CTA */
.lmg-header-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fac75a 0%, #f0b429 55%, #e09a12 100%);
  color: #024a5d !important;
  font-family: Exo, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(224, 154, 18, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.lmg-header-register:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #024a5d !important;
  box-shadow: 0 10px 22px rgba(224, 154, 18, 0.42);
}
.lmg-header.is-transparent:not(.is-stuck) .lmg-header-register {
  color: #024a5d !important;
}

.lmg-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.lmg-header.is-stuck .lmg-nav-toggle,
.lmg-header:not(.is-transparent) .lmg-nav-toggle {
  color: #024a5d;
}

/* Narrow desktop: 2 neat menu rows (no hamburger, no mid-word wrap) */
@media (max-width: 1280px) and (min-width: 901px) {
  .lmg-header-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo actions"
      "nav nav";
    column-gap: 16px;
    row-gap: 4px;
    height: auto;
    min-height: 90px;
    padding: 10px 0 12px;
    align-items: center;
  }
  .lmg-header.is-stuck .lmg-header-main,
  .lmg-header:not(.is-transparent) .lmg-header-main {
    height: auto;
    min-height: 83px;
  }
  .lmg-logo {
    grid-area: logo;
  }
  .lmg-nav-toggle {
    display: none !important;
  }
  .lmg-nav-wrap {
    display: contents;
  }
  .lmg-nav {
    grid-area: nav;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    row-gap: 2px;
    column-gap: 0;
    width: 100%;
  }
  .lmg-nav > li {
    margin: 0 12px 0 0;
  }
  .lmg-nav > li:last-child {
    margin-right: 0;
  }
  .lmg-nav a {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    font-size: 15px;
    line-height: 1.25;
    padding: 4px 0;
  }
  .lmg-header-actions {
    grid-area: actions;
    justify-self: end;
  }
  .lmg-header-register {
    margin-left: 0;
    padding: 0 14px;
    font-size: 14px;
  }
}

/* Mobile: hamburger */
@media (max-width: 900px) {
  .lmg-nav-toggle {
    display: block;
    margin-left: auto;
  }
  .lmg-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }
  .lmg-nav-wrap.is-open {
    display: flex;
  }
  .lmg-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .lmg-nav > li {
    margin: 0 0 8px;
  }
  .lmg-nav a {
    color: #024a5d !important;
    font-size: 16px;
    white-space: normal;
  }
  .lmg-header-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 8px;
    gap: 8px;
  }
  .lmg-header-register {
    margin: 0;
    width: 100%;
  }
  .lmg-live-btn {
    margin: 0;
    align-self: flex-start;
  }
  .lmg-header-main {
    height: 64px;
  }
  .lmg-logo {
    width: 140px;
    height: 64px;
  }
  .lmg-header.is-stuck .lmg-logo,
  .lmg-header:not(.is-transparent) .lmg-logo {
    height: 64px;
  }
  .lmg-logo-img {
    width: 140px;
    max-height: 48px;
  }
}


/* —— Sections —— */
.lmg-section {
  position: relative;
  /* visible so gradients/clouds blend across section edges (2025) */
  overflow: visible;
  color: #fff;
}
.lmg-section-bg,
.lmg-hero-bg,
.lmg-sky-stack__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* Shown while <img> BG is still decoding — keep page from flashing sky blue. */
  background-color: var(--lmg-page-base);
  /* Keep decoded bitmap on GPU so scroll-back doesn't flash empty. */
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
}
.lmg-section-bg {
  top: -1px;
  bottom: -1px;
}
.lmg-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.lmg-hero-bg .lmg-bg-img,
.lmg-sky-stack__bg .lmg-bg-img,
.banner4 .lmg-section-bg .lmg-bg-img {
  object-position: center top;
}
/* Continuous sky for countdown → sponsors only.
   About/Lịch trình uses its own `lmg_about_bg`.
   Do NOT use background-attachment:fixed — body overflow-x:clip breaks it
   and re-clips clouds at every section edge. */
.lmg-sky-stack {
  position: relative;
  background-color: var(--lmg-page-base);
}
.lmg-sky-stack__clouds {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.lmg-sky-stack > .lmg-section {
  position: relative;
  z-index: 2;
  background-color: transparent !important;
}
.lmg-sky-stack > .lmg-section > .lmg-section-inner {
  z-index: 2;
}
.lmg-section-inner {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

/* Hero — single KV composite over background */
.lmg-hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  position: relative;
  color: #fff;
  overflow: hidden;
  background-color: var(--lmg-page-base);
}
.lmg-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 12vh, 120px) 24px 40px;
  box-sizing: border-box;
}
.lmg-hero-kv {
  display: block;
  width: min(1100px, 92vw);
  height: auto;
  max-height: min(78vh, 720px);
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1.4s ease, transform 1.4s ease;
  will-change: opacity, transform;
}
.lmg-hero-kv.is-in {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .lmg-hero-kv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  /*
   * Flow layout (not absolute-in-short-box): KV used to overflow upward
   * under the fixed header when aspect-ratio was too short.
   */
  .lmg-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
  }
  .lmg-hero-stage {
    position: relative;
    inset: auto;
    display: block;
    /* Clear fixed topbar (44) + mobile header bar (64) + gap */
    padding: calc(var(--lmg-topbar-h, 44px) + 64px + 40px) 16px 36px;
  }
  .lmg-hero-kv {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
  }
}

/* Countdown */

/* ===== Countdown (banner2) — match 2025 @ ~280px ===== */
.banner2 {
  position: relative;
  overflow: visible;
}
.banner2 .lmg-countdown-inner {
  /* 2025 banner2 ≈ 280px: glass 222 + below 58 */
  padding: 0 0 58px;
}
.banner2 .lmg-glass-wrap {
  border-radius: 20px;
  background: rgba(163, 220, 248, 0.2);
  filter: drop-shadow(13px 15px 10.8px rgba(28, 43, 69, 0.15));
  backdrop-filter: none;
  padding: 25px 44px 5px;
  min-height: 222px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.lmg-countdown-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  align-items: center;
  width: 100%;
}
.lmg-countdown-left {
  padding-right: 15px;
}
.lmg-countdown-left h2 {
  color: #fff;
  text-align: center;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
}
.lmg-countdown-left .standalone-countdown-container {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap; /* never 3+1 wrap */
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
}
.lmg-countdown-left .standalone-countdown-container:has(.standalone-item) {
  justify-content: center;
}
.standalone-countdown-container .standalone-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex: 0 1 auto;
  min-width: 0;
  width: 100px;
  max-width: 100px;
  padding: 17px 10px;
  margin: 0 5px;
  border-radius: 8px;
  background: #1689ca !important;
  color: #fff !important;
  box-sizing: border-box;
}
.standalone-countdown-container .standalone-number {
  display: block !important;
  font-family: "DVN-Beaufort", Georgia, serif !important;
  font-size: 48px !important;
  font-weight: 500 !important;
  color: #fff !important;
  line-height: normal !important;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.standalone-countdown-container .standalone-text {
  display: block !important;
  font-family: Exo, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-transform: none;
  line-height: normal;
}
.standalone-countdown-container .standalone-separator {
  display: inline-block !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  margin: 0 10px;
  line-height: 1;
}
.standalone-expired {
  display: inline-block;
  text-align: center;
  padding: 20px;
  font-family: Exo, sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
}
.lmg-countdown-right {
  padding-left: 15px;
  text-align: center;
}
.lmg-countdown-right h3 {
  color: #fff;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 8px;
}
.lmg-event-meta {
  color: #f1f1f1;
  font-family: Exo, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
.lmg-event-meta p {
  margin: 0;
}
.lmg-event-meta .lmg-event-time {
  margin-top: 0.15em;
}
.lmg-event-meta strong {
  font-weight: 700;
  color: #fff;
}

@media (max-width: 1280px) and (min-width: 901px) {
  /* Laptop / tablet landscape: 2-col still on — shrink cells so 4 fit */
  .banner2 .lmg-glass-wrap {
    padding: 22px 18px 10px;
  }
  .lmg-countdown-left h2 {
    font-size: 28px;
  }
  .lmg-countdown-left {
    min-width: 0;
  }
  .banner2 .standalone-countdown-container .standalone-item {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 70px !important;
    padding: 12px 4px !important;
    margin: 0 2px !important;
  }
  .banner2 .standalone-countdown-container .standalone-number {
    font-size: 28px !important;
  }
  .banner2 .standalone-countdown-container .standalone-text {
    font-size: 12px !important;
  }
  .banner2 .standalone-countdown-container .standalone-separator {
    margin: 0 2px !important;
    font-size: 16px !important;
    flex: 0 0 auto;
  }
  .lmg-countdown-right h3 {
    font-size: 20px;
  }
  .lmg-event-meta {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .lmg-countdown-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lmg-countdown-left,
  .lmg-countdown-right {
    padding: 0;
  }
  .banner2 .lmg-glass-wrap {
    padding: 20px 12px 14px;
  }
  .lmg-countdown-left h2 {
    font-size: clamp(22px, 6vw, 32px);
  }
  .lmg-countdown-left .standalone-countdown-container {
    justify-content: center;
    width: 100%;
  }
  .banner2 .standalone-countdown-container .standalone-item {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 78px !important;
    padding: 10px 4px !important;
    margin: 0 2px !important;
  }
  .banner2 .standalone-countdown-container .standalone-number {
    font-size: clamp(22px, 7vw, 32px) !important;
  }
  .banner2 .standalone-countdown-container .standalone-text {
    font-size: clamp(10px, 2.8vw, 13px) !important;
  }
  .banner2 .standalone-countdown-container .standalone-separator {
    margin: 0 1px !important;
    font-size: 16px !important;
    flex: 0 0 auto;
  }
}

/* ===== Cloud deco ===== */
.lmg-clouds-deco {
  position: absolute;
  inset: -8% 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.lmg-clouds-deco .dammay {
  position: absolute;
  opacity: 0.2;
  width: auto;
  height: auto;
  max-width: none;
}
.lmg-clouds-deco .dammay2 { left: 18%; top: 8%; width: 48%; }
.lmg-clouds-deco .dammay3 { right: -8%; top: 2%; width: 38%; }
.lmg-clouds-deco .dammay4 { left: 12%; top: 42%; width: 55%; }
/* span across sponsors → about so clouds are not section-clipped */
.lmg-sky-stack__clouds .dammay2 { top: 6%; }
.lmg-sky-stack__clouds .dammay3 { top: 0; }
.lmg-sky-stack__clouds .dammay4 { top: 28%; bottom: auto; }

/* ===== Sponsors slider (banner3 @1425 ≈ 263px) ===== */
.banner3 {
  position: relative;
  color: #fff;
  min-height: 263px;
  background-color: transparent;
}
.banner3 .lmg-section-inner {
  padding: 88px 0 56px;
  position: relative;
  z-index: 2;
}
.lmg-sponsors-heading {
  text-align: center;
  color: #fff;
  margin: 0 0 10px;
  font-size: 40px;
}
.lmg-logo-slider {
  position: relative;
  min-height: 87px;
  /* class annut: hands hidden until hover (2025) */
}
.lmg-logo-track {
  overflow: hidden;
  padding: 10px 0 20px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.lmg-logo-track.is-dragging {
  cursor: grabbing;
}
.lmg-logo-rail {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.lmg-logo-slide {
  flex: 0 0 187px;
  width: 187px;
  display: grid;
  place-items: center;
  padding: 0 15px;
  pointer-events: none;
}
.lmg-logo-slide img,
.lmg-logo-slide img.logotaitro {
  width: 157px;
  height: 57px;
  max-width: 157px;
  max-height: 57px;
  object-fit: contain;
}
/* Shared prev/next for other sliders (uniform, etc.) */
.lmg-slider-prev,
.lmg-slider-next {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  cursor: pointer;
  background: url("/wp-content/uploads/2025/09/Union.png") center / contain no-repeat;
  opacity: 0.85;
}
.lmg-slider-prev { transform: scaleX(-1); }

/* Hands (Union.png) — hidden until slider hover, like .annut + Flatsome */
.lmg-logo-slider > .lmg-slider-prev,
.lmg-logo-slider > .lmg-slider-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  flex: none;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: url("/wp-content/uploads/2025/09/Union.png") center / contain no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.lmg-logo-slider > .lmg-slider-prev { left: 0; transform: scaleX(-1); }
.lmg-logo-slider > .lmg-slider-next { right: 0; transform: none; }
.lmg-logo-slider:hover > .lmg-slider-prev,
.lmg-logo-slider:hover > .lmg-slider-next {
  opacity: 0.7;
  pointer-events: auto;
}
.lmg-logo-slider > .lmg-slider-prev:hover,
.lmg-logo-slider > .lmg-slider-next:hover {
  opacity: 1;
}

/* ===== About stacked (banner4 @1425 ≈ 1112px, pad 30) ===== */
.banner4 {
  position: relative;
  /* extra top air under sponsors logos */
  padding: 52px 0 30px;
  overflow: visible;
}
.banner4 .lmg-section-inner { padding: 0; }
.lmg-about-full {
  padding: 51px 42px 30px;
  margin-bottom: 0;
  color: #fff;
}
/* Same pattern as register card bg (`lmg_reg_card_bg`). */
.lmg-about-full.has-bg-image,
.lmg-about-full.has-bg-image:hover {
  background-image: var(--lmg-about-card-bg-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  backdrop-filter: none;
}
.lmg-about-full h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 10px;
}
.font24,
.font24 p,
.font24 span {
  font-size: 22px;
  line-height: 1.4;
}
.lmg-about-full .font24 p {
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  text-align: justify;
  margin: 0 0 10px;
}
.lmg-about-full .font24 strong {
  font-weight: 700;
  color: inherit;
}
/* Flatsome gap-element 154px + col pb 30px between about & schedule */
.lmg-schedule-block {
  margin-top: 184px;
}
.lmg-plane-strip {
  position: relative;
  margin: 0 0 30px;
  margin-left: -10%;
  width: 110%;
  min-height: 80px;
  padding: 21px 0 1px 109px;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 0.5) 100%);
  overflow: visible;
}
.lmg-plane-strip.has-bg-image {
  background-color: transparent;
  background-image: var(--lmg-sched-title-bg-image);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 100% 100%;
}
.lmg-plane-strip h2 {
  margin: 0 0 10px;
  color: #fff;
  position: relative;
  z-index: 2;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}
.lmg-plane-strip::after {
  content: "";
  position: absolute;
  top: -38%;
  right: -12%;
  width: 300px;
  height: 176%;
  background: url("/wp-content/uploads/2025/09/maybay2.png") center / contain no-repeat;
  animation: maybayBayNgang 5s ease-in-out;
  z-index: 1;
  pointer-events: none;
}
.lmg-schedule-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.lmg-schedule-stack li {
  position: relative;
  isolation: isolate;
  border-radius: 0 100px 100px 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.8) 0.2%, transparent 107.18%);
  color: #fff;
  margin-left: -10%;
  width: 110%;
  min-height: 55px;
  margin-bottom: 30px;
  /* Extra right pad so desc clears the rounded pill end */
  padding: 13px 80px 13px 109px;
}
.lmg-schedule-stack li.has-bg-image {
  background-color: transparent;
  background-image: var(--lmg-sched-item-bg-image);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 100% 100%;
}
/* Gradient backgrounds don't interpolate — fade hover layer via opacity. */
.lmg-schedule-stack li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(270deg, #15708c 0.2%, rgba(21, 112, 140, 0.1) 107.18%);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
  pointer-events: none;
}
.lmg-schedule-stack li:hover::before {
  opacity: 1;
}
.lmg-schedule-stack li > * {
  position: relative;
  z-index: 1;
}
.lmg-sched-row {
  display: grid;
  /*
   * 20% = giữ vị trí cột giờ như bản gốc.
   * 11rem cố định (đủ “10h30 – 11h40”) → mọi mô tả thẳng một cột.
   * Không dùng max-content theo từng row (sẽ lệch mô tả).
   */
  grid-template-columns: 20% 11rem minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: center;
  padding: 0;
  min-height: 41px;
  font-size: 22px;
  color: inherit;
}
.lmg-sched-row .time {
  grid-column: 2;
  font-weight: 400;
  font-size: 22px;
  white-space: nowrap;
  text-align: left;
  padding-left: 0;
}
.lmg-sched-row .desc {
  grid-column: 3;
  font-size: 22px;
  line-height: 1.35;
  text-align: left;
}

/* ===== Format (banner5 @1425 ≈ 675px, pad 30) ===== */
.banner5 {
  padding: 30px 0;
  min-height: 675px;
}
.banner5 .lmg-section-inner { padding: 0; position: relative; z-index: 2; }
.lmg-format-stage {
  /* Same-cell grid: panel stays overlapping the photo, but row height
     grows with whichever is taller so long copy doesn't pierce prizes. */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(min-content, auto);
  align-items: start;
  min-height: 555px;
  padding-top: 40px;
  padding-bottom: 60px;
}
.lmg-format-visual {
  grid-area: 1 / 1;
  justify-self: start;
  position: relative;
  width: min(717px, 64%);
  height: 465px;
  border-radius: 20px;
  overflow: visible;
  z-index: 1;
}
.lmg-format-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.lmg-format-photo-frame .image-zoom-long {
  width: 100%;
  height: 100%;
}
.lmg-format-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transform-origin: center center;
  /* Flatsome image-zoom-long */
  transition: transform 5s !important;
}
.has-hover:hover .image-zoom-long .lmg-format-photo,
.lmg-format-photo-frame:hover .lmg-format-photo,
.lmg-format-visual:hover .lmg-format-photo {
  transform: scale(1.3);
}
.lmg-format-person-wrap {
  position: absolute;
  left: 35.1%;
  bottom: 4.9%;
  width: 29.8%;
  z-index: 3;
  line-height: 0;
}
.lmg-format-person {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 1s ease;
  filter: none;
}
/* 2025 glow: .connguoi.img:hover img */
.connguoi:hover .lmg-format-person,
.lmg-format-person-wrap:hover .lmg-format-person {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
.lmg-format-badge {
  position: absolute;
  left: 47.1%;
  top: 9.6%;
  width: 114px;
  max-width: 16%;
  z-index: 2;
  border-radius: 0;
}
.lmg-format-panel {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: start;
  position: relative;
  top: auto;
  right: auto;
  margin-top: 19px;
  width: min(623px, 56%);
  min-height: 418px;
  height: auto;
  z-index: 20;
  padding: 52px 52px 30px 131px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}
.lmg-format-panel h2 {
  color: #15708c;
  margin: 0 0 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}
.lmg-format-panel .lmg-btn.nutxanh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 84%;
  margin: 0 0 16px;
  padding: 10px 36px 5px;
  border-radius: 61px;
  background: #15708c;
  color: #fff !important;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
}
.lmg-format-body {
  max-height: none;
  overflow: visible;
  opacity: 1;
  margin: 0;
}
.lmg-format-body p {
  color: #15708c;
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
  text-align: left;
}

/* ===== Prizes (banner6 @1425 ≈ 750px) ===== */
.banner6 {
  overflow: visible;
  min-height: 750px;
}
.banner6 .lmg-section-inner { padding: 30px 0 50px; position: relative; z-index: 2; }
.lmg-prize-cloud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 458px;
  object-fit: cover;
  object-position: bottom;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
.lmg-prizes-grid {
  display: grid;
  /* large-5 / large-7 with extra left pull on cup */
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 24px;
  align-items: center;
  min-height: 690px;
}
.lmg-prizes-cup {
  position: relative;
  z-index: 2;
  /* push phoenix/plane further left — gap ~228px to panel like 2025 */
  margin-left: calc(-1 * min(22vw, 260px));
}
.lmg-prizes-cup img {
  display: block;
  width: 516px;
  max-width: 130%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(21, 112, 140, 0.3));
}
.lmg-prizes-panel {
  padding: 52px 30px 30px 25px;
  color: #15708c;
  min-height: 690px;
  box-sizing: border-box;
}
/* Top: 4/12 + 8/12 like Flatsome medium-4 / medium-8 */
.lmg-prizes-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 15px;
  align-items: start;
}
.lmg-prizes-cup-heading {
  color: #15708c !important;
  font-size: 31px !important;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  margin: 0;
}
.lmg-prizes-cup-body p,
.lmg-prizes-foot p,
.lmg-prizes-panel p {
  color: #15708c !important;
  font-size: 18px;
  line-height: 1.45;
  text-align: justify;
  margin: 0;
}
.lmg-prize-value-block {
  margin-top: 28px;
}
.lmg-prizes-value-heading {
  color: #15708c !important;
  font-size: 31px !important;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 10px;
}
/* chuxanhto — teal bar + gold text (2025) */
.lmg-prizes-panel .chuxanhto {
  margin: 0 0 16px;
}
.lmg-prizes-panel .chuxanhto h2,
.lmg-prizes-panel h2.lmg-prize-value {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: 10px;
  background: #15708c;
  backdrop-filter: blur(2px);
  color: #f7dea4 !important;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 31px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 10px 12px 3px;
}
.lmg-prizes-panel .chuxanhto h2 .price {
  color: inherit;
}
.lmg-prizes-panel .chuxanhto h2 strong {
  font-size: 19px;
  font-weight: 700;
  margin-left: 2px;
  color: inherit;
}
.lmg-prizes-foot {
  margin-top: 8px;
}

/* ===== Uniform slider (banner7 — intro in container, cards bleed to viewport right) ===== */
.lmg-section.banner7 {
  padding: 30px 0;
  overflow: visible;
  min-height: 1262px;
}
.banner7 .lmg-section-inner {
  padding: 0;
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  overflow: visible;
}
.lmg-uniform-layout {
  display: flex;
  align-items: flex-start;
  gap: 150px;
  /* breathing room like 2025 (heading ~295px from section top) */
  padding-top: 250px;
  padding-bottom: 480px;
  /* left = centered 1120 edge; right = viewport edge (2025 row + overflow col) */
  width: auto;
  max-width: none;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  margin-right: 0;
  box-sizing: border-box;
}
.lmg-uniform-intro {
  flex: 0 0 250px;
  max-width: 250px;
  padding: 0;
  margin: 0;
}
.lmg-uniform-intro h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 500;
  text-align: left;
  line-height: 1.2;
}
.lmg-uniform-intro-body p,
.lmg-uniform-intro p {
  margin: 0;
  font-size: 18px;
  color: #fff;
  text-align: left;
  line-height: 1.4;
}
.lmg-uniform-slider {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 366px;
  margin-right: 0;
  width: auto;
}
.lmg-uniform-track {
  overflow: hidden;
  height: 100%;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.lmg-uniform-track.is-dragging {
  cursor: grabbing;
}
.lmg-uniform-track.is-dragging .lmg-uniform-card {
  /* backdrop-filter while translating parents is a common drag stutter source */
  backdrop-filter: none;
}
.lmg-uniform-rail {
  display: flex;
  gap: 30px;
  height: 100%;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.lmg-uniform-slide {
  flex: 0 0 336px;
  width: 336px;
  height: 366px;
}
.lmg-uniform-card,
.anhdongphuc .image-cover {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.lmg-uniform-card img,
.anhdongphuc .image-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  pointer-events: none;
}
/* shimmer hover like 2025 anhdongphuc */
.anhdongphuc .image-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.6),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 20px;
  pointer-events: none;
}
.anhdongphuc .image-cover:hover::before {
  opacity: 1;
  animation: loeSangManh 0.8s ease-out;
}
/* Hands — hidden until hover (annut) */
.lmg-uniform-slider > .lmg-slider-prev,
.lmg-uniform-slider > .lmg-slider-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: url("/wp-content/uploads/2025/09/Union.png") center / contain no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.lmg-uniform-slider > .lmg-slider-prev { left: 8px; transform: scaleX(-1); }
.lmg-uniform-slider > .lmg-slider-next { right: 8px; transform: none; }
.lmg-uniform-slider:hover > .lmg-slider-prev,
.lmg-uniform-slider:hover > .lmg-slider-next {
  opacity: 0.7;
  pointer-events: auto;
}
.lmg-uniform-slider > .lmg-slider-prev:hover,
.lmg-uniform-slider > .lmg-slider-next:hover {
  opacity: 1;
}

/* ===== Livescore (banner8 @1425 ≈ 1362px, pad 30) ===== */
.banner8 {
  padding: 30px 0;
  overflow: visible;
  min-height: 1362px;
  /* solid base so page base does not punch through */
  background-color: #f7dea4;
}
.banner8 .lmg-section-inner { padding: 179px 0 0; position: relative; z-index: 2; }
.lmg-org-row {
  display: grid;
  grid-template-columns: repeat(2, 323px);
  gap: 61px;
  justify-content: start;
  margin-bottom: 0;
}
.lmg-org-item {
  width: 323px;
  min-height: 154px;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.lmg-org-item img,
.lmg-org-item img.logotaitro {
  width: 281px;
  height: 71px;
  max-width: 87%;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}
.lmg-org-item p {
  margin: 1.9px 0 0;
  padding: 20px 0 0;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  font-family: Exo, sans-serif;
  text-align: center;
  line-height: 1.4;
}
.lmg-livescore-stage {
  position: relative;
  margin-top: 40px;
}
.lmg-livescore-scenic-bg {
  display: block;
  width: 100%;
  height: 718px;
  object-fit: cover;
  pointer-events: none;
}
.lmg-livescore-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 57px;
  z-index: 2;
  pointer-events: none;
}
.lmg-livescore-overlay > * {
  pointer-events: auto;
}
.lmg-livescore-title {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
}
.lmg-livescore-title h2,
.lmg-livescore-title .sangmanhx {
  margin: 0;
  color: #fff;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  background: none;
  padding: 0;
}
.lmg-livescore-accent.svg-toa-sang {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 12px;
  background: #d70e0e;
  border-radius: 8px;
}
.lmg-livescore-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}
.lmg-livescore-left {
  display: flex;
  justify-content: center;
  padding: 76px 15px 30px;
}
.lmg-livescore-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: #15708c;
  color: #fff !important;
  font-family: Exo, sans-serif;
  font-size: 17.5px;
  font-weight: 400;
  text-decoration: none;
  padding: 6px 64px 0;
  min-height: 50px;
  min-width: 312px;
  box-sizing: border-box;
  text-transform: none;
}
.lmg-livescore-cta:hover {
  filter: brightness(1.05);
}
.lmg-livescore-right {
  display: flex;
  justify-content: center;
  padding: 0 15px 30px;
}
.lmg-livescore-board {
  width: 530px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.lmg-glass {
  border-radius: 20px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(2px);
  color: var(--lmg-primary-deep);
  transition: background 0.4s ease;
}
.lmg-glass:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.nenvang2.lmg-glass,
.lmg-glass.nenvang2 {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.73) 47.48%);
  backdrop-filter: blur(3px);
}
.nenvang3.lmg-glass,
.lmg-glass.nenvang3 {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
}
.nenvang4.lmg-glass,
.lmg-glass.nenvang4 {
  background: rgba(248, 248, 248, 0.2);
  box-shadow: 0 4px 4px 0 rgba(96, 161, 179, 0.2);
}

.lmg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #15708c;
  color: #fff !important;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  padding: 12px 36px 10px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: fit-content;
}
.lmg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 112, 140, 0.35);
}

.lmg-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .lmg-countdown-grid,
  .lmg-prizes-grid,
  .lmg-org-row,
  .lmg-grid-2 {
    grid-template-columns: 1fr;
  }
  .lmg-org-row {
    gap: 28px;
    justify-items: center;
  }
  .lmg-org-item {
    width: min(323px, 100%);
  }
  /* Match 2025 mobile Flickity cols (~125px cell / 95px logo) — never % of max-content rail. */
  .lmg-logo-slide {
    flex: 0 0 125px;
    width: 125px;
    min-width: 0;
    padding: 0 15px;
  }
  .lmg-logo-slide img,
  .lmg-logo-slide img.logotaitro {
    width: 95px;
    height: 57px;
    max-width: 95px;
    max-height: 57px;
  }
  .lmg-sched-row {
    grid-template-columns: 1fr;
    padding-left: 6%;
  }
  .lmg-sched-row .time,
  .lmg-sched-row .desc {
    grid-column: auto;
  }
  .lmg-plane-strip::after { width: 200px; top: -20%; height: 140%; }
  .lmg-format-stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .lmg-format-visual {
    width: 100%;
    height: auto;
    min-height: 280px;
    aspect-ratio: 717 / 465;
    grid-area: auto;
    justify-self: stretch;
  }
  .lmg-format-panel {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 0;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 28px 24px 24px;
    grid-area: auto;
    justify-self: stretch;
  }
  .lmg-format-panel .lmg-btn.nutxanh {
    min-width: 100%;
  }
  .lmg-livescore-scenic-bg { height: auto; max-height: 420px; }
  .lmg-livescore-overlay {
    position: relative;
    top: auto;
    margin-top: -120px;
    padding-bottom: 24px;
  }
  .lmg-livescore-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lmg-livescore-left {
    padding-top: 24px;
    order: 2;
  }
  .lmg-livescore-right { order: 1; }
  .lmg-livescore-cta {
    min-width: 0;
    width: 100%;
    max-width: 312px;
  }
  .lmg-livescore-board { width: 90%; }
  .lmg-uniform-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 16px 48px;
    box-sizing: border-box;
  }
  .banner5,
  .banner6,
  .banner7,
  .banner8 {
    min-height: 0;
  }
  .lmg-uniform-intro {
    flex: none;
    max-width: none;
  }
  .lmg-uniform-intro h2 {
    text-align: center;
  }
  .lmg-uniform-intro-body p {
    text-align: center;
  }
  .lmg-uniform-slider {
    height: 300px;
    margin: 0;
    max-width: none;
  }
  .lmg-uniform-slide {
    flex: 0 0 260px;
    width: 260px;
    height: 300px;
  }
  .banner8 .lmg-section-inner { padding-top: 48px; }
  .lmg-livescore-stage { margin-top: 24px; }
  .banner4,
  .banner5,
  .banner7,
  .banner8 { padding: 24px 0; }
  .lmg-sched-row {
    grid-template-columns: 1fr;
    padding: 14px 20px 14px 6%;
  }
  .lmg-sched-row .time,
  .lmg-sched-row .desc {
    grid-column: auto;
  }
  .lmg-plane-strip { padding-left: 6%; }
  .lmg-prizes-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
  }
  .lmg-prizes-cup {
    margin-left: 0;
    display: flex;
    justify-content: center;
  }
  .lmg-prizes-cup img {
    width: min(516px, 90%);
    max-width: 100%;
  }
  .lmg-prizes-panel {
    min-height: 0;
  }
  .lmg-prizes-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lmg-prizes-cup-heading {
    text-align: center;
  }
  .lmg-prizes-grid,
  .lmg-prizes-panel { min-height: 0; }
}

.lmg-app-strip {
  background: #15708c;
  color: #fff;
  min-height: 103px;
  padding: 15px 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
}
.lmg-app-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lmg-app-logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 1 1 auto;
  min-width: 0;
}
.lmg-app-logo-vna {
  width: 196px;
  height: 65px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.lmg-app-logo-event {
  width: 242px;
  height: 56px;
  max-width: 100%;
  margin-top: 5px;
  object-fit: contain;
  display: block;
}
.lmg-app-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex: 0 1 auto;
}
.lmg-app-text {
  color: #f1f1f1 !important;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
}
.lmg-app-text:hover {
  color: #fff !important;
}
.lmg-app-qr.maqr {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 73px;
  height: 73px;
  overflow: hidden;
  border-radius: 8px;
}
.lmg-app-qr .img-inner {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.lmg-app-qr img {
  width: 73px;
  height: 73px;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 900px) {
  .lmg-app-strip-inner {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  .lmg-app-logos {
    gap: 1rem;
    justify-content: center;
  }
  .lmg-app-logo-vna {
    width: 140px;
    height: auto;
  }
  .lmg-app-logo-event {
    width: 170px;
    height: auto;
  }
  .lmg-app-cta {
    flex-wrap: wrap;
    justify-content: center;
  }
  .lmg-app-text {
    white-space: normal;
    text-align: center;
  }
}

/* Floating CTA — replaced by header + mid-page band */
.lmg-float-cta {
  display: none !important;
}

/* Register CTA — sits inside livescore cream, no extra painted band */
.lmg-livescore-register {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 8px 0 36px;
}
.lmg-register-band-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(280px, 80vw);
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0179c1 0%, #0a8fd0 42%, #56b5e3 100%);
  color: #fff !important;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 12px 28px rgba(1, 80, 130, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.lmg-register-band-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(1, 80, 130, 0.36);
}

@media (max-width: 1200px) {
  .lmg-livescore-register {
    padding: 4px 0 24px;
  }
  .lmg-register-band-btn {
    min-height: 48px;
    font-size: 18px;
  }
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 1.1s ease, filter 1.1s ease;
  filter: blur(2px);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-reveal="left"] {
  transform: translateX(-40px);
}
[data-reveal="right"] {
  transform: translateX(40px);
}
[data-reveal="left"].is-in,
[data-reveal="right"].is-in {
  transform: none;
}

/* Clouds */
.lmg-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.lmg-cloud {
  position: absolute;
  opacity: 0.22;
  animation: bayTraiQuaPhai linear infinite;
}
.lmg-cloud img {
  width: 100%;
}

.lmg-footer {
  display: none;
}

.lmg-admin-version {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 99999;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(1, 40, 70, 0.72);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  pointer-events: none;
  user-select: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(1, 40, 70, 0.25);
}

.lmg-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .lmg-grid-2,
  .lmg-uniform-grid,
  .lmg-org-row {
    grid-template-columns: 1fr;
  }
  .lmg-plane-strip::after {
    width: 220px;
    top: -20%;
    height: 140%;
  }
}

@media (max-width: 549px) {
  body {
    font-size: 16px;
  }
  .lmg-section-inner {
    padding: 40px 0;
  }
  .lmg-sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Venue map ===== */
.banner-map {
  position: relative;
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #f7dea4 0%, #f3d58e 40%, #e8c97a 100%);
  overflow: hidden;
}
.banner-map.has-bg-image {
  background: transparent;
}
.banner-map .lmg-section-bg {
  z-index: 0;
}
.banner-map .lmg-section-inner {
  position: relative;
  z-index: 1;
}
.lmg-map-heading {
  margin: 0 0 10px;
  text-align: center;
  font-family: "DVN-Beaufort", Georgia, serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  color: #fff;
}
.lmg-map-venue {
  margin: 0 0 22px;
  text-align: center;
  font-size: 17px;
  color: #fff;
  opacity: 0.92;
}
.lmg-map-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(21, 80, 110, 0.18);
  background: #dceef8;
  aspect-ratio: 16 / 9;
}
.lmg-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lmg-map-caption {
  margin: 14px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  color: #fff;
}
@media (max-width: 900px) {
  .banner-map { padding: 36px 0 48px; }
  .lmg-map-frame { aspect-ratio: 4 / 3; border-radius: 14px; }
}
