/* GG Helder 4.0.63.9 – central visual editor frontend.
 * Static selectors and dimensions live here; PHP publishes only sanitized variables.
 * The complete header, logo, mega menu and mobile navigation are not targeted.
 */
body.ggvisual-design-on{background:var(--ggvisual-paper)!important;color:var(--ggvisual-ink)}
/* Legacy CSS consumes the new main-only tokens, rather than competing saved palettes.
   Header/footer remain outside this scope and retain their current appearance. */
html body.ggvisual-design-on main {
 --gg85-bg:var(--ggvisual-paper);--gg85-card:var(--ggvisual-surface);
 --gg85-ink:var(--ggvisual-ink);--gg85-heading:var(--ggvisual-ink);
 --gg85-primary:var(--ggvisual-accent);--gg85-accent:var(--ggvisual-accent);
 --gg85-border:var(--ggvisual-border);--gg85-radius:var(--ggvisual-radius);
 --ggbo-paper:var(--ggvisual-paper);--ggbo-surface:var(--ggvisual-surface);
 --ggbo-ink:var(--ggvisual-ink);--ggbo-primary:var(--ggvisual-accent);
 --ggbo-border:var(--ggvisual-border);--ggbo-card-radius:var(--ggvisual-radius);
 --vv-color-bg:var(--ggvisual-paper);--vv-color-card:var(--ggvisual-surface);
 --vv-color-text:var(--ggvisual-ink);--vv-color-heading:var(--ggvisual-ink);
 --vv-color-border:var(--ggvisual-border);
}

html body.ggvisual-design-on main :is(.ggw-container,.gg370-wrap,.gg31-sitewide-hero,.container-studio,.vv-container,.gg-container){max-width:var(--ggvisual-width)!important}
body.ggvisual-design-on main{font-family:var(--ggvisual-body-font);font-size:var(--ggvisual-body-size)}
body.ggvisual-design-on main :is(h1,h2,h3,.ggw-poem-paper__title){font-family:var(--ggvisual-heading-font)!important}
body.ggvisual-design-on main :is(.ggw-poem-paper,.post-card,.post-card-poetic,.gg37-card,.gg370-choice__tile,.gg370-highlight,.gg315-atelier-promo){border-radius:var(--ggvisual-radius)!important;border-color:var(--ggvisual-border)!important}
html body.ggvisual-design-on main :is(.post-card,.post-card-poetic,.gg37-card,.gg370-choice__tile,.gg370-highlight){background-color:var(--ggvisual-surface)!important}
html body.ggvisual-design-on main :is(.gg370-section h2,.gg370-choice h2,.gg304-page-intro h1){color:var(--ggvisual-ink)!important}
body.ggvisual-design-on main :is(.gg370-eyebrow,.gg31-sitewide-hero__kicker,.gg304-page-intro__eyebrow){color:var(--ggvisual-accent)!important}
/* A compact editorial illustration inside existing page introductions.
   Never create another title or reintroduce the old full-height hero. */
