/*
 * Field Notes posts and recipes (40 / 42 / 44 / 45): rules every post page
 * shares, on top of field-notes.css and each page's own sheet.
 *
 * Brief: docs/_cowork-prompts/2026-11-05-cc-field-notes-fixes.md (items 2, 3, 5);
 * docs/_cowork-prompts/2026-11-05-cc-field-notes-layout-kit.md (title steps and
 * the body kit, below; CD's block from prototypes/13/editorial.css, the wine
 * card's actions fitted to rhinory/wine-card: the plugin's Add to cart and a
 * link). In the editor this sheet is inlined with the editor's post body in
 * place of .ed-prose (inc/field-notes-kit.php).
 */

.rhinory-field-notes { --ff-label: "Josefin Sans", Futura, "Century Gothic", system-ui, sans-serif }

/* Sections meet edge to edge, as in the prototypes: no flow-layout gap shows the page ground between them. */
main.rhinory-journal-post > *,
main.rhinory-recipe-post > *,
main.rhinory-journal-post .ed-post > *,
main.rhinory-recipe-post .ed-post > * { margin-block-start: 0 }

/* The hero frame follows the photo (inc/journal-post.php rhinory_v4_field_note_hero_ratio()): no square cut of a landscape photo. */
.rhinory-journal-post .jp-head-fig.has-ar .ed-photo,
.rhinory-recipe-post .rp-head-fig.has-ar .ed-photo { aspect-ratio: var(--hero-ar) }
.rhinory-journal-post .jp-head-fig.has-ar .ed-photo img,
.rhinory-recipe-post .rp-head-fig.has-ar .ed-photo img { object-position: 50% 50%; transform-origin: 50% 50% }

/* Core Buttons in a post body are the site's buttons: filled burgundy by default, the Outline style as a hairline button. */
.rhinory-field-notes .ed-prose .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 32px 0 }
.rhinory-field-notes .ed-prose .wp-block-button { margin: 0 }
.rhinory-field-notes .ed-prose .wp-block-button :is(a,button).wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 13px 24px; font-family: var(--ff-label, "Josefin Sans", system-ui, sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-radius: 2px; background: var(--burgundy); color: var(--paper); border: 1px solid var(--burgundy); box-shadow: 0 12px 30px -14px rgba(82, 0, 0, .45); cursor: pointer; transition: background-color .22s, color .22s, transform .18s }
.rhinory-field-notes .ed-prose .wp-block-button :is(a,button).wp-block-button__link:hover { background: #3d0000; border-color: #3d0000; color: var(--paper); transform: translateY(-1px) }
.rhinory-field-notes .ed-prose .wp-block-button :is(a,button).wp-block-button__link:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px }
.rhinory-field-notes .ed-prose .wp-block-button.is-style-outline :is(a,button).wp-block-button__link { background: transparent; color: var(--burgundy); box-shadow: none }
.rhinory-field-notes .ed-prose .wp-block-button.is-style-outline :is(a,button).wp-block-button__link:hover { background: var(--burgundy); color: var(--paper) }
@media (max-width: 640px) {
	.rhinory-field-notes .ed-prose .wp-block-button :is(a,button).wp-block-button__link { white-space: normal; text-align: center }
}
@media (prefers-reduced-motion: reduce) {
	.rhinory-field-notes .ed-prose .wp-block-button :is(a,button).wp-block-button__link { transition: none }
	.rhinory-field-notes .ed-prose .wp-block-button :is(a,button).wp-block-button__link:hover { transform: none }
}

/* ============================================================
   FIELD NOTES POSTS · long titles + body kit (CD, 2026-11-05)
   ============================================================ */
/* Title steps by length. The template sets data-len from the title's character count (l = 51 to 70, xl = 71+); ≤50 keeps the page's own size.
   The italic second line after a colon is unchanged (each page's .ed-h1 em{display:block}). */
