/* George enhances existing blog offers, never their submission logic. */
.c-offer.g-offer { overflow: hidden; }
.g-offer__shell { position:relative; width:100%; max-width:420px; max-height:calc(100% - 102px); pointer-events:none; flex:none; }
.g-offer__shell > .c-offer__card, .g-offer__shell > .c-adlead__card { width:100%; max-width:none; max-height:inherit; box-sizing:border-box; animation:none; pointer-events:auto; }
.g-offer__shell > .c-offer__close { position:absolute; top:-51px; right:8px; margin:0; width:44px; height:44px; border-radius:50%; pointer-events:auto; z-index:4; box-shadow:0 3px 12px #10204025; transition:opacity .12s; }
.g-offer > .g-offer__close { position:fixed; margin:0; width:44px; height:44px; border-radius:50%; pointer-events:auto; z-index:4; box-shadow:0 3px 12px #10204025; }
.g-offer__dog { position:fixed; left:0; top:0; width:112px; height:112px; background-position:center; background-size:contain; background-repeat:no-repeat; pointer-events:none; z-index:3; transform-origin:50% 90%; will-change:transform; }
.g-offer__leash { position:fixed; inset:0; width:100vw; height:100vh; overflow:visible; pointer-events:none; z-index:2; }
.g-offer__leash path { fill:none; stroke:#1265ef; stroke-width:5; stroke-linecap:round; stroke-linejoin:round; }
.g-offer__leash rect { fill:#1672fb; stroke:#78b4ff; stroke-width:1.5; rx:3; }
@media(min-width:1024px){ .g-offer__shell { max-width:380px; } }
@media(max-width:560px){ .g-offer__shell { max-height:calc(100% - 80px); } .g-offer__dog { width:88px; height:88px; } }
@media(prefers-reduced-motion:reduce){ .g-offer__dog,.g-offer__shell > .c-offer__close { transition:none!important; animation:none!important; } }

.c-adlead.g-offer .g-offer__shell{max-width:none;max-height:none}
.c-adlead.g-offer > .g-offer__close{position:fixed;width:44px;height:44px;z-index:4;margin:0}
/* Small screens need usable fields, not an empty messenger-widget corridor. */
@media(max-width:560px){
  .c-adlead.g-offer{left:12px;right:12px;width:auto}
  .c-offer.g-offer{padding-right:12px;z-index:950}
  .c-adlead.g-offer .c-adlead__card{padding:12px}
  .c-adlead.g-offer .c-adlead__title{font-size:1rem;line-height:1.2;margin:0;padding-right:0}
  .c-adlead.g-offer .c-adlead__lead{font-size:.8125rem;line-height:1.3;margin:4px 0}
  .c-adlead.g-offer .cta-form{margin-top:8px;gap:6px}
  .c-adlead.g-offer .cta-form__field{gap:3px}
  .c-adlead.g-offer .cta-form__label{font-size:.75rem}
  .c-adlead.g-offer .cta-form__textarea{min-height:44px;height:56px}
  .c-adlead.g-offer .cta-form__consent{font-size:.75rem;line-height:1.3}
}

/* Keep a clear touch/keyboard escape during the performance; the × appears after sitting. */
.g-offer__moving-close{position:fixed;z-index:5;min-width:68px;height:44px;margin-left:-24px;padding:0 10px;border:1px solid #c4d0df;border-radius:22px;background:#fff;color:#183650;font:600 13px system-ui;cursor:pointer;box-shadow:0 3px 12px #10204025}
.g-offer__moving-close[hidden]{display:none!important}
.g-offer__moving-close:focus-visible{outline:3px solid #1265ef;outline-offset:2px}
