/* ==========================================================================
   Leicester page — HERO ONLY
   Matches the shared hero layout: white card, green corner triangles,
   left text column, right photo with green panel + carousel dots.
   ========================================================================== */

:root {
  --lec-green: #2F6E4E;
  --lec-green-dark: #245540;
  --lec-green-soft: #EAF5EF;
  --lec-ink: #161616;
  --lec-gray: #4A4A4A;
  --lec-bg: #EFEFEF;
  --lec-radius: 8px;
}

/* ============================== HERO WRAP ============================== */
.lec-hero {
  position: relative;
  background: var(--lec-bg);
  padding: 70px 24px 90px;
  overflow: hidden;
  isolation: isolate;
}

/* Background decorative green triangles (corner shapes) */
.lec-tri {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 0;
  pointer-events: none;
}
/* Big diagonal triangle bottom-left */
.lec-tri-bl {
  bottom: 0;
  left: 0;
  border-left: 42vw solid var(--lec-green);
  border-top: 26vw solid transparent;
}
/* Small triangle top-right */
.lec-tri-tr {
  top: 0;
  right: 0;
  border-right: 16vw solid var(--lec-green);
  border-bottom: 9vw solid transparent;
}

/* ============================== WHITE CARD ============================== */
.lec-hero-card {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -25px rgba(0,0,0,0.28);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 560px;
}

/* ============================== LEFT COPY COLUMN ============================== */
.lec-hero-copy {
  padding: 64px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.lec-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  color: var(--lec-ink);
  margin: 0;
  letter-spacing: -0.5px;
}
.lec-hl { color: var(--lec-green); }

.lec-hero-sub {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--lec-gray);
  max-width: 480px;
  margin: 0;
}

/* Buttons row */
.lec-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lec-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: var(--lec-green);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--lec-radius);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lec-btn-green:hover {
  background: var(--lec-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -10px rgba(47,110,78,0.6);
}

.lec-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lec-ink);
}
.lec-play-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lec-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lec-play:hover .lec-play-ic {
  background: var(--lec-green);
  transform: scale(1.05);
}
.lec-play-text {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

/* Five Star Review label */
.lec-review-label {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--lec-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: color 0.2s ease;
}
.lec-review-label:hover { color: var(--lec-green); }
.lec-review-label i { color: var(--lec-green); font-size: 13px; }

/* Avatars row */
.lec-avatars {
  display: inline-flex;
  align-items: center;
}
.lec-avatars img,
.lec-avatars-count {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.lec-avatars img:first-child,
.lec-avatars-count:first-child { margin-left: 0; }
.lec-avatars-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lec-green);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 11px;
}

/* ============================== RIGHT MEDIA COLUMN ============================== */
.lec-hero-media {
  position: relative;
  min-height: 480px;
}

/* Green vertical panel — sits behind photo, visible as a strip on the right */
.lec-green-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 92%;
  background: var(--lec-green);
  z-index: 1;
}

/* Photo frame — top-right corner heavily rounded (arch shape), other corners sharp */
.lec-photo-frame {
  position: absolute;
  z-index: 2;
  /* Photo overlaps the green panel on the left side */
  top: 5%;
  bottom: 9%;
  left: 6%;
  right: 28%;
  overflow: hidden;
  border-top-right-radius: 9999px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.4);
}
.lec-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel dots — vertical column on the right edge of the green panel */
.lec-dots {
  position: absolute;
  z-index: 3;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lec-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lec-dot.is-active,
.lec-dot:hover {
  background: #fff;
  transform: scale(1.18);
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1024px) {
  .lec-hero-title { font-size: 46px; }
  .lec-hero-copy { padding: 50px 40px; }
}

@media (max-width: 880px) {
  .lec-hero { padding: 50px 18px 70px; }
  .lec-hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .lec-hero-copy {
    padding: 44px 32px 36px;
    order: 1;
  }
  .lec-hero-media {
    order: 2;
    min-height: 420px;
  }
  .lec-green-panel { width: 78%; height: 90%; }
  .lec-photo-frame { left: 4%; right: 22%; }
  .lec-hero-title { font-size: 38px; }
}

@media (max-width: 560px) {
  .lec-hero-copy { padding: 36px 22px 30px; }
  .lec-hero-title { font-size: 32px; }
  .lec-hero-sub { font-size: 14px; }
  .lec-actions { gap: 16px; }
  .lec-btn-green { padding: 12px 20px; font-size: 13px; }
  .lec-play-ic { width: 40px; height: 40px; font-size: 11px; }
  .lec-play-text { font-size: 13px; }
  .lec-avatars img,
  .lec-avatars-count { width: 36px; height: 36px; font-size: 10px; }
  .lec-hero-media { min-height: 360px; }
  .lec-green-panel { width: 80%; height: 88%; }
  .lec-photo-frame { left: 4%; right: 20%; }
  .lec-dots { right: 18px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}