* { box-sizing: border-box; }
body { margin: 0; background: #0b0b0b; color: #e9e4d8; font: 400 20px/1.65 "Cormorant Garamond", Georgia, serif; }
a { color: #e8d09a; }
a:focus-visible { outline: 2px solid #e8d09a; outline-offset: 5px; }
header, footer { border-block: 1px solid #2a2418; padding: 14px 24px; text-align: center; }
.brand { color: #c9a55c; font: 400 38px "Great Vibes", cursive; text-decoration: none; }
main { max-width: 1080px; margin: 0 auto; padding: 28px 24px 64px; }
.back, .eyebrow { font: 500 11px/1.6 Montserrat, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.back { display: inline-block; text-decoration: none; }
.back:hover { text-decoration: underline; }
.wine-detail { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 76px); align-items: start; margin-top: 28px; }
.wine-detail > img { display: block; width: 100%; height: auto; max-height: 580px; object-fit: contain; background: #100e0c; border: 1px solid #2a2418; }
.eyebrow { color: #c9a55c; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; margin: 12px 0 24px; color: #e8d09a; }
h2 { color: #e8d09a; font-size: 27px; margin: 0 0 4px; }
p { margin: 0 0 14px; }
.serving { background: #141210; border-left: 1px solid #c9a55c; padding: 16px 20px; margin-top: 24px; }
.serving p { margin: 0; }
footer { color: #a39d8f; font-size: 16px; }
@media (max-width: 700px) {
  .wine-detail { grid-template-columns: 1fr; }
  .wine-detail > img { max-height: 460px; }
}

/* Let the story set the row height and fill that height with the bottle photo. */
@media (min-width: 851px) {
  .wine-detail--full-photo > img {
    align-self: stretch;
    height: 0;
    min-height: 100%;
    max-height: none;
    object-fit: cover;
  }
}
@media (max-width: 850px) {
  .wine-detail--full-photo { grid-template-columns: 1fr; }
}
