/*
 * Final composition pass for the Off-Switch group page.
 * All card treatments are taken from the existing self-study design system.
 * Lower product cards, format choice, characters and global components are untouched.
 */

/* Clear separation between the four problem cards. */
body.off-switch-group-v3 .gg-problem-grid {
  column-gap: 14px !important;
  background: transparent !important;
}

body.off-switch-group-v3 .gg-problem-grid article,
body.off-switch-group-v3 .gg-problem-grid article:nth-child(n) {
  isolation: isolate;
}

/* "Было — что меняется — стало": reuse the self-study outcome strip. */
body.off-switch-group-v3 .gg-auto-flow {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 0 !important;
  background: #3f7f39 !important;
  box-shadow: none !important;
}

body.off-switch-group-v3 .gg-auto-flow article,
body.off-switch-group-v3 .gg-auto-flow article:nth-child(n) {
  min-height: 248px !important;
  padding: 31px 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.off-switch-group-v3 .gg-auto-flow article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.24) !important;
}

body.off-switch-group-v3 .gg-auto-flow article::before,
body.off-switch-group-v3 .gg-auto-flow article::after {
  display: none !important;
}

body.off-switch-group-v3 .gg-auto-flow span {
  display: block !important;
  margin: 0 0 15px !important;
  color: #dceba7 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.off-switch-group-v3 .gg-auto-flow h3 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
}

body.off-switch-group-v3 .gg-auto-flow p {
  display: block !important;
  margin: 13px 0 0 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 15px !important;
  line-height: 1.52 !important;
}

body.off-switch-group-v3 .gg-mechanism-result {
  margin-top: 24px !important;
  padding: 23px 27px !important;
  border: 0 !important;
  border-left: 5px solid #5f8b43 !important;
  border-radius: 0 !important;
  background: #fbfaf5 !important;
  color: #173f37 !important;
  box-shadow: none !important;
}

/* Full green stage with four equal chapter cards on the right. */
body.off-switch-group-v3 .gg-practice-band {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #3f7f39 !important;
  box-shadow: none !important;
}

body.off-switch-group-v3 .gg-practice-band__intro {
  padding: 40px 36px !important;
  background: transparent !important;
  color: #fff !important;
}

body.off-switch-group-v3 .gg-practice-band__intro span,
body.off-switch-group-v3 .gg-practice-band__intro h3,
body.off-switch-group-v3 .gg-practice-band__intro p {
  color: #fff !important;
}

