/* Sunderland Home Grown redesign: Home page.
   Generated by scripts/build-duda.mjs from the files in duda/. Edit those, not this file. */
/* =====================================================================
   SUNDERLAND HOME GROWN REDESIGN: HOME page
   One file for desktop, tablet and mobile (tablet and phone are media queries below).
   Linked from the Home page's own Head HTML; uses the colours and leaf photo shapes from base.css.
   The video behind the hero is added by site.js (rules for it are in base.css).

   Editor-safe: rules target the class on each widget (Duda keeps those) and style whatever
   is inside it, so editing text, links or photos in the editor keeps the design.
   ===================================================================== */

/* ---------- Page frame ---------- */
html #dm .shg-home.shg-home {
  --shg-home-pad: 40px;
  background-color: var(--shg-ground) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--shg-ink);
  font-family: var(--shg-font) !important;
  text-align: left !important;
}
/* Each section: centred, up to 88rem wide. Coloured bands run full width. */
html #dm .shg-home.shg-home > .dmRespRow {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 max(var(--shg-home-pad), calc((100% - 88rem) / 2 + var(--shg-home-pad))) !important;
  text-align: left !important;
  background: transparent !important;
  background-image: none !important;
}
html #dm .shg-home.shg-home > .dmRespRow::before { display: none !important; }
html #dm .shg-home.shg-home .dmRespColsWrapper {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
html #dm .shg-home.shg-home .dmRespCol {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ---------- Every text widget, and whatever the editor puts inside it ---------- */
html #dm .shg-home.shg-home .dmNewParagraph {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  text-align: left !important;
  color: var(--shg-ink) !important;
  font-family: var(--shg-font) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: transparent !important;
}
html #dm .shg-home.shg-home .dmNewParagraph * {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  text-align: inherit !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}
html #dm .shg-home.shg-home .dmNewParagraph :is(b, strong) { font-weight: 700 !important; }
html #dm .shg-home.shg-home .dmNewParagraph a {
  color: var(--shg-forest) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--shg-leaf) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}
html #dm .shg-home.shg-home a:focus-visible {
  outline: 3px solid var(--shg-forest) !important;
  outline-offset: 3px !important;
  border-radius: 2px;
}
html #dm .shg-home.shg-home .dmRespCol > .dmNewParagraph + .dmNewParagraph { margin-top: 20px !important; }

/* Shared type */
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__h2 {
  color: var(--shg-forest) !important;
  font-size: clamp(2rem, 3.8vw, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.025em !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__lead-dark {
  max-width: 46ch !important;
  color: var(--shg-soft) !important;
  font-size: clamp(1.15rem, 1.6vw, 1.375rem) !important;
  line-height: 1.5 !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__lead-light {
  max-width: 46ch !important;
  color: var(--shg-leaf-pale) !important;
  font-size: clamp(1.15rem, 1.6vw, 1.375rem) !important;
  line-height: 1.5 !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__body { max-width: 52ch !important; font-size: 19px !important; }

/* Buttons (a text widget holding one link) */
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__button { display: inline-block !important; }
html #dm .shg-home.shg-home .dmNewParagraph:is(.shg-home__button, .shg-home__call) a {
  display: inline-flex !important;
  align-items: center;
  min-height: 52px;
  padding: 0 28px !important;
  border-radius: var(--shg-leaf-corner) !important;
  background-color: var(--shg-gold) !important;
  color: var(--shg-forest) !important;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__button a:hover { background-color: var(--shg-gold-hover) !important; transform: translateY(-2px); }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__button--forest a { background-color: var(--shg-forest) !important; color: #fff !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__button--forest a:hover { background-color: #0f2a18 !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__call a { background-color: var(--shg-stone) !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__call a:hover { background-color: var(--shg-leaf-pale) !important; transform: translateY(-2px); }

/* Photos inside the page */
html #dm .shg-home.shg-home .imageWidget {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html #dm .shg-home.shg-home .imageWidget img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

/* =====================================================================
   HERO: video background (site.js), poster photo underneath, tagline on top
   ===================================================================== */
html #dm .shg-home.shg-home > .shg-home__hero {
  position: relative !important;
  display: flex !important;
  align-items: flex-end;
  min-height: clamp(600px, 92svh, 1000px);
  padding-top: 120px !important;
  padding-bottom: 104px !important;
  background-color: var(--shg-forest) !important;
  overflow: hidden !important;
}
/* Shade over the video so the white text always reads clearly */
html #dm .shg-home.shg-home > .shg-home__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 26, 15, 0.45) 0%, rgba(10, 26, 15, 0.12) 30%, rgba(10, 26, 15, 0.35) 55%, rgba(10, 26, 15, 0.86) 100%),
    linear-gradient(90deg, rgba(10, 26, 15, 0.6) 0%, rgba(10, 26, 15, 0.15) 70%);
}
/* The row's inner boxes stay unpositioned, so the photo and video fill the whole hero */
html #dm .shg-home.shg-home .shg-home__hero :is(.dmRespColsWrapper, .dmRespCol) { position: static !important; }
html #dm .shg-home.shg-home .shg-home__hero .dmRespColsWrapper { display: block !important; }
/* Text runs full width; the buttons sit side by side underneath */
html #dm .shg-home.shg-home .shg-home__hero-inner {
  display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}
html #dm .shg-home.shg-home .shg-home__hero-inner > .dmNewParagraph {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  justify-self: start;
}
html #dm .shg-home.shg-home .shg-home__hero-inner > .dmNewParagraph + .dmNewParagraph { margin-top: 0 !important; }
html #dm .shg-home.shg-home .shg-home__hero-inner > .shg-home__button { grid-column: auto; margin-top: 32px !important; }

/* Poster photo: fills the hero behind the video */
html #dm .shg-home.shg-home .shg-home__hero .imageWidget.shg-home__poster {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
}
html #dm .shg-home.shg-home .shg-home__poster :is(a, img) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

