.guide-cover { margin: 0 0 40px; }
.guide-cover img { width: 100%; height: auto; display: block; border-radius: 3px; }
.table-wrap { overflow-x: auto; margin: 30px 0; border-block: 1px solid var(--article-line); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.85; }
th, td { padding: 16px 12px; text-align: left; vertical-align: top; min-width: 110px; border-bottom: 1px solid var(--article-line); font-weight: 400; }
thead th { color: #d8d9b5; font-weight: 600; }
tbody th { color: #d7dccb; }
tbody tr:last-child :is(th, td) { border-bottom: 0; }
.label-reading, .taste-comparison { margin: 35px 0 40px; padding: 28px 0; border-block: 1px solid #a8b08770; }
.label-reading h3, .taste-comparison h3 { margin: 12px 0 18px; }
.label-reading p.figure-condition, .taste-comparison p.figure-condition { font-size: .875rem; color: var(--article-muted); line-height: 1.85; margin: 22px 0 0; }
.bean-label { background: #102c20; border: 1px solid #b0b18b80; border-radius: 4px; padding: 27px; margin: 26px 0; }
.label-country { display: block; color: #d2d8be; font-size: .875rem; letter-spacing: .14em; }
.bean-label strong { display: block; font-family: var(--article-heading-font); font-size: 1.6rem; font-weight: 400; margin-block: 8px 16px; }
.label-details { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 1rem; }
.label-details span { border-top: 1px solid #9ea98a70; padding-top: 10px; }
.label-reading dl { margin: 0; }
.label-reading dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 9px; font-size: 1rem; line-height: 1.8; }
.label-reading dt { color: #dddcc4; }
.label-reading dd { margin: 0; }
.taste-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.taste-controls button { min-height: 48px; background: #112b20; border: 1px solid #9faf8690; border-radius: 4px; padding: 10px 14px; font-size: 1rem; line-height: 1.5; }
.taste-controls button[aria-pressed="true"] { background: #d4debe; color: #102217; border-color: #d4debe; }
.taste-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 1rem; margin-bottom: 22px; }
.taste-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--series-color); }
.aricha { --series-color: #dfc481; }
.limu { --series-color: #b9d1b2; }
.sidamo { --series-color: #e2ae95; }
.taste-axis { margin-bottom: 20px; }
.review-article p.axis-label { font-size: 1rem; margin: 0 0 6px; color: #fff6dd; }
.taste-series { display: grid; grid-template-columns: 9.5em 1fr 1.8em; align-items: center; gap: 12px; min-height: 30px; font-size: 1rem; line-height: 1.5; }
.bar-track { display: block; height: 9px; background: #b9caaa15; border-right: 1px solid #a3b48d70; }
.bar-fill { display: block; height: 100%; background: var(--series-color); }
.bar-value { text-align: right; color: var(--series-color); }
.taste-series.is-muted .bar-fill { opacity: .55; }
.taste-series.is-muted .bar-name { color: #b0bdaa; }
.review-article p.taste-note { font-size: 1rem; line-height: 1.9; min-height: 3.8em; margin: 26px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .bean-label { padding: 20px; }
  .label-reading dl div { display: block; padding-block: 11px; }
  .label-reading dd { margin-top: 3px; color: var(--article-muted); }
  .taste-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .taste-controls button { font-size: 1rem; padding-inline: 8px; }
  .taste-series { grid-template-columns: minmax(0, 8.7em) minmax(24px, 1fr) 1.2em; gap: 8px; min-height: 32px; }
  .taste-legend { gap: 8px; display: grid; }
  th, td { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Only the Gutenberg candidate uses these wrapper adjustments. */
.coffee-editable-article .wp-block-group { box-sizing: border-box; }
.coffee-editable-article .wp-block-group__inner-container { display: contents; }
.coffee-editable-article :is(.masthead, .article-heading nav) > p { margin: 0; }
.coffee-editable-article :is(.masthead, .article-heading nav) > .wp-block-group__inner-container > p { margin: 0; }
.coffee-editable-article .masthead > .wp-block-group__inner-container > .tagline { font-size: .875rem; line-height: 1.8; color: var(--article-muted); letter-spacing: .04em; }
.coffee-editable-article .article-heading > .eyebrow { margin: 0; }
.coffee-editable-article .article-heading > .wp-block-group__inner-container > .eyebrow { margin: 0; }
.coffee-editable-article .reader-footer .shell-link { margin: 0; }
.coffee-editable-article .review-article .section-number { font-size: .875rem; line-height: 1.8; margin: 0 0 23px; }
.coffee-editable-article .wp-block-image.guide-cover { margin: 0 0 40px; }
.coffee-editable-article .guide-cover img { aspect-ratio: 1672 / 941; }
.coffee-editable-article .wp-block-table table { margin: 0; }
.coffee-editable-article .wp-block-table :is(th, td) { border: 0; border-bottom: 1px solid var(--article-line); font-weight: 400; }
.coffee-editable-article .wp-block-table thead th { font-weight: 600; }
.coffee-editable-article .wp-block-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.coffee-editable-article .bean-label p { margin: 0; font-size: 1rem; }
.coffee-editable-article .bean-label .label-country { font-size: .875rem; }
.coffee-editable-article .bean-label .bean-name { font-family: var(--article-heading-font); font-size: 1.6rem; font-weight: 400; margin: 8px 0 16px; line-height: 2; }
.coffee-editable-article .label-details p { border-top: 1px solid #9ea98a70; padding-top: 10px; }
.coffee-editable-article .label-definition { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 9px; }
.coffee-editable-article .label-definition p { margin: 0; font-size: 1rem; line-height: 1.8; }
.coffee-editable-article .label-term { color: #dddcc4; }
@media (max-width: 600px) {
  .coffee-editable-article .label-definition { display: block; padding-block: 11px; }
  .coffee-editable-article .label-definition .label-meaning { margin-top: 3px; color: var(--article-muted); }
}
@media (max-width: 720px) {
  .coffee-editable-article .masthead > .wp-block-group__inner-container > .tagline { max-width: 170px; }
}
@media (max-width: 360px) {
  .coffee-editable-article .masthead > .wp-block-group__inner-container > .tagline { max-width: 130px; }
}