body.off-switch-group-v3 .gg-practice-band__intro p {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body.off-switch-group-v3 .gg-technique-plain {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr !important;
  gap: 14px !important;
  align-content: stretch !important;
  padding: 24px !important;
  border: 0 !important;
  background: transparent !important;
}

body.off-switch-group-v3 .gg-technique-plain li,
body.off-switch-group-v3 .gg-technique-plain li:nth-child(n) {
  --chapter-accent: #5f8b43;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 14px !important;
  overflow: hidden !important;
  min-height: 212px !important;
  padding: 26px 25px 24px 29px !important;
  border: 0 !important;
  border-left: 7px solid var(--chapter-accent) !important;
  border-radius: 3px !important;
  background: #fbfaf5 !important;
  box-shadow: 0 14px 32px rgba(27, 67, 39, 0.1) !important;
}

body.off-switch-group-v3 .gg-technique-plain li::before {
  display: none !important;
}

body.off-switch-group-v3 .gg-technique-plain li::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  background: linear-gradient(225deg, #3f7f39 0 49%, color-mix(in srgb, var(--chapter-accent) 16%, #fff) 50%) !important;
}

body.off-switch-group-v3 .gg-technique-plain li > span {
  display: inline-flex !important;
  justify-self: start !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: color-mix(in srgb, var(--chapter-accent) 12%, #fff) !important;
  color: var(--chapter-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.off-switch-group-v3 .gg-technique-plain li > div {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
}

body.off-switch-group-v3 .gg-technique-plain strong {
  color: #173f37 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

body.off-switch-group-v3 .gg-technique-plain p {
  margin: 10px 0 0 !important;
  color: #536b60 !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

/* The image and route chapters need to breathe as separate stages. */
body.off-switch-group-v3 .gg-map .gg-route-grid {
  margin-top: 32px !important;
}

/* Meeting-to-meeting process: reuse the self-study implementation timeline. */
body.off-switch-group-v3 .gg-meeting-flow {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

body.off-switch-group-v3 .gg-meeting-flow::before {
  content: "" !important;
  position: absolute !important;
  top: 34px !important;
  right: 12.5% !important;
  left: 12.5% !important;
  display: block !important;
  height: 2px !important;
  background: linear-gradient(90deg, #4f7835, #9caf48) !important;
  opacity: 0.35 !important;
}

body.off-switch-group-v3 .gg-meeting-flow article,
body.off-switch-group-v3 .gg-meeting-flow article:nth-child(n) {
  position: relative !important;
  min-height: 222px !important;
  padding: 67px 24px 27px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}

body.off-switch-group-v3 .gg-meeting-flow article + article {
  border-left: 0 !important;
}

body.off-switch-group-v3 .gg-meeting-flow article::before {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 25px !important;
  left: 50% !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  border: 5px solid #e9f3d1 !important;
  border-radius: 50% !important;
  background: #4f7835 !important;
  box-shadow: 0 0 0 1px rgba(79, 120, 53, 0.4) !important;
  transform: translateX(-50%) !important;
}

body.off-switch-group-v3 .gg-meeting-flow article::after {
  display: none !important;
}

body.off-switch-group-v3 .gg-meeting-flow span {
  position: static !important;
  display: block !important;
  margin: 0 0 13px !important;
  color: #4f7835 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.off-switch-group-v3 .gg-meeting-flow h3 {
  margin: 0 !important;
  color: #173f37 !important;
  font-size: 25px !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
}

body.off-switch-group-v3 .gg-meeting-flow article p {
  display: block !important;
  margin: 11px 0 0 !important;
  color: #536b60 !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

/* Preserve the complete rectangular story image and simplify its text partner. */
body.off-switch-group-v3 .gg-practice-cycle .gg-week__split {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr) !important;
  gap: 48px !important;
  align-items: start !important;
}

body.off-switch-group-v3 .gg-practice-cycle .gg-week__media {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}

body.off-switch-group-v3 .gg-practice-cycle .gg-week__media img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1672 / 941 !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.off-switch-group-v3 .gg-practice-cycle .gg-homework {
  padding: 32px 31px !important;
}

body.off-switch-group-v3 .gg-homework__lead,
body.off-switch-group-v3 .gg-homework__result {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

body.off-switch-group-v3 .gg-week-grid li p {
  font-size: 15px !important;
  line-height: 1.48 !important;
}

/* Offer: result first, then price, then the three reasons. */
body.off-switch-group-v3 .gg-offer__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr) !important;
  column-gap: 72px !important;
  row-gap: 48px !important;
}

body.off-switch-group-v3 .gg-offer__copy,
body.off-switch-group-v3 .gg-offer__action-panel {
  align-self: center !important;
}

body.off-switch-group-v3 .gg-offer__action-panel {
  padding: 16px 0 16px 40px !important;
  border: 0 !important;
  border-left: 7px solid #5f8b43 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.off-switch-group-v3 .gg-offer__price strong {
  font-size: 76px !important;
  line-height: 0.95 !important;
}

body.off-switch-group-v3 .gg-offer__value {
  max-width: 680px !important;
  font-size: 18px !important;
  line-height: 1.58 !important;
}

body.off-switch-group-v3 .gg-offer__facts {
  grid-column: 1 / -1 !important;
  gap: 0 !important;
  padding-top: 27px !important;
  border-top: 1px solid rgba(31, 79, 54, 0.2) !important;
}

body.off-switch-group-v3 .gg-offer__facts > div {
  padding: 0 28px !important;
}

body.off-switch-group-v3 .gg-offer__facts > div:first-child {
  padding-left: 0 !important;
}

body.off-switch-group-v3 .gg-offer__facts dt {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

body.off-switch-group-v3 .gg-offer__facts dd {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

/* Proof: one main case, then the supporting data strip. */
body.off-switch-group-v3 .gg-case-line {
  display: grid !important;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr) !important;
  grid-template-rows: auto auto !important;
  gap: 9px 48px !important;
  align-items: center !important;
  margin: 40px 0 22px !important;
  padding: 36px 40px !important;
  border: 0 !important;
  border-left: 8px solid #5f8b43 !important;
  border-radius: 3px !important;
  background: #fbfaf5 !important;
  color: #173f37 !important;
  box-shadow: 0 17px 42px rgba(38, 73, 43, 0.1) !important;
}

body.off-switch-group-v3 .gg-case-line span {
  grid-column: 1 !important;
  margin: 0 !important;
  color: #4f7835 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.off-switch-group-v3 .gg-case-line strong {
  grid-column: 1 !important;
  margin: 0 !important;
  color: #173f37 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 66px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

body.off-switch-group-v3 .gg-case-line p {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
  color: #536b60 !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
}

body.off-switch-group-v3 .gg-proof-numbers {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #173f37 !important;
  box-shadow: 0 20px 48px rgba(11, 52, 59, 0.18) !important;
}

body.off-switch-group-v3 .gg-proof-numbers article,
body.off-switch-group-v3 .gg-proof-numbers article:nth-child(n) {
  min-height: 0 !important;
  padding: 29px 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.off-switch-group-v3 .gg-proof-numbers article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.off-switch-group-v3 .gg-proof-numbers strong {
  color: #fff !important;
  font-size: 39px !important;
  line-height: 1 !important;
}

body.off-switch-group-v3 .gg-proof-numbers span {
  color: #c6dedf !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.off-switch-group-v3 .gg-proof-context {
  font-size: 16px !important;
  line-height: 1.56 !important;
}

body.off-switch-group-v3 .gg-proof .gg-small-note {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Fit: keep all four points, but make them readable. */
body.off-switch-group-v3 .gg-conversion__band {
  column-gap: 48px !important;
}

body.off-switch-group-v3 .gg-conversion__fit li,
body.off-switch-group-v3 .gg-conversion__logistics dt,
body.off-switch-group-v3 .gg-conversion__logistics dd {
  font-size: 16px !important;
  line-height: 1.52 !important;
}

body.off-switch-group-v3 .gg-conversion__fit li {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

/* Written proof: reuse the self-study testimonial mosaic exactly. */
body.off-switch-group-v3 .gg-testimonial-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote,
body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(n) {
  grid-column: span 4 !important;
  min-height: 240px !important;
  padding: 30px 29px !important;
  border: 1px solid rgba(171, 115, 75, 0.24) !important;
  border-radius: 3px !important;
  background: #fff8ed !important;
  box-shadow: 0 14px 30px rgba(5, 37, 42, 0.12) !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(1) {
  grid-column: span 7 !important;
  grid-row: span 2 !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(2),
body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(3) {
  grid-column: span 5 !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(4),
body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(5),
body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(6) {
  grid-column: span 4 !important;
  min-height: 210px !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote p {
  color: #173f37 !important;
  font-size: 18px !important;
  line-height: 1.52 !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(1) p {
  font-size: 28px !important;
  line-height: 1.42 !important;
}

body.off-switch-group-v3 .gg-testimonial-grid blockquote cite {
  color: #9f3f31 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

@media (max-width: 980px) {
  body.off-switch-group-v3 .gg-auto-flow,
  body.off-switch-group-v3 .gg-technique-plain,
  body.off-switch-group-v3 .gg-offer__grid,
  body.off-switch-group-v3 .gg-case-line,
  body.off-switch-group-v3 .gg-proof-numbers,
  body.off-switch-group-v3 .gg-testimonial-grid {
    grid-template-columns: 1fr !important;
  }

  body.off-switch-group-v3 .gg-practice-band,
  body.off-switch-group-v3 .gg-practice-cycle .gg-week__split {
    grid-template-columns: 1fr !important;
  }

  body.off-switch-group-v3 .gg-auto-flow article + article,
  body.off-switch-group-v3 .gg-proof-numbers article + article {
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  body.off-switch-group-v3 .gg-case-line p {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body.off-switch-group-v3 .gg-offer__action-panel {
    padding: 28px 0 0 !important;
    border-left: 0 !important;
    border-top: 7px solid #5f8b43 !important;
  }

  body.off-switch-group-v3 .gg-testimonial-grid blockquote,
  body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(n) {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 720px) {
  body.off-switch-group-v3 #gg-offer-title {
    font-size: 40px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 680px) {
  body.off-switch-group-v3 .gg-auto-flow article,
  body.off-switch-group-v3 .gg-auto-flow article:nth-child(n) {
    min-height: 0 !important;
    padding: 27px 24px !important;
  }

  body.off-switch-group-v3 .gg-practice-band__intro {
    padding: 30px 25px !important;
  }

  body.off-switch-group-v3 .gg-technique-plain {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  body.off-switch-group-v3 .gg-technique-plain li,
  body.off-switch-group-v3 .gg-technique-plain li:nth-child(n) {
    min-height: 0 !important;
  }

  body.off-switch-group-v3 .gg-meeting-flow {
    grid-template-columns: 1fr !important;
    padding-left: 0 !important;
  }

  body.off-switch-group-v3 .gg-meeting-flow::before {
    top: 22px !important;
    right: auto !important;
    bottom: 22px !important;
    left: 21px !important;
    width: 2px !important;
    height: auto !important;
  }

  body.off-switch-group-v3 .gg-meeting-flow article,
  body.off-switch-group-v3 .gg-meeting-flow article:nth-child(n) {
    min-height: 0 !important;
    padding: 20px 0 23px 60px !important;
    border-bottom: 1px solid rgba(31, 79, 54, 0.18) !important;
    text-align: left !important;
  }

  body.off-switch-group-v3 .gg-meeting-flow article::before {
    top: 24px !important;
    left: 12px !important;
    transform: none !important;
  }

  body.off-switch-group-v3 .gg-practice-cycle .gg-homework {
    padding: 27px 24px !important;
  }

  body.off-switch-group-v3 .gg-offer__grid {
    row-gap: 34px !important;
  }

  body.off-switch-group-v3 .gg-offer__price strong {
    font-size: 60px !important;
  }

  body.off-switch-group-v3 .gg-offer__facts {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.off-switch-group-v3 .gg-offer__facts > div,
  body.off-switch-group-v3 .gg-offer__facts > div:first-child {
    padding: 19px 0 !important;
  }

  body.off-switch-group-v3 .gg-case-line {
    padding: 29px 25px !important;
  }

  body.off-switch-group-v3 .gg-case-line strong {
    font-size: 50px !important;
  }

  body.off-switch-group-v3 .gg-case-line p {
    font-size: 17px !important;
  }

  body.off-switch-group-v3 .gg-proof-numbers {
    border-radius: 3px !important;
  }

  body.off-switch-group-v3 .gg-testimonial-grid blockquote,
  body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(n) {
    padding: 27px 24px !important;
  }

  body.off-switch-group-v3 .gg-testimonial-grid blockquote p,
  body.off-switch-group-v3 .gg-testimonial-grid blockquote:nth-child(1) p {
    font-size: 18px !important;
    line-height: 1.52 !important;
  }
}

/* Presentation polish: reuse the established self-study language without adding new component types. */

/* Hero: keep the approved safe crop and restore the existing character labels. */
body.off-switch-group-v3 .gg-emotion-callouts--hero {
  display: none !important;
}

@media (min-width: 1101px) {
  body.off-switch-group-v3 .gg-emotion-callouts--hero {
    display: block !important;
  }
}

/* Mobile uses the same direct callouts as desktop. Their compact positions
   are defined in the character layer, so no detached legend is needed. */
@media (max-width: 680px) {
  body.off-switch-group-v3 .gg-emotion-callouts--hero {
    display: block !important;
  }
}

/* Recognition: four separate cards, never one framed table. */
body.off-switch-group-v3 .gg-problems {
  background: #fff !important;
}

body.off-switch-group-v3 .gg-problem-grid {
  gap: 20px !important;
  grid-auto-rows: 1fr !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

body.off-switch-group-v3 .gg-problem-grid article,
body.off-switch-group-v3 .gg-problem-grid article:nth-child(n) {
  height: 100% !important;
  border: 1px solid rgba(31, 79, 54, 0.16) !important;
  border-left: 7px solid var(--problem-accent) !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 15px 36px rgba(38, 73, 43, 0.1) !important;
}

body.off-switch-group-v3 .gg-problem-grid article:last-child {
  border-right: 1px solid rgba(31, 79, 54, 0.16) !important;
}

/* Connected reactions: text and the existing mechanism illustration form one scene. */
body.off-switch-group-v3 .gg-depth {
  display: grid !important;
  grid-template-areas:
    "copy media"
    "steps media" !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr) !important;
  gap: 30px 58px !important;
  align-items: start !important;
}

body.off-switch-group-v3 .gg-depth__copy {
  grid-area: copy !important;
}

body.off-switch-group-v3 .gg-depth__media {
  grid-area: media !important;
  overflow: hidden !important;
  margin: 0 !important;
  border: 1px solid rgba(31, 79, 54, 0.16) !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 16px 38px rgba(38, 73, 43, 0.1) !important;
}

body.off-switch-group-v3 .gg-depth__media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1586 / 992 !important;
  object-fit: cover !important;
}

body.off-switch-group-v3 .gg-depth__media figcaption {
  margin: 0 !important;
  padding: 17px 20px !important;
  border-top: 1px solid rgba(31, 79, 54, 0.14) !important;
  color: #375435 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.off-switch-group-v3 .gg-depth-steps {
  grid-area: steps !important;
}

/* The state change stays compact instead of becoming a heavy green wall. */
body.off-switch-group-v3 .gg-auto-flow article,
body.off-switch-group-v3 .gg-auto-flow article:nth-child(n) {
  min-height: 198px !important;
  padding: 25px 26px !important;
}

/* Route and cycle copy keep the minimum readable body size. */
body.off-switch-group-v3 .gg-problem-grid li,
body.off-switch-group-v3 .gg-depth-steps p,
body.off-switch-group-v3 .gg-auto-flow p,
body.off-switch-group-v3 .gg-technique-plain p,
body.off-switch-group-v3 .gg-map .gg-route-grid p,
body.off-switch-group-v3 .gg-meeting-flow article p,
body.off-switch-group-v3 .gg-week-grid li p,
body.off-switch-group-v3 .gg-offer__facts dd,
body.off-switch-group-v3 .gg-proof-numbers span,
body.off-switch-group-v3 .gg-video-card > p {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Offer: preserve the composition, strengthen only the action. */
body.off-switch-group-v3 .gg-offer__action-panel .fs-button {
  box-shadow: 0 14px 30px rgba(47, 105, 47, 0.22) !important;
}

/* One real story leads; the remaining video cases stay secondary. */
body.off-switch-group-v3 .gg-shared-story {
  align-self: stretch !important;
  overflow: hidden !important;
  min-height: 0 !important;
  padding-bottom: 22px !important;
  border: 1px solid rgba(31, 79, 54, 0.16) !important;
  border-radius: 3px !important;
  background: #fffdf8 !important;
  box-shadow: 0 16px 38px rgba(38, 73, 43, 0.1) !important;
}

body.off-switch-group-v3 .gg-shared-story .gg-video-frame {
  aspect-ratio: 16 / 9 !important;
}

body.off-switch-group-v3 .gg-shared-story h3 {
  margin-top: 20px !important;
  font-size: 25px !important;
}

body.off-switch-group-v3 .gg-video-proof .gg-video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child,
body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n) {
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child .gg-video-frame,
body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n) .gg-video-frame {
  aspect-ratio: 4 / 3 !important;
}

body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child .gg-video-loader {
  height: 100% !important;
}

body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child h3 {
  margin-top: 16px !important;
  font-size: 18px !important;
}

body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child > p {
  margin-bottom: 0 !important;
  font-size: 16px !important;
}

@media (min-width: 1101px) {
  body.off-switch-group-v3 .gg-video-proof .gg-video-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(-n + 3) {
    grid-column: span 2 !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(4) {
    grid-column: 2 / span 2 !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(5) {
    grid-column: 4 / span 2 !important;
  }
}

/* Ugis remains visibly online, but the frame uses the same restrained geometry as the page. */
body.off-switch-group-v3 .gg-author__zoom {
  border-radius: 3px !important;
  box-shadow: 0 14px 32px rgba(38, 73, 43, 0.1) !important;
}

/* Main proof: result first, scale second. */
body.off-switch-group-v3 .gg-case-score {
  grid-column: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 7px !important;
}

body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score strong {
  color: #fff !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 66px !important;
  font-weight: 400 !important;
  line-height: 0.96 !important;
}

body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score span {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

@media (max-width: 1100px) {
  body.off-switch-group-v3 .gg-depth {
    grid-template-areas:
      "copy"
      "media"
      "steps" !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  body.off-switch-group-v3 .gg-problem-grid {
    gap: 14px !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-grid {
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: min(86%, 350px) !important;
  }

  body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score strong {
    font-size: 50px !important;
  }

  body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score span {
    font-size: 18px !important;
  }
}

/* 2026-07-15: final narrative polish from the approved group-page brief. */

/* Bring the approved hero scene slightly closer to the copy without changing its crop. */
@media (min-width: 681px) and (max-width: 1699px) {
  body.off-switch-group-v3 .gg-hero__picture img {
    width: calc(100% + 28px) !important;
    transform: translateX(28px) !important;
  }

  body.off-switch-group-v3 .gg-emotion-callouts--hero {
    left: 28px !important;
    width: calc(100% + 28px) !important;
  }
}

/* The four recognition cards stay independent and finish on one baseline. */
body.off-switch-group-v3 .gg-problem-grid {
  gap: 24px !important;
}

body.off-switch-group-v3 .gg-problem-grid article,
body.off-switch-group-v3 .gg-problem-grid article:nth-child(n) {
  align-self: stretch !important;
}

/* Reuse the former route image as a readable before/after state change. */
body.off-switch-group-v3 .gg-state-shift {
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr) !important;
  gap: 32px !important;
  align-items: stretch !important;
  margin-top: 38px !important;
}

body.off-switch-group-v3 .gg-state-shift__media {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  overflow: hidden !important;
  margin: 0 !important;
  border: 1px solid rgba(31, 79, 54, 0.16) !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: 0 16px 38px rgba(38, 73, 43, 0.1) !important;
}

body.off-switch-group-v3 .gg-state-shift__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.off-switch-group-v3 .gg-state-shift__media figcaption {
  margin: 0 !important;
  padding: 16px 20px !important;
  border-top: 1px solid rgba(31, 79, 54, 0.14) !important;
  color: #375435 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.off-switch-group-v3 .gg-auto-flow--states {
  grid-template-columns: 1fr !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  border: 0 !important;
  background: transparent !important;
}

body.off-switch-group-v3 .gg-auto-flow--states article,
body.off-switch-group-v3 .gg-auto-flow--states article:nth-child(n) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 29px 30px !important;
}

body.off-switch-group-v3 .gg-auto-flow--states article:first-child {
  border: 1px solid rgba(31, 79, 54, 0.16) !important;
  background: #fbfaf5 !important;
}

body.off-switch-group-v3 .gg-auto-flow--states article:first-child span {
  color: #5f8b43 !important;
}

body.off-switch-group-v3 .gg-auto-flow--states article:first-child h3 {
  color: #173f37 !important;
}

body.off-switch-group-v3 .gg-auto-flow--states article:first-child p {
  color: #536b60 !important;
}

body.off-switch-group-v3 .gg-auto-flow--states article + article {
  border: 0 !important;
  background: #3f7f39 !important;
}

/* The 12-week image is one continuous four-phase route, not a calendar. */
body.off-switch-group-v3 .gg-map .gg-media--map {
  overflow: hidden !important;
  aspect-ratio: 1672 / 941 !important;
}

body.off-switch-group-v3 .gg-map .gg-media--map img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Give the meeting-to-meeting story a proper rectangular visual stage. */
body.off-switch-group-v3 .gg-practice-cycle .gg-week__split {
  grid-template-columns: minmax(0, 1.28fr) minmax(350px, 0.72fr) !important;
  gap: 40px !important;
  align-items: stretch !important;
}

body.off-switch-group-v3 .gg-practice-cycle .gg-week__media {
  align-self: stretch !important;
  overflow: hidden !important;
  min-height: 420px !important;
  background: transparent !important;
}

body.off-switch-group-v3 .gg-practice-cycle .gg-week__media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Ugis reads as the guide of the route, not as a detached author portrait. */
body.off-switch-group-v3 .gg-author__grid {
  align-items: center !important;
}

body.off-switch-group-v3 .gg-author .gg-copy > p:last-child {
  max-width: 650px !important;
  margin-top: 18px !important;
  color: #536b60 !important;
  font-size: 17px !important;
  line-height: 1.58 !important;
}

/* Two clearly different visual sides: suitability and participation. */
body.off-switch-group-v3 .gg-conversion__band {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr) !important;
  gap: 64px !important;
  align-items: start !important;
}

body.off-switch-group-v3 .gg-conversion__logistics {
  margin-top: 54px !important;
}

/* Keep the main result a case card instead of a dark statistics band. */
body.off-switch-group-v3 .gg-proof .gg-case-line {
  background: #fbfaf5 !important;
  color: #173f37 !important;
}

body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score strong {
  color: #173f37 !important;
  font-size: 74px !important;
}

body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score span {
  color: #5f786b !important;
  font-size: 18px !important;
}

/* One video story leads; four compact cases support it. */
@media (min-width: 1101px) {
  body.off-switch-group-v3 .gg-video-proof .gg-video-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.32fr) minmax(390px, 0.68fr) !important;
    grid-template-rows: repeat(4, minmax(118px, auto)) !important;
    gap: 16px 20px !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    flex-direction: column !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:first-child .gg-video-frame {
    flex: 1 1 auto !important;
    min-height: 420px !important;
    aspect-ratio: auto !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n + 2) {
    display: grid !important;
    grid-column: 2 !important;
    grid-template-columns: 156px minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-items: center !important;
    min-height: 118px !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n + 2) .gg-video-frame {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    height: 100% !important;
    min-height: 118px !important;
    aspect-ratio: auto !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n + 2) h3,
  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n + 2) > p {
    grid-column: 2 !important;
    margin-right: 18px !important;
    margin-left: 18px !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n + 2) h3 {
    grid-row: 1 !important;
    align-self: end !important;
    margin-top: 13px !important;
    margin-bottom: 3px !important;
  }

  body.off-switch-group-v3 .gg-video-proof .gg-video-card:nth-child(n + 2) > p {
    grid-row: 2 !important;
    align-self: start !important;
    margin-top: 3px !important;
    margin-bottom: 13px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 1100px) {
  body.off-switch-group-v3 .gg-state-shift,
  body.off-switch-group-v3 .gg-practice-cycle .gg-week__split,
  body.off-switch-group-v3 .gg-conversion__band {
    grid-template-columns: 1fr !important;
  }

  body.off-switch-group-v3 .gg-conversion__logistics {
    margin-top: 0 !important;
  }
}

@media (max-width: 680px) {
  body.off-switch-group-v3 .gg-problem-grid {
    gap: 14px !important;
  }

  body.off-switch-group-v3 .gg-state-shift {
    gap: 18px !important;
    margin-top: 28px !important;
  }

  body.off-switch-group-v3 .gg-state-shift__media img {
    height: auto !important;
    aspect-ratio: 1672 / 941 !important;
  }

  body.off-switch-group-v3 .gg-auto-flow--states {
    grid-template-rows: auto !important;
    gap: 12px !important;
  }

  body.off-switch-group-v3 .gg-practice-cycle .gg-week__media,
  body.off-switch-group-v3 .gg-practice-cycle .gg-week__media img {
    min-height: 0 !important;
  }

  body.off-switch-group-v3 .gg-practice-cycle .gg-week__media img {
    height: auto !important;
    object-fit: contain !important;
  }

  body.off-switch-group-v3 .gg-proof .gg-case-line .gg-case-score strong {
    font-size: 56px !important;
  }
}

@media (min-width: 681px) and (max-width: 820px) {
  body.off-switch-group-v3 .gg-hero h1 {
    font-size: 38px !important;
    line-height: 1.06 !important;
  }
}

@media (max-width: 380px) {
  body.off-switch-group-v3 #gg-offer-title {
    font-size: 35px !important;
    line-height: 1.08 !important;
  }

  body.off-switch-group-v3 #gg-proof-title {
    font-size: 27px !important;
    line-height: 1.1 !important;
  }
}
