/* Home page only; activated after the expected theme structure is found. */
body.home #main-content.ww-layout-active {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
body.home #main-content.ww-layout-active::before,
body.home #main-content.ww-layout-active::after { display: none !important; }
body.home #main-content.ww-layout-active > .ww-layout-opener { grid-column: 1 / -1; min-width: 0; padding: 10px; background: #fff; }
body.home #main-content.ww-layout-active > #primary,
body.home #main-content.ww-layout-active > #content-sidebar {
  float: none !important; position: static !important; width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; box-sizing: border-box;
}
body.home #main-content.ww-layout-active > #primary { grid-column: 1; }
body.home #main-content.ww-layout-active > #content-sidebar { grid-column: 2; }
body.home .ww-layout-opener * { box-sizing: border-box; }
body.home .ww-layout-opener .ww-home-hero { min-height: 500px; background-position: left center; }
body.home .ww-layout-opener .ww-home-panel { width: 48%; max-width: 480px; }
body.home .ww-layout-opener .ww-home-intro { font-size: 20px !important; line-height: 1.5 !important; }
body.home .ww-layout-opener .ww-home-collection { font-size: 17px !important; }
body.home .ww-layout-opener .ww-home-tagline { font-size: 15px !important; font-weight: 700; color: #164d43; }
body.home .ww-layout-opener .ww-home-eyebrow { font-size: 12px !important; letter-spacing: 2px; color: #527368; }
body.home .ww-layout-videos { padding: 24px 0 8px; font-family: Arial, Helvetica, sans-serif; }
body.home .ww-layout-videos h2 { text-align: center; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; margin: 0 0 18px; color: #242826; }
body.home .ww-layout-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
body.home .ww-layout-video { display: block; min-width: 0; color: #242826 !important; text-decoration: none !important; text-align: left; }
body.home .ww-layout-thumb { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #164d43; border-radius: 6px; }
body.home .ww-layout-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
body.home .ww-layout-thumb img[hidden] { display: none; }
body.home .ww-layout-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.72); color: white; font-size: 17px; padding-left: 3px; }
body.home .ww-layout-video strong { display: block; font-size: 15px; line-height: 1.3; margin-top: 8px; }
body.home .ww-layout-subtitle { display: block; font-size: 12px; line-height: 1.4; color: #56635d; margin-top: 3px; }
body.home .ww-layout-video:hover strong { color: #164d43; text-decoration: underline; }
body.home .ww-layout-video:focus-visible { outline: 3px solid #527368; outline-offset: 3px; }
@media(max-width: 800px) {
  body.home #main-content.ww-layout-active { grid-template-columns: minmax(0,1fr); gap: 12px; }
  body.home #main-content.ww-layout-active > #content-sidebar { grid-column: 1; }
  body.home .ww-layout-opener .ww-home-hero { min-height: 0; background-position: center top; }
  body.home .ww-layout-opener .ww-home-panel { width: 100% !important; max-width: none; }
  body.home .ww-layout-video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* V1.0.1: keep the primary sidebar outside the expanded opener. */
body.home #main-content.ww-layout-active {
  box-sizing: border-box !important;
  padding-left: var(--ww-layout-left-inset, 0px) !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  column-gap: 20px;
}
body.home #main-content.ww-layout-active > .ww-layout-opener {
  background: #fff !important;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
}
body.home #main-content.ww-layout-active > #primary {
  background: #fff !important;
  padding: 12px !important;
  align-self: stretch;
}
body.home #main-content.ww-layout-active > #primary #content,
body.home #main-content.ww-layout-active > #primary .site-content,
body.home #main-content.ww-layout-active > #primary .entry-content,
body.home #main-content.ww-layout-active > #primary article.page,
body.home #main-content.ww-layout-active > #primary .ww-home {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  background-color: #fff;
}
body.home #main-content.ww-layout-active > #content-sidebar {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.home .ww-layout-opener .ww-home-hero {
  background-position: left center;
  min-height: 480px;
}
@media (max-width: 800px) {
  body.home #main-content.ww-layout-active {
    padding-left: 0 !important;
    grid-template-columns: minmax(0, 1fr);
  }
  body.home .ww-layout-opener .ww-home-hero {
    min-height: 0;
    background-position: center top;
  }
}

/* V1.0.2 — video introduction and compact two-column navigation */
body.home .ww-layout-videos { padding: 22px 0 10px; }
body.home .ww-layout-videos .ww-layout-video-intro { margin: 0 auto 16px !important; text-align: center !important; }
body.home .ww-layout-videos .ww-layout-video-intro h2 { margin: 0 0 8px !important; }
body.home .ww-layout-videos .ww-layout-video-intro p { margin: 0 auto 8px !important; font-size: 16px !important; line-height: 1.45 !important; }
body.home .ww-layout-videos .ww-layout-video-intro .ww-home-eyebrow { font-size: 12px !important; }
body.home .ww-layout-video-description { text-align: center; margin: 0 0 16px; font-size: 16px; }
body.home .ww-layout-video strong { font-size: 18px !important; margin-top: 7px; }
body.home .ww-layout-video .ww-layout-subtitle { font-size: 15px !important; }
body.home #main-content.ww-layout-active > #primary .ww-layout-proof-section { padding-top: 12px !important; }
body.home #main-content.ww-layout-active .ww-home-discover { background: #f3f6f4; border-radius: 10px; }
body.home #main-content.ww-layout-active .ww-home-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px !important; width: 100%; }
body.home #main-content.ww-layout-active .ww-home-grid > :not(:has(img)),
body.home #main-content.ww-layout-active .ww-home-grid .ww-home-tile:not(:has(img)) { display: none !important; }
body.home #main-content.ww-layout-active .ww-home-grid .ww-home-tile:has(img) { display: block !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; grid-column: auto !important; grid-row: auto !important; background: #fff !important; border: 0 !important; border-radius: 6px; overflow: hidden; text-decoration: none !important; }
body.home #main-content.ww-layout-active .ww-home-tile-image { aspect-ratio: 1.85/1; overflow: hidden; background: #fff; }
body.home #main-content.ww-layout-active .ww-home-tile-image img { display: block !important; width: 100% !important; height: 100% !important; object-fit: contain; margin: 0 !important; float: none !important; }
body.home #main-content.ww-layout-active .ww-home-tile-label { display: flex !important; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px !important; min-height: 0 !important; height: auto !important; border: 0 !important; background: #fff !important; color: #242826 !important; font-size: 15px !important; font-weight: 600; line-height: 1.3 !important; margin: 0 !important; }
body.home #main-content.ww-layout-active .ww-home-tile-label span { margin: 0 !important; padding: 0 !important; }
body.home #main-content.ww-layout-active .ww-home-arrow { color: #164d43 !important; font-size: 18px !important; }
@media(max-width: 800px) {
  body.home .ww-layout-video strong { font-size: 16px !important; }
  body.home .ww-layout-video .ww-layout-subtitle { font-size: 13px !important; }
}
@media(max-width: 480px) {
  body.home #main-content.ww-layout-active .ww-home-grid { gap: 8px !important; }
  body.home #main-content.ww-layout-active .ww-home-tile-label { font-size: 12px !important; padding: 6px 7px !important; }
}

/* V1.0.4 — centered heading, personality and review */
body.home .ww-layout-videos h2 { text-align: center !important; line-height: 1.22 !important; }
body.home #main-content.ww-layout-active .ww-home-personality {
  margin: 22px auto 0 !important; padding: 32px 20px !important;
  text-align: center !important; background: #f3f6f4 !important;
  border-radius: 10px; color: #242826 !important;
}
body.home #main-content.ww-layout-active .ww-home-personality h2 { color: #242826 !important; font-size: clamp(26px,3vw,34px) !important; margin: 0 0 12px !important; }
body.home #main-content.ww-layout-active .ww-home-personality h3 { color: #b52f2c !important; font-size: clamp(18px,2vw,24px) !important; margin: 0 0 18px !important; }
body.home #main-content.ww-layout-active .ww-home-personality p { text-align: center !important; color: #414944 !important; font-size: 19px !important; line-height: 1.6 !important; margin: 0 auto 18px !important; }
body.home #main-content.ww-layout-active .ww-home-personality .ww-home-eyebrow { font-size: 12px !important; color: #527368 !important; }
body.home #main-content.ww-layout-active .ww-home-changed { font-weight: 700; }
body.home #main-content.ww-layout-active .ww-home-personality-image { display: block; max-width: 600px; margin: 0 auto 14px !important; }
body.home #main-content.ww-layout-active .ww-home-personality-image img { width: 100% !important; border-radius: 8px; }
body.home #main-content.ww-layout-active .ww-home-personality-link { display: inline-block; color: #164d43 !important; font-weight: 700; font-size: 14px !important; padding: 8px 0; }
body.home #main-content.ww-layout-active > #primary .ww-layout-proof-section { padding: 32px 12px !important; }
body.home #main-content.ww-layout-active .ww-home-proof { max-width: 820px; margin: 0 auto !important; text-align: center !important; }
body.home #main-content.ww-layout-active .ww-home-quote { font-size: clamp(17px,1.7vw,21px) !important; line-height: 1.65 !important; }
body.home #main-content.ww-layout-active .ww-home-signup { text-align: center !important; padding: 28px 12px; }
body.home #main-content.ww-layout-active .ww-home-signup img { width: 250px !important; max-width: 75% !important; }
@media(max-width:480px) {
 body.home #main-content.ww-layout-active .ww-home-personality { padding: 24px 12px !important; }
 body.home #main-content.ww-layout-active .ww-home-personality p { font-size: 17px !important; }
}