html #dm .shg-home.shg-home .dmNewParagraph.shg-home__eyebrow {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  max-width: 100% !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__eyebrow::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--shg-leaf);
  border-radius: 0 100% 0 100%;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__title {
  max-width: 13ch !important;
  color: #fff !important;
  font-size: clamp(3rem, 7.4vw, 7.25rem) !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__lead {
  max-width: 40ch !important;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem) !important;
  line-height: 1.5 !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__button--glass a {
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__button--glass a:hover { background-color: rgba(255, 255, 255, 0.26) !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__video-link { margin-top: 28px !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__video-link a {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff !important;
  font-size: 16px !important;
  text-decoration-color: rgba(255, 255, 255, 0.6) !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__video-link a::before {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23173A22' d='M9 6.5v11a.8.8 0 0 0 1.2.7l8.6-5.5a.8.8 0 0 0 0-1.4L10.2 5.8A.8.8 0 0 0 9 6.5z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
/* Statement */
html #dm .shg-home.shg-home > .shg-home__intro { padding-top: 120px !important; }
html #dm .shg-home.shg-home .shg-home__intro .dmRespColsWrapper {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__statement {
  color: var(--shg-forest) !important;
  font-size: clamp(2.75rem, 6vw, 5.5rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.035em !important;
}
html #dm .shg-home.shg-home .shg-home__intro-text .dmNewParagraph.shg-home__body { margin-top: 32px !important; color: var(--shg-soft) !important; }
html #dm .shg-home.shg-home .shg-home__intro-img img { aspect-ratio: 4 / 5; }

/* Who are you here for? */
html #dm .shg-home.shg-home > .shg-home__routes-head { padding-top: 120px !important; }
html #dm .shg-home.shg-home > .shg-home__routes { padding-top: 48px !important; }
html #dm .shg-home.shg-home .shg-home__routes .dmRespColsWrapper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
html #dm .shg-home.shg-home .shg-home__route {
  display: flex !important;
  flex-direction: column;
  padding: 12px 12px 28px !important;
  border-radius: 3rem 0.5rem !important;
}
html #dm .shg-home.shg-home .shg-home__route--leaf { background-color: var(--shg-leaf-pale) !important; }
html #dm .shg-home.shg-home .shg-home__route--gold { background-color: var(--shg-gold) !important; }
html #dm .shg-home.shg-home .shg-home__route--berry { background-color: var(--shg-berry) !important; }
html #dm .shg-home.shg-home .shg-home__route-img img { aspect-ratio: 4 / 3; }
html #dm .shg-home.shg-home .shg-home__route > .dmNewParagraph { padding: 0 12px !important; }
html #dm .shg-home.shg-home .shg-home__route > .imageWidget + .dmNewParagraph { margin-top: 24px !important; }
html #dm .shg-home.shg-home .shg-home__route > .dmNewParagraph + .dmNewParagraph { margin-top: 10px !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__route-title {
  color: var(--shg-forest) !important;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
html #dm .shg-home.shg-home .shg-home__route > .dmNewParagraph.shg-home__route-link { margin-top: auto !important; padding-top: 20px !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__route-link a { display: inline-flex !important; align-items: center; min-height: 44px; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__route-link a::after { content: "\2192"; margin-left: 8px; text-decoration: none; display: inline-block; transition: transform .2s ease; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__route-link a:hover::after { transform: translateX(4px); }
/* White text on berry (contrast 6:1) */
html #dm .shg-home.shg-home .shg-home__route--berry .dmNewParagraph,
html #dm .shg-home.shg-home .shg-home__route--berry .dmNewParagraph a { color: #fff !important; text-decoration-color: rgba(255, 255, 255, 0.7) !important; }

/* A day here (forest band) */
html #dm .shg-home.shg-home > :is(.shg-home__day-head, .shg-home__days) { background-color: var(--shg-forest) !important; }
html #dm .shg-home.shg-home > .shg-home__day-head { margin-top: 120px !important; padding-top: 112px !important; }
html #dm .shg-home.shg-home > .shg-home__days { padding-top: 56px !important; padding-bottom: 112px !important; }
html #dm .shg-home.shg-home .shg-home__day-head .dmRespColsWrapper {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
}
html #dm .shg-home.shg-home .shg-home__day-head .dmNewParagraph.shg-home__h2 { color: #fff !important; }
html #dm .shg-home.shg-home .shg-home__days .dmRespColsWrapper {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
html #dm .shg-home.shg-home .shg-home__card-img img { aspect-ratio: 4 / 3; }
html #dm .shg-home.shg-home .shg-home__card > .imageWidget + .dmNewParagraph { margin-top: 20px !important; }
html #dm .shg-home.shg-home .shg-home__card > .dmNewParagraph + .dmNewParagraph { margin-top: 8px !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__card-title { color: #fff !important; font-size: 21px !important; font-weight: 700 !important; line-height: 1.25 !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__card-text { color: var(--shg-leaf-pale) !important; font-size: 17px !important; }

/* Our plants grow at */
html #dm .shg-home.shg-home > .shg-home__proof-head { padding-top: 120px !important; }
html #dm .shg-home.shg-home .shg-home__proof-head .dmRespColsWrapper {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
html #dm .shg-home.shg-home > .shg-home__proof { padding-top: 48px !important; }
html #dm .shg-home.shg-home .shg-home__proof .dmRespColsWrapper {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
html #dm .shg-home.shg-home .shg-home__place {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  min-height: 176px;
  padding: 28px !important;
  border-radius: 2.5rem 0.5rem !important;
  background-color: var(--shg-stone) !important;
}
html #dm .shg-home.shg-home .shg-home__place:first-child { background-color: var(--shg-gold) !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__place-name {
  color: var(--shg-forest) !important;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}
html #dm .shg-home.shg-home .shg-home__place > .dmNewParagraph.shg-home__place-note { margin-top: 16px !important; color: var(--shg-soft) !important; font-size: 16px !important; }
html #dm .shg-home.shg-home .shg-home__place:first-child .dmNewParagraph.shg-home__place-note { color: var(--shg-forest) !important; }

/* Groups anyone can join (pale green band) */
html #dm .shg-home.shg-home > .shg-home__groups {
  margin-top: 120px !important;
  padding-top: 112px !important;
  padding-bottom: 112px !important;
  background-color: var(--shg-leaf-pale) !important;
}
html #dm .shg-home.shg-home .shg-home__groups .dmRespColsWrapper {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
html #dm .shg-home.shg-home .shg-home__groups-text .dmNewParagraph.shg-home__lead-dark { margin-bottom: 16px !important; }
html #dm .shg-home.shg-home .shg-home__groups-text > .dmNewParagraph.shg-home__group {
  position: relative;
  margin-top: 12px !important;
  padding-left: 28px !important;
  color: var(--shg-forest) !important;
  font-weight: 700 !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: var(--shg-leaf);
  border-radius: 0 100% 0 100%;
}
html #dm .shg-home.shg-home .shg-home__groups-text > .shg-home__button { margin-top: 36px !important; }
html #dm .shg-home.shg-home .shg-home__groups-img img { aspect-ratio: 1; }

