/* ============================================================
   WINEHUB — Design System "Editoriale-Heritage"
   Bordeaux / Ivory / Gold · Playfair Display + Work Sans
   ============================================================ */

/* ---- Neutralize Pagelayer "Website Settings" global injection ----
   Pagelayer injects .pagelayer-body rules (font-family: Cabin, etc.)
   that override the theme. These !important rules keep the theme
   typography authoritative regardless of the page builder. */
body,
body.pagelayer-body,
.pagelayer-body p,
.pagelayer-body span,
.pagelayer-body a,
.pagelayer-body li,
.pagelayer-body div {
  font-family: "Work Sans", -apple-system, Segoe UI, Roboto, sans-serif !important;
}
h1, h2, h3, h4,
.pagelayer-body h1, .pagelayer-body h2, .pagelayer-body h3, .pagelayer-body h4,
.hero h1, .hero h1 em,
.wine-card__name, .section-head h2 {
  font-family: "Playfair Display", Georgia, serif !important;
}
.btn, .eyebrow, .nav a, .wine-card__type, .topbar, .req-chip,
h5, h6, .foot h5, .pagelayer-body h5, .pagelayer-body h6,
.filters h4, .wine-card__meta, .price-note, .breadcrumb {
  font-family: "Work Sans", -apple-system, Segoe UI, Roboto, sans-serif !important;
}

:root {
  --burgundy: #722F37;
  --bordeaux: #8B1538;
  --sienna: #A0522D;
  --ivory: #F4F1EB;
  --ivory-2: #EDE7DB;
  --ink: #2C1810;
  --gold: #BEA98E;
  --gold-strong: #A98C63;
  --noir: #0C0C0C;
  --carbon: #1C1A18;
  --sage: #7BA05B;
  --line: rgba(44,24,16,.14);
  --shadow: 0 18px 50px -22px rgba(44,24,16,.45);
  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-family: "Work Sans"; font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-strong); font-weight: 600; }
.muted { color: rgba(44,24,16,.62); }
.center { text-align: center; }

