/* Layout hotfix 2026-07-29f
   Prevents the premium scope panel from being constrained to the first FAQ column.
   Loaded last so it overrides the accumulated legacy rules safely. */

body.gg-refined .faq > .premium-scope-panel,
body.gg-design-v2 .faq > .premium-scope-panel {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.gg-refined .premium-scope-panel,
body.gg-design-v2 .premium-scope-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  gap: clamp(32px, 4vw, 64px) !important;
  align-items: center !important;
  padding: clamp(32px, 4vw, 52px) !important;
  overflow: hidden !important;
}

body.gg-refined .premium-scope-panel > *,
body.gg-design-v2 .premium-scope-panel > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.gg-refined .premium-scope-panel h2,
body.gg-design-v2 .premium-scope-panel h2 {
  max-width: 15ch !important;
  margin: 0 0 20px !important;
  font-size: clamp(2.35rem, 4.1vw, 4.65rem) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

body.gg-refined .premium-scope-panel .lead,
body.gg-design-v2 .premium-scope-panel .lead {
  max-width: 48ch !important;
  margin: 0 !important;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem) !important;
  line-height: 1.7 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.gg-refined .premium-scope-details,
body.gg-design-v2 .premium-scope-details {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(24px, 3vw, 34px) !important;
  box-sizing: border-box !important;
}

body.gg-refined .premium-scope-details .check-list,
body.gg-design-v2 .premium-scope-details .check-list {
  margin: 22px 0 0 !important;
}

body.gg-refined .premium-scope-details .check-list li,
body.gg-design-v2 .premium-scope-details .check-list li {
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body.gg-refined .premium-scope-details .button,
body.gg-design-v2 .premium-scope-details .button {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-self: start !important;
}

/* Keep the FAQ heading/list in their intended two-column arrangement. */
body.gg-refined .faq,
body.gg-design-v2 .faq {
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr) !important;
  align-items: start !important;
}

body.gg-refined .faq > *,
body.gg-design-v2 .faq > * {
  min-width: 0 !important;
}

@media (max-width: 980px) {
  body.gg-refined .faq,
  body.gg-design-v2 .faq,
  body.gg-refined .premium-scope-panel,
  body.gg-design-v2 .premium-scope-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.gg-refined .premium-scope-panel h2,
  body.gg-design-v2 .premium-scope-panel h2 {
    max-width: 18ch !important;
  }
}

@media (max-width: 760px) {
  body.gg-refined .premium-scope-panel,
  body.gg-design-v2 .premium-scope-panel {
    gap: 24px !important;
    padding: 24px !important;
  }

  body.gg-refined .premium-scope-panel h2,
  body.gg-design-v2 .premium-scope-panel h2 {
    max-width: none !important;
    font-size: clamp(2rem, 11vw, 3rem) !important;
    line-height: 1.02 !important;
  }

  body.gg-refined .premium-scope-details,
  body.gg-design-v2 .premium-scope-details {
    padding: 22px !important;
  }

  body.gg-refined .premium-scope-details .button,
  body.gg-design-v2 .premium-scope-details .button {
    width: 100% !important;
    justify-self: stretch !important;
  }
}