/* V1.0.5 - generous whitespace, without changing the layout logic. */
body.home #main-content.ww-layout-active {
  column-gap: 32px !important;
  row-gap: 32px !important;
  padding-right: 24px !important;
}
body.home #main-content.ww-layout-active > .ww-layout-opener {
  padding: 32px !important;
  border-radius: 12px;
}
body.home #main-content.ww-layout-active > #primary {
  padding: 30px !important;
  border-radius: 10px;
}
body.home .ww-layout-opener .ww-home-hero {
  padding: 36px !important;
}
body.home .ww-layout-opener .ww-home-panel {
  padding: 34px 24px !important;
}
body.home .ww-layout-videos { padding: 38px 0 6px !important; }
body.home .ww-layout-videos .ww-layout-video-intro { margin-bottom: 26px !important; }
body.home .ww-layout-video-grid { gap: 22px !important; }
body.home #main-content.ww-layout-active .ww-home-discover { padding: 36px 20px !important; }
body.home #main-content.ww-layout-active .ww-home-grid { gap: 22px !important; }
body.home #main-content.ww-layout-active .ww-home-personality { margin-top: 32px !important; padding: 40px 24px !important; }
body.home #main-content.ww-layout-active > #primary .ww-layout-proof-section { padding: 40px 12px !important; }
@media (max-width: 1100px) and (min-width: 801px) {
  body.home #main-content.ww-layout-active { padding-right: 14px !important; gap: 22px !important; }
  body.home #main-content.ww-layout-active > .ww-layout-opener { padding: 22px !important; }
  body.home #main-content.ww-layout-active > #primary { padding: 20px !important; }
  body.home .ww-layout-opener .ww-home-hero { padding: 24px !important; }
  body.home .ww-layout-video-grid { gap: 14px !important; }
}
@media (max-width: 800px) {
  body.home #main-content.ww-layout-active { padding-right: 0 !important; gap: 20px !important; }
  body.home #main-content.ww-layout-active > .ww-layout-opener,
  body.home #main-content.ww-layout-active > #primary { padding: 16px !important; }
  body.home .ww-layout-opener .ww-home-hero { padding: 280px 12px 12px !important; }
  body.home .ww-layout-opener .ww-home-panel { padding: 25px 18px !important; }
  body.home .ww-layout-videos { padding-top: 28px !important; }
  body.home .ww-layout-video-grid { gap: 16px !important; }
  body.home #main-content.ww-layout-active .ww-home-discover { padding: 24px 12px !important; }
  body.home #main-content.ww-layout-active .ww-home-grid { gap: 12px !important; }
}
@media (max-width: 480px) {
  body.home #main-content.ww-layout-active > .ww-layout-opener,
  body.home #main-content.ww-layout-active > #primary { padding: 12px !important; }
  body.home .ww-layout-opener .ww-home-hero { padding-top: 230px !important; }
  body.home .ww-layout-video-grid { gap: 12px !important; }
  body.home #main-content.ww-layout-active .ww-home-grid { gap: 10px !important; }
  body.home #main-content.ww-layout-active .ww-home-personality { padding: 24px 12px !important; }
}

