/* Approved wine palette from variant-4-wine.html, 16 October 2026. */
.theme-wine{
  --variant-canvas:#542835;
  --variant-ink:#f3efe7;
  --variant-muted:rgba(243,239,231,.72);
  --variant-line:rgba(243,239,231,.18);
  --variant-panel:#642f40;
  --variant-panel-alt:#0c342b;
  --variant-accent:#eacb9a;
  --variant-header:#542835;
}

/* Keep the approved green hero gradient and photo treatment from the base page. */

body.theme-wine{
  background:var(--variant-canvas);
  color:var(--variant-ink);
}

body.theme-wine .site-header{
  background:var(--variant-header);
  border-bottom-color:var(--variant-line);
  color:var(--variant-ink);
}

body.theme-wine .site-header .brand,
body.theme-wine .site-header nav a,
body.theme-wine .menu-toggle{
  color:var(--variant-ink);
}

body.theme-wine .menu-toggle,
body.theme-wine #site-navigation{
  border-color:var(--variant-line);
}

body.theme-wine .site-header nav a:hover,
body.theme-wine .header-cta,
body.theme-wine #site-navigation a[aria-current="location"],
body.theme-wine #site-navigation .menu-telegram{
  color:var(--variant-accent);
}

body.theme-wine #site-navigation{
  background:transparent;
}
@media(max-width:1280px){
  body.theme-wine #site-navigation{background:var(--variant-canvas)}
}

body.theme-wine #about,
body.theme-wine #needs,
body.theme-wine #events,
body.theme-wine #benefits,
body.theme-wine #formats,
body.theme-wine #founders,
body.theme-wine #reviews,
body.theme-wine #join,
body.theme-wine footer{
  background:var(--variant-canvas);
  color:var(--variant-ink);
}

body.theme-wine #about h2,
body.theme-wine #about .statement,
body.theme-wine #needs h2,
body.theme-wine #needs h3,
body.theme-wine #events .section-head h2,
body.theme-wine #benefits .section-head h2,
body.theme-wine #benefits .benefit-item h3,
body.theme-wine #formats .section-head h2,
body.theme-wine #formats .format-row,
body.theme-wine #founders h2,
body.theme-wine #founders .founder h3{
  color:var(--variant-ink);
}

body.theme-wine #about .secondary,
body.theme-wine #needs p,
body.theme-wine #benefits .benefit-item p,
body.theme-wine #formats .format-description,
body.theme-wine #founders .founder-role,
body.theme-wine #reviews .review-card blockquote,
body.theme-wine #reviews .review-person span,
body.theme-wine footer{
  color:var(--variant-muted);
}

body.theme-wine #about .about-mark,
body.theme-wine #needs .need-number,
body.theme-wine #benefits .benefit-item::before,
body.theme-wine #formats .format-number,
body.theme-wine #formats .format-row:hover .format-title,
body.theme-wine #founders .founder>p,
body.theme-wine .section-controls,
body.theme-wine #reviews .review-card::before{
  color:var(--variant-accent);
}

body.theme-wine #needs .needs-editorial-list article+article,
body.theme-wine #events .event-grid article,
body.theme-wine #benefits .benefit-item+.benefit-item,
body.theme-wine #benefits .benefit-item::before,
body.theme-wine #formats .formats-index,
body.theme-wine #formats .format-row,
body.theme-wine footer{
  border-color:var(--variant-line);
}

body.theme-wine #formats .format-row:focus-visible{
  outline-color:var(--variant-accent);
}

body.theme-wine #founders .founder-photo{
  background:var(--variant-panel);
}

body.theme-wine #join .join-copy{
  background:var(--variant-panel);
  color:var(--variant-ink);
}

body.theme-wine #join .join-copy h2,
body.theme-wine #join .join-copy p{
  color:var(--variant-ink);
}

body.theme-wine #join .join-form{
  background:var(--variant-panel-alt);
}

body.theme-wine footer .brand{
  color:var(--variant-ink);
}

/* Equal desktop screens; content remains free to grow on narrow devices. */
body.theme-wine main>.section.reviews{
  min-height:var(--screen-height);
  padding:clamp(20px,3.5svh,38px) 0 78px;
  display:flex;
  align-items:center;
}
@media(min-width:1101px){
  body.theme-wine{--screen-height:max(620px,calc(100svh - var(--header-height)))}
  @supports(height:100dvh){body.theme-wine{--screen-height:max(620px,calc(100dvh - var(--header-height)))}}
  body.theme-wine #benefits{padding:clamp(20px,3.5svh,38px) 0 78px}
  body.theme-wine #benefits .section-head{margin-bottom:clamp(24px,4svh,44px)}
  body.theme-wine #benefits .benefit-item{padding-block:clamp(16px,2.6svh,24px)}
}
@media(max-width:760px){
  body.theme-wine main>.section.reviews{padding-top:clamp(34px,6svh,60px);padding-bottom:76px}
}
@media(min-width:1101px) and (max-height:800px){
  body.theme-wine #needs .needs-editorial-list article{padding-block:clamp(10px,2svh,16px)}
  body.theme-wine #needs .needs-editorial-list article:first-child{padding-top:0}
  body.theme-wine #needs .needs-editorial-list article:last-child{padding-bottom:0}
}

/* Upcoming events retain the site's full-height photo cards. */
body.theme-wine #events .event-grid{gap:22px;border:0;align-items:stretch}
body.theme-wine #events .event-grid article{height:auto;min-height:clamp(380px,58svh,560px)}
body.theme-wine #events .event-grid p{
  margin-top:auto;
  padding-top:20px;
  color:var(--variant-ink);
  font-size:15px;
  font-weight:400;
  line-height:1.5;
}
@media(min-width:1101px){
  body.theme-wine #events{align-items:stretch}
  body.theme-wine #events>.wrap{display:flex;flex-direction:column}
  body.theme-wine #events .event-grid{flex:1}
  body.theme-wine #events .event-grid article{min-height:clamp(280px,48svh,380px)}
}
@media(min-width:761px) and (max-width:1100px){
  body.theme-wine #events .event-grid article:last-child:nth-child(odd){
    grid-column:1/-1;
    justify-self:center;
    width:calc((100% - 22px) / 2);
  }
}
@media(max-width:760px){
  body.theme-wine #events .event-grid{gap:32px}
  body.theme-wine #events .event-grid article{min-height:clamp(380px,68svh,460px)}
}
