/* GeschrevenGedichten 3.0.15 | Editorial restoration and harmonisation.
 * Public content only. Deliberately never targets header, nav, footer, the
 * drawing surface, printable canvases or layout-control JavaScript hooks.
 * Original background derives from vv592-design-refinement.css (7.4.3).
 */
:root {
  --gg315-bg:#f1f2f4;
  --gg315-paper:#fffdfa;
  --gg315-white:#fff;
  --gg315-ink:#102c3b;
  --gg315-muted:#526572;
  --gg315-accent:#c45d00;
  --gg315-hover:#a74d05;
  --gg315-soft:#f6efe8;
  --gg315-line:#dde3e7;
  --gg315-radius:20px;
  --gg315-shadow:0 8px 28px rgba(44,42,42,.065);
  --gg315-shadow-hover:0 17px 39px rgba(44,42,42,.105);
  --gg315-track:1280px;
  --gg315-gutter:20px;
  --vv-color-bg:var(--gg315-bg);
  --vv-design-bg:var(--gg315-bg);
  --gg-bg:var(--gg315-bg);
  --gg312-white:var(--gg315-white);
  --gg3-cream:var(--gg315-bg);
  --gg-ui-ink:var(--gg315-ink);
  --gg-ui-accent:var(--gg315-accent);
  --gg-ui-line:var(--gg315-line);
  --gg-ui-paper:var(--gg315-paper);
}
/* 01 — Restore the original neutral/silver canvas with very soft light discs.
 * Outer wrappers must be transparent, or the original backdrop gets masked. */