/* head grids collapse to 1fr at ≤900; min-width:0 stops a long breadcrumb title from widening the track (it truncates instead) */
.ed-post [class*="-head-copy"],.ed-post [class*="-head-fig"]{min-width:0}
.ed-post .ed-h1[data-len]{line-height:1.02;letter-spacing:-.01em;text-wrap:balance}
.ed-post .ed-h1[data-len="l"]{font-size:clamp(34px,3.6vw,52px)}
.ed-post .ed-h1[data-len="xl"]{font-size:clamp(30px,3.1vw,44px)}

/* Body kit. Selectors target WordPress core block markup inside the post body (.ed-prose). Block styles (is-style-rh-*) are registered by the theme. */
.ed-prose{--rh-bleed:min(1000px,calc(100vw - 112px))}
.ed-prose>.is-style-rh-wide,.ed-prose>.is-style-rh-pair,.ed-prose>.is-style-rh-beside,.ed-prose>.is-style-rh-pairing{width:var(--rh-bleed);max-width:none;margin-left:50%;translate:-50% 0}
/* 1 · lead, kicker, section break, subhead */
.ed-prose>p.is-style-rh-lead{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(24px,2.4vw,30px);line-height:1.36;color:var(--ink-warm)}
.ed-prose>p.is-style-rh-lead+p{margin-top:24px}
.ed-prose .wp-block-separator.is-style-rh-break{position:relative;width:auto;max-width:none;height:14px;margin:80px 0 0;padding:0;border:0;opacity:1;background:linear-gradient(var(--rule-warm-2),var(--rule-warm-2)) left center/calc(50% - 26px) 1px no-repeat,linear-gradient(var(--rule-warm-2),var(--rule-warm-2)) right center/calc(50% - 26px) 1px no-repeat}
.ed-prose .wp-block-separator.is-style-rh-break::after{content:"\25C6";position:absolute;left:50%;top:50%;translate:-50% -50%;font-size:9px;line-height:1;color:var(--burgundy)}
.ed-prose p.is-style-rh-kicker{display:flex;align-items:center;gap:12px;margin:56px 0 0;font-family:var(--ff-label);font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.2em;text-transform:uppercase;color:var(--burgundy)}
.ed-prose p.is-style-rh-kicker::before{content:"";flex:none;width:24px;height:1px;background:currentColor}
.ed-prose .is-style-rh-break+*,.ed-prose .is-style-rh-break+p.is-style-rh-kicker,.ed-prose .is-style-rh-break+h2.wp-block-heading{margin-top:48px}
.ed-prose h2.wp-block-heading{margin:56px 0 20px;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(30px,3vw,40px);line-height:1.08;letter-spacing:-.01em;color:var(--ink-warm);text-wrap:balance}
.ed-prose p.is-style-rh-kicker+h2.wp-block-heading{margin-top:14px}
.ed-prose h2.wp-block-heading em,.ed-prose h3.wp-block-heading em{font-style:italic;color:var(--burgundy)}
.ed-prose h2.wp-block-heading+p{margin-top:0}
/* 2 · wide image and image pair (core Image / core Gallery) */
.ed-prose figure.wp-block-image{margin:0}
.ed-prose .wp-block-image img{display:block;width:100%;height:auto;border:1px solid var(--rule-warm-2);filter:saturate(.96) contrast(1.03)}
.ed-prose .wp-element-caption,.ed-prose .blocks-gallery-caption{margin:12px 0 0;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:500;font-size:18px;line-height:1.35;color:var(--ink-warm-2);text-align:left;text-wrap:pretty}
.ed-prose>.wp-block-image.is-style-rh-wide{margin:56px 0 56px 50%}
.ed-prose .is-style-rh-wide img{aspect-ratio:3/2;object-fit:cover}
/* Never larger than the image is, on any screen (inc/field-notes-kit.php sets --rh-w, the original's
   width, and --rh-ratio on every image; Erik 11-06: the Hercules screenshots were drawn 2x on his screen). */