/* Quote (berry band) */
html #dm .shg-home.shg-home > .shg-home__quote {
  padding-top: 104px !important;
  padding-bottom: 104px !important;
  background-color: var(--shg-berry) !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__quote-text {
  max-width: 28ch !important;
  color: #fff !important;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
}
html #dm .shg-home.shg-home .shg-home__quote-col > .dmNewParagraph.shg-home__quote-cite { margin-top: 28px !important; color: #fff !important; font-size: 20px !important; }

/* Youth Investment Fund */
html #dm .shg-home.shg-home > .shg-home__yif { padding-top: 120px !important; }
html #dm .shg-home.shg-home .shg-home__yif .dmRespColsWrapper {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
html #dm .shg-home.shg-home .shg-home__yif-img img { aspect-ratio: 3 / 2; }
html #dm .shg-home.shg-home .shg-home__yif-text > .dmNewParagraph.shg-home__body { margin-top: 24px !important; }
html #dm .shg-home.shg-home .shg-home__yif-text > .shg-home__button { margin-top: 32px !important; }

/* Get in touch: text | form card */
html #dm .shg-home.shg-home > .shg-home__contact { padding-top: 120px !important; padding-bottom: 120px !important; }
html #dm .shg-home.shg-home .shg-home__contact .dmRespColsWrapper {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
html #dm .shg-home.shg-home .shg-home__contact-text > .shg-home__call { margin-top: 32px !important; }
html #dm .shg-home.shg-home .shg-home__contact-form {
  padding: 40px !important;
  border-radius: 3rem 0.5rem !important;
  background-color: #fff !important;
  box-shadow: 0 24px 60px -30px rgba(23, 58, 34, 0.35);
}
/* ---------- Duda's form widget (same design as the Contact page) ---------- */
html #dm .shg-home.shg-home .dmform {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--shg-font) !important;
  text-align: left !important;
}
html #dm .shg-home.shg-home .dmform .dmform-wrapper,
html #dm .shg-home.shg-home .dmform form { margin: 0 !important; padding: 0 !important; background: transparent !important; }
html #dm .shg-home.shg-home .dmform .dmforminput {
  padding: 0 8px 20px !important;
  margin: 0 !important;
  float: left;
}
html #dm .shg-home.shg-home .dmform form { margin: 0 -8px !important; }
html #dm .shg-home.shg-home .dmform .dmforminput label {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--shg-forest) !important;
  font-family: var(--shg-font) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