/* ---- Admin bar fix ---- */
.admin-bar .site-head { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-head { top: 46px; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: "Work Sans"; font-weight: 600; font-size: 14px;
  letter-spacing: .05em; padding: 14px 26px; border-radius: 2px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all .25s var(--ease); text-transform: uppercase;
}
.btn--primary { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
.btn--primary:hover { background: var(--bordeaux); border-color: var(--bordeaux); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--burgundy); border-color: var(--gold); }
.btn--ghost:hover { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
.btn--gold { background: transparent; color: var(--ivory); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: var(--noir); }
.btn--sm { padding: 9px 16px; font-size: 12px; }
.btn--wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.btn--wa:hover { background: #178c45; border-color: #178c45; }

/* ---- Top bar ---- */
.topbar { background: var(--burgundy); color: var(--ivory); font-size: 12px; letter-spacing: .12em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; text-transform: uppercase; }
.topbar a { opacity: .85; } .topbar a:hover { opacity: 1; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .sep { opacity: .4; }

/* ---- Header ---- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,241,235,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { height: 48px; width: auto; display: block; }
.logo-foot { height: 62px; width: auto; }
.nav { display: flex; gap: 26px; white-space: nowrap; }
.nav a { font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--gold-strong); transition: width .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.head-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.req-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.req-chip .count { background: var(--burgundy); color: var(--ivory); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 600; }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 620px; }
.hero__text { background: var(--burgundy); color: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(30px,5vw,86px); position: relative; }
.hero__text::after { content: ""; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: linear-gradient(var(--gold),transparent); }
.hero .badge { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; border: 1px solid rgba(190,169,142,.6); color: var(--gold); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 15px; border-radius: 2px; margin-bottom: 26px; }
.hero h1 { color: var(--ivory); font-size: clamp(38px,4.4vw,60px); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__text p { max-width: 30em; color: rgba(244,241,235,.82); margin: 22px 0 34px; font-size: 17px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__img { position: relative; background: #5d2630; overflow: hidden; }
.hero__carousel { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__dots { position: absolute; right: 22px; bottom: 20px; z-index: 6; display: flex; gap: 9px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(12,12,12,.35); cursor: pointer; padding: 0; transition: all .25s var(--ease); }
.hero__dots button.on { background: var(--gold); transform: scale(1.15); }
.hero__ribbon { position: absolute; top: 26px; right: 0; background: var(--noir); color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 11px 20px 11px 24px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.hero__ribbon b { font-family: "Playfair Display"; font-size: 21px; color: var(--ivory); }
.hero__cap { position: absolute; left: 0; bottom: 0; width: 100%; padding: 70px 30px 24px; color: var(--ivory); background: linear-gradient(transparent,rgba(12,12,12,.85)); }
.hero__cap .k { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hero__cap .v { font-family: "Playfair Display"; font-size: 19px; margin-top: 5px; line-height: 1.25; }
.hero__cap .v b { color: var(--gold); }

/* ---- Trust bar ---- */
.trust { background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.trust .container { padding-top: 40px; padding-bottom: 34px; }
.trust__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.trust__stats .n { font-family: "Playfair Display"; font-size: 42px; color: var(--burgundy); line-height: 1; }
.trust__stats .l { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(44,24,16,.6); margin-top: 8px; }
.logowall { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.logowall span { font-family: "Playfair Display"; font-size: 21px; letter-spacing: .04em; color: rgba(44,24,16,.5); font-style: italic; }

/* ---- Section scaffolding ---- */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px,3.4vw,42px); margin: 14px 0 0; }
.section-head p { margin: 16px 0 0; color: rgba(44,24,16,.66); }

/* ---- Pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.pillar { border-top: 2px solid var(--gold); padding-top: 22px; }
.pillar .num { font-family: "Playfair Display"; font-size: 15px; color: var(--gold-strong); letter-spacing: .1em; }
.pillar h3 { font-size: 23px; margin: 12px 0 10px; }
.pillar p { font-size: 15px; color: rgba(44,24,16,.7); margin: 0; }

/* ---- Type teaser ---- */
.types { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.type { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 28px 16px; text-align: center; transition: all .25s var(--ease); overflow: hidden; }
.type:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.type .dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 14px; }
.type h4 { font-size: 18px; }
.type span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(44,24,16,.5); }
.t-red { background: #6a1420; }
.t-white { background: #e7d79a; }
.t-rose { background: #e7a6a0; }
.t-spark { background: #d9c27a; }
.t-sweet { background: #b06a3a; }
.t-bib { background: #8a8f6b; }
.types-foot { display: flex; gap: 26px; justify-content: center; margin-top: 30px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.types-foot a { color: var(--burgundy); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* ---- Wine cards ---- */
.wine-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.wine-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; display: flex; flex-direction: column; overflow: hidden; transition: all .28s var(--ease); position: relative; cursor: pointer; }
.wine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
/* whole card clickable -> opens the wine; the link on the name stretches over the card.
   Only the "Add to Request" button is raised above the overlay so it stays clickable. */
.wine-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.wine-card__foot .add-req { position: relative; z-index: 2; }
.wine-card__media { position: relative; height: 280px; display: grid; grid-template-rows: 1fr; place-items: center; background: radial-gradient(circle at 50% 40%,#fff,var(--ivory-2)); padding: 22px; overflow: hidden; }
.wine-card__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(44,24,16,.22)); }
.badge-pill { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; font-weight: 600; }
.bp-icon { background: var(--noir); color: var(--gold); }
.bp-organic { background: var(--sage); color: #fff; }
.bp-new { background: var(--burgundy); color: var(--ivory); }
.score { position: absolute; top: 12px; right: 12px; background: var(--noir); color: var(--ivory); border: 1px solid var(--gold); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: "Playfair Display"; font-size: 16px; }
.score small { font-size: 7px; letter-spacing: .1em; display: block; text-align: center; color: var(--gold); }
.wine-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.wine-card__type { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-strong); }
.wine-card__name { font-family: "Playfair Display"; font-size: 20px; line-height: 1.15; margin: 2px 0; }
.wine-card__meta { font-size: 13px; color: rgba(44,24,16,.6); }
.wine-card__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.wine-card__foot .price-note { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(44,24,16,.45); }

/* ---- Wineries ---- */
.winery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.winery { position: relative; border-radius: 4px; overflow: hidden; min-height: 330px; display: flex; align-items: flex-end; color: var(--ivory); padding: 30px; background: var(--carbon); }
.winery::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent,rgba(12,12,12,.85)); }
.winery__bg { position: absolute; inset: 0; opacity: .55; }
.winery__bg span { position: absolute; inset: 0; background-size: cover; background-position: center; }
.winery__c { position: relative; z-index: 2; }
.winery .since { color: var(--gold); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.winery h3 { color: var(--ivory); font-size: 28px; margin: 6px 0 4px; }
.winery p { font-size: 14px; color: rgba(244,241,235,.8); margin: 0 0 6px; }
.w-donna  { background: linear-gradient(135deg,#3a1d2b,#722F37); }
.w-bertani { background: linear-gradient(135deg,#2a0f15,#5d2630); }
.w-valdo  { background: linear-gradient(135deg,#1d2a33,#3b5360); }
.w-nabal  { background: linear-gradient(135deg,#3a1216,#6a1420); }

/* ---- For professionals ---- */
.pro { background: var(--burgundy); color: var(--ivory); }
.pro .container { padding-top: 84px; padding-bottom: 84px; }
.pro__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.pro h2 { color: var(--ivory); font-size: clamp(30px,3.4vw,42px); }
.pro__top p { color: rgba(244,241,235,.82); margin: 14px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.step { border-top: 1px solid rgba(190,169,142,.4); padding-top: 20px; }
.step .num { font-family: "Playfair Display"; font-size: 30px; color: var(--gold); }
.step h4 { color: var(--ivory); font-size: 19px; margin: 8px 0 8px; }
.step p { font-size: 14px; color: rgba(244,241,235,.74); margin: 0; }
.sla { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding: 22px 28px; border: 1px solid rgba(190,169,142,.4); border-radius: 3px; }
.sla .clock { font-size: 30px; }
.sla b { color: var(--gold); }

/* ---- Journal ---- */
.journal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: all .25s var(--ease); position: relative; cursor: pointer; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* whole journal card clickable -> opens the article */
.post__body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post__img { height: 200px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__cat { position: absolute; left: 14px; bottom: 14px; background: var(--ivory); color: var(--burgundy); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; font-weight: 600; }
.post__body { padding: 22px; }
.post__body .date { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(44,24,16,.5); }
.post__body h3 { font-size: 21px; margin: 8px 0 0; line-height: 1.2; }
.pj1 { background: linear-gradient(135deg,#5d2630,#8B1538); }
.pj2 { background: linear-gradient(135deg,#2d5a4a,#0D4C3C); }
.pj3 { background: linear-gradient(135deg,#7a5a2a,#A0522D); }

/* ---- Instagram strip ---- */
.ig { background: var(--ivory-2); padding: 54px 0; text-align: center; }
.ig h3 { font-size: 24px; margin-bottom: 8px; }
.ig .handle { color: var(--gold-strong); letter-spacing: .1em; margin-bottom: 26px; }
.ig-row { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.ig-row .cell { aspect-ratio: 1; background-size: cover; background-position: center; border-radius: 2px; background-color: #d9cdbb; display: grid; place-items: center; color: rgba(44,24,16,.4); font-size: 24px; }
.ig-embed { margin-top: 30px; }
.ig-embed #sb_instagram { padding: 0 !important; }
.ig-embed .sbi_photo_wrap, .ig-embed .sbi_photo { border-radius: 3px; }

/* ---- Footer ---- */
.foot { background: #2a141b; color: rgba(244,241,235,.82); }
.foot__cta { background: var(--bordeaux); text-align: center; padding: 54px 0; }
.foot__cta h2 { color: var(--ivory); font-size: clamp(26px,3vw,38px); margin-bottom: 24px; }
.foot__main { padding: 64px 0 30px; }
.foot__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot p { font-size: 14px; margin: 14px 0 0; line-height: 1.7; }
.foot h5 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; font-size: 14px; display: flex; flex-direction: column; gap: 11px; }
.foot ul a:hover { color: var(--gold); }
.foot__social { display: flex; align-items: center; gap: 18px; margin: 16px 0 6px; }
.foot__social a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; letter-spacing: .03em; transition: color .2s var(--ease); }
.foot__social a:hover { color: var(--ivory); }
.foot__social svg { flex: none; }
.foot__bottom { border-top: 1px solid rgba(244,241,235,.14); margin-top: 46px; padding: 22px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(244,241,235,.55); flex-wrap: wrap; gap: 12px; }

/* ---- WhatsApp float ---- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; background: #1FA855; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; box-shadow: 0 12px 30px -8px rgba(31,168,85,.7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---- Toast ---- */
.toast { position: fixed; left: 50%; bottom: 30px; translate: -50% 40px; background: var(--noir); color: var(--ivory); padding: 14px 24px; border-radius: 3px; border: 1px solid var(--gold); font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 100; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---- Page banner ---- */
.page-banner { background: var(--burgundy); color: var(--ivory); padding: 56px 0 50px; text-align: center; }
.page-banner .eyebrow { color: var(--gold); }
.page-banner h1 { color: var(--ivory); font-size: clamp(34px,4vw,52px); margin-top: 12px; }
.page-banner p { color: rgba(244,241,235,.8); max-width: 600px; margin: 16px auto 0; }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(44,24,16,.55); padding: 20px 0; }
.breadcrumb a:hover { color: var(--burgundy); }

/* ---- Portfolio layout ---- */
.portfolio-layout { display: grid; grid-template-columns: 268px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 4px; padding: 24px; background: #fff; }
.filters h4 { font-family: "Work Sans"; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-strong); margin: 0 0 14px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: none; padding-top: 0; }
.filter-group label { display: flex; align-items: center; gap: 9px; font-size: 14px; padding: 5px 0; cursor: pointer; color: rgba(44,24,16,.8); }
.filter-group input[type="checkbox"] { accent-color: var(--burgundy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; border: 1px solid var(--gold); color: var(--burgundy); padding: 6px 12px; border-radius: 20px; cursor: pointer; }
.chip:hover, .chip.on { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
.results-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.results-top .count { font-size: 14px; color: rgba(44,24,16,.6); }
.results-top .count b { color: var(--ink); }
.portfolio-layout .wine-grid { grid-template-columns: repeat(3,1fr); }

/* ---- Pagination ---- */
.wh-pagination { text-align: center; margin-top: 48px; }
.wh-pagination .page-numbers { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers a, .page-numbers span { font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); }
.page-numbers a:hover { border-color: var(--burgundy); color: var(--burgundy); }
.page-numbers .current { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }

/* ---- Events page: Instagram event highlights ---- */
.events-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 34px 0 10px; }
.events-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); text-decoration: none; color: var(--ink); }
a.events-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.events-card__img { aspect-ratio: 4 / 3; background: var(--ivory-2); overflow: hidden; }
.events-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
a.events-card:hover .events-card__img img { transform: scale(1.04); }
.events-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.events-card__date { font-family: "Work Sans"; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-strong); font-weight: 600; margin-bottom: 7px; }
.events-card__title { font-family: "Playfair Display", Georgia, serif; font-size: 19px; line-height: 1.22; color: var(--ink); margin-bottom: 9px; }
.events-card__cap { font-size: 13.5px; line-height: 1.55; color: rgba(44,24,16,.78); flex: 1; margin-bottom: 14px; }
.events-card__link { font-family: "Work Sans"; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); font-weight: 600; }
a.events-card:hover .events-card__link { color: var(--burgundy); }
@media (max-width: 920px) { .events-feed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .events-feed { grid-template-columns: 1fr; } }

/* ---- Single post (Journal article) ---- */
.post-single { max-width: 820px; padding: 44px 28px 84px; }
.post-single__date { color: var(--gold-strong) !important; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; margin-top: 10px; }
.post-single__img { margin: 0 0 34px; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.post-single__img img { width: 100%; height: auto; display: block; }
.post-single__body { font-size: 17px; line-height: 1.8; color: rgba(44,24,16,.9); }
.post-single__body p { margin: 0 0 18px; }
.post-single__body a { color: var(--bordeaux); border-bottom: 1px solid var(--gold); }
.post-single__body a:hover { color: var(--burgundy); }
.post-single__back { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---- Wine detail ---- */
.detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; padding: 30px 0 70px; align-items: start; }
.detail__media { position: sticky; top: 96px; background: radial-gradient(circle at 50% 35%,#fff,var(--ivory-2)); border: 1px solid var(--line); border-radius: 4px; height: 560px; display: grid; grid-template-rows: 1fr; place-items: center; padding: 40px; overflow: hidden; }
.detail__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 22px 32px rgba(44,24,16,.3)); }
.detail__media .flag { position: absolute; top: 18px; left: 18px; background: var(--noir); color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 13px; }
.detail h1 { font-size: clamp(32px,3.6vw,46px); margin: 6px 0 10px; }
.detail .producer { font-size: 16px; color: var(--gold-strong); letter-spacing: .04em; }
.awards { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.award { border: 1px solid var(--line); border-radius: 3px; padding: 10px 16px; font-size: 13px; display: flex; gap: 9px; align-items: center; }
.award b { font-family: "Playfair Display"; color: var(--burgundy); font-size: 17px; }
.cta-block { background: var(--ivory-2); border: 1px solid var(--line); border-radius: 4px; padding: 26px; margin: 26px 0; }
.cta-block .no-price { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(44,24,16,.55); margin-bottom: 14px; }
.cta-block .row { display: flex; gap: 12px; flex-wrap: wrap; }
.spec { width: 100%; border-collapse: collapse; margin: 8px 0 10px; }
.spec tr { border-bottom: 1px solid var(--line); }
.spec td { padding: 13px 0; font-size: 14.5px; vertical-align: top; }
.spec td:first-child { color: var(--gold-strong); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; width: 42%; font-weight: 600; }
.tasting { background: #fff; border-left: 3px solid var(--gold); padding: 22px 26px; margin: 10px 0; font-size: 16px; color: rgba(44,24,16,.85); }
.formats { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0; }
.format { border: 1px solid var(--gold); border-radius: 2px; padding: 10px 18px; font-size: 14px; cursor: pointer; }
.format:hover { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }
.detail-block { margin: 34px 0; }
.detail-block h3 { font-size: 24px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ---- Contact Form 7 overrides ---- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}
.wpcf7-form .wpcf7-submit {
  background: var(--burgundy);
  color: var(--ivory);
  border: none;
  padding: 14px 32px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--bordeaux); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__img { min-height: 380px; }
  .trust__stats { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .pillars, .steps, .types { grid-template-columns: repeat(2,1fr); }
  .wine-grid, .portfolio-layout .wine-grid { grid-template-columns: repeat(2,1fr); }
  .winery-grid, .journal-grid { grid-template-columns: 1fr; }
  .pro__top, .detail { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .portfolio-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .ig-row { grid-template-columns: repeat(3,1fr); }
  .detail__media { position: static; height: 420px; }
}
@media (max-width: 560px) {
  .types { grid-template-columns: 1fr 1fr; }
  .wine-grid, .portfolio-layout .wine-grid { grid-template-columns: 1fr 1fr; }
  .trust__stats, .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .topbar { font-size: 10.5px; }
  .topbar .container { height: 34px; }
  .req-chip { display: none; }
  .topbar .sep { display: none; }
  .site-head .container { height: 64px; gap: 14px; }
  .head-actions .btn { padding: 11px 16px; font-size: 11px; }
  .foot__bottom { flex-direction: column; }
}
