/* Wine catalogue — page-specific layout, built on top of main.css */

.subsite-header {
  padding: var(--space-md) 0 var(--space-sm);
}

.subsite-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.page-intro {
  padding: var(--space-md) 0 var(--space-lg);
  text-align: center;
}

.page-intro .eyebrow { display: block; }

.page-intro p {
  margin-left: auto;
  margin-right: auto;
}

/* Fixed-height breathing room between category sections — their top-photo
   waves otherwise butt straight up against the previous section's bottom
   edge with no visual separation. */
.category-spacer {
  height: 50px;
  background: var(--color-parchment);
}

/* ---------- Wine feature rows ----------
   Each wine is a full-width row: the bottle plainly on the category's own
   background (no card, no border, no shadow) on one side, its description
   on the other. Rows alternate sides via .wine-feature--reverse, applied
   in document order across the WHOLE catalogue (not reset per category —
   see index.html comments at each wine). Stacks to image-then-text on
   narrow screens, where alternating sides isn't meaningful. */
.wine-list {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-lg);
}

.wine-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

.wine-feature + .wine-feature {
  border-top: 1px solid rgba(189, 144, 71, 0.25);
}

.wine-feature__image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 260px;
  display: flex;
  justify-content: center;
}

.wine-feature__image img {
  width: 100%;
  height: auto;
}

.wine-feature__text {
  flex: 1 1 auto;
  text-align: center;
}

.wine-feature__type {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.3rem;
}

.wine-feature__text h3 {
  margin-bottom: 0.6rem;
}

.wine-feature__text p {
  color: var(--color-ink-soft);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .wine-feature {
    flex-direction: row;
    text-align: left;
    gap: var(--space-xl);
  }

  .wine-feature--reverse {
    flex-direction: row-reverse;
  }

  .wine-feature__image {
    flex: 0 0 34%;
    max-width: 320px;
  }

  .wine-feature__text {
    text-align: left;
  }

  .wine-feature__text p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Real transparent cutouts (all wines except Chardolaris — see above)
   don't care what's behind them, so they work fine on the Red category's
   near-black background too; only the text needs a light-on-dark swap. */
.section--photo-dark .wine-feature__text h3 {
  color: #f0cda3;
}

.section--photo-dark .wine-feature + .wine-feature {
  border-top-color: rgba(240, 205, 163, 0.25);
}

.shop-nudge {
  text-align: center;
  padding: var(--space-md) 0 var(--space-xl);
  color: var(--color-ink-soft);
}

.shop-nudge a {
  color: var(--color-wine);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold);
}

.shop-nudge a:hover {
  color: var(--color-wine-dark);
}
