/* Vers & Vorm 5.9.3 — Content-only editorial refinement.
 * HARD BOUNDARY: never style header, navigation, megamenu or sticky navigation.
 * No DOM mutation, no template replacements and no new wrappers.
 */
:root {
  --vv593-paper: #ffffff;
  --vv593-cream: #f1f2f4;
  --vv593-border: rgba(125,85,64,.17);
  --vv593-ink: #011726;
  --vv593-muted: #526572;
  --vv593-accent: #c45d00;
  --vv593-soft: #f1f2f4;
  --vv593-elevation: 0 10px 28px rgba(77,49,33,.065);
  --vv593-elevation-hover: 0 16px 38px rgba(77,49,33,.105);
  --vv593-radius: 20px;
}
/* Content begins under the site's unchanged navigation. */
body:not(.wp-admin) main,
body:not(.wp-admin) .site-main { min-width: 0; }
body:not(.wp-admin) main :where(h1,h2,h3),
body:not(.wp-admin) .site-main :where(h1,h2,h3) {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
body:not(.wp-admin) main :where(p,li),
body:not(.wp-admin) .site-main :where(p,li) { overflow-wrap: break-word; }
body:not(.wp-admin) main :where(img,iframe,video),
body:not(.wp-admin) .site-main :where(img,iframe,video) { max-width:100%; }
/* Shared rhythm; existing container widths and nesting are retained. */
body:not(.wp-admin) :where(.vv53-home,.ggw-poem-single,.ggtheme-overview,.ggw-challenges-landing,.ggw-page-main,.ggblog-single) {
  --vv-content-panel: var(--vv593-paper);
  color:var(--vv593-ink);
}
body:not(.wp-admin) .vv53-home :where(.vv53-heading,.vv53-section) { min-width:0; }
body:not(.wp-admin) .vv53-home .vv53-heading { margin-bottom:clamp(18px,2.6vw,32px); }
body:not(.wp-admin) .vv53-home .vv53-heading :where(h2,p) { max-width: 70ch; }
body:not(.wp-admin) .vv53-home .vv53-heading h2 { letter-spacing:-.022em; }
body:not(.wp-admin) .vv53-home :where(.vv53-poem-card,.vv53-theme-card) {
  border-radius:var(--vv593-radius);
  border-color:var(--vv593-border);
  box-shadow:var(--vv593-elevation);
  overflow:hidden;
}
body:not(.wp-admin) .vv53-home :where(.vv53-poem-card__body,.vv53-theme-card__body) { min-width:0; }
body:not(.wp-admin) .vv53-home .vv53-poem-card__verse { line-height:1.75; }
body:not(.wp-admin) .vv53-home :where(.vv53-share-cta,.vv53-join) {
  isolation:isolate;
  overflow:hidden;
  border-radius:24px;
}
/* Poem reading surface: clear reading order, author and tools remain accessible. */
body:not(.wp-admin) .ggw-poem-single .ggw-single-layout { align-items:start; }
body:not(.wp-admin) .ggw-poem-single .ggw-archive-primary { min-width:0; }
body:not(.wp-admin) .ggw-poem-single :where(.ggw-poem-paper__title) {
  line-height:1.1;
  letter-spacing:-.018em;
  text-wrap:balance;
}
body:not(.wp-admin) .ggw-poem-single .ggw-poem-verses {
  max-width:740px;
  margin-inline:auto;
  line-height:1.8;
  overflow-wrap:break-word;
}
body:not(.wp-admin) .ggw-poem-single .ggw-poem-stanza { margin-bottom:1.35em; }
body:not(.wp-admin) .ggw-poem-single :where(.gg315-atelier-promo,.gg315-author-card,.gg3-poem-tools__inner) {
  border-radius:var(--vv593-radius);
  box-shadow:var(--vv593-elevation);
}
body:not(.wp-admin) .ggw-poem-single :where(.gg315-author-card__content,.gg315-atelier-promo__copy) { min-width:0; }
body:not(.wp-admin) .ggw-poem-single .gg485-prent-examples { min-width:0; }
/* Archive cards keep full clickable areas and existing rating/link actions. */
body:not(.wp-admin) main :where(.vv57-poem-card,.ggw-poem-card,.ggwow-card,.ggw-theme-card,.ggw-category-card,.ggw-blog-card) {
  border-radius:var(--vv593-radius);
  box-shadow:var(--vv593-elevation);
  min-width:0;
}
body:not(.wp-admin) main :where(.vv57-poem-card,.ggw-poem-card,.ggwow-card) :where(h2,h3,p) { overflow-wrap:break-word; }
body:not(.wp-admin) main :where(.ggwow-card__body,.ggwow-card__bottom,.vv57-poem-card__body) { min-width:0; }
/* Themes and other categories are a single cohesive, airy system. */
body:not(.wp-admin) .ggtheme-overview :where(.ggwow-moments,.ggwow-catalog,.ggwow-outro) {
  margin-block:clamp(32px,5vw,68px);
}
body:not(.wp-admin) .ggtheme-overview :where(.ggwow-moment,.ggwow-card) {
  border-radius:var(--vv593-radius);
  border-color:var(--vv593-border);
  overflow:hidden;
}
body:not(.wp-admin) .ggtheme-overview .ggwow-tools {
  border-radius:18px;
}
body:not(.wp-admin) .ggtheme-overview :where(.ggwow-search input,.ggwow-filter) { min-height:44px; }
/* Generic editorial cards, user profile and community: no additional containers. */
body:not(.wp-admin) main :where(.ggblog-aside__card,.author-book-card,.ggw-challenge-card,.ggw-profile-card,.ggw-community-card) {
  border-radius:var(--vv593-radius);
  border-color:var(--vv593-border);
  box-shadow:var(--vv593-elevation);
}
body:not(.wp-admin) main :where(.ggw-entry-content,.ggblog-single__prose,.entry-content) {
  overflow-wrap:break-word;
}
body:not(.wp-admin) main :where(.ggw-entry-content,.ggblog-single__prose) :where(blockquote,figure) {
  max-width:100%;
}
body:not(.wp-admin) main :where(.ggw-entry-content,.ggblog-single__prose) blockquote {
  margin-inline:0;
  padding:clamp(18px,3vw,30px);
  border-inline-start:3px solid var(--vv593-accent);
  background:rgba(255,252,248,.67);
  border-radius:0 16px 16px 0;
}
/* Forms and writing flows — visual feedback only, never change editor canvas or drag targets. */
body:not(.wp-admin) main :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea) {
  max-width:100%;
  min-width:0;
}
body:not(.wp-admin) main :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea):focus-visible {
  outline:2px solid var(--vv593-accent);
  outline-offset:2px;
}
body:not(.wp-admin) main :where(button,a,[role=button]):focus-visible {
  outline:3px solid var(--vv593-accent);
  outline-offset:3px;
}
body:not(.wp-admin) main :where(.ggw-hw-button,.vv53-button,.ggwow-button,.wp-block-button__link) {
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body:not(.wp-admin) main :where(.vv53-poem-card,.vv53-theme-card,.ggwow-card,.vv57-poem-card,.ggw-blog-card):hover {
    transform:translateY(-3px);
    box-shadow:var(--vv593-elevation-hover);
  }
}
@media (max-width:1024px) {
  body:not(.wp-admin) .ggw-poem-single .ggw-single-layout { gap:clamp(18px,3vw,32px); }
  body:not(.wp-admin) .ggtheme-overview .ggwow-catalog { margin-top:36px; }
}
@media (max-width:640px) {
  body:not(.wp-admin) main :where(.vv53-section,.ggwow-catalog,.ggwow-moments,.ggwow-outro) { min-width:0; }
  body:not(.wp-admin) .vv53-home .vv53-heading { margin-bottom:18px; }
  body:not(.wp-admin) .vv53-home .vv53-poem-card__body { padding:clamp(19px,5vw,25px); }
  body:not(.wp-admin) .ggw-poem-single .ggw-poem-verses { line-height:1.75; }
  body:not(.wp-admin) main :where(.ggw-poem-card,.ggwow-card,.ggw-theme-card,.ggw-category-card) { border-radius:17px; }
  body:not(.wp-admin) .ggtheme-overview :where(.ggwow-moments,.ggwow-catalog,.ggwow-outro) { margin-block:28px; }
  body:not(.wp-admin) main :where(.ggw-entry-content,.ggblog-single__prose) blockquote { padding:18px; }
}
@media (prefers-reduced-motion:reduce) {
  body:not(.wp-admin) main :where(.vv53-poem-card,.vv53-theme-card,.ggwow-card,.vv57-poem-card,.ggw-blog-card) {
    transition:none!important;
    transform:none!important;
  }
}