html body:not(.wp-admin) {
  background-color:#f1f2f4!important;
  background-image:radial-gradient(circle at 7% 21%,rgba(255,255,255,.30),transparent 24rem),radial-gradient(circle at 93% 45%,rgba(186,122,98,.075),transparent 29rem),radial-gradient(circle at 12% 84%,rgba(255,255,255,.20),transparent 28rem)!important;
  background-attachment:scroll!important;
  color:var(--gg315-ink);
  font-family:'Plus Jakarta Sans','Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
html body:not(.wp-admin) :is(#ggw-site,#page,#content,.site,.site-wrapper,.site-content,.site-main,.ggw-page-shell,.ggw-page-main,main#main-content) {
  background-color:transparent!important;
  background-image:none!important;
}
/* Earlier white release cleared outer pseudo-elements. Leave them empty, since
 * the intentional discs now live in the body itself rather than in overlays. */
html body:not(.wp-admin) :is(#page,#ggw-site,.site-content)::before,
html body:not(.wp-admin) :is(#page,#ggw-site,.site-content)::after {background-image:none!important;}

/* 02 — Shared editorial rhythm and typography. */
body:not(.wp-admin) :is(main#main-content,main.site-main,.gg-rhyme.site-main,.gg-poet-page,.ggwb-destination) {margin-top:35px!important;}
body:not(.wp-admin) :is(main,.site-main) {min-width:0;}
body:not(.wp-admin) main :is(h1,h2,h3) {color:var(--gg315-ink);text-wrap:balance;}
body:not(.wp-admin) main :is(h1,h2) {font-family:'Cormorant Garamond',Georgia,serif;letter-spacing:-.018em;}
body:not(.wp-admin) :is(.gg307-intro,.gg304-page-intro,.ggw-page-intro,.gg307-source-intro,.gg307-rhyme-intro,.ggwb-destination .gg307-intro) {
  background:transparent!important;border:0!important;box-shadow:none!important;
  max-width:var(--gg315-track);min-height:0!important;padding:0!important;
  margin:0 auto clamp(18px,2.5vw,30px)!important;
}
body:not(.wp-admin) :is(.gg307-intro,.gg304-page-intro,.ggw-page-intro,.gg307-source-intro,.gg307-rhyme-intro) h1 {
  font:600 clamp(32px,3.5vw,45px)/1.08 'Cormorant Garamond',Georgia,serif!important;
  color:var(--gg315-ink)!important;margin:0 0 8px!important;
}
body:not(.wp-admin) :is(.gg307-intro,.gg304-page-intro,.ggw-page-intro,.gg307-source-intro,.gg307-rhyme-intro) p {
  color:var(--gg315-muted);max-width:72ch;font-size:15px;line-height:1.75;
}
body:not(.wp-admin) :is(.ggw-container,.gg-rhyme-shell,.ggwb-page-content,.ggwb-destination__container,.container-studio,.ggtheme-overview,.ggw-archive-body) {max-width:var(--gg315-track);}
body:not(.wp-admin) main :where(p,li,blockquote) {overflow-wrap:break-word;}
body:not(.wp-admin) main :where(img,video,iframe) {max-width:100%;}
body:not(.wp-admin) main :where(.ggw-eyebrow,.vv53-kicker,.ggwb-eyebrow,.gg-rhyme-eyebrow,.gg45-overline) {
  color:var(--gg315-accent);letter-spacing:.1em;font-weight:750;
}
/* 03 — One white paper surface for cards, preserving artwork inside each card. */
body:not(.wp-admin) main :is(
 .vv53-poem-card,.vv53-theme-card,.ggw-poem-card,.gg-poem-card,.vv-poem-card,
 .ggw-theme-card,.ggw-category-card,.ggw-blog-card,.ggwow-card,.ggtheme-card,
 .ggw-result-card,.ggw-side-card,.ggw-challenge-card,.ggw-profile-card,
 .ggw-community-card,.gg315-author-card,.gg739-choice,.ggwb-step,
 .ggwh-card,.ggwh-mode,.ggw-generator-tip,.ggblog-aside__card
 ) {
  min-width:0;border:1px solid var(--gg315-line)!important;
  border-radius:var(--gg315-radius)!important;
  box-shadow:var(--gg315-shadow)!important;
  background-color:var(--gg315-white)!important;
}
body:not(.wp-admin) main :is(.vv53-poem-card,.vv53-theme-card,.ggw-poem-card,.ggw-category-card,.ggw-blog-card,.ggwow-card,.ggtheme-card,.gg739-choice,.ggwb-destination-card) {
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
@media (hover:hover) {
  body:not(.wp-admin) main :is(.vv53-poem-card,.vv53-theme-card,.ggw-poem-card,.ggw-category-card,.ggw-blog-card,.ggwow-card,.ggtheme-card,.gg739-choice,.ggwb-destination-card):hover {
    transform:translateY(-2px);box-shadow:var(--gg315-shadow-hover)!important;border-color:#cfd7dd!important;
  }
}
body:not(.wp-admin) main :is(.ggw-poem-card,.vv53-poem-card,.ggwow-card,.ggwb-destination-card) :where(h2,h3) {
  line-height:1.17;overflow-wrap:break-word;
}
body:not(.wp-admin) main :is(.vv53-poem-card__verse,.ggw-poem-card__verse,.ggwb-destination-card__poem) {line-height:1.75;}
/* 04 — Buttons, links, form controls; retain WordPress nav and JS behaviour. */
body:not(.wp-admin) main :is(.ggw-button,.ggw-primary-button,.gg305-prent-design,.gg305-prent-actions .ggq-trigger,.ggwb-btn,.ggwb-destination-card__read,.ggt34-primary,.ggwh-primary,.ggw-quick-generator__submit,.wp-block-button__link,.vv53-button) {
  min-height:44px;border-radius:13px;
  font-weight:750;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body:not(.wp-admin) main :is(.ggwb-btn,.ggwb-destination-card__read,.ggt34-primary,.ggwh-primary,.ggw-quick-generator__submit) {
  background:var(--gg315-accent)!important;border-color:var(--gg315-accent)!important;color:#fff!important;
}
body:not(.wp-admin) main :is(.ggwb-btn,.ggwb-destination-card__read,.ggt34-primary,.ggwh-primary,.ggw-quick-generator__submit):hover {
  background:var(--gg315-hover)!important;border-color:var(--gg315-hover)!important;color:#fff!important;
}
body:not(.wp-admin) :is(.ggwb-page,.ggwb-destination,.gg-rhyme,.ggw-v21-studio-theme,.ggwh-page,.ggw-layout--account,.ggw-atelier) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select) {
  min-height:44px;max-width:100%;border:1px solid #c9d3da;border-radius:13px;
  background:#fff;color:var(--gg315-ink);font:inherit;
}
body:not(.wp-admin) :where(main a,main button,main input,main textarea,main select,main summary):focus-visible {
  outline:3px solid #c45d00!important;outline-offset:3px!important;
}
/* 05 — Front page: purposeful choice cards; content over unnecessary banners. */
body:not(.wp-admin) .vv53-home :is(.vv53-section,.gg739-entry-choices) {margin-block:clamp(28px,4vw,54px);}
body:not(.wp-admin) .vv53-home :where(.vv53-heading) {margin-bottom:clamp(16px,2.5vw,26px);}
body:not(.wp-admin) .vv53-home :where(.vv53-heading h2) {font-size:clamp(32px,3.7vw,47px);line-height:1.09;}
body:not(.wp-admin) .gg739-choice-grid {gap:clamp(14px,1.8vw,22px);align-items:stretch;}
body:not(.wp-admin) .gg739-choice {padding:clamp(19px,2.4vw,29px)!important;min-height:160px;}
body:not(.wp-admin) .gg739-choice :where(h2,h3,strong) {line-height:1.16;}
body:not(.wp-admin) .vv53-home :where(.vv53-poem-grid,.vv53-themes-grid) {gap:clamp(14px,2vw,24px);}
/* 06 — Single poems: the verse remains focal; prent action flows into card. */
body.single-gebruikers_gedicht .gg305-poem-suite {overflow:visible;}
body.single-gebruikers_gedicht .ggw-poem-paper {background:#fffdfa!important;border:1px solid var(--gg315-line)!important;box-shadow:var(--gg315-shadow)!important;}
body.single-gebruikers_gedicht .ggw-poem-paper__title {font-family:'Cormorant Garamond',Georgia,serif!important;line-height:1.08!important;}
body.single-gebruikers_gedicht .ggw-poem-verses {max-width:740px;line-height:1.8!important;}
body.single-gebruikers_gedicht .ggw-poem-stanza {line-height:1.8!important;margin-bottom:1.15em;}
body.single-gebruikers_gedicht .gg3-poem-credit {font-size:12px;line-height:1.5;}
body.single-gebruikers_gedicht .gg305-integrated-prent {
  border-color:var(--gg315-line)!important;border-radius:0 0 var(--gg315-radius) var(--gg315-radius)!important;
  background:linear-gradient(115deg,#fffdfa 0%,#f7f2ec 100%)!important;
  box-shadow:var(--gg315-shadow)!important;
}
body.single-gebruikers_gedicht .gg305-integrated-prent :where(.gg305-prent-actions) {display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
body.single-gebruikers_gedicht .gg3-response {margin-top:26px;}
body.single-gebruikers_gedicht .gg3-response__choice,
body.single-gebruikers_gedicht .gg3-poem-tools {background:#fff!important;border-color:var(--gg315-line)!important;border-radius:16px!important;}
/* 07 — Categories, archives and poems: even grids, real sidebar. */
body:not(.wp-admin) :is(.ggw-editorial-overview,.ggtheme-overview,.ggw-archive-main,.ggw-page-main) :is(.ggw-six-grid,.ggw-poem-grid,.ggwow-grid) {gap:clamp(14px,2vw,24px);align-items:stretch;}
body:not(.wp-admin) .ggw-editorial-overview .ggw-six-body {align-items:start;}
body:not(.wp-admin) .ggw-editorial-overview .ggw-six-body .ggw-six-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
body:not(.wp-admin) .ggtheme-overview :is(.ggtheme-tools,.ggwow-tools) {background:var(--gg315-white);border:1px solid var(--gg315-line);border-radius:17px;padding:clamp(14px,2vw,22px);}
body:not(.wp-admin) .ggtheme-overview :is(.ggtheme-card__visual,.ggwow-card__visual) {overflow:hidden;}
body:not(.wp-admin) :is(.ggw-context-sidebar,.ggblog-aside,.ggw-side-widgets) {min-width:0;}
/* 08 — Studio: focus on writing; step rhythm and calm forms. */
body:not(.wp-admin) :is(.ggw-v21-studio-theme,.ggt34-theme-page,.vv438-studio-shell,.container-studio) :is(.ggtheme-studio-steps,.gg490-journey) {
  border-radius:16px;border:1px solid var(--gg315-line);background:#fff;
  box-shadow:0 5px 18px rgba(44,42,42,.045);
}
body:not(.wp-admin) :is(.ggw-v21-studio-theme,.ggt34-theme-page,.vv438-studio-shell) :is(form.ggw-quick-generator,.gg45-theme-brief,.gg45-theme-fields,.gg49-form-panel,.ggw-generator-advice) {
  background:#fffdfa;border-color:var(--gg315-line);border-radius:20px;
}
body:not(.wp-admin) .ggw-v21-studio-theme :is(.ggtheme-gentle-tip,.ggw-generator-tip,.gg491-story-recap) {
  background:#fff!important;border-color:var(--gg315-line)!important;
  border-radius:18px!important;box-shadow:0 5px 18px rgba(44,42,42,.05)!important;
}
body:not(.wp-admin) .ggw-v21-studio-theme .ggw-generator-advice__cards {gap:16px;}
body:not(.wp-admin) :is(.ggw-v21-studio-theme,.ggt34-theme-page) :where(label) {color:var(--gg315-ink);}
/* 09 — Rhyme, synonyms and Writersblok help. */
body:not(.wp-admin) .gg-rhyme :is(.gg-rhyme-search,.gg-rhyme-panel,.gg-rhyme-result-summary,.gg-rhyme-intro-item,.ggwi-mini) {
  border-color:var(--gg315-line)!important;border-radius:18px;
  box-shadow:0 5px 18px rgba(44,42,42,.045);
}
body:not(.wp-admin) .gg-rhyme .gg-rhyme-panel {background:#fff!important;}
body:not(.wp-admin) .gg-rhyme .gg-rhyme-word {border-radius:9px;}
body:not(.wp-admin) .ggwh-page :is(.ggwh-mode,.ggwh-card,.ggwh-search,.ggwh-results) {border-color:var(--gg315-line);background:#fff;}
/* 10 — Woordenbrug: matching is emotional, cards do not nest. */
body:not(.wp-admin) .ggwb-page :is(.ggwb-steps-list) {gap:clamp(15px,2vw,24px);align-items:stretch;}
body:not(.wp-admin) .ggwb-page .ggwb-step {padding:clamp(20px,2.2vw,30px);background:#fffdfa!important;}
body:not(.wp-admin) .ggwb-page :is(.ggwb-search-section,.ggwb-for-poets) {border-radius:var(--gg315-radius);}
body:not(.wp-admin) .ggwb-page .ggwb-form {background:#fff!important;border:1px solid var(--gg315-line)!important;border-radius:20px!important;box-shadow:var(--gg315-shadow)!important;}
body:not(.wp-admin) .ggwb-destination .ggwb-destination-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(15px,2vw,24px);align-items:stretch;}
body:not(.wp-admin) .ggwb-destination .ggwb-destination-card {
  min-width:0;display:flex;flex-direction:column;overflow:hidden;
  background:#fffdfa!important;border:1px solid var(--gg315-line)!important;
  border-radius:20px!important;box-shadow:var(--gg315-shadow)!important;
}
body:not(.wp-admin) .ggwb-destination .ggwb-destination-card__body {flex:1;display:flex;flex-direction:column;padding:clamp(20px,2.5vw,30px);}
body:not(.wp-admin) .ggwb-destination .ggwb-destination-card__actions {margin-top:auto;}
body:not(.wp-admin) .ggwb-destination .ggwb-destination-card__poem :where(span,p) {line-height:1.8;}
body:not(.wp-admin) .ggwb-destination .ggwb-destination-card__thanks {margin-top:12px;border:0;background:transparent;box-shadow:none;}
body:not(.wp-admin) .ggwb-destination :is(.ggwb-destination-next,.ggwb-destination-faq__items details),
body:not(.wp-admin) .ggwb-page .ggwb-faq-list details {border:1px solid var(--gg315-line);border-radius:17px;background:#fff;}
body:not(.wp-admin) .ggwb-destination :is(.ggwb-destination-faq__items summary) {cursor:pointer;min-height:48px;}
/* 11 — Profile, community, bundles, blog: no double outer card. */
body:not(.wp-admin) :is(.ggw-layout--account,.ggw-profile-page,.gg-poet-page,.ggblog-single,.ggw-community-page,.ggw-books-page) :is(.ggw-profile-card,.ggw-community-card,.ggblog-aside__card,.author-book-card,.ggw-bundle-card) {
  background:#fff;border:1px solid var(--gg315-line);border-radius:20px;box-shadow:var(--gg315-shadow);
}
body:not(.wp-admin) :is(.ggblog-single__prose,.ggw-entry-content) {line-height:1.82;}
body:not(.wp-admin) .ggblog-single__prose :is(p,ul,ol) {margin-block:0 1.2em;}
/* 12 — Mobile: clean stacking, no horizontal overflow. */
@media(max-width:980px) {
  body:not(.wp-admin) .ggwb-destination .ggwb-destination-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  body:not(.wp-admin) .ggw-editorial-overview .ggw-six-body {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:700px) {
  :root {--gg315-gutter:10px;}
  body:not(.wp-admin) :is(main#main-content,main.site-main,.gg-rhyme.site-main,.gg-poet-page,.ggwb-destination) {margin-top:35px!important;}
  body:not(.wp-admin) .ggwb-destination .ggwb-destination-grid,
  body:not(.wp-admin) .ggw-editorial-overview .ggw-six-body .ggw-six-grid {grid-template-columns:minmax(0,1fr);gap:16px;}
  body:not(.wp-admin) .ggwb-destination .ggwb-destination-card__body {padding:20px;}
  body:not(.wp-admin) :is(.gg307-intro,.gg304-page-intro,.ggw-page-intro,.gg307-source-intro,.gg307-rhyme-intro) {margin-bottom:18px!important;}
  body:not(.wp-admin) .gg739-choice-grid {grid-template-columns:minmax(0,1fr);}
  body.single-gebruikers_gedicht .gg305-integrated-prent .gg305-prent-actions > * {max-width:100%;}
  body:not(.wp-admin) :is(.ggw-container,.gg-rhyme-shell,.ggwb-page-content,.ggwb-destination__container,.container-studio) {min-width:0;}
}
@media(prefers-reduced-motion:reduce) {
  body:not(.wp-admin) main :is(.vv53-poem-card,.vv53-theme-card,.ggw-poem-card,.ggw-category-card,.ggw-blog-card,.ggwow-card,.ggtheme-card,.gg739-choice,.ggwb-destination-card) {transition:none!important;transform:none!important;}
}

/* 3.0.16: ensure Studio shell uses the same 35px gap as other public pages.
   The account/profile/template header itself is never modified. */
body:not(.wp-admin) main.vv438-studio-shell {margin-top:35px!important;}
