/* League Estates — AI Videos (cinematic) + Chinese videos */

/* Shared shell */
.le-zh-videos,
.le-ai-videos {
  --navy: #0a2744;
  --gold: #c9a227;
  --paper: #f7f4ef;
  --ink: #1a1f26;
  --muted: #5c6b7a;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.1rem 2rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}
.le-zh-videos *,
.le-zh-videos *::before,
.le-zh-videos *::after,
.le-ai-videos *,
.le-ai-videos *::before,
.le-ai-videos *::after {
  box-sizing: border-box;
}

/* ========== Chinese light luxury ========== */
.le-zh-videos .le-zh-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin: 0 0 1.75rem;
  padding: 1.75rem 1.5rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #0a2744 0%, #123a5c 55%, #0a2744 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: inset 0 4px 0 0 #c9a227, 0 18px 40px rgba(10, 39, 68, 0.2);
}
.le-zh-videos .le-zh-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8d48b;
  margin-bottom: 0.5rem;
}
.le-zh-videos .le-zh-hero-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: #fff;
  font-weight: 800;
}
.le-zh-videos .le-zh-hero-card p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
}
.le-zh-videos .le-zh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}
.le-zh-videos .le-zh-pills a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 700;
}
.le-zh-videos .le-zh-pills a:hover {
  background: rgba(201, 162, 39, 0.28);
  border-color: var(--gold);
}
.le-zh-videos .le-zh-section {
  margin: 0 0 2rem;
}
.le-zh-videos .le-zh-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(10, 39, 68, 0.08);
}
.le-zh-videos .le-zh-section-head h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
}
.le-zh-videos .le-zh-section-head span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}
.le-zh-videos .le-zh-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #fff;
  border: 1px solid rgba(10, 39, 68, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 39, 68, 0.07);
}
@media (max-width: 820px) {
  .le-zh-videos .le-zh-feature {
    grid-template-columns: 1fr;
  }
}
.le-zh-videos .le-zh-feature-media {
  background: #0a0a0a;
  min-height: 240px;
}
.le-zh-videos .le-zh-feature-media .wp-block-embed,
.le-zh-videos .le-zh-feature-media figure {
  margin: 0 !important;
}
.le-zh-videos .le-zh-feature-media .le-yt-facade {
  border-radius: 0 !important;
  min-height: 280px;
}
.le-zh-videos .le-zh-feature-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.le-zh-videos .le-zh-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6a12;
  background: rgba(201, 162, 39, 0.16);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.le-zh-videos .le-zh-feature-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 800;
}
.le-zh-videos .le-zh-feature-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.le-zh-videos .le-zh-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a3d5c, #0a2744);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.92rem;
  width: fit-content;
}
.le-zh-videos .le-zh-cta:hover {
  background: linear-gradient(180deg, #c9a227, #b8911c);
  color: #1a1404 !important;
}
.le-zh-videos .le-zh-playlist-wrap {
  background: var(--paper);
  border: 1px solid rgba(10, 39, 68, 0.08);
  border-radius: 18px;
  padding: 1.1rem 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(10, 39, 68, 0.05);
}
.le-zh-videos .le-zh-playlist-wrap .yotu-wrapper-player {
  width: 100% !important;
  max-width: 100% !important;
}
.le-zh-videos .le-zh-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.le-zh-videos .le-zh-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.le-zh-videos .le-zh-footer-links a {
  color: var(--navy) !important;
  font-weight: 700;
  text-decoration: none !important;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(10, 39, 68, 0.12);
}
.le-zh-videos .le-zh-footer-links a:hover {
  border-color: var(--gold);
  background: #fffdf6;
}

/* ========== English cinematic AI Videos ========== */
.le-ai-videos {
  --navy: #071a2e;
  --gold: #d4af37;
  --gold-soft: #e8d48b;
  --ink: #eef3f8;
  --muted: #9aadc0;
  color: var(--ink);
  position: relative;
}

/* Ambient glow behind the whole block */
.le-ai-videos::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2rem;
  transform: translateX(-50%);
  width: min(100%, 920px);
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.le-ai-videos > * {
  position: relative;
  z-index: 1;
}

.le-ai-videos .le-ai-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0 0 2rem;
  padding: 2.25rem 1.75rem 1.9rem;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 92% -8%, rgba(212, 175, 55, 0.32), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(40, 120, 180, 0.28), transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(120, 60, 200, 0.08), transparent 60%),
    linear-gradient(145deg, #04101c 0%, #0c2a48 48%, #061525 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow:
    inset 0 3px 0 0 #d4af37,
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 56px rgba(0, 0, 0, 0.4);
}
.le-ai-videos .le-ai-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.le-ai-videos .le-ai-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
  pointer-events: none;
}
.le-ai-videos .le-ai-hero-inner {
  position: relative;
  z-index: 1;
}
.le-ai-videos .le-ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.7rem;
}
.le-ai-videos .le-ai-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.95);
  animation: le-ai-pulse 2.4s ease-in-out infinite;
}
@keyframes le-ai-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(212, 175, 55, 0.8); }
  50% { opacity: 0.65; box-shadow: 0 0 18px rgba(212, 175, 55, 1); }
}
.le-ai-videos .le-ai-hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #fff 40%, #e8d48b 140%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Fallback if clip unsupported */
@supports not (background-clip: text) {
  .le-ai-videos .le-ai-hero h2 {
    color: #fff;
    -webkit-text-fill-color: #fff;
  }
}
.le-ai-videos .le-ai-hero p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
  font-size: 1.06rem;
}
.le-ai-videos .le-ai-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0 0 1.25rem;
}
.le-ai-videos .le-ai-stat {
  display: flex;
  flex-direction: column;
  min-width: 5.5rem;
}
.le-ai-videos .le-ai-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.le-ai-videos .le-ai-stat span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}
.le-ai-videos .le-ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.le-ai-videos .le-ai-pills a {
  display: inline-block;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.le-ai-videos .le-ai-pills a:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.le-ai-videos .le-ai-section {
  margin: 0 0 1.75rem;
}
.le-ai-videos .le-ai-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}
.le-ai-videos .le-ai-section-head h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 800;
}
.le-ai-videos .le-ai-section-head span {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.le-ai-videos .le-ai-playlist-wrap {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(10, 28, 48, 0.98), rgba(4, 14, 26, 0.99));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 22px;
  padding: 1.25rem 1.1rem 1.45rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(40, 100, 160, 0.08);
  overflow: hidden;
}
.le-ai-videos .le-ai-playlist-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  pointer-events: none;
}