html #dm .shg-home.shg-home .dmform .dmforminput :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], textarea, select) {
  display: block !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 2px solid #8a948c !important;
  border-radius: var(--shg-leaf-corner) !important;
  background-color: #fff !important;
  color: var(--shg-ink) !important;
  font-family: var(--shg-font) !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}
html #dm .shg-home.shg-home .dmform .dmforminput textarea { min-height: 168px !important; resize: vertical; }
html #dm .shg-home.shg-home .dmform .dmforminput select {
  background-image: linear-gradient(45deg, transparent 50%, var(--shg-forest) 50%), linear-gradient(135deg, var(--shg-forest) 50%, transparent 50%) !important;
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50% !important;
  background-size: 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 44px !important;
}
html #dm .shg-home.shg-home .dmform .dmforminput :is(input, textarea, select):focus {
  border-color: var(--shg-forest) !important;
  outline: 3px solid var(--shg-gold) !important;
  outline-offset: 1px !important;
}
html #dm .shg-home.shg-home .dmform .dmforminput :is(input[type="checkbox"], input[type="radio"]) {
  width: 24px !important;
  height: 24px !important;
  min-height: 0 !important;
  margin: 0 12px 0 0 !important;
  accent-color: var(--shg-forest);
  vertical-align: middle;
}
/* Fields Duda marks as invalid */
html #dm .shg-home.shg-home .dmform :is(.invalid, .error) :is(input, textarea, select),
html #dm .shg-home.shg-home .dmform :is(input, textarea, select):is(.invalid, .error) { border-color: var(--shg-berry) !important; }

