/* ANA GELFMAN / v7.1 - mobile newsletter hierarchy, fully centered footer,
   and unobstructed right-side accessibility launcher lane. */
@media (max-width:720px){
  /* Good Stuff is the HERO of the subscription block; line two is subordinate.
     Both share a single centered visual axis at all phone widths. */
  html body.gdg-v6 .gdg-newsletter{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:20px!important}
  html body.gdg-v6 .gdg-newsletter-copy,
  html body.gdg-v6 .gdg-newsletter-form-col{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:100%!important;text-align:center!important}
  html body.gdg-v6 .gdg-newsletter-headline{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:100%!important;gap:0!important;margin:0 auto 12px!important;line-height:1!important;text-align:center!important;letter-spacing:0!important}
  html body.gdg-v6 .gdg-newsletter-headline span{display:block!important;width:max-content!important;max-width:100%!important;margin:0 auto!important;text-align:center!important;white-space:nowrap!important;line-height:1.03!important}
  html body.gdg-v6 .gdg-newsletter-headline span:first-child{font-size:clamp(43px,14.4vw,64px)!important;font-weight:700!important;color:#e9c48d!important;letter-spacing:.008em!important}
  html body.gdg-v6 .gdg-newsletter-headline span:last-child{font-size:clamp(26px,8.2vw,36px)!important;font-weight:700!important;color:#fff!important;letter-spacing:.006em!important;margin-top:4px!important}
  html body.gdg-v6 .gdg-newsletter-copy>p{width:100%!important;max-width:440px!important;text-align:center!important;margin:0 auto!important;line-height:1.37!important}
  html body.gdg-v6 .gdg-newsletter-form{width:100%!important;max-width:450px!important;margin:0 auto!important}
  html body.gdg-v6 .gdg-newsletter-inputs{justify-content:center!important;align-items:stretch!important;width:100%!important}
  html body.gdg-v6 .gdg-newsletter-consent{display:flex!important;align-items:flex-start!important;justify-content:center!important;width:100%!important;text-align:center!important;margin-inline:auto!important}
  html body.gdg-v6 .gdg-newsletter-success{text-align:center!important}

  /* Full mobile footer: stack EVERY column, center its heading, links and logo.
     The old 2-column rule at <=430px is intentionally overridden here. */
  html body.gdg-v6 .gdg-footer-top{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;align-items:start!important;gap:24px!important;width:100%!important;text-align:center!important}
  html body.gdg-v6 .gdg-footer-top>div,
  html body.gdg-v6 .gdg-footer-top>div:first-child{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;grid-column:1 / -1!important;width:100%!important;min-width:0!important;margin-inline:auto!important;text-align:center!important}
  html body.gdg-v6 .gdg-footer-top>div :is(b,strong,p,a,small){text-align:center!important;margin-inline:auto!important}
  html body.gdg-v6 .gdg-footer-about .gdg-footer-gdigital{display:flex!important;justify-content:center!important;align-items:center!important;align-self:center!important;width:max-content!important;max-width:100%!important;margin:0 auto 10px!important;direction:ltr!important}
  html body.gdg-v6 .gdg-footer-about>p{max-width:420px!important;margin-inline:auto!important}
  html body.gdg-v6 .gdg-footer-top>div>a{display:block!important;width:max-content!important;max-width:100%!important;text-align:center!important}
  html body.gdg-v6 .gdg-footer-bottom{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:15px!important;text-align:center!important}
  html body.gdg-v6 .gdg-footer-bottom>span{text-align:center!important;margin-inline:auto!important}
  html body.gdg-v6 .gdg-social-icons{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;margin-inline:auto!important}

  /* The opt-in popup previously used almost the entire viewport width at
     bottom:12px, potentially placing an invisible layer over a right-hand
     accessibility launcher. Keep the RIGHT 86px of the viewport unobstructed. */
  html body.gdg-v6 .gdg69-popup{left:10px!important;right:auto!important;bottom:12px!important;width:min(350px,calc(100vw - 100px))!important;max-height:min(38vh,275px)!important;grid-template-columns:65px minmax(0,1fr)!important;overflow:hidden!important}
  html body.gdg-v6 .gdg69-popup-art{min-height:150px!important}
  html body.gdg-v6 .gdg69-popup-body{padding:10px 9px 10px 4px!important;min-width:0!important}
  html body.gdg-v6 .gdg69-popup h2{font-size:clamp(20px,5.3vw,28px)!important}
  html body.gdg-v6 .gdg69-popup p{font-size:clamp(13px,3.4vw,16px)!important}
  html body.gdg-v6 .gdg69-popup-cta{font-size:clamp(15px,4.1vw,18px)!important;white-space:normal!important}
}
@media(max-width:350px){
 html body.gdg-v6 .gdg69-popup{grid-template-columns:minmax(0,1fr)!important;width:calc(100vw - 100px)!important;overflow:auto!important}
 html body.gdg-v6 .gdg69-popup-art{display:none!important}
 html body.gdg-v6 .gdg69-popup-body{padding:12px 8px!important}
}
