:root {
  --le-blue: #345ba6;
  --le-ink: #172744;
  --le-paper: #f8f7f2;
  --le-line: #d9e0ec;
  --le-sans: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

#root :is(h1, h2),
#site-header .font-heading {
  font-family: var(--le-sans);
  letter-spacing: -.035em;
}

#root :is(h1, h2) { text-wrap: balance; }
#root h2 { line-height: 1.15; }
#site-header { background: white; }
#site-header > :first-child { background: var(--le-blue); }
#site-header nav { padding-block: .65rem; }
#site-header nav img[alt="Little Einsteins Logo"] { width: 106px; height: auto; border-radius: 0; }
#site-header nav button { min-height: 44px; }
#site-header nav button:hover { color: var(--le-blue); }

#root .btn-hero,
#root form button[type="submit"] {
  background: var(--le-blue);
  color: white;
  border-radius: .55rem;
  min-height: 44px;
  box-shadow: none;
}

#root :is(.btn-hero, form button[type="submit"]):hover { background: var(--le-ink); }
#root :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--le-blue);
  outline-offset: 3px;
}

#root .le-home-hero {
  background: var(--le-ink);
}

#root .le-home-hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
}

#root .le-home-hero h1 span {
  background: none;
  color: white;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

#root .le-home-hero .le-hero-overlay {
  background: linear-gradient(90deg, rgb(23 39 68 / .91), rgb(23 39 68 / .51) 58%, rgb(23 39 68 / .14));
}

#root .le-home-hero .le-hero-secondary {
  color: white;
  background: rgb(23 39 68 / .75);
  border: 1px solid rgb(255 255 255 / .7);
}

#root .le-home-hero :is(.le-hero-secondary, button):focus-visible { outline-color: white; }
#root .le-about-award { width: 100%; max-width: 100%; }
#root .le-about-award img { max-width: 100%; }
#root .le-about-fact { right: 0; }
#root .le-franchise-proof { min-width: 0; }
#root .le-franchise-hero { background: var(--le-blue); }
#root .le-cookie-banner:not(.le-cookie-behind) { z-index: 80; }
body:has(.le-cookie-banner) :is(#le-chatbot-root, [aria-label="Chat on WhatsApp"]) { visibility: hidden; }

#root #leadForm {
  max-width: 100%;
  border-radius: .75rem;
}

#root .le-enquiry-form :is(input:not([type=checkbox],[type=radio]), textarea) {
  min-height: 44px;
  border-color: var(--le-line);
  border-radius: .45rem;
}

#root .le-enquiry-form label:has(input[type=checkbox]) {
  padding: .8rem;
  border: 1px solid var(--le-line);
  border-radius: .45rem;
  background: var(--le-paper);
}

#root .le-film {
  margin-block: 1.8rem;
  max-width: 44rem;
  color: var(--le-ink);
}

#root .le-film h3 { font-size: 1.18rem; font-weight: 750; margin-block-end: .55rem; }
#root .le-film-screen { aspect-ratio: 16 / 9; background: var(--le-ink); border-radius: .7rem; overflow: hidden; }
#root .le-film-screen iframe { width: 100%; height: 100%; border: 0; }

#root .le-film-play {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  overflow: hidden;
  color: white;
}

#root .le-film-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#root .le-film-play span {
  position: relative;
  border-radius: .5rem;
  background: var(--le-ink);
  padding: .65rem 1rem;
  font-weight: 700;
}

#root .le-film-play:focus-visible { outline: 3px solid white; outline-offset: -5px; }
#root .le-film-note { margin-block-start: .55rem; font-size: .9rem; line-height: 1.5; }
#root .le-film-note a { color: var(--le-blue); text-decoration: underline; }

@media (max-width: 639px) {
  #site-header > :first-child > div { gap: .25rem; }
  #site-header > :first-child > div > :first-child { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .2rem .7rem; }
  #site-header nav img[alt="Little Einsteins Logo"] { width: 94px; }
  #root .le-home-hero { min-height: auto !important; padding-inline: 1.1rem; }
  #root .le-home-hero .le-hero-overlay { background: rgb(23 39 68 / .62); }
  #root .le-about-fact { right: 0; top: -.8rem; padding: .75rem 1rem; }
  #root .le-about-award { height: clamp(12rem, 65vw, 22rem); }
  #root .le-franchise-proof { transform: none !important; }
  #root .le-cookie-banner { padding: .85rem 1rem; max-height: 45svh; overflow: auto; }
  #root .le-cookie-banner button { min-height: 40px; }
}