.ed-prose figure.rh-sized{--rh-native:var(--rh-w)}
@media (min-resolution:1.5dppx){.ed-prose figure.rh-sized{--rh-native:calc(var(--rh-w) / 1.5)}}
@media (min-resolution:2dppx){.ed-prose figure.rh-sized{--rh-native:calc(var(--rh-w) / 2)}}
@media (min-resolution:3dppx){.ed-prose figure.rh-sized{--rh-native:calc(var(--rh-w) / 3)}}
.ed-prose>figure.wp-block-image.is-style-rh-wide.rh-sized{max-width:min(var(--rh-bleed),var(--rh-native))}
/* A portrait photo keeps its own shape, and stands no taller than a Wide image (600px), in line with the text. */
.ed-prose>figure.wp-block-image.is-style-rh-wide.rh-tall{max-width:min(var(--rh-bleed),var(--rh-native),560px,calc(600px * var(--rh-ratio)))}
.ed-prose .is-style-rh-wide.rh-tall img{aspect-ratio:var(--rh-ratio)}
/* Beside text, a portrait image (a bottle) is shown whole, centred in its column. */
.ed-prose .is-style-rh-beside figure.wp-block-image.rh-tall{max-width:min(100%,var(--rh-native),calc(560px * var(--rh-ratio)));margin-inline:auto}
.ed-prose .is-style-rh-beside .wp-block-image.rh-tall img{aspect-ratio:var(--rh-ratio);object-fit:contain}
.ed-prose>.wp-block-gallery.is-style-rh-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:56px;margin-bottom:56px;padding:0}
/* Core's gallery layout zeroes the margin the bleed rule centres with (it kept the -50% translate and ran half a bleed off the left edge, Erik 11-05). */
.ed-prose>.wp-block-gallery.wp-block-gallery.is-style-rh-pair{margin-left:50%;margin-right:0}
.ed-prose>.wp-block-gallery.is-style-rh-pair.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ed-prose .wp-block-gallery.is-style-rh-pair>figure.wp-block-image:not(#individual-image){width:auto;margin:0}
.ed-prose .is-style-rh-pair img{aspect-ratio:4/5;height:100%;object-fit:cover}
.ed-prose .is-style-rh-pair.columns-3 img{aspect-ratio:1/1}
.ed-prose .is-style-rh-pair>.blocks-gallery-caption{grid-column:1/-1;margin-top:-4px}
.ed-prose>.wp-block-gallery.is-style-rh-pair+.wp-block-gallery.is-style-rh-pair{margin-top:-40px}
/* 3 · image beside text (core Columns: Image + caption | text). Image column second = image on the right. */
.ed-prose>.wp-block-columns.is-style-rh-beside{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,4vw,56px);align-items:center;margin-top:64px;margin-bottom:64px}
.ed-prose>.wp-block-columns.is-style-rh-beside:has(>.wp-block-column:last-child>.wp-block-image:first-child){grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.ed-prose .wp-block-column{min-width:0}
.ed-prose .is-style-rh-beside .wp-block-image img{aspect-ratio:4/5;object-fit:cover}
.ed-prose .is-style-rh-beside .wp-block-column>p+p,.ed-prose .is-style-rh-beside .wp-block-column>p+.wp-block-group,.ed-prose .is-style-rh-beside .wp-block-column>p+.wp-block-rhinory-wine-card{margin-top:20px}
.ed-prose .is-style-rh-beside .wp-block-column>p.is-style-rh-kicker{margin:0 0 14px}
.ed-prose>.wp-block-columns.is-style-rh-beside+.wp-block-columns.is-style-rh-beside{margin-top:80px}
/* 4 · pull quote (core Pullquote) */
.ed-prose figure.wp-block-pullquote{position:relative;margin:64px 0;padding:30px 0 0;border:0;border-top:1px solid var(--rule-warm-2);text-align:left}
.ed-prose .wp-block-pullquote::before{content:"";position:absolute;left:0;top:-1px;width:56px;height:1px;background:var(--burgundy)}
.ed-prose .wp-block-pullquote blockquote{margin:0;padding:0;border:0}
.ed-prose .wp-block-pullquote blockquote p{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-.008em;color:var(--ink-warm);text-wrap:balance}
.ed-prose .wp-block-pullquote cite{display:block;margin-top:16px;font-family:var(--ff-label);font-style:normal;font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--rhino-warm)}
/* 5 · wine card (pattern: Group > Image + Group[meta, name, price, Buttons]). Same look as .ed-bottle. Compact = pairing row. */
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact){position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);margin:40px 0;padding:0;background:#fff;border:1px solid var(--rule-warm-2);color:var(--ink-warm);transition:transform .25s ease,border-color .25s ease,background-color .4s ease}
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover{transform:translateY(-4px);border-color:var(--burgundy);background-color:var(--paper)}
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):focus-within{border-color:var(--burgundy)}
.ed-prose figure.rh-wine-img{display:flex;align-items:center;justify-content:center;margin:0;padding:18px 0;background:#fff;border-right:1px solid var(--rule-warm);transition:background-color .4s ease}
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover .rh-wine-img{background-color:var(--paper)}
.ed-prose .rh-wine-img img{width:auto;height:190px;max-width:84%;object-fit:contain;border:0;filter:none;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover .rh-wine-img img{transform:translateY(-6px)}
.ed-prose .rh-wine-body{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:24px 28px;min-width:0}
.ed-prose p.rh-wine-meta{margin:0;font-family:var(--ff-label);font-size:12px;font-weight:600;line-height:1.4;letter-spacing:.2em;text-transform:uppercase;color:var(--rhino-warm)}
.ed-prose h3.rh-wine-name{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:26px;line-height:1.1;letter-spacing:-.006em;color:var(--ink-warm);text-wrap:pretty;transition:color .2s}
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover .rh-wine-name{color:var(--burgundy)}
.ed-prose p.rh-wine-price{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:22px;line-height:1.2;color:var(--burgundy)}
.ed-prose .is-style-rh-wine-compact{grid-template-columns:96px minmax(0,1fr);margin:0}
.ed-prose .is-style-rh-wine-compact .rh-wine-img{padding:14px 0}
.ed-prose .is-style-rh-wine-compact .rh-wine-img img{height:150px}
.ed-prose .is-style-rh-wine-compact .rh-wine-body{padding:18px 20px;gap:5px}
.ed-prose .is-style-rh-wine-compact p.rh-wine-meta{font-size:11px;letter-spacing:.16em}
.ed-prose .is-style-rh-wine-compact .rh-wine-name{font-size:21px}
.ed-prose .is-style-rh-wine-compact p.rh-wine-price{font-size:20px}
.ed-prose .is-style-rh-beside .is-style-rh-wine{margin:28px 0 0;grid-template-columns:120px minmax(0,1fr)}
.ed-prose .is-style-rh-beside .is-style-rh-wine .rh-wine-img img{height:150px}
.ed-prose .is-style-rh-beside .is-style-rh-wine .rh-wine-body{padding:20px 24px}
.ed-prose .is-style-rh-beside .is-style-rh-wine .rh-wine-name{font-size:22px}
/* 5b · the card's actions: the plugin's Add to cart and the link to the wine's page, stretched over the card */
.ed-prose .rh-wine-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px;margin-top:8px}
.ed-prose .rh-wine-actions .winery-add-to-cart{position:relative;z-index:2;margin:0}
.ed-prose .rh-wine-actions .winery-add-to-cart__button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 22px;background:var(--burgundy);color:var(--paper);border:1px solid var(--burgundy);border-radius:2px;cursor:pointer;font-family:var(--ff-label);font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;box-shadow:0 12px 30px -14px rgba(82,0,0,.45);transition:background .22s,transform .18s,color .22s}
.ed-prose .rh-wine-actions .winery-add-to-cart__button:hover{background:#3d0000;transform:translateY(-1px)}
.ed-prose .rh-wine-actions .winery-add-to-cart__button:focus-visible{outline:2px solid var(--burgundy);outline-offset:3px}
.ed-prose .rh-wine-actions .winery-add-to-cart__button:disabled{background:var(--card-2);color:var(--ink-warm-2);border-color:var(--card-2);box-shadow:none;cursor:not-allowed}
.ed-prose .rh-wine-actions .winery-add-to-cart__message{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--burgundy)}
.ed-prose .rh-wine-actions .winery-add-to-cart__message:empty{display:none}
.ed-prose a.rh-wine-go{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:0;border:0;font-family:var(--ff-label);font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;text-decoration:none;white-space:nowrap;color:var(--burgundy)}
.ed-prose a.rh-wine-go::before{content:"";position:absolute;inset:0;z-index:1}
.ed-prose a.rh-wine-go::after{content:"\2192";font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:0;transition:transform .25s}
.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover a.rh-wine-go::after{transform:translateX(5px)}
.ed-prose a.rh-wine-go:focus-visible{outline:2px solid var(--burgundy);outline-offset:3px}
.ed-prose .is-style-rh-wine-compact .rh-wine-actions{flex-direction:column;align-items:flex-start;gap:0;margin-top:6px}
.ed-prose .is-style-rh-wine-compact .rh-wine-actions .winery-add-to-cart__button{padding:10px 18px}
/* the closing button (is-style-rh-fill, or a plain Button in the close) carries the arrow */
.ed-prose :is(.is-style-rh-fill,.is-style-rh-close .wp-block-button) :is(a,button).wp-block-button__link::after{content:"\2192";font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:0;transition:transform .25s}
.ed-prose :is(.is-style-rh-fill,.is-style-rh-close .wp-block-button) :is(a,button).wp-block-button__link:hover::after{transform:translateX(5px)}
/* 6 · pairing row (core Columns: kicker + heading + text | compact wine card). Repeat per course. */
.ed-prose>.wp-block-columns.is-style-rh-pairing{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:clamp(32px,5vw,72px);align-items:center;margin-top:0;margin-bottom:0;padding:48px 0;border-top:1px solid var(--rule-warm-2)}
.ed-prose>:not(.is-style-rh-pairing)+.wp-block-columns.is-style-rh-pairing{margin-top:56px}
.ed-prose>.wp-block-columns.is-style-rh-pairing:has(+:not(.is-style-rh-pairing)),.ed-prose>.wp-block-columns.is-style-rh-pairing:last-child{border-bottom:1px solid var(--rule-warm-2)}
.ed-prose .is-style-rh-pairing p.is-style-rh-kicker{margin:0}
.ed-prose .is-style-rh-pairing h2.wp-block-heading{margin:14px 0 18px;font-size:clamp(28px,2.8vw,36px)}
.ed-prose .is-style-rh-pairing .wp-block-column:first-child{max-width:600px}
/* 7 · closing call to action (Group: line + text + one Button) */
.ed-prose .wp-block-group.is-style-rh-close{display:flex;flex-direction:column;align-items:center;gap:16px;margin:80px 0 0;padding:clamp(40px,5vw,56px) clamp(24px,4vw,48px);background:var(--card);border:1px solid var(--rule-warm-2);text-align:center}
.ed-prose .is-style-rh-close p{margin:0;max-width:52ch}
.ed-prose .is-style-rh-close p.rh-close-line{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(26px,2.6vw,34px);line-height:1.2;color:var(--ink-warm);text-wrap:balance}
.ed-prose .is-style-rh-close .wp-block-buttons{display:flex;justify-content:center;margin:10px 0 0}
.ed-prose .is-style-rh-close .wp-block-button :is(a,button).wp-block-button__link{padding:14px 26px}
@media (max-width:1024px){.ed-prose{--rh-bleed:min(1000px,calc(100vw - 80px))}}
@media (max-width:760px){
  .ed-prose>.wp-block-columns.is-style-rh-beside,.ed-prose>.wp-block-columns.is-style-rh-beside:has(>.wp-block-column:last-child>.wp-block-image:first-child){grid-template-columns:1fr;gap:24px;margin-top:48px;margin-bottom:48px}
  .ed-prose .is-style-rh-beside>.wp-block-column:has(>.wp-block-image){order:-1}
  .ed-prose .is-style-rh-beside .wp-block-image img{aspect-ratio:4/3}
  .ed-prose .is-style-rh-beside figure.wp-block-image.rh-tall{max-width:min(100%,var(--rh-native),calc(420px * var(--rh-ratio)))}
  .ed-prose>.wp-block-columns.is-style-rh-beside+.wp-block-columns.is-style-rh-beside{margin-top:64px}
  .ed-prose>.wp-block-columns.is-style-rh-pairing{grid-template-columns:1fr;gap:24px;padding:40px 0}
}
@media (max-width:640px){
  .ed-prose{--rh-bleed:calc(100vw - 44px)}
  .ed-prose>.wp-block-image.is-style-rh-wide{margin:40px 0 40px 50%}.ed-prose>.wp-block-gallery.is-style-rh-pair{margin-top:40px;margin-bottom:40px}
  .ed-prose>.wp-block-gallery.is-style-rh-pair{gap:10px}
  .ed-prose>.wp-block-gallery.is-style-rh-pair+.wp-block-gallery.is-style-rh-pair{margin-top:-30px}
  .ed-prose .is-style-rh-wide img{aspect-ratio:4/3}
  .ed-prose>.wp-block-gallery.is-style-rh-pair.columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ed-prose .is-style-rh-pair.columns-3>.wp-block-image:nth-child(3n+1){grid-column:1/-1}
  .ed-prose .is-style-rh-pair.columns-3>.wp-block-image:nth-child(3n+1) img{aspect-ratio:3/2}
  .ed-prose figure.wp-block-pullquote{margin:48px 0}
  .ed-prose .wp-block-separator.is-style-rh-break{margin-top:64px}
  .ed-prose :is(.is-style-rh-wine,.is-style-rh-beside .is-style-rh-wine){grid-template-columns:104px minmax(0,1fr)}
  .ed-prose .is-style-rh-wine .rh-wine-img img,.ed-prose .is-style-rh-beside .is-style-rh-wine .rh-wine-img img{height:140px}
  .ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact) .rh-wine-body{padding:16px 18px 18px}
  .ed-prose .rh-wine-name,.ed-prose .is-style-rh-beside .is-style-rh-wine .rh-wine-name{font-size:21px}
  .ed-prose p.rh-wine-meta{font-size:11px;letter-spacing:.16em}
  .ed-prose .rh-wine-actions{flex-direction:column;align-items:flex-start;gap:0}
  .ed-prose .wp-block-group.is-style-rh-close{margin-top:64px}
  .ed-prose .is-style-rh-close .wp-block-buttons,.ed-prose .is-style-rh-close .wp-block-button,.ed-prose .is-style-rh-close .wp-block-button :is(a,button).wp-block-button__link{width:100%}
  .ed-prose .is-style-rh-close .wp-block-button :is(a,button).wp-block-button__link{white-space:normal}
}
@media (prefers-reduced-motion:reduce){
  .ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact),.ed-prose .rh-wine-img img,.ed-prose .rh-wine-go::after{transition:none}
  .ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover,.ed-prose :is(.is-style-rh-wine,.is-style-rh-wine-compact):hover .rh-wine-img img,.ed-prose .rh-wine-go::after{transform:none}
}

/* A pairing guide with a row per course has many chapters: the chapter bar scrolls sideways inside itself, never the page. */
.rhinory-pairing-guide .pg-chap { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none }
.rhinory-pairing-guide .pg-chap::-webkit-scrollbar { display: none }
.rhinory-pairing-guide .pg-chap a { flex: 1 0 auto; white-space: nowrap }