body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;max-width:1280px!important;min-height:0!important;overflow:visible!important}
body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent::before,
body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent::after{display:none!important}
body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent .gg31-sitewide-hero__inner{min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(140px,220px)!important;gap:clamp(14px,3vw,36px)!important;padding:2px 0 10px!important;align-items:center}
body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent .gg31-sitewide-hero__aside{display:none!important}
body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent h1{font-size:clamp(30px,3.3vw,42px)!important}
.ggvisual-accent-image{margin:0!important;overflow:hidden;border-radius:14px;background:#ece7df;box-shadow:0 5px 20px rgba(35,45,45,.045);border:1px solid #e6dfd5;align-self:center;justify-self:end;width:100%;max-width:220px;aspect-ratio:1.65}
.ggvisual-accent-image img{width:100%;height:100%;display:block;object-fit:cover}
.ggvisual-accent-image[data-position=left] img{object-position:left center}.ggvisual-accent-image[data-position=right] img{object-position:right center}
.ggvisual-accent-image[data-position=top] img{object-position:center top}.ggvisual-accent-image[data-position=bottom] img{object-position:center bottom}
/* Local illustrations in custom intro wrappers that don't call gg31. */
body.gg306-no-page-heroes.ggvisual-accent-on main :is(.gg304-page-intro,.gg307-source-intro,.gg307-rhyme-intro):not(:has(.ggvisual-accent-image)){position:relative!important;padding-right:min(20vw,215px)!important;min-height:104px!important}
body.gg306-no-page-heroes.ggvisual-accent-on main :is(.gg304-page-intro,.gg307-source-intro,.gg307-rhyme-intro):not(:has(.ggvisual-accent-image))::after{content:""!important;position:absolute;display:block!important;right:0;top:0;width:clamp(110px,15vw,185px);height:105px;border-radius:12px;box-shadow:0 4px 14px rgba(40,40,40,.04);background-image:var(--ggvisual-accent-image);background-position:var(--ggvisual-accent-position);background-size:cover;background-repeat:no-repeat;pointer-events:none}
.gg370-stage .ggvisual-accent-image--home{max-width:190px;aspect-ratio:2.1;margin-top:16px!important;justify-self:start}
/* New opt-in CTA: existing render_cta markup, styled by the current theme. */
.ggvisual-cta-slot{max-width:1280px;margin:28px auto!important;padding:0 20px}
.ggvisual-cta-slot .post-bottom-studio-cta{margin:0!important;width:100%!important;max-width:none!important;border-radius:15px;box-sizing:border-box}
.ggvisual-cta-slot .cta-inner{max-width:none!important}
@media(max-width:650px){body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent .gg31-sitewide-hero__inner{grid-template-columns:minmax(0,1fr) 100px!important;gap:10px!important}body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent h1{font-size:clamp(28px,7.5vw,34px)!important}body.gg306-no-page-heroes .gg31-sitewide-hero.ggvisual-has-accent .ggvisual-accent-image{aspect-ratio:1;max-width:100px;border-radius:9px}body.gg306-no-page-heroes.ggvisual-accent-on main :is(.gg304-page-intro,.gg307-source-intro,.gg307-rhyme-intro):not(:has(.ggvisual-accent-image)){padding-right:90px!important}body.gg306-no-page-heroes.ggvisual-accent-on main :is(.gg304-page-intro,.gg307-source-intro,.gg307-rhyme-intro):not(:has(.ggvisual-accent-image))::after{width:76px;height:76px}.ggvisual-cta-slot{padding:0 10px}}

.gg380-poet .ggvisual-accent-image--author{max-width:175px;margin:2px 0 14px auto!important;aspect-ratio:2.25}


/* Existing compact page intros rendered by module-specific templates.
   Opt-in only. Never target poem cards, interactive studio forms or the header. */
html body.gg305-heroless.ggvisual-accent-on #ggw-site main :is(
  .ggw-hub-hero,.ggwow-hero,.ggt34-hero,.ggw-page-hero,.ggw-universal-hero,
  .ggw-studio-hero,.gg114-hero,.gggs-hero,.ggdc-page-hero,.gg-bundle-page-hero,
  .gg-model-hero,.gg-syn-hero,.ggw-archive-hero,.ggw-inner-hero,.gg-writer-hero,
  .gg-challenge-hero,.gg-rhyme-hero,.gg-profile-home-hero,.gg40-single-hero,
  .gg58-article-hero,.ggwb-destination-hero,.gg-premium-hero,.gg-discovery-hero
):not(:has(.ggvisual-accent-image)) {
  position:relative!important;min-height:105px!important;
  padding-right:clamp(115px,18vw,210px)!important;
}
html body.gg305-heroless.ggvisual-accent-on #ggw-site main :is(
  .ggw-hub-hero,.ggwow-hero,.ggt34-hero,.ggw-page-hero,.ggw-universal-hero,
  .ggw-studio-hero,.gg114-hero,.gggs-hero,.ggdc-page-hero,.gg-bundle-page-hero,
  .gg-model-hero,.gg-syn-hero,.ggw-archive-hero,.ggw-inner-hero,.gg-writer-hero,
  .gg-challenge-hero,.gg-rhyme-hero,.gg-profile-home-hero,.gg40-single-hero,
  .gg58-article-hero,.ggwb-destination-hero,.gg-premium-hero,.gg-discovery-hero
):not(:has(.ggvisual-accent-image))::after {
  content:""!important;display:block!important;position:absolute!important;
  right:0;top:0;width:clamp(110px,15vw,185px);height:105px;
  border-radius:12px;box-shadow:0 4px 14px rgba(40,40,40,.05);
  background:var(--ggvisual-accent-image) var(--ggvisual-accent-position,center center)/cover no-repeat!important;
  pointer-events:none;
}
@media(max-width:650px){
  html body.gg305-heroless.ggvisual-accent-on #ggw-site main :is(
    .ggw-hub-hero,.ggwow-hero,.ggt34-hero,.ggw-page-hero,.ggw-universal-hero,
    .ggw-studio-hero,.gg114-hero,.gggs-hero,.ggdc-page-hero,.gg-bundle-page-hero,
    .gg-model-hero,.gg-syn-hero,.ggw-archive-hero,.ggw-inner-hero,.gg-writer-hero,
    .gg-challenge-hero,.gg-rhyme-hero,.gg-profile-home-hero,.gg40-single-hero,
    .gg58-article-hero,.ggwb-destination-hero,.gg-premium-hero,.gg-discovery-hero
  ):not(:has(.ggvisual-accent-image)){padding-right:90px!important}
  html body.gg305-heroless.ggvisual-accent-on #ggw-site main :is(
    .ggw-hub-hero,.ggwow-hero,.ggt34-hero,.ggw-page-hero,.ggw-universal-hero,
    .ggw-studio-hero,.gg114-hero,.gggs-hero,.ggdc-page-hero,.gg-bundle-page-hero,
    .gg-model-hero,.gg-syn-hero,.ggw-archive-hero,.ggw-inner-hero,.gg-writer-hero,
    .gg-challenge-hero,.gg-rhyme-hero,.gg-profile-home-hero,.gg40-single-hero,
    .gg58-article-hero,.ggwb-destination-hero,.gg-premium-hero,.gg-discovery-hero
  ):not(:has(.ggvisual-accent-image))::after{width:76px;height:76px}
}
