/* GeschrevenGedichten.nl 4.0.49 — Mobiele afronding (geen desktopwijzigingen)
   Alleen presentatielaag. Bestaande header, PHP-routes, betalingen, data en JS blijven onaangeroerd.
*/
@media (max-width: 1024px) {
  html body #ggw-site main :is(.ggw-container,.gg372-flow__container,.gg390-wrap,.ggblog-single__shell,.ggblog-page__layout,.gg25-signup__main,.vv-login-columns) {min-width:0;max-width:100%;box-sizing:border-box}
  html body #ggw-site main :is(.ggblog-card,.ggblog-single__article,.ggblog-single__prose,.ggblog-single__aside,.gg372-flow__editor,.gg372-flow__preview,.ggw-entry-content,.ggw-result-card) {min-width:0;box-sizing:border-box;overflow-wrap:break-word}
  html body #ggw-site main :is(.ggblog-single__prose,.ggw-entry-content) :is(img,video,iframe,embed) {max-width:100%;height:auto}
  html body #ggw-site main :is(.ggblog-single__prose,.ggw-entry-content) :is(pre,.wp-block-code,table) {max-width:100%;overflow-x:auto}
  html body #ggw-site main :is(.ggblog-single__prose,.ggw-entry-content) .wp-block-table {max-width:100%;overflow-x:auto}
  html body #ggw-site main :is(.ggblog-filters,.ggblog-pagination,.gg372-flow__nav) a:focus-visible,
  html body #ggw-site main :is(.vv-login-form,.gg25-signup__form) :is(input,button):focus-visible {
    outline:3px solid #a26349!important;outline-offset:3px!important
  }
}
@media (max-width: 767px) {
  /* Blog: fliterchips, kaarten, leestekst en bladerlinks mogen nooit worden platgedrukt. */
  html body #ggw-site main.gg317-blog-page .ggblog-filters {display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:18px!important}
  html body #ggw-site main.gg317-blog-page .ggblog-filter {min-height:44px!important;padding:10px 13px!important;font-size:13px!important;max-width:100%}
  html body #ggw-site main.gg317-blog-page .ggblog-grid,
  html body #ggw-site main .ggblog-related__grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important}
  html body #ggw-site main.gg317-blog-page .ggblog-card {min-width:0!important;max-width:100%!important}
  html body #ggw-site main.gg317-blog-page .ggblog-card__content {min-width:0!important;padding:17px!important}
  html body #ggw-site main.gg317-blog-page .ggblog-card__title {overflow-wrap:break-word}
  html body #ggw-site main .ggblog-pagination .page-numbers :is(a,span),
  html body #ggw-site main .ggblog-pagination :is(a.page-numbers,span.page-numbers) {min-width:44px!important;min-height:44px!important}
  html body #ggw-site main.ggblog-single .ggblog-single__layout {display:flex!important;flex-direction:column!important;gap:24px!important}
  html body #ggw-site main.ggblog-single .ggblog-single__prose {padding:20px 17px!important;font-size:16px!important;line-height:1.8!important}
  html body #ggw-site main.ggblog-single .ggblog-single__cover :is(img,picture) {max-width:100%;height:auto}
  html body #ggw-site main.ggblog-single .ggblog-single__meta {display:flex;flex-wrap:wrap;gap:8px}
  /* Zelf schrijven / verfijnen / bewaren: dezelfde compacte stapnavigatie als de AI-Studio. */
  html body #ggw-site main.gg372-flow .gg372-flow__container {width:calc(100% - 24px)!important;margin-inline:auto!important}
  html body #ggw-site main.gg372-flow .gg372-flow__heading {padding:5px 0 13px!important}
  html body #ggw-site main.gg372-flow .gg372-flow__heading h1 {font-size:clamp(30px,8vw,39px)!important;line-height:1.1!important}
  html body #ggw-site main.gg372-flow .gg372-flow__nav {
    display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;
    overflow-x:auto!important;scroll-snap-type:x proximity;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;gap:8px!important;
    padding:4px 2px 12px!important;margin:0 0 16px!important;max-width:100%!important
  }
  html body #ggw-site main.gg372-flow .gg372-flow__nav > a {
    display:flex!important;flex-direction:row!important;align-items:center!important;
    flex:0 0 auto!important;width:auto!important;min-width:max-content!important;
    min-height:48px!important;padding:9px 13px!important;gap:8px!important;
    font-size:12px!important;scroll-snap-align:start
  }
  html body #ggw-site main.gg372-flow .gg372-flow__nav > a span {min-height:26px!important;min-width:26px!important;padding:5px!important}
  html body #ggw-site main.gg372-flow .gg372-flow__workspace {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  html body #ggw-site main.gg372-flow :is(.gg372-flow__editor,.gg372-flow__preview) {padding:18px 15px!important;max-width:100%!important}
  html body #ggw-site main.gg372-flow :is(input,textarea) {max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
  html body #ggw-site main.gg372-flow .gg372-flow__small-actions {display:flex!important;flex-wrap:wrap!important;gap:9px!important}
  html body #ggw-site main.gg372-flow :is(.gg372-flow__small-actions,.gg372-flow__footer,.gg372-flow__actions) button {min-height:46px!important;white-space:normal!important}
  /* Aanmelden en inloggen: formulieren in viewport, bedienbaar boven toetsenbord. */
  html body #ggw-site main.gg25-signup {width:calc(100% - 24px)!important;margin:12px auto 34px!important}
  html body #ggw-site main.gg25-signup .gg25-signup__intro {min-height:0!important;grid-template-columns:minmax(0,1fr)!important}
  html body #ggw-site main.gg25-signup .gg25-signup__photo {display:none!important} /* puur decoratief */
  html body #ggw-site main.gg25-signup .gg25-signup__copy {padding:21px 18px!important}
  html body #ggw-site main.gg25-signup .gg25-signup__copy h1 {font-size:clamp(33px,9vw,42px)!important}
  html body #ggw-site main.gg25-signup .gg25-signup__main {display:flex!important;flex-direction:column!important;gap:15px!important;margin-top:14px!important;padding:0!important}
  html body #ggw-site main.gg25-signup .gg25-signup__form-card {width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:20px 17px!important;order:0}
  html body #ggw-site main.gg25-signup .gg25-signup__why {order:1;padding:12px 8px!important}
  html body #ggw-site main.gg25-signup .gg25-signup__form input {min-width:0!important;width:100%!important;font-size:16px!important}
  html body #ggw-site main.gg25-signup .gg25-signup__submit {min-height:48px!important;width:100%!important}
  html body #ggw-site main.vv-login-wow {width:calc(100% - 24px)!important;max-width:1280px!important;margin-inline:auto!important}
  html body #ggw-site main.vv-login-wow .vv-login-columns {display:flex!important;flex-direction:column!important;gap:15px!important}
  html body #ggw-site main.vv-login-wow .vv-login-form-card {order:0!important;width:100%!important;min-width:0!important;padding:20px 17px!important;box-sizing:border-box!important}
  html body #ggw-site main.vv-login-wow .vv-login-welcome {order:1!important;width:100%!important;min-width:0!important}
  html body #ggw-site main.vv-login-wow .vv-login-form :is(input[type='text'],input[type='password']) {width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
  html body #ggw-site main.vv-login-wow :is(.vv-login-submit,.vv-login-register a) {min-height:48px!important}
  html body #ggw-site main.vv-login-wow .vv-login-options {display:flex!important;flex-wrap:wrap!important;gap:10px!important}
  /* Zoeken, profielen en community: invoer- en actieblokken blijven bedienbaar. */
  html body #ggw-site main :is(.ggw-search-page-form,.ggblog-page__layout) {min-width:0!important;max-width:100%!important}
  html body #ggw-site main .ggw-search-page-form {display:flex!important;flex-direction:column!important;gap:9px!important}
  html body #ggw-site main .ggw-search-page-form :is(input,button) {width:100%!important;min-height:47px!important;min-width:0!important}
  html body #ggw-site :is(.gg-profile-main,.ggdc-shell,.ggdc-page,.ggwh-page) :is(input,textarea,select) {max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
  html body #ggw-site :is(.gg-profile-main,.ggdc-shell,.ggdc-page) :is(button[type='submit'],input[type='submit'],.gg-profile-save) {min-height:46px!important}
  /* Verbeter bij voorkeur leesbaarheid zonder de inhoud van gedichten te herformatteren. */
  html body #ggw-site main :is(.ggw-archive-primary,.ggw-with-sidebar,.ggw-poem-grid,.ggw-blog-grid) {min-width:0!important;max-width:100%!important}
}
@media (max-width: 380px) {
  html body #ggw-site main.gg317-blog-page .ggblog-filter {padding:9px 11px!important}
  html body #ggw-site main.gg372-flow .gg372-flow__nav>a {font-size:11.5px!important}
  html body #ggw-site main.vv-login-wow .vv-login-form-card {padding:17px 13px!important}
}
@media (prefers-reduced-motion: reduce) {
  html body #ggw-site main.gg372-flow .gg372-flow__nav {scroll-behavior:auto!important}
}
