/* Geschreven Gedichten 5.2 — verified template selectors, loaded after all previous styles */
:root{--gg52-ink:#36291e;--gg52-accent:#987247;--gg52-cream:#fffcf7;--gg52-line:#e8d9c6}
/* The actual rhyme template uses gg-rhyme, not gg51-rhyme-page */
.gg-rhyme .gg-rhyme-hero{background-image:linear-gradient(100deg,rgba(255,251,245,.96),rgba(255,250,244,.78)),url('../images/gg37-hero-home.webp')!important;background-position:center!important;background-size:cover!important;min-height:320px!important;text-align:left!important;display:flex!important;align-items:center!important;padding:clamp(28px,5vw,70px)!important}
.gg-rhyme .gg-rhyme-hero:before{display:none!important}.gg-rhyme .gg-rhyme-hero-inner{max-width:840px!important;margin:0!important;width:100%}.gg-rhyme .gg-rhyme-hero p{margin-left:0!important}.gg-rhyme .gg-rhyme-search{margin-left:0!important;max-width:730px!important}.gg-rhyme .gg-rhyme-suggestions{justify-content:flex-start!important}
.gg-rhyme .gg-rhyme-panel,.gg-rhyme .gg-rhyme-letter-card,.gg-rhyme .gg-rhyme-intro-item{border-radius:20px!important;background:var(--gg52-cream)!important;border-color:var(--gg52-line)!important;box-shadow:0 10px 26px #422a1610!important}
/* Secondary menu: genuine pill buttons; public and private items continue to be generated by PHP. */
.studio-subnav-bar{background:#fffaf3!important;border-bottom:1px solid #eadccb!important}.studio-subnav-bar .container-studio{max-width:1280px!important;width:calc(100% - 30px)!important;margin-inline:auto!important}.studio-subnav-bar .studio-subnav-items{justify-content:center;gap:8px!important;padding:12px 0!important}.studio-subnav-bar .studio-subnav-items>a{white-space:nowrap;background:#fffcf8!important;border:1px solid #e8d7bf!important;box-shadow:0 2px 8px #7350270c!important;padding:9px 13px!important;border-radius:999px!important}.studio-subnav-bar .studio-subnav-items>a.subnav-highlight-prominent{background:#f1e4d0!important;border-color:#d6b68a!important}
/* Search overlay must remain within the viewport, even when header or menu containers overflow. */
#gg47-search-panel{position:fixed!important;inset:auto max(15px,calc((100vw - 1280px)/2)) auto auto!important;top:clamp(64px,9vh,105px)!important;width:min(440px,calc(100vw - 30px))!important;max-width:calc(100vw - 30px)!important;max-height:calc(100dvh - 85px)!important;overflow-y:auto!important;z-index:999999!important;box-sizing:border-box!important;transform:none!important;box-shadow:0 22px 55px #39271b38!important;background:#fffdf9!important;border:1px solid var(--gg52-line)!important}
#gg47-search-panel[hidden]{display:none!important}#gg47-search-panel form,#gg47-search-panel input{max-width:100%!important;box-sizing:border-box!important}
/* Actual blog markup; remove duplicate outer editorial hero in PHP. */
.vv-single-post-main{max-width:1280px!important;width:calc(100% - 30px)!important;margin-inline:auto!important}.vv-single-post-main .vv-single-article-card{overflow:hidden;border:1px solid var(--gg52-line);background:#fffdfa;border-radius:24px!important}.vv-single-post-main .vv-single-article-heading{min-height:260px;display:flex;justify-content:center;flex-direction:column;background:linear-gradient(100deg,#fffaf1f5,#fff8efd0),url('../images/gg37-hero-home.webp') center/cover!important;padding:clamp(30px,5vw,70px)!important}.vv-single-post-main .vv-single-article-content{max-width:850px!important;margin-inline:auto!important;font-size:1.1rem!important;line-height:1.9!important}.vv-single-post-main .vv-single-featured-image img{display:block;width:100%;max-height:520px;object-fit:cover}.gg51-article-author,.gg51-related,.vv-single-cta{max-width:100%;margin-top:30px!important}
/* Contact page: ensure cards, forms and defaults all receive the redesign */
.gg51-contact-page .vv-contact-grid{display:grid!important;grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr)!important;gap:26px!important}.gg51-contact-page .vv-contact-info-card,.gg51-contact-page .vv-contact-form-card{background:#fffdf9!important;border-radius:22px!important;border:1px solid var(--gg52-line)!important;padding:clamp(23px,3vw,42px)!important;box-shadow:0 12px 30px #73502712!important}.gg51-contact-page .vv-form-control{background:#fffcf7!important;border-color:#ddcbb5!important;border-radius:12px!important}.gg51-contact-page .btn-theme-submit{background:#997347!important;color:#fff!important;border-radius:999px!important}
/* Checkout: typography is consistent, leave Mollie actions untouched. */
.gg51-subscription-page{max-width:1280px!important;width:calc(100% - 30px)!important}.gg51-subscription-page .gg51-subscription-checkout{min-width:0;overflow-wrap:anywhere}.gg51-subscription-page .gg51-subscription-intro{background:#fffdf9!important}.gg51-subscription-page :is(h2,h3){color:var(--gg52-ink)}
/* Books: the actual home illustration class */
.gg37-books-illustration{background-image:url('../images/gg51-books-realistic.webp')!important;background-position:center!important;background-size:cover!important;border-radius:18px!important;min-height:260px!important}
@media(max-width:980px){.gg51-contact-page .vv-contact-grid{grid-template-columns:1fr!important}}
@media(max-width:767px){#gg47-search-panel{left:15px!important;right:15px!important;top:70px!important;width:calc(100vw - 30px)!important}.studio-subnav-bar{display:none!important}.gg-rhyme .gg-rhyme-hero{text-align:left!important;min-height:300px!important;padding:28px 20px!important}.gg-rhyme .gg-rhyme-search{max-width:100%!important}.vv-single-post-main .vv-single-article-heading{min-height:220px!important}}
