/* GeschrevenGedichten 2.2: Community route safety and calm editorial components.
   Header and main menu intentionally outside these rules. */
:root{--gg22-ink:#102f3d;--gg22-cream:#fff9f3;--gg22-line:#e3e6e8;--gg22-orange:#ef972c}
body:not(.wp-admin) .ggdc-virtual-page #ggdc-main,
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-shell{box-sizing:border-box;max-width:1280px;width:min(1280px,calc(100% - 20px));margin-inline:auto;min-width:0}
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-content,
body:not(.wp-admin) .ggdc-virtual-page .gg-profile-main,
body:not(.wp-admin) .ggdc-virtual-page .gg-profile-layout{min-width:0;max-width:100%;overflow-wrap:anywhere}
body:not(.wp-admin) .ggdc-virtual-page .gg-profile-layout{align-items:start}
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-content h1,
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-content h2,
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-content h3{font-family:'Cormorant Garamond',Georgia,serif!important}
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-content :is(a,button,input,textarea,select){max-width:100%}
body:not(.wp-admin) .ggdc-virtual-page .ggdc-page-content :is(input,textarea,select){box-sizing:border-box}
/* Shared source for account routes: do not reintroduce the blog hero or name/portrait strip. */
body:not(.wp-admin):has(.vv-profile-shell) :is(.gg331-global-hero,.ggw-member-hero,.gg3-member-hero,.ggw-profile-hero,.gg-profile-identity,.ggw-profile-identity),
body.page-slug-mijn-profiel :is(.gg331-global-hero,.gg328-masthead,.ggw-member-hero,.gg3-member-hero,.ggw-profile-hero,.gg-profile-identity,.ggw-profile-identity){display:none!important}
/* Woordenbrug: full width 60px disclosure, like the print drawer. Form is inline, no overlay. */
body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer{display:block!important;box-sizing:border-box!important;max-width:1280px!important;width:100%!important;margin:clamp(18px,3vw,30px) auto!important;padding:0!important;border:1px solid #183747!important;background:#0a2635!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 12px 26px rgba(13,39,52,.09)!important}
body:not(.wp-admin) .gg22-words-drawer .gg22-words-details{display:block!important;margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important}
body:not(.wp-admin) .gg22-words-drawer .gg22-words-details>summary{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:12px!important;min-height:60px!important;max-width:100%!important;width:100%!important;margin:0!important;padding:8px clamp(14px,2vw,24px)!important;list-style:none!important;cursor:pointer!important;border:0!important;border-radius:0!important;background:#092534!important;color:#fff9ee!important;box-shadow:none!important;font:700 13px/1.35 'Plus Jakarta Sans',Arial,sans-serif!important}
body:not(.wp-admin) .gg22-words-drawer summary::-webkit-details-marker{display:none!important}
body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-symbol{font:24px Georgia,serif;color:#f3a654;flex:0 0 30px}
body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-label{display:grid;gap:2px;min-width:0;flex:1 1 auto}
body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-label strong{color:#fffaf2!important;font:700 clamp(12px,1.15vw,14px)/1.35 'Plus Jakarta Sans',Arial,sans-serif!important;margin:0!important}
body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-label small{font:400 11px/1.35 'Plus Jakarta Sans',Arial,sans-serif;color:#c2d0d6}
body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-action{font:700 12px/1.2 'Plus Jakarta Sans',Arial,sans-serif;color:#ffc997;white-space:nowrap}
body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-chevron{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid #69899a;border-radius:50%;background:rgba(255,255,255,.07);transition:transform .2s ease}
body:not(.wp-admin) .gg22-words-drawer .gg22-words-details[open]>summary .gg22-words-chevron{transform:rotate(180deg)}
body:not(.wp-admin) .gg22-words-drawer .gg20-discovery-body{box-sizing:border-box!important;max-width:none!important;margin:0!important;padding:clamp(18px,2.6vw,34px)!important;background:#fffaf5!important;border:0!important;border-radius:0!important;border-top:1px solid #315467!important}
body:not(.wp-admin) .gg22-words-drawer .gg20-discovery-body :is(.ggwb-page-content,.ggwb-search-section){max-width:100%!important;width:100%!important;padding:0!important;margin-inline:auto!important}
body:not(.wp-admin) .gg22-words-drawer .gg20-discovery-body .ggwb-form{max-width:100%!important;margin:14px 0 0!important;background:white!important;border-radius:16px!important;box-shadow:none!important}
body:not(.wp-admin) .gg22-words-drawer .gg20-discovery-body .ggwb-form textarea{box-sizing:border-box;width:100%;min-height:130px}
body:not(.wp-admin) .gg22-words-drawer summary:focus-visible{outline:3px solid #ffb767!important;outline-offset:-4px}
/* Letter directory: high readability and one consistent 1280px column. */
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-shell{box-sizing:border-box;max-width:1280px!important;width:min(1280px,calc(100% - 20px))!important;margin:clamp(20px,3vw,38px) auto!important;padding:0!important}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-letter-directory{box-sizing:border-box;border:1px solid #e2e8ea!important;border-radius:22px!important;background:#fff!important;padding:clamp(20px,3.4vw,42px)!important;box-shadow:0 12px 32px rgba(12,39,52,.05)!important}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-letters{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:18px 0 24px!important}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-letters>a{display:grid;place-items:center;min-width:37px;min-height:39px;border:1px solid #dce5e8;border-radius:10px;background:#f7f9f9;color:#1c4052;font:700 13px 'Plus Jakarta Sans',Arial,sans-serif;text-decoration:none}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-letters>a[aria-current="page"]{background:#e58e24!important;color:#172f3c!important;border-color:#df8b27!important}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))!important;gap:10px!important;margin:0!important}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-list>a{display:flex!important;align-items:center!important;justify-content:space-between;min-height:56px!important;min-width:0!important;padding:12px 14px!important;border:1px solid #e2e8ea!important;border-radius:12px!important;background:#fff!important;color:#19394b!important;text-decoration:none!important;overflow-wrap:anywhere;transition:background .17s ease,border-color .17s ease}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-list>a:hover{background:#fff5e9!important;border-color:#eab274!important}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-pager{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-top:23px}
body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-pager>a{min-height:44px;display:inline-flex;align-items:center;border:1px solid #e8c79f;border-radius:12px;padding:11px 16px;background:#fff7eb;text-decoration:none}
/* Woordenbrug page aligns every major section to its hero, not different 1240px widths. */
body:not(.wp-admin) .ggwb-page--single-hero .ggwb-page-content{box-sizing:border-box!important;max-width:1280px!important;width:min(1280px,calc(100% - 20px))!important;padding-inline:0!important;margin-inline:auto!important}
body:not(.wp-admin) .ggwb-page--single-hero .ggwb-page-content :is(.ggwb-journey,.ggwb-search-section,.ggwb-faq,.ggwb-for-poets,.ggwb-possibilities){box-sizing:border-box!important;max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
/* Print drawer has one action set: the existing inline generator owns actions and rights. */
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .gg332-prent-drawer__body{display:block!important;padding:clamp(15px,2vw,24px)!important}
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .gg315-atelier-promo__copy{display:none!important}
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .gg22-prent-bootstrap{display:none!important}
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .gg332-prent-inline>.ggq-modal__panel.gg332-inline-panel{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(160px,230px)!important;grid-template-areas:'copy preview' 'actions preview' 'rights rights'!important;padding:clamp(18px,2.8vw,30px)!important;gap:16px 24px!important;border-radius:18px!important;background:#123342!important}
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .ggq-modal__preview canvas{width:min(100%,230px)!important;margin-inline:auto!important}
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .ggq-modal__actions{display:flex!important;gap:10px!important;align-items:center!important}
html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .ggq-modal__actions>a{font-size:12px!important}
/* Atelier layout: one dominant artboard and unobtrusive controls; format suggestions hidden behind optional details. */
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg200-head-main>h2{font:600 clamp(32px,3.8vw,48px)/1.08 'Cormorant Garamond',Georgia,serif!important}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-layout{grid-template-columns:minmax(310px,.7fr) minmax(0,1.3fr)!important;align-items:start!important}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-main{background:#f7f8f8!important}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-main #vvPoemRenderCanvas{margin-inline:auto!important;max-width:100%!important}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg200-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg20-auto-helper{border:1px solid #efdfce!important;background:#fffaf5!important}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg20-advanced:not([open]){border-color:#e2e9ec!important}
html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg200-rail-inactive{display:none!important}
@media(max-width:900px){html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-layout{display:flex!important;flex-direction:column!important}html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-layout>.gg103-main{width:100%!important;position:static!important;order:0!important}html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-layout>.gg103-side{width:100%!important;order:1!important}html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .gg332-prent-inline>.ggq-modal__panel.gg332-inline-panel{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'copy' 'preview' 'actions' 'rights'!important}}
@media(max-width:620px){body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-action{display:none}body:not(.wp-admin) .gg22-words-drawer summary .gg22-words-label small{font-size:10px}body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-list>a{font-size:12px}html body.gg119-downloadatelier.gg20-atelier-ready #gg116-studio-root .gg103-layout>.gg103-main{padding:12px!important}html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .ggq-modal__actions>button,html body.single-gebruikers_gedicht #ggw-site main.ggw-poem-single .gg332-prent-drawer .ggq-modal__actions>a{width:100%!important}}
@media(prefers-reduced-motion:reduce){body:not(.wp-admin) .gg22-words-drawer .gg22-words-chevron,body:not(.wp-admin) .gg-rhyme--letter .gg-rhyme-directory-list>a{transition:none!important}}

/* Six hand-picked thumbnails at first; all others remain one click away. */
body.gg119-downloadatelier .gg105-gallery .gg22-gallery-more{display:block;box-sizing:border-box;margin:12px auto 0;padding:11px 18px;min-height:44px;width:min(100%,350px);border-radius:12px;border:1px solid #e5bd8d;background:#fff8ee;color:#663f21;font:700 12px/1.4 'Plus Jakarta Sans',Arial,sans-serif;cursor:pointer;text-align:center}
body.gg119-downloadatelier .gg105-gallery .gg22-gallery-more[hidden]{display:none!important}
body.gg119-downloadatelier .gg105-gallery .gg22-gallery-more:focus-visible{outline:3px solid #e99338;outline-offset:2px}
/* Override legacy discovery `summary span` rules that rounded/rotated every nested
   span. Only the dedicated chevron may rotate; labels must remain horizontal. */
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details>summary{
 display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
 min-height:60px!important;gap:12px!important;padding:8px clamp(14px,2vw,24px)!important;
 background:#092534!important;color:#fffaf5!important;border:0!important;border-radius:0!important;
 box-shadow:none!important
}
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details>summary span.gg22-words-label{
 display:grid!important;place-items:initial!important;flex:1 1 auto!important;min-width:0!important;
 width:auto!important;height:auto!important;max-width:none!important;gap:2px!important;
 border:0!important;border-radius:0!important;background:none!important;
 text-align:left!important;transform:none!important;transition:none!important
}
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details>summary span.gg22-words-symbol{
 display:inline-block!important;flex:0 0 30px!important;place-items:initial!important;
 width:30px!important;height:auto!important;border:0!important;border-radius:0!important;
 background:none!important;transform:none!important;font:24px Georgia,serif!important;color:#f3a654!important
}
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details>summary span.gg22-words-action{
 display:block!important;flex:0 0 auto!important;width:auto!important;height:auto!important;
 border:0!important;border-radius:0!important;background:none!important;
 transform:none!important;white-space:nowrap!important;font-size:12px!important;color:#ffc997!important
}
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details>summary span.gg22-words-chevron{
 display:grid!important;flex:0 0 36px!important;place-items:center!important;
 width:36px!important;height:36px!important;border-radius:50%!important;
 border:1px solid #69899a!important;background:rgba(255,255,255,.07)!important
}
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details:not([open])>summary span.gg22-words-chevron{transform:none!important}
html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details[open]>summary span.gg22-words-chevron{transform:rotate(180deg)!important}
html body:not(.wp-admin) .ggwb-discovery.gg22-words-drawer .gg20-discovery-body{
 margin-top:0!important;border:0!important;border-top:1px solid #315467!important;
 border-radius:0!important;background:#fffaf5!important
}
@media(max-width:620px){
 html body:not(.wp-admin) .ggwb-discovery.gg20-discovery.gg22-words-drawer .gg20-discovery-drawer.gg22-words-details>summary span.gg22-words-action{display:none!important}
}