/* V1.0.6 — simplified hero, retaining V1.0.5 spacing. */
body.home .ww-layout-opener .ww-home-intro {
  font-weight: 700 !important;
  font-size: clamp(17px, 1.65vw, 22px) !important;
  line-height: 1.4 !important;
  margin: 24px auto !important;
  text-align: center !important;
}
body.home .ww-layout-opener .ww-home-team-status {
  border: 0 !important;
  padding: 0 !important;
  margin: 22px 0 0 !important;
}
body.home .ww-layout-opener .ww-home-team-status .ww-layout-coming-soon {
  color: #164d43 !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: center !important;
}
body.home .ww-layout-opener .ww-home-tagline {
  margin: 24px auto 0 !important;
  text-align: center !important;
}

/* V1.0.7 — signature below Coming Soon and three centered video title lines. */
body.home .ww-layout-opener .ww-home-panel h2.ww-layout-signature {
  text-align: center !important;
  font-size: clamp(22px, 2.4vw, 34px) !important;
  line-height: 1.2 !important;
  margin: 28px auto 0 !important;
}
body.home .ww-layout-opener .ww-home-tagline {
  margin: 10px auto 0 !important;
}
body.home .ww-layout-opener .ww-home-team-status .ww-layout-coming-soon {
  color: #68736e !important;
  font-style: italic;
}
body.home .ww-layout-videos h2 {
  text-align: center !important;
  line-height: 1.22 !important;
}
