/* League Estates — Homepage restyle (page 3018)
 * Matches navy/gold hub language used on Watch + video hubs.
 * Theme video hero stays above; this styles the page body.
 */

.le-home {
  --navy: #0a2744;
  --navy-deep: #061525;
  --gold: #d4af37;
  --gold-soft: #e8d48b;
  --cream: #f7f4ef;
  --muted: #5c6b7a;
  --ink: #0f1a24;
  max-width: 1140px;
  margin: 0 auto 2.5rem;
  padding: 0 1.1rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  position: relative;
}
.le-home *,
.le-home *::before,
.le-home *::after {
  box-sizing: border-box;
}

/* ---- Intro panel (under theme hero + tools) ---- */
.le-home-intro {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0 0 1.75rem;
  padding: 2.1rem 1.65rem 1.85rem;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 90% -5%, rgba(212, 175, 55, 0.3), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(40, 100, 160, 0.26), transparent 50%),
    linear-gradient(155deg, #061525 0%, #0c2a48 48%, #081c32 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow: inset 0 3px 0 0 #d4af37, 0 24px 56px rgba(0, 0, 0, 0.28);
}
.le-home-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 25%, transparent 100%);
}
.le-home-intro-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
}
.le-home-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: 0 0 0.7rem;
}
.le-home-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.95);
}
.le-home-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #fff 30%, #e8d48b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.le-home-intro p {
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
  font-size: 1.05rem;
}
.le-home-intro .le-cta-row {
  justify-content: center;
}

/* ---- Section heads ---- */
.le-home-section {
  margin: 0 0 2.25rem;
}
.le-home-section-head {
  text-align: center;
  margin: 0 0 1.25rem;
}
.le-home-section-head .le-home-kicker {
  color: #9a7b1a;
}
.le-home-section-head .le-home-kicker::before {
  background: var(--gold);
  box-shadow: none;
}
.le-home-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}
.le-home-section-head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---- Destination cards ---- */
.le-home-dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 960px) {
  .le-home-dest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .le-home-dest-grid { grid-template-columns: 1fr; }
}
.le-home-dest {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.15rem;
  text-decoration: none !important;
  color: #fff !important;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(160deg, #0a2744 0%, #0c3054 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 11.5rem;
}
.le-home-dest:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}
.le-home-dest-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}
.le-home-dest h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.le-home-dest p {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}
.le-home-dest-go {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}
.le-home-dest.tone-rose {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232, 140, 160, 0.22), transparent 55%),
    linear-gradient(160deg, #2a1430 0%, #1a1a40 100%);
  border-color: rgba(232, 140, 160, 0.35);
}
.le-home-dest.tone-jade {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(80, 200, 160, 0.2), transparent 55%),
    linear-gradient(160deg, #0a2a28 0%, #0c3040 100%);
  border-color: rgba(80, 200, 160, 0.35);
}
.le-home-dest.tone-cyan {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(80, 180, 220, 0.22), transparent 55%),
    linear-gradient(160deg, #0a2038 0%, #0c3854 100%);
  border-color: rgba(80, 180, 220, 0.35);
}

/* ---- Proof stats ---- */
.le-home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0 0 2.25rem;
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(10, 39, 68, 0.08);
}
@media (max-width: 720px) {
  .le-home-stats { grid-template-columns: repeat(2, 1fr); }
}
.le-home-stat {
  text-align: center;
  padding: 0.35rem;
}
.le-home-stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.le-home-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Team ---- */
.le-home-team-photo {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 1.35rem;
  border-radius: 16px;
}
.le-home-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 680px) {
  .le-home-team-grid { grid-template-columns: 1fr; }
}
.le-home-team-card {
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(10, 39, 68, 0.1);
  box-shadow: 0 10px 28px rgba(10, 39, 68, 0.06);
  text-align: center;
}
.le-home-team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.le-home-team-role {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a1a2a;
  background: linear-gradient(180deg, #e8d48b 0%, #d4af37 100%);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}
.le-home-team-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- Media band (anthem + reviews) ---- */
.le-home-media {
  border-radius: 24px;
  padding: 1.75rem 1.35rem 1.5rem;
  margin: 0 0 2.25rem;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, 0.14), transparent 60%),
    linear-gradient(160deg, #0a1520 0%, #141515 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}
.le-home-media .le-home-section-head h2 {
  color: #fff;
}
.le-home-media .le-home-section-head p {
  color: rgba(255, 255, 255, 0.72);
}
.le-home-media .le-home-kicker {
  color: var(--gold-soft);
}
.le-home-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 800px) {
  .le-home-media-grid { grid-template-columns: 1fr; }
}
.le-home-media-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1rem 0.85rem;
}
.le-home-media-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.le-home-media-card .wp-block-embed,
.le-home-media-card figure {
  margin: 0;
}
.le-home-media-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border: 0;
  border-radius: 10px;
  display: block;
}
.le-home-media-card .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.le-home-media-card .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* ---- Featured results ---- */
.le-home-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .le-home-results-grid { grid-template-columns: 1fr; }
}
.le-home-result {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(10, 39, 68, 0.1);
  box-shadow: 0 10px 28px rgba(10, 39, 68, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: var(--ink) !important;
}
.le-home-result:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 39, 68, 0.12);
}
.le-home-result-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0a2744;
}
.le-home-result-body {
  padding: 1rem 1.05rem 1.1rem;
}
.le-home-result-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a7b1a;
}
.le-home-result h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.le-home-result p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.le-home-result-go {
  font-weight: 700;
  font-size: 0.9rem;
  color: #9a7b1a;
}
.le-home-result.is-sold .le-home-result-kicker {
  color: #b91c1c;
}

/* ---- Why / services compact ---- */
.le-home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 900px) {
  .le-home-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .le-home-why-grid { grid-template-columns: 1fr; }
}
.le-home-why {
  border-radius: 14px;
  padding: 1.1rem 1rem;
  background: linear-gradient(160deg, #0a2744 0%, #0c3054 100%);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.28);
}
.le-home-why h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gold-soft);
}
.le-home-why p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

/* ---- Feed chrome (wraps WP query blocks below) ---- */
.le-home-feed-wrap {
  margin: 0 0 2rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(10, 39, 68, 0.08);
}
.le-home-feed-wrap .le-home-section-head {
  margin-bottom: 1rem;
}

/* ---- Quotes shortcode breathing room ---- */
.le-home + .wp-block-shortcode,
.le-home-quotes {
  margin: 0 0 1.75rem;
}

/* Soften oversized theme headings if any slip through */
body.home .entry-content > .wp-block-heading:first-child {
  /* legacy guard — intro replaces this */
}

/* Homepage final CTA sits inside le-home */
.le-home .le-cta-band {
  margin-top: 0.5rem;
}