/* Send button */
html #dm .shg-home.shg-home .dmform .dmformsubmit {
  float: none !important;
  clear: both;
  width: auto !important;
  margin: 4px 0 0 !important;
  padding: 0 8px !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Duda's theme paints the button's container as a coloured bar; remove it */
html #dm .shg-home.shg-home .dmform .dmformsubmit::before,
html #dm .shg-home.shg-home .dmform .dmformsubmit::after { display: none !important; content: none !important; }
html #dm .shg-home.shg-home .dmform .dmformsubmit :is(input[type="submit"], button) {
  width: auto !important;
  min-height: 52px !important;
  padding: 0 32px !important;
  border: 0 !important;
  border-radius: var(--shg-leaf-corner) !important;
  background: var(--shg-gold) !important;
  color: var(--shg-forest) !important;
  font-family: var(--shg-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
html #dm .shg-home.shg-home .dmform .dmformsubmit :is(input[type="submit"], button):hover { background: var(--shg-gold-hover) !important; transform: translateY(-2px); }
html #dm .shg-home.shg-home .dmform .dmformsubmit :is(input[type="submit"], button):focus-visible {
  outline: 3px solid var(--shg-forest) !important;
  outline-offset: 3px !important;
}
/* Messages after sending */
html #dm .shg-home.shg-home .dmform :is(.dmform-success, .dmform-error) {
  padding: 24px !important;
  border-radius: var(--shg-leaf-corner) !important;
  font-family: var(--shg-font) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}
html #dm .shg-home.shg-home .dmform .dmform-success { background: var(--shg-leaf-pale) !important; color: var(--shg-forest) !important; }
html #dm .shg-home.shg-home .dmform .dmform-error { background: var(--shg-berry-pale, #F3E4E2) !important; color: var(--shg-berry) !important; }

/* =====================================================================
   TABLET (1024px and narrower)
   ===================================================================== */
@media screen and (max-width: 1024px) {
  html #dm .shg-home.shg-home { --shg-home-pad: 32px; }
  html #dm .shg-home.shg-home > .shg-home__hero { min-height: clamp(560px, 80svh, 860px); padding-bottom: 96px !important; }
  html #dm .shg-home.shg-home :is(.shg-home__intro, .shg-home__groups, .shg-home__yif, .shg-home__contact, .shg-home__day-head, .shg-home__proof-head) .dmRespColsWrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  html #dm .shg-home.shg-home .shg-home__intro-img img { aspect-ratio: 5 / 4; }
  html #dm .shg-home.shg-home .shg-home__days .dmRespColsWrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  html #dm .shg-home.shg-home .shg-home__proof .dmRespColsWrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html #dm .shg-home.shg-home .shg-home__routes .dmRespColsWrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  html #dm .shg-home.shg-home .shg-home__route { padding: 8px 8px 24px !important; border-radius: 2rem 0.5rem !important; }
  html #dm .shg-home.shg-home .shg-home__route > .dmNewParagraph { padding: 0 8px !important; }
  html #dm .shg-home.shg-home .shg-home__groups-img img { aspect-ratio: 16 / 10; }
  html #dm .shg-home.shg-home > :is(.shg-home__intro, .shg-home__routes-head, .shg-home__proof-head, .shg-home__yif) { padding-top: 96px !important; }
  html #dm .shg-home.shg-home > :is(.shg-home__day-head, .shg-home__groups) { margin-top: 96px !important; }
  html #dm .shg-home.shg-home > :is(.shg-home__day-head) { padding-top: 88px !important; }
  html #dm .shg-home.shg-home > :is(.shg-home__days) { padding-bottom: 88px !important; }
  html #dm .shg-home.shg-home > .shg-home__groups { padding-top: 88px !important; padding-bottom: 88px !important; }
  html #dm .shg-home.shg-home > .shg-home__contact { padding-top: 96px !important; padding-bottom: 96px !important; }
}

/* =====================================================================
   MOBILE (767px and narrower, and Duda's phone pages)
   ===================================================================== */
