/* GeschrevenGedichten.nl 4.0.47 — mobiele rijmwoordresultaten, geïntegreerd.
 * Uitsluitend weergave. Rijmdata, filters, zoekroutes, kopieeractie en AI blijven intact.
 * Deze laag staat bewust achter eerdere rijmwoordstyles om specifieke mobiele
 * regels uit oude releases niet opnieuw te laten winnen.
 */

html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result,
html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter {
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere;
}
html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-shell {
  width:min(1280px,calc(100% - 20px))!important;
  max-width:1280px!important;
  min-width:0!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) :is(.gg-rhyme-results,.gg-rhyme-result-grid,.gg-rhyme-side,.gg-rhyme-panel,.ggwi-area,.ggwi-poems,.gg-rhyme-related,.gg-rhyme-letter-directory,.gg-rhyme-directory-list) {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

@media (max-width:960px) {
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-grid,
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-side {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
}

@media (max-width:700px) {
  /* Eén leesbare, gecentreerde inhoudskolom, ook bij een lange zoekterm. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-shell {
    width:calc(100% - 20px)!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) :is(h1,h2,h3,p,blockquote) {
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  /* Het zoekveld behoudt zijn zichtbare label, tekstveld en eigen volle-breedte knop. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-search {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .ggh-rhyme-search-label {
    grid-column:1!important;
    grid-row:auto!important;
    margin:0!important;
    font:700 16px/1.4 'Plus Jakarta Sans',Arial,sans-serif!important;
    text-align:left!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-search-icon {
    display:none!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-search input[type='search'] {
    grid-column:1!important;
    grid-row:auto!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    padding:12px 14px!important;
    font-size:16px!important;
    line-height:1.45!important;
    background:#fff!important;
    border:1px solid #bfcbd1!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-search button[type='submit'] {
    grid-column:1!important;
    grid-row:auto!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    padding:11px 14px!important;
    background:#ffe4c6!important;
    color:#173442!important;
    border:1px solid #e9b980!important;
    border-radius:12px!important;
    white-space:normal!important;
    font:700 14px/1.4 'Plus Jakarta Sans',Arial,sans-serif!important;
    box-shadow:none!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-search button[type='submit']:hover {
    background:#fbd8b1!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-suggestions {
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    margin-top:14px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter) .gg-rhyme-suggestions a {
    display:inline-flex!important;
    align-items:center!important;
    min-height:42px!important;
    padding:8px 13px!important;
    border-radius:999px!important;
  }

  /* Kop en filters kunnen niet meer naast elkaar samendrukken. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-heading-wrap {
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:15px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:22px 0 14px!important;
    padding:20px 17px!important;
    border:1px solid #e7dace!important;
    border-radius:18px!important;
    background:#fffdfa!important;
    box-sizing:border-box!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-heading-wrap>div:first-child {
    flex:0 1 auto!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-heading-wrap h2 {
    margin:8px 0!important;
    font:600 clamp(28px,7.6vw,37px)/1.09 'Cormorant Garamond',Georgia,serif!important;
    letter-spacing:-.025em!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-intro {
    margin:0!important;
    font-size:13px!important;
    line-height:1.6!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-filters {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-filters button {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:10px 8px!important;
    border:1px solid #e6d8ca!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#173442!important;
    font:700 12px/1.4 'Plus Jakarta Sans',Arial,sans-serif!important;
    text-align:center!important;
    white-space:normal!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-filters button[aria-pressed='true'] {
    background:#f6e8d9!important;
    border-color:#b8784d!important;
    color:#7d442a!important;
  }

  /* Compacte, rustige samenvatting en snelkoppelingen. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-summary {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:10px!important;
    padding:15px 16px!important;
    border-radius:15px!important;
    margin:0 0 13px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-summary-icon {display:none!important;}
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-summary p {
    flex:none!important;
    width:100%!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.65!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-summary-counts {
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    width:100%!important;
    margin:0!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-quicknav {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0 0 16px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-quicknav a {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-width:0!important;
    min-height:48px!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    font-size:12px!important;
    line-height:1.35!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-quicknav a:last-child {grid-column:1/-1!important;}

  /* Rijmwoordknoppen: precies één per rij, makkelijk met de duim te bedienen. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-result-grid,
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-side {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:15px!important;
    width:100%!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-panel {
    padding:18px 15px!important;
    min-height:0!important;
    border-radius:18px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-panel-heading {
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding-bottom:13px!important;
    margin-bottom:13px!important;
    min-width:0!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-panel-heading>div {min-width:0!important;flex:1 1 auto!important;}
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-panel-icon {
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    border-radius:12px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-panel-heading h3 {
    font-size:26px!important;
    line-height:1.12!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto 23px!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:55px!important;
    padding:11px 13px!important;
    margin:0!important;
    border-radius:12px!important;
    border:1px solid #e0e6e9!important;
    background:#fff!important;
    color:#173442!important;
    font:700 15px/1.4 'Plus Jakarta Sans',Arial,sans-serif!important;
    text-align:left!important;
    white-space:normal!important;
    box-shadow:none!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word>span:first-child {
    grid-column:1!important;grid-row:1!important;
    min-width:0!important;max-width:100%!important;
    overflow-wrap:anywhere!important;
    font-size:15px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word small {
    grid-column:2!important;grid-row:1!important;
    margin:0!important;justify-self:end!important;
    color:#687985!important;
    white-space:nowrap!important;
    font-size:11px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word .gg-rhyme-copy {
    display:block!important;
    grid-column:3!important;grid-row:1!important;
    justify-self:end!important;align-self:center!important;
    color:#b27146!important;font-size:17px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word.is-copied {
    border-color:#bd885f!important;
    background:#fff7ef!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word.is-copied .gg-rhyme-copy {
    font-size:0!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-word-list button.gg-rhyme-word.is-copied .gg-rhyme-copy::after {
    content:'✓'!important;font-size:19px!important;color:#3d7654!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-studio-cta,
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-related {
    padding:20px 17px!important;border-radius:17px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-studio-cta a {
    display:flex!important;justify-content:center!important;align-items:center!important;
    width:100%!important;max-width:100%!important;min-height:50px!important;
    white-space:normal!important;text-align:center!important;
    padding:12px 15px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-related-links a {
    min-height:44px!important;
  }

  /* Woordinformatie, voorbeeldregels en gerelateerde gedichten. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result :is(.ggwi-area,.ggwi-poems) {
    margin:19px 0!important;padding:20px 17px!important;
    border-radius:18px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-heading {
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:14px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-heading h2 {
    font:600 clamp(27px,7vw,35px)/1.15 'Cormorant Garamond',Georgia,serif!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-actions {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;width:100%!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-actions button {
    width:100%!important;min-width:0!important;min-height:50px!important;
    padding:10px!important;border-radius:12px!important;
    white-space:normal!important;font-size:12px!important;line-height:1.4!important;
    box-shadow:none!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result :is(.ggwi-facts,.ggwi-columns,.ggwi-poems-grid,.ggwi-inspiration) {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result :is(.ggwi-facts article,.ggwi-mini,.ggwi-poem,.ggwi-inspiration) {
    min-width:0!important;padding:17px!important;border-radius:14px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-inspiration blockquote {
    min-width:0!important;padding:0 0 0 15px!important;
    white-space:pre-line!important;
    font-size:16px!important;line-height:1.75!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-poems-cta {
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:12px!important;padding:17px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-poems-cta a {
    display:flex!important;justify-content:center!important;
    min-height:47px!important;text-align:center!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-index-return {
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:9px!important;padding:16px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .gg-rhyme-index-return a {
    min-height:45px!important;
  }

  /* Letteroverzichten zijn eveneens resultaatpagina's. */
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-letters {
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:6px!important;
    overflow:visible!important;
    width:100%!important;
    margin:15px 0!important;
    padding:10px!important;
    border-radius:13px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-letters a {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;min-width:0!important;min-height:44px!important;
    padding:7px 0!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-list {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-list a {
    min-width:0!important;min-height:49px!important;
    padding:10px!important;border-radius:10px!important;
    font-size:13px!important;line-height:1.4!important;
    overflow-wrap:anywhere!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-pager {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-pager a {
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-height:47px!important;text-align:center!important;
  }
}
@media(max-width:360px) {
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result .ggwi-actions {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-list {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result *{scroll-behavior:auto!important;transition:none!important;}
}
@media(max-width:350px){
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--letter .gg-rhyme-directory-letters {
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* 4.0.47: toetsenbordgebruikers behouden een duidelijk zichtbare focusring;
   knop- en kaartlay-out blijven identiek op touchscreens. */
@media (max-width:700px) {
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme:is(.gg-rhyme--result,.gg-rhyme--letter)
  :is(button, a, input):focus-visible {
    outline: 3px solid #326a82!important;
    outline-offset: 3px!important;
  }
  html body.gg-helder #ggw-site#ggw-site main.gg-rhyme.gg-rhyme--result
  :is(.gg-rhyme-panel,.ggwi-area,.ggwi-poems) {
    scroll-margin-top: 24px;
  }
}