/* YotuWP player + grid polish */
.le-ai-videos .le-ai-playlist-wrap .yotu-wrapper-player,
.le-ai-videos .le-ai-playlist-wrap .yotu-playlist,
.le-ai-videos .le-ai-playlist-wrap .yotu-videos,
.le-ai-videos .le-ai-playlist-wrap .yotuwp {
  width: 100% !important;
  max-width: 100% !important;
}
.le-ai-videos .yotu-wrapper-player {
  margin: 0 auto 1rem !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.le-ai-videos .yotu-player,
.le-ai-videos .yotu-video-placeholder {
  border-radius: 14px;
}
.le-ai-videos .yotu-video-title,
.le-ai-videos .yotu-video-description,
.le-ai-videos .yotu-playing-status {
  color: #e8eef5 !important;
}
.le-ai-videos .yotu-video {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.le-ai-videos a.yotu-video {
  display: block;
  text-decoration: none !important;
}
.le-ai-videos .yotu-video:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.15);
}
.le-ai-videos .yotu-video-thumb-wrp {
  position: relative;
  overflow: hidden;
}
.le-ai-videos .yotu-video-thumb {
  transition: transform 0.35s ease;
}
.le-ai-videos .yotu-video:hover .yotu-video-thumb {
  transform: scale(1.04);
}
.le-ai-videos .yotu-video-title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  padding: 0.55rem 0.65rem 0.7rem !important;
  line-height: 1.35 !important;
}
.le-ai-videos .le-yt-facade {
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Pagination buttons */
.le-ai-videos .yotu-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.85rem 0 !important;
  color: var(--muted) !important;
  font-weight: 600;
}
.le-ai-videos .yotu-button-prs,
.le-ai-videos .yotu-pagination a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.le-ai-videos .yotu-button-prs:hover,
.le-ai-videos .yotu-pagination a:hover {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: var(--gold) !important;
  transform: translateY(-1px);
}
.le-ai-videos .yotu-pagination-current {
  color: var(--gold-soft) !important;
  font-weight: 800;
}

.le-ai-videos .le-ai-note {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.le-ai-videos .le-ai-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.9rem;
}
.le-ai-videos .le-ai-footer-links a {
  color: #e8eef5 !important;
  font-weight: 700;
  text-decoration: none !important;
  padding: 0.52rem 1rem;
  border-radius: 12px;
  background: rgba(10, 28, 48, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.24);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.le-ai-videos .le-ai-footer-links a:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Page chrome — dark stage for AI Videos only */
body.page-id-5189 {
  background: #050d16 !important;
}
body.page-id-5189 #page,
body.page-id-5189 .site,
body.page-id-5189 #content,
body.page-id-5189 .site-content,
body.page-id-5189 .entry-content,
body.page-id-5189 main {
  background: transparent !important;
}
body.page-id-5189 .entry-content {
  color: #e8eef5;
}
body.page-id-3111 .entry-header .entry-title,
body.page-id-5189 .entry-header .entry-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
body.page-id-3111 .entry-content,
body.page-id-5189 .entry-content {
  padding-top: 0.5rem;
}
body.page-id-3111 .entry-cover {
  min-height: 42vh !important;
  max-height: 520px;
}
body.page-id-3111 .entry-cover-image {
  min-height: 42vh !important;
  background-size: cover !important;
  background-position: center 22% !important;
}
body.page-id-5189 .entry-cover {
  min-height: 36vh !important;
  max-height: 420px;
}
body.page-id-5189 .entry-cover-image {
  min-height: 36vh !important;
  background-size: cover !important;
  background-position: center 28% !important;
  filter: brightness(0.55) saturate(1.15) contrast(1.05);
}
body.page-id-5189 .entry-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 22, 0.15) 0%, rgba(5, 13, 22, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}
body.page-id-3111 .background-video-buttons-wrapper,
body.page-id-5189 .background-video-buttons-wrapper {
  display: none !important;
}

/* Share / Jetpack on dark page */
body.page-id-5189 .sharedaddy,
body.page-id-5189 .sd-title,
body.page-id-5189 .sd-content a,
body.page-id-5189 .sd-content span {
  color: #c5d2e0 !important;
}
body.page-id-5189 .site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: #040a12 !important;
  color: #9aadc0;
}
body.page-id-5189 .site-footer a {
  color: #e8d48b !important;
}

@media (max-width: 640px) {
  .le-ai-videos .le-ai-hero {
    padding: 1.55rem 1.15rem 1.4rem;
    border-radius: 18px;
  }
  .le-ai-videos .le-ai-playlist-wrap {
    padding: 0.8rem 0.55rem 1.05rem;
    border-radius: 16px;
  }
  .le-ai-videos .le-ai-stat strong {
    font-size: 1.15rem;
  }
  body.page-id-5189 .entry-cover {
    min-height: 28vh !important;
  }
}