@media screen and (max-width: 767px) {
  html #dm .shg-home.shg-home { --shg-home-pad: 16px; }
  html #dm .shg-home.shg-home > .shg-home__hero { min-height: max(560px, 88svh); padding-top: 96px !important; padding-bottom: 88px !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__title { font-size: clamp(2.6rem, 11.5vw, 3.4rem) !important; max-width: 12ch !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__eyebrow { font-size: 13px !important; margin-bottom: 16px !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__lead { margin-top: 18px !important; font-size: 17px !important; }
  /* Buttons wrap onto a new line when there isn't room, rather than squashing their text */
  html #dm .shg-home.shg-home .shg-home__hero-inner { display: flex !important; flex-wrap: wrap; gap: 0 10px; }
  html #dm .shg-home.shg-home .shg-home__hero-inner > .dmNewParagraph { flex: 0 0 100%; }
  html #dm .shg-home.shg-home .shg-home__hero-inner > .shg-home__button { flex: 0 0 auto; margin-top: 16px !important; }
  html #dm .shg-home.shg-home .shg-home__hero-inner > .shg-home__button a { white-space: nowrap; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__lead { max-width: none !important; }
  html #dm .shg-home.shg-home .shg-home__hero-inner > .dmNewParagraph.shg-home__eyebrow { flex: 0 1 auto !important; }
  html #dm .shg-home.shg-home > .shg-home__hero::after {
    background: linear-gradient(180deg, rgba(10, 26, 15, 0.4) 0%, rgba(10, 26, 15, 0.2) 22%, rgba(10, 26, 15, 0.6) 48%, rgba(10, 26, 15, 0.92) 100%);
  }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__video-link { margin-top: 16px !important; padding-right: 64px !important; }

  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__statement { font-size: clamp(2.4rem, 10.5vw, 3rem) !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__body { font-size: 17px !important; }
  html #dm .shg-home.shg-home .shg-home__routes .dmRespColsWrapper { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  /* "A day here": cards swipe sideways */
  html #dm .shg-home.shg-home > .shg-home__days { padding-left: 0 !important; padding-right: 0 !important; }
  html #dm .shg-home.shg-home .shg-home__days .dmRespColsWrapper {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    padding: 0 16px 8px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  html #dm .shg-home.shg-home .shg-home__days .dmRespColsWrapper::-webkit-scrollbar { display: none; }
  html #dm .shg-home.shg-home .shg-home__card { scroll-snap-align: start; }

  html #dm .shg-home.shg-home .shg-home__proof .dmRespColsWrapper { gap: 8px; }
  html #dm .shg-home.shg-home .shg-home__place { min-height: 140px; padding: 20px !important; border-radius: 1.75rem 0.375rem !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__place-name { font-size: 19px !important; }
  html #dm .shg-home.shg-home .shg-home__place > .dmNewParagraph.shg-home__place-note { font-size: 14px !important; }

  html #dm .shg-home.shg-home > :is(.shg-home__intro, .shg-home__routes-head, .shg-home__proof-head, .shg-home__yif) { padding-top: 72px !important; }
  html #dm .shg-home.shg-home > :is(.shg-home__routes, .shg-home__proof) { padding-top: 32px !important; }
  html #dm .shg-home.shg-home > :is(.shg-home__day-head, .shg-home__groups) { margin-top: 72px !important; }
  html #dm .shg-home.shg-home > .shg-home__day-head { padding-top: 64px !important; }
  html #dm .shg-home.shg-home > .shg-home__days { padding-top: 32px !important; padding-bottom: 64px !important; }
  html #dm .shg-home.shg-home > .shg-home__groups { padding-top: 64px !important; padding-bottom: 64px !important; }
  html #dm .shg-home.shg-home > .shg-home__quote { padding-top: 64px !important; padding-bottom: 64px !important; }
  html #dm .shg-home.shg-home > .shg-home__contact { padding-top: 72px !important; padding-bottom: 72px !important; }
  html #dm .shg-home.shg-home .shg-home__contact-form { padding: 24px 20px !important; border-radius: 2rem 0.375rem !important; }
  html #dm .shg-home.shg-home .dmNewParagraph:is(.shg-home__button, .shg-home__call) a { padding: 0 22px !important; }

  html #dm .shg-home.shg-home .dmform .dmforminput { width: 100% !important; float: none !important; }
  html #dm .shg-home.shg-home .dmform .dmformsubmit :is(input[type="submit"], button) { width: 100% !important; }
}
html body.dmMobileBody #dm .shg-home.shg-home { --shg-home-pad: 16px; }
html body.dmMobileBody #dm .shg-home.shg-home .dmform .dmforminput { width: 100% !important; float: none !important; }


/* =====================================================================
   DAY OPPORTUNITIES CALL TO ACTION (row shg-home__day-cta, just below the hero)
   A deep green panel with a gold button: the first thing after the video.
   ===================================================================== */
html #dm .shg-home.shg-home > .shg-home__day-cta { padding-top: 64px !important; }
html #dm .shg-home.shg-home .shg-home__day-cta .dmRespColsWrapper {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 64px;
  align-items: center;
  padding: 56px 56px 56px 64px !important;
  border-radius: 3rem 0.5rem !important;
  background-color: var(--shg-forest) !important;
  box-shadow: 0 30px 60px -40px rgba(23, 58, 34, 0.8);
}
html #dm .shg-home.shg-home .dmRespCol.shg-home__day-cta-text { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0 12px; }
html #dm .shg-home.shg-home .shg-home__day-cta-text > * { flex: 1 0 100%; }
html #dm .shg-home.shg-home .shg-home__day-cta-text > .dmNewParagraph + .dmNewParagraph { margin-top: 20px !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: var(--shg-gold) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--shg-gold); border-radius: 0 100% 0 100%; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-title {
  display: block !important;
  color: #fff !important;
  font-size: clamp(2rem, 3.8vw, 3.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.025em !important;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-lead { max-width: 40ch !important; color: rgba(255, 255, 255, 0.88) !important; font-size: clamp(1.1rem, 1.5vw, 1.3rem) !important; line-height: 1.5 !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-points ul { list-style: none !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-points li { display: flex !important; align-items: center; gap: 10px; text-indent: 0 !important; padding: 0 !important; margin: 0 !important; color: #fff !important; font-size: 17px !important; font-weight: 700 !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-points li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--shg-gold);
  margin: 0 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
html #dm .shg-home.shg-home .shg-home__day-cta-text > .dmNewParagraph.shg-home__day-cta-button { flex: 0 0 auto; margin-top: 32px !important; }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-button a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px !important;
  border-radius: var(--shg-leaf-corner) !important;
  background-color: var(--shg-gold) !important;
  color: var(--shg-forest) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease;
}
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-button a:hover { background-color: var(--shg-gold-hover) !important; transform: translateY(-2px); }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-button--quiet a { background-color: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7); }
html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-button--quiet a:hover { background-color: rgba(255, 255, 255, 0.1) !important; }
html #dm .shg-home.shg-home .shg-home__day-cta a:focus-visible { outline: 3px solid var(--shg-gold) !important; outline-offset: 3px !important; }
html #dm .shg-home.shg-home .shg-home__day-cta-img img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% center; border-radius: 2.5rem 0.5rem !important; }
@media (prefers-reduced-motion: reduce) { html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-button a { transition: none; transform: none !important; } }
@media screen and (max-width: 1024px) {
  html #dm .shg-home.shg-home .shg-home__day-cta .dmRespColsWrapper { grid-template-columns: minmax(0, 1fr); padding: 48px !important; }
  html #dm .shg-home.shg-home .shg-home__day-cta-img img { aspect-ratio: 16 / 10; }
}
@media screen and (max-width: 767px) {
  html #dm .shg-home.shg-home > .shg-home__day-cta { padding-top: 32px !important; }
  html #dm .shg-home.shg-home .shg-home__day-cta .dmRespColsWrapper { padding: 32px 20px 20px !important; border-radius: 2rem 0.375rem !important; gap: 28px; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-title { font-size: 32px !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-points ul { grid-template-columns: minmax(0, 1fr); }
  html #dm .shg-home.shg-home .shg-home__day-cta-text > .dmNewParagraph.shg-home__day-cta-button { flex: 1 0 100%; margin-top: 12px !important; }
  html #dm .shg-home.shg-home .shg-home__day-cta-text > .dmNewParagraph.shg-home__day-cta-button:not(.shg-home__day-cta-button--quiet) { margin-top: 28px !important; }
  html #dm .shg-home.shg-home .dmNewParagraph.shg-home__day-cta-button a { width: 100% !important; }
  html #dm .shg-home.shg-home .shg-home__day-cta-img img { aspect-ratio: 4 / 3; border-radius: 1.75rem 0.375rem !important; }
}
html #dm .shg-home.shg-home .shg-home__day-cta-text > .dmNewParagraph.shg-home__day-cta-lead { max-width: 100% !important; padding-right: max(0px, calc(100% - 40ch)) !important; }
