:root {
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #171411;
  --muted: #756b61;
  --line: #d9cfc1;
  --burgundy: #7b0f1c;
  --burgundy-dark: #38070a;
  --burgundy-deep: #210507;
  --gold: #c8a46b;
  --charcoal: #121413;
  --shadow: 0 22px 50px rgba(32, 17, 10, 0.18);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.icon {
  --icon-size: 1em;
  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  flex: 0 0 var(--icon-size);
  background: var(--icon-url) center / contain no-repeat;
  vertical-align: -0.12em;
}

.icon-wine { --icon-url: url("/assets/icons/wine.svg"); }
.icon-grape { --icon-url: url("/assets/icons/grape.svg"); }
.icon-book-open { --icon-url: url("/assets/icons/book-open.svg"); }
.icon-utensils { --icon-url: url("/assets/icons/utensils.svg"); }
.icon-search { --icon-url: url("/assets/icons/search.svg"); }
.icon-user { --icon-url: url("/assets/icons/user.svg"); }
.icon-menu { --icon-url: url("/assets/icons/menu.svg"); }
.icon-x { --icon-url: url("/assets/icons/x.svg"); }
.icon-chevron-down { --icon-url: url("/assets/icons/chevron-down.svg"); }
.icon-arrow-right { --icon-url: url("/assets/icons/arrow-right.svg"); }
.icon-calendar { --icon-url: url("/assets/icons/calendar.svg"); }
.icon-map-pin { --icon-url: url("/assets/icons/map-pin.svg"); }
.icon-mail { --icon-url: url("/assets/icons/mail.svg"); }
.icon-sliders-horizontal { --icon-url: url("/assets/icons/sliders-horizontal.svg"); }
.icon-bottle-wine { --icon-url: url("/assets/icons/bottle-wine.svg"); }
.icon-newspaper { --icon-url: url("/assets/icons/newspaper.svg"); }
.icon-circle-user-round { --icon-url: url("/assets/icons/circle-user-round.svg"); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 96px;
  color: #130f0d;
  background: #fff;
  box-shadow: 0 1px 0 rgba(101, 72, 50, 0.08);
  transition: min-height 200ms ease, box-shadow 200ms ease;
}

.masthead.condensed {
  min-height: 64px;
  box-shadow: 0 6px 18px rgba(58, 38, 24, 0.12);
}

.nav-strip {
  width: calc(100% - 44px);
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: min-height 200ms ease;
}

.masthead.condensed .nav-strip {
  min-height: 64px;
}

.masthead.condensed .brand-logo {
  height: 48px;
  width: clamp(220px, 23vw, 320px);
}

@media (prefers-reduced-motion: reduce) {
  .masthead,
  .nav-strip,
  .brand-logo {
    transition: none;
  }
}


.desktop-nav {
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 22px);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.desktop-nav a,
.nav-text {
  position: relative;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  color: #17120f;
  background: transparent;
}

.desktop-nav a {
  padding-bottom: 14px;
}

.nav-label-stack {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.desktop-nav .nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 24px;
  white-space: nowrap;
}

.nav-sub {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}

.desktop-nav a:hover .nav-sub,
.desktop-nav a:focus-visible .nav-sub {
  opacity: 0.55;
}




.desktop-nav a::after,
.nav-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--burgundy);
  transition: transform 180ms ease;
}

.desktop-nav a.active,
.desktop-nav a:hover,
.nav-text:hover,
.nav-text.open {
  color: var(--burgundy);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after,
.nav-text:hover::after,
.nav-text.open::after {
  transform: scaleX(1);
}

.desktop-nav a.nav-cta {
  align-self: center;
  min-height: 0;
  line-height: 1;
  margin-left: 6px;
  margin-bottom: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(123, 15, 28, 0.24);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}


.desktop-nav a.nav-cta:hover,
.desktop-nav a.nav-cta.active {
  background: #6a0c18;
  color: #fff;
  transform: translateY(-1px);
}

.desktop-nav a.nav-cta::after {
  content: none;
}


.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions button {
  border: 0;
  padding: 0;
  color: #100d0c;
  background: transparent;
}

.login-button,
.search-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-button .icon,
.login-button .icon,
.menu-button .icon {
  --icon-size: 19px;
}

.header-divider {
  width: 1px;
  height: 18px;
  background: #8a8074;
}

.menu-button {
  display: none;
}

.brand {
  flex: 0 0 auto;
  width: max-content;
  max-width: 34vw;
  margin: 0;
  display: block;
}

.brand-logo {
  width: clamp(300px, 31vw, 430px);
  height: 78px;
  object-fit: contain;
  object-position: left center;
  transition: height 200ms ease, width 200ms ease;
}

.mobile-panel,
.mobile-scrim {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  height: clamp(560px, 62vw, 796px);
  overflow: hidden;
  color: #fff;
  background: #fff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.16);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(29, 11, 8, 0.58) 0%, rgba(29, 11, 8, 0.2) 45%, rgba(29, 11, 8, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 247, 235, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  height: clamp(560px, 62vw, 796px);
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  left: 52px;
  top: clamp(240px, 27vw, 330px);
  width: min(620px, 52vw);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.rule {
  width: 43px;
  height: 3px;
  display: block;
  margin: 18px 0 14px;
  background: var(--burgundy);
}

.hero-copy .rule {
  margin: 24px 0 18px;
}

.hero-copy p {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.6;
}


.button,
.hero-copy .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 28px;
  color: #fff;
  background: var(--burgundy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.hero-copy .button:hover {
  background: #5e0b14;
  transform: translateY(-1px);
}

.button.dark {
  background: #1c1614;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #f9efe8;
  background:
    radial-gradient(circle at 35% 20%, rgba(143, 37, 42, 0.36), transparent 40%),
    linear-gradient(90deg, var(--burgundy-dark), #4b080e 48%, var(--burgundy-dark));
}

.feature-tile {
  min-height: 162px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.feature-tile:last-child {
  border-right: 0;
}

.feature-tile > .icon {
  --icon-size: 36px;
  margin-bottom: 13px;
  color: rgba(255, 244, 229, 0.9);
  filter: invert(96%) sepia(6%) saturate(1139%) hue-rotate(328deg) brightness(101%) contrast(96%);
}

.feature-tile h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.feature-tile p {
  max-width: 230px;
  margin: 0 0 17px;
  color: #f5e7db;
  font-size: 14px;
  line-height: 1.45;
}

.feature-tile span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff4ea;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.content-section.feature-rotator {
  width: 100%;
  padding-top: 46px;
  padding-right: clamp(14px, 1.5vw, 24px);
  padding-bottom: 34px;
  padding-left: clamp(14px, 1.5vw, 24px);
}

.feature-rotator-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(270px, 0.58fr) minmax(0, 2.1fr);
  gap: clamp(28px, 3vw, 46px);
  align-items: stretch;
  padding: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.feature-rotator-intro {
  align-self: center;
}

.feature-rotator-intro h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.03;
  text-transform: uppercase;
}

.feature-rotator-intro p:last-child {
  max-width: 350px;
  margin: 0;
  color: #312923;
  font-size: 17px;
  line-height: 1.55;
}

.feature-rotator-tools {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  width: min(350px, 100%);
  margin-top: 26px;
  font-family: var(--sans);
}

.feature-rotator-tools > span {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-progress {
  height: 2px;
  overflow: hidden;
  background: #e4d9cb;
}

.feature-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--burgundy);
  transform-origin: left;
  animation: featureProgress 6500ms linear infinite;
}

.feature-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--burgundy);
  background: #fff;
}

.feature-arrow.prev .icon {
  transform: rotate(180deg);
}

.feature-rotator-display {
  min-width: 0;
  display: contents;
}

.feature-rotator-display > .feature-stage {
  grid-column: 2;
  grid-row: 1;
}

.feature-rotator-display > .feature-picker {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 18px;
}

.feature-stage {
  position: relative;
  min-height: 486px;
  overflow: hidden;
  background: #180e0c;
}

.feature-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.feature-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.feature-slide img,
.feature-slide .image-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.feature-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 7, 5, 0.08) 0%, rgba(13, 7, 5, 0.28) 40%, rgba(13, 7, 5, 0.86) 100%),
    linear-gradient(90deg, rgba(56, 7, 10, 0.44), transparent 64%);
}

.feature-slide-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 34px;
}

.feature-slide-copy .kicker {
  margin-top: 0;
  color: #f2cbb1;
}

.feature-slide-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  line-height: 0.98;
}

.feature-slide-copy strong,
.feature-slide-copy span,
.feature-slide-copy em {
  display: block;
}

.feature-slide-copy strong {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.feature-slide-copy span {
  max-width: 460px;
  color: #f3e5d7;
  font-size: 16px;
  line-height: 1.48;
}

.feature-slide-copy em {
  margin-top: 20px;
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-slide:hover img,
.feature-slide:focus img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.feature-picker {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}

.feature-picker.scrollable {
  overflow: visible;
}

.feature-tab {
  min-width: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  align-content: center;
  border: 1px solid var(--line);
  padding: 12px;
  color: #1b1512;
  background: #fff;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.feature-tab span {
  grid-row: 1 / span 2;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
}

.feature-tab strong,
.feature-tab small {
  display: block;
}

.feature-tab strong {
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.feature-tab small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-tab.active,
.feature-tab:hover {
  border-color: rgba(123, 15, 28, 0.4);
  color: #fff;
  background: var(--burgundy-dark);
}

.feature-tab.active span,
.feature-tab.active small,
.feature-tab:hover span,
.feature-tab:hover small {
  color: #f2cbb1;
}

@keyframes featureProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.content-section {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.section-head span {
  display: block;
  width: 41px;
  height: 2px;
  margin-top: 17px;
  background: var(--burgundy);
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.review-carousel,
.review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.review-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8dfd5;
  border-radius: 12px;
  box-shadow:
    0 1px 1px rgba(61, 43, 30, 0.05),
    0 4px 10px -4px rgba(61, 43, 30, 0.12),
    0 22px 44px -18px rgba(61, 43, 30, 0.28);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease, background 240ms ease;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 4px;
  background: var(--burgundy);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.review-card:hover,
.review-card:focus-within {
  border-color: rgba(123, 15, 28, 0.34);
  box-shadow:
    0 1px 1px rgba(61, 43, 30, 0.06),
    0 8px 18px -8px rgba(61, 43, 30, 0.2),
    0 34px 60px -22px rgba(76, 26, 24, 0.36);
  transform: translateY(-4px);
}

.review-card:hover::before,
.review-card:focus-within::before {
  transform: scaleX(1);
}

.review-card:focus-within {
  outline: 2px solid rgba(123, 15, 28, 0.26);
  outline-offset: 4px;
}

.review-image {
  position: relative;
  height: 268px;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #f0e7dd;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, #fdfbf8 0%, #fff 52%, #f5efe8 100%),
    #fff;
}

.review-image::before {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 18px;
  left: 18%;
  z-index: 0;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(62, 43, 27, 0.22), rgba(62, 43, 27, 0) 68%);
  pointer-events: none;
}

.review-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, rgba(20, 7, 6, 0) 36%, rgba(27, 7, 8, 0.46) 100%);
  transition: opacity 220ms ease;
}

.review-bottle-image {
  position: absolute;
  inset: 14px 12px;
  display: block;
  width: calc(100% - 24px);
  height: calc(100% - 28px);
  max-width: none;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  transition: filter 220ms ease, transform 260ms ease;
}

.review-vintage {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(123, 15, 28, 0.18);
  color: var(--burgundy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(36, 22, 18, 0.12);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.review-vintage {
  top: 14px;
  right: 14px;
  padding: 0 10px;
}

.cwp-pick-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(123, 15, 28, 0.22);
  box-shadow: 0 14px 28px rgba(36, 22, 18, 0.16);
  pointer-events: none;
}

.cwp-pick-badge img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}

.review-cta {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  margin-top: 0;
  padding: 0 16px;
  color: #fff;
  background: var(--burgundy);
  box-shadow: 0 12px 24px rgba(34, 9, 9, 0.24);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.review-card:hover .review-image::after,
.review-card:focus-within .review-image::after {
  opacity: 1;
}

.review-cta:hover {
  background: #5e0b14;
  box-shadow: 0 14px 28px rgba(34, 9, 9, 0.3);
  transform: translateY(-1px);
}

.review-card:hover .review-bottle-image,
.review-card:focus-within .review-bottle-image {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.035);
}

.review-card:hover .review-body h3 a,
.review-card:focus-within .review-body h3 a {
  color: var(--burgundy);
}

.review-body {
  flex: 1;
  min-height: 216px;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
  transition: background 220ms ease;
}

.review-context {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.review-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.12;
}

.review-issue {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.review-card-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(213, 202, 190, 0.76);
}

.review-grid .review-image {
  height: 336px;
}

.review-carousel .review-image {
  height: 286px;
}

.content-section.home-review-rail-section {
  width: 100%;
  padding-right: clamp(14px, 1.5vw, 24px);
  padding-left: clamp(14px, 1.5vw, 24px);
}

.top-picks-head {
  width: min(1440px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 30px;
  align-items: end;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
}

.top-picks-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.top-picks-copy > span {
  display: block;
  width: 41px;
  height: 2px;
  margin-top: 17px;
  background: var(--burgundy);
}

.top-picks-copy p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.top-picks-feature {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(36, 22, 18, 0.08);
}

.top-picks-graphic {
  min-height: 118px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.top-picks-graphic img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  padding: 0;
  background: #fff;
}

.top-picks-feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.05;
}

.top-picks-feature p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-review-rail {
  width: min(1440px, 100%);
  margin: 0 auto;
  gap: 24px;
  padding: 4px 0 18px;
}

.issue-review-grid.home-review-rail .review-card {
  flex: 0 0 clamp(300px, 22vw, 350px);
}

.issue-review-grid.home-review-rail .review-image {
  height: 360px;
}

.home-review-rail .review-body {
  min-height: 178px;
  padding: 20px 18px 18px;
}

.home-review-rail .review-body h3 {
  font-size: 18px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1c5b8;
}

.carousel-dots .active {
  background: var(--burgundy);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.article-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  min-width: 0;
}

.article-image {
  position: relative;
  height: 186px;
  display: block;
  overflow: hidden;
  background: #fff;
}

.latest-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 10px 20px rgba(36, 22, 18, 0.22);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  pointer-events: none;
}

.cwp-pick-card .review-image .latest-flag {
  top: 88px;
}

@media (max-width: 720px) {
  .latest-flag {
    top: 10px;
    left: 10px;
    min-height: 20px;
    padding: 0 8px;
    font-size: 8px;
  }
}


.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.article-card:hover .article-image img {
  transform: scale(1.035);
}

.kicker {
  margin: 15px 0 7px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.article-card p:last-child {
  margin: 0;
  color: #2b2420;
  font-size: 15px;
  line-height: 1.45;
}

.issue-spreads {
  background: #fff;
}

.issue-spread {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 74px max(32px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
}

.issue-spread.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.issue-spread.reverse .issue-spread-media {
  grid-column: 2;
}

.issue-spread.reverse .issue-spread-copy {
  grid-column: 1;
  grid-row: 1;
}

.issue-spread-media {
  position: relative;
  min-height: 500px;
}

.issue-main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 22px 54px rgba(36, 24, 14, 0.18);
}

.issue-story-card {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: min(260px, 42%);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(31, 20, 12, 0.18);
}

.issue-story-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.issue-spread-copy {
  min-width: 0;
}

.issue-spread-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 500;
  line-height: 0.98;
}

.issue-spread-copy h3 {
  margin: 0 0 18px;
  color: #2a211d;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.15;
}

.issue-spread-copy p:not(.kicker) {
  max-width: 590px;
  margin: 0 0 24px;
  color: #342b26;
  font-size: 18px;
  line-height: 1.62;
}

.issue-spread-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.issue-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--sans);
}

.issue-stats span {
  border: 1px solid var(--line);
  padding: 8px 11px;
  color: var(--burgundy);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.issue-wines {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 18px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.issue-wines-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.issue-wines-head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  text-transform: uppercase;
}

.issue-wines-head p,
.issue-detail-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
}

.issue-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  box-shadow: 0 18px 40px -28px rgba(28, 22, 20, 0.45);
}

.issue-feature-media {
  display: block;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.issue-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.issue-feature-media:hover img {
  transform: scale(1.03);
}

.issue-feature-copy {
  padding: 28px 32px 32px 0;
}

.issue-feature-copy h3 {
  margin: 6px 0 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.16;
}

.issue-feature-copy p {
  color: var(--muted);
}

.issue-feature-byline {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .issue-feature-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .issue-feature-copy {
    padding: 22px 22px 26px;
  }
}


.issue-review-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 0 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #b09a84 #f3eee8;
}

.issue-review-grid .review-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

.issue-review-grid .review-image {
  height: 270px;
}

.empty-wines {
  border: 1px dashed var(--line);
  padding: 28px;
  color: var(--muted);
  font-family: var(--sans);
}

.newsletter {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 22px auto 76px;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  align-items: center;
  gap: 38px;
  overflow: hidden;
  padding: 54px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 47%, rgba(255, 255, 255, 0.34) 100%),
    var(--newsletter-bg) center 54% / cover;
  border: 1px solid var(--line);
  box-shadow: 0 20px 46px rgba(48, 31, 20, 0.1);
}

.newsletter h2 {
  margin: 0 0 8px;
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.newsletter p {
  max-width: 390px;
  margin: 0;
  color: #3d3129;
  font-size: 16px;
  line-height: 1.55;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(53, 35, 25, 0.12);
}

.newsletter-form input {
  min-height: 54px;
  border: 1px solid rgba(123, 15, 28, 0.14);
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
}

.newsletter-form button {
  min-height: 54px;
  border: 0;
  color: #fff;
  background: var(--burgundy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.newsletter-form small {
  grid-column: 1 / -1;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.archive-hero {
  position: relative;
  min-height: 354px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 8, 6, 0.74), rgba(24, 8, 6, 0.32)),
    var(--archive-bg) center / cover;
}

.archive-hero > div {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 52px;
}

.archive-hero p:first-child {
  margin: 0 0 12px;
  color: #f7d8bd;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 500;
  line-height: 0.98;
}

.archive-hero span,
.article-hero span {
  width: 46px;
  height: 3px;
  display: block;
  margin: 19px 0 14px;
  background: var(--burgundy);
}

.archive-hero p:last-child {
  max-width: 570px;
  margin: 0;
  font-size: 17px;
}

.archive-section {
  padding-top: 42px;
}

.content-section.archive-section {
  width: min(1560px, calc(100vw - 48px));
  max-width: min(1560px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
}

.content-section.archive-section .review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1400px) {
  .content-section.archive-section .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .content-section.archive-section .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .content-section.archive-section .review-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.content-section.archive-section .review-card,
.content-section.archive-section .review-image,
.content-section.archive-section .review-body {
  background: #fff;
}

.explore-hub-section {
  width: min(1180px, calc(100% - 48px));
}

.explore-card-section {
  padding-top: 18px;
}

.wine-map-section {
  width: min(1660px, calc(100% - 40px));
  margin: 48px auto 68px;
}

.wine-map-head {
  width: min(1400px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 0 auto 24px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.wine-map-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
}

.wine-map-head p:last-child {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.map-filter-row {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 32px rgba(53, 35, 25, 0.08);
}

.map-filter-row button {
  min-height: 42px;
  border: 0;
  padding: 0 18px;
  color: var(--burgundy);
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-filter-row button.active {
  color: #fff;
  background: var(--burgundy);
}

.map-utility-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 18px;
}

.map-selected-summary,
.map-utility-bar .map-region-select-wrap {
  min-width: 0;
  border: 1px solid rgba(123, 15, 28, 0.18);
  background: #fff;
  box-shadow: 0 16px 38px rgba(36, 22, 18, 0.09);
}

.map-selected-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  padding: 16px 18px;
}

.map-selected-summary span,
.wine-map-toolbar span,
.map-chip-head strong {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-selected-summary strong {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.4vw, 35px);
  font-weight: 500;
  line-height: 1;
}

.map-selected-summary em {
  grid-column: 2;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-utility-bar .map-region-select-wrap {
  align-content: center;
  padding: 12px;
}

.wine-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 22px;
  align-items: start;
}

.wine-map-card,
.map-panel,
.map-location-rail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8ccbf;
  background: #fff;
  box-shadow: 0 22px 52px rgba(36, 22, 18, 0.13);
}

.wine-map-card {
  display: grid;
  border-color: rgba(123, 15, 28, 0.2);
}

.wine-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(123, 15, 28, 0.06), transparent 48%),
    #fff;
}

.wine-map-toolbar .kicker {
  margin-bottom: 4px;
}

.wine-map-toolbar strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wine-map-canvas {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(180deg, #f7efe6, #e8dccd);
}

.map-base {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.98;
  filter: saturate(0.92) contrast(1.02);
  pointer-events: none;
}

.wine-map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(81, 62, 45, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 62, 45, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.wine-map-canvas::after {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: 3;
  border: 1px solid rgba(123, 15, 28, 0.16);
  pointer-events: none;
}

.map-land {
  position: absolute;
  z-index: 3;
  color: rgba(77, 58, 42, 0.5);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.map-land.north-america {
  top: 22%;
  left: 9%;
}

.map-land.europe {
  top: 28%;
  left: 45%;
}

.map-land.south-america {
  top: 69%;
  left: 25%;
}

.map-land.oceania {
  right: 9%;
  bottom: 14%;
}

.map-hint {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  max-width: 250px;
  padding: 9px 12px;
  color: rgba(35, 25, 21, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 22px rgba(36, 22, 18, 0.1);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  z-index: 5;
  width: var(--pin-size);
  height: var(--pin-size);
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  color: #fff;
  background: var(--burgundy);
  box-shadow: 0 12px 26px rgba(37, 15, 12, 0.28);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.map-pin span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.map-pin strong {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 210px;
  padding: 8px 10px;
  color: #231915;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 20px rgba(36, 22, 18, 0.15);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.map-pin:hover,
.map-pin:focus-visible,
.map-pin.active {
  z-index: 7;
  background: #d4a05f;
  box-shadow: 0 16px 34px rgba(37, 15, 12, 0.35);
  transform: translate(-50%, -50%) scale(1.1);
}

.map-pin:hover strong,
.map-pin:focus-visible strong,
.map-pin.active strong {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-pin.active strong {
  z-index: 8;
  border: 1px solid rgba(123, 15, 28, 0.2);
}

.map-pin:focus-visible {
  outline: 3px solid rgba(212, 160, 95, 0.5);
  outline-offset: 4px;
}

.map-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d8ccbf;
}

.map-summary span {
  min-height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  background: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-summary strong {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.map-side-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  overflow: visible;
}

.map-panel {
  display: grid;
  align-self: start;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  position: sticky;
  top: 92px;
}

.map-panel-image {
  height: 190px;
  min-height: 190px;
  overflow: hidden;
  background: #21110f;
}

.map-panel-image img,
.map-panel-image .image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-panel-copy {
  display: block;
  min-width: 0;
  padding: 22px;
}

.map-panel-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(25px, 2.6vw, 31px);
  font-weight: 500;
  line-height: 1;
}

.map-panel-copy > p:not(.kicker) {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.map-stats span {
  min-height: 48px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: var(--muted);
  background: #f8f5f0;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.map-stats strong {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.map-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.map-panel-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(123, 15, 28, 0.24);
  padding: 0 10px;
  color: var(--burgundy);
  background: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.map-panel-actions a:hover,
.map-panel-actions a:focus-visible {
  color: #fff;
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.map-results {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.map-results h4 {
  margin: 0 0 2px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-results a {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid rgba(123, 15, 28, 0.14);
  transition: color 160ms ease, transform 160ms ease;
}

.map-results a:hover,
.map-results a:focus-visible {
  color: var(--burgundy);
  transform: translateX(3px);
}

.map-results a span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-results a strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.22;
}

.map-location-rail {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  padding: 14px;
}

.map-location-rail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.map-location-rail-head .kicker {
  margin-bottom: 0;
}

.map-location-rail-head strong {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-region-select-wrap {
  display: grid;
  gap: 8px;
}

.map-region-select-wrap > span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-region-select-wrap select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(123, 15, 28, 0.28);
  border-radius: 0;
  padding: 0 38px 0 12px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--burgundy) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--burgundy) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
    #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  appearance: none;
  box-shadow: 0 12px 24px rgba(36, 22, 18, 0.08);
}

.map-region-select-wrap select:focus {
  outline: 2px solid rgba(123, 15, 28, 0.22);
  outline-offset: 2px;
}

.map-chip-panel {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.map-chip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.map-chip-head .kicker {
  margin-bottom: 0;
}

.map-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.map-region-chip {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  border: 1px solid rgba(123, 15, 28, 0.16);
  padding: 10px;
  color: var(--ink);
  background: #fbf8f4;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.map-region-chip span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
}

.map-region-chip strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-region-chip em {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-region-chip:hover,
.map-region-chip:focus-visible,
.map-region-chip.active {
  border-color: rgba(123, 15, 28, 0.45);
  background: #fff;
  box-shadow: 0 12px 28px rgba(36, 22, 18, 0.12);
  transform: translateY(-1px);
}

.map-region-chip.active span {
  background: #d4a05f;
}

.explore-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.explore-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 232px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(36, 22, 18, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.explore-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  grid-template-rows: minmax(0, 1fr);
}


.explore-card:hover,
.explore-card:focus-within {
  border-color: rgba(123, 15, 28, 0.36);
  box-shadow: 0 26px 48px rgba(36, 22, 18, 0.15);
  transform: translateY(-5px);
}

.explore-card-image {
  min-width: 0;
  overflow: hidden;
  background: #20100f;
}

.explore-card-image img,
.explore-card-image .image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.explore-card:hover .explore-card-image img,
.explore-card:focus-within .explore-card-image img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.035);
}

.explore-card-copy {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.explore-card.featured .explore-card-copy {
  align-self: stretch;
  padding: 30px 34px;
}


.explore-card-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.explore-card-copy p:not(.kicker) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.explore-card-copy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filters-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(120px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(62, 43, 27, 0.07);
}

.filters-panel label {
  display: grid;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filters-panel input,
.filters-panel select {
  width: 100%;
  height: 42px;
  border: 1px solid #d6cabc;
  border-radius: 0;
  padding: 0 11px;
  color: #211b18;
  background: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.search-field {
  position: relative;
}

.search-field .icon {
  --icon-size: 17px;
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #8e8070;
}

.search-field input {
  padding-left: 38px;
}

.archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  font-family: var(--sans);
}

.archive-meta p {
  margin: 0;
  color: var(--muted);
}

.archive-meta p span {
  margin-left: 10px;
  color: #8d7f70;
  font-size: 12px;
}

.archive-meta strong {
  color: var(--ink);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--burgundy);
  background: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ghost-button.active {
  color: #fff;
  border-color: var(--burgundy);
  background: var(--burgundy);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.review-grid.small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.infinite-loader {
  min-height: 112px;
  display: grid;
  place-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--muted);
  font-family: var(--sans);
  text-align: center;
}

.infinite-loader > span {
  width: min(320px, 60vw);
  height: 2px;
  overflow: hidden;
  background: #e2d7ca;
}

.infinite-loader > span::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--burgundy);
  transform: translateX(-100%);
  animation: reviewLoadSweep 1.4s ease-in-out infinite;
}

.infinite-loader p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.infinite-loader .ghost-button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 10px;
}

.infinite-loader.complete {
  min-height: 72px;
  color: #8d7f70;
}

.infinite-loader.complete p {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.empty-reviews {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 40px 24px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.empty-reviews h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 500;
}

.empty-reviews p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

@keyframes reviewLoadSweep {
  0% {
    transform: translateX(-110%);
  }

  55%,
  100% {
    transform: translateX(250%);
  }
}

.article-hero {
  min-height: 474px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 8, 6, 0.72), rgba(23, 8, 6, 0.28)),
    var(--article-bg) center / cover;
}

.article-hero > div {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 58px;
}

.article-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 500;
  line-height: 1;
}

.article-hero p:last-child {
  margin: 0;
  font-size: 18px;
}

.breadcrumbs {
  width: min(1080px, calc(100% - 48px));
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: #211915;
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--burgundy);
}

.breadcrumbs span {
  color: #b6a99b;
}

.breadcrumbs strong {
  min-width: 0;
  color: var(--burgundy);
  font-weight: 800;
}

.detail-hero + .breadcrumbs {
  margin-top: 18px;
}

.article-hero + .breadcrumbs {
  margin-top: 16px;
}

.detail-hero {
  width: min(1080px, calc(100% - 48px));
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: center;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
}

.detail-copy > p:not(.kicker) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.detail-bottle {
  --bottle-frame: 430px;
  height: var(--bottle-frame);
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background: #fff;
}

.detail-bottle img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(var(--bottle-frame) - 40px);
  object-fit: contain;
}

/* Safety net: photos with unusual aspect ratios (very tall bottle shots) must
   never grow past the fixed-height frame that holds them. */
.article-image img,
.issue-feature-media img,
.review-image img,
.top-picks-graphic img {
  max-height: 100%;
}

.detail-layout {
  width: min(1080px, calc(100% - 48px));
  margin: 48px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 54px;
  align-items: start;
}

.article-body {
  min-width: 0;
  color: #211b17;
  font-size: 19px;
  line-height: 1.78;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: var(--burgundy);
  font-size: 58px;
  line-height: 0.75;
}

.sidebar {
  position: sticky;
  top: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.sidebar h3 {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 500;
}

.sidebar dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 14px;
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
}

.sidebar dt {
  color: var(--burgundy);
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar dd {
  margin: 0;
  color: #2b2420;
}

.image-sidebar img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 20px;
}

.image-sidebar p {
  margin: 0;
  color: var(--muted);
}

.inline-portrait {
  float: right;
  width: min(330px, 45%);
  margin: 6px 0 24px 32px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.inline-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.inline-portrait figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}

.about-lede {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 38px;
  align-items: center;
}

.about-lede-copy h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.03;
}

.about-lede-copy p:not(.kicker) {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-lede-media {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: #17110e;
}

.about-lede-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.about-lede-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 8, 6, 0), rgba(20, 8, 6, 0.7));
}

.about-lede-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #fff;
}

.about-lede-media span,
.team-role {
  display: block;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-lede-media span {
  color: #f2cbb1;
}

.about-lede-media strong {
  display: block;
  max-width: 300px;
  margin-top: 8px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
}

.about-team {
  padding-top: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 46px rgba(36, 22, 18, 0.08);
}

.team-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
}

.team-photo {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 282px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(249, 246, 241, 0.96), rgba(255, 255, 255, 0.86)),
    #f3eee8;
  border-bottom: 1px solid var(--line);
}

.team-photo img {
  display: block;
  width: min(190px, 100%);
  height: 238px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 34px rgba(36, 22, 18, 0.16);
}

.team-card.featured .team-photo {
  position: relative;
  min-height: 100%;
  align-content: start;
  padding: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.team-card.featured .team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-shadow: none;
}

.team-body {
  min-width: 0;
  padding: 28px 30px 32px;
}

.team-card.featured .team-body {
  max-width: 780px;
  padding: 44px 48px;
}

.team-role {
  margin: 0 0 12px;
}

.team-body h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.04;
}

.team-body p:not(.team-role) {
  margin: 0 0 16px;
  color: #2b2420;
  font-size: 15px;
  line-height: 1.62;
}

.team-card.featured .team-body h3 {
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 0.98;
}

.team-card.featured .team-body p:not(.team-role) {
  font-size: 18px;
  line-height: 1.72;
}

.team-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  word-break: break-word;
}

.team-email .icon {
  width: 15px;
  height: 15px;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 10px;
}

.media-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-section {
  width: min(980px, calc(100% - 48px));
  margin: 56px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form .wide,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5cabc;
  padding: 12px;
  background: #fff;
  resize: vertical;
}

.contact-section aside h2 {
  margin: 0 0 14px;
  font-size: 35px;
  font-weight: 500;
}

.not-found {
  min-height: 480px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: 54px;
  font-weight: 500;
}

.image-fallback {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #9a7c64;
  background: #fff;
}

.image-fallback .icon {
  --icon-size: 42px;
}

.site-footer {
  color: #fff5ec;
  background:
    radial-gradient(circle at 14% 18%, rgba(214, 154, 92, 0.24), transparent 33%),
    radial-gradient(circle at 88% 16%, rgba(255, 238, 218, 0.12), transparent 31%),
    linear-gradient(135deg, #2e070d 0%, #5d0d17 36%, #8b1d29 68%, #4a0a13 100%);
}

.footer-inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.7fr 1.1fr;
  gap: 58px;
  padding: 54px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.08;
  text-transform: uppercase;
}

.footer-logo-image {
  width: 310px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 230px;
  margin: 0 0 24px;
  color: #f2dacd;
  font-size: 14px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: #fff4e8;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--sans);
  font-size: 10px;
}

.site-footer h3 {
  margin: 0 0 17px;
  color: #f4c682;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer section:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer section:not(.footer-brand) a {
  color: #fff1e5;
  font-size: 14px;
}

.recent-link {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.recent-link img,
.recent-link .image-fallback {
  width: 54px;
  height: 54px;
  min-height: 54px;
  object-fit: cover;
}

.recent-link span {
  line-height: 1.25;
}

.recent-link small {
  display: block;
  margin-top: 4px;
  color: #e9cdb9;
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
}

.footer-bottom {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: #f0d7c8;
  font-size: 13px;
}

.footer-utility-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.footer-bottom a {
  margin-left: 0;
  color: #ffe9d6;
}

.footer-admin-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 11px;
  color: #ffe9d6;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-admin-login:hover {
  border-color: rgba(255, 233, 214, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.footer-admin-login .icon {
  --icon-size: 15px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  min-width: 220px;
  padding: 14px 18px;
  color: #fff;
  background: var(--burgundy);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.content-section.admin-studio {
  width: min(1600px, calc(100% - 32px));
  padding-top: 44px;
}

.admin-studio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.admin-side {
  display: grid;
  grid-template-columns: minmax(280px, 0.24fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  position: static;
}

.admin-status-card,
.admin-workspace,
.admin-form,
.admin-records,
.admin-import {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(36, 22, 18, 0.08);
}

.admin-status-card {
  display: grid;
  align-content: center;
  padding: 24px;
}

.admin-status-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.admin-status-card p:not(.kicker) {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
}

.admin-status-card strong {
  display: inline-flex;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-section-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
}

.admin-section-groups {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(360px, 1.3fr) minmax(190px, 0.55fr);
  gap: 14px;
}

.admin-section-group {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 42px rgba(36, 22, 18, 0.08);
}

.admin-section-group h3 {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-section-list button {
  position: relative;
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  border: 1px solid var(--line);
  padding: 11px 14px;
  color: #211915;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-section-list button:hover {
  border-color: rgba(123, 15, 28, 0.42);
  box-shadow: 0 12px 26px rgba(36, 22, 18, 0.09);
  transform: translateY(-1px);
}

.admin-section-list button.active {
  border-color: var(--burgundy);
  box-shadow: inset 3px 0 0 var(--burgundy), 0 12px 26px rgba(36, 22, 18, 0.09);
  background: #fffaf6;
}

.admin-section-list span,
.admin-section-list em {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-section-list strong {
  min-width: 0;
  grid-column: 1;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}

.admin-section-list small {
  min-width: 0;
  grid-column: 1;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.admin-section-list em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--burgundy);
  background: #f7f1ea;
}

.admin-workspace {
  min-width: 0;
  padding: clamp(24px, 2.4vw, 36px);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-toolbar h2 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
}

.admin-toolbar p:not(.kicker) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-context-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
}

.admin-context-strip div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: #fffaf6;
}

.admin-context-strip span {
  color: #806f60;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-context-strip strong {
  min-width: 0;
  overflow: hidden;
  color: #211915;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 26px;
}

.admin-editor-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  align-items: start;
}

.admin-database-view {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.admin-table-wrap {
  max-height: 76vh;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 42px rgba(36, 22, 18, 0.08);
}

.admin-data-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: #211915;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.42;
}

.admin-data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px;
  color: var(--burgundy);
  background: #fbf8f5;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-data-table td {
  max-width: 360px;
  padding: 15px 16px;
  border-bottom: 1px solid #eee4d9;
  vertical-align: middle;
}

.admin-data-table tr:hover td,
.admin-data-table tr.active td {
  background: #fffaf6;
}

.admin-table-photo {
  width: 76px;
}

.admin-table-photo img,
.admin-table-photo span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: #f7f1ea;
  border: 1px solid #eaded1;
}

.admin-table-photo .icon {
  --icon-size: 22px;
  opacity: 0.62;
}

.admin-table-status {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  border: 1px solid rgba(128, 111, 96, 0.24);
  padding: 5px 7px;
  color: #806f60;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-data-table tr.edited .admin-table-status {
  color: var(--burgundy);
  border-color: rgba(123, 15, 28, 0.35);
  background: #fff4f3;
}

.admin-table-title strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.12;
}

.admin-table-title small {
  display: block;
  max-width: 360px;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-actions {
  min-width: 170px;
  white-space: nowrap;
}

.admin-table-actions button,
.admin-table-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 2px 4px 2px 0;
  border: 1px solid var(--line);
  padding: 0 9px;
  color: var(--burgundy);
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table-actions .danger {
  color: #9b1b24;
  border-color: #e2c7c7;
  background: #fff6f6;
}

.admin-form,
.admin-records {
  min-width: 0;
}

.admin-form {
  padding: clamp(24px, 2.1vw, 34px);
}

.admin-form-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-live-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(123, 15, 28, 0.18);
  padding: 0 13px;
  color: var(--burgundy);
  background: #fffaf6;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-live-pill .icon {
  --icon-size: 15px;
}

.admin-form-head h3,
.admin-records-head h3,
.admin-import h3,
.admin-empty h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.06;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.admin-field-group {
  --group-accent: var(--burgundy);
  --group-bg: #fff;
  display: grid;
  gap: 18px;
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 5px solid var(--group-accent);
  padding: clamp(18px, 1.8vw, 24px);
  background: var(--group-bg);
  box-shadow: 0 14px 30px rgba(36, 22, 18, 0.06);
}

.admin-field-group.tone-burgundy {
  --group-accent: #7b0f1c;
  --group-bg: #fff8f7;
}

.admin-field-group.tone-gold {
  --group-accent: #a36a23;
  --group-bg: #fffaf1;
}

.admin-field-group.tone-sage {
  --group-accent: #55705b;
  --group-bg: #f7fbf7;
}

.admin-field-group.tone-slate {
  --group-accent: #566778;
  --group-bg: #f8fafb;
}

.admin-field-group-head {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(128, 111, 96, 0.18);
}

.admin-field-group-head span {
  color: var(--group-accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-field-group-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
}

.admin-field-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 20px;
  min-width: 0;
}

.admin-form-grid label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #211915;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-form-grid label.wide {
  grid-column: 1 / -1;
}

.admin-photo-field {
  display: grid;
  grid-column: span 2;
  gap: 10px;
  min-width: 0;
}

.admin-field-group-grid > .admin-photo-field:only-child,
.admin-field-group-grid > .admin-gallery-field:only-child {
  grid-column: 1 / -1;
}

.admin-photo-field label {
  min-width: 0;
}

.admin-photo-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: 10px;
  align-items: end;
}

.admin-link-field {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr);
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.admin-link-field label {
  min-width: 0;
}

.admin-photo-preview {
  min-height: 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d6cabc;
  background: #fbf8f5;
}

.admin-photo-preview img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.admin-photo-preview span {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.admin-photo-preview .icon {
  --icon-size: 24px;
  opacity: 0.65;
}

.admin-photo-upload {
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(123, 15, 28, 0.36);
  color: var(--burgundy);
  background: #fffaf6;
  cursor: pointer;
}

.admin-photo-upload.inline {
  min-height: 44px;
}

.admin-photo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-photo-upload span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-photo-upload.compact {
  min-height: 48px;
}

.admin-gallery-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-gallery-actions {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-gallery-actions p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  text-transform: none;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-import textarea {
  width: 100%;
  border: 1px solid #d6cabc;
  padding: 13px 14px;
  color: #211b18;
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.admin-form-grid input,
.admin-form-grid select {
  min-height: 44px;
}

.admin-form-grid textarea,
.admin-import textarea {
  min-height: 132px;
  resize: vertical;
}

.admin-preview-output {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(36, 22, 18, 0.12);
}

.admin-live-preview {
  position: sticky;
  top: 96px;
  margin-top: 0;
  align-self: start;
}

.admin-live-preview .admin-preview-frame {
  height: min(760px, calc(100vh - 245px));
  min-height: 420px;
}

.admin-preview-output[hidden] {
  display: none;
}

.admin-preview-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fffaf6;
}

.admin-preview-head h3 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
}

.admin-preview-head p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
}

.admin-preview-frame {
  max-height: 760px;
  overflow: auto;
  background: #fff;
}

.admin-preview-frame a,
.admin-preview-frame button {
  pointer-events: none;
}

.admin-live-empty {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 42px 24px;
  color: var(--muted);
  background: #fbf8f5;
  text-align: center;
}

.admin-live-empty .icon {
  --icon-size: 34px;
  color: var(--burgundy);
  opacity: 0.72;
}

.admin-live-empty strong {
  color: #211915;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.admin-live-empty span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-preview-frame .masthead,
.admin-preview-frame .site-footer,
.admin-preview-frame .newsletter,
.admin-preview-frame .feature-tiles,
.admin-preview-frame .site-toast {
  display: none;
}

.admin-preview-frame .hero,
.admin-preview-frame .hero-inner {
  height: 460px;
}

.admin-preview-frame .hero-copy h1 {
  max-width: 640px;
  font-size: clamp(42px, 6vw, 72px);
}

.admin-preview-frame .detail-hero {
  width: min(100% - 36px, 1080px);
  margin-top: 28px;
  margin-bottom: 0;
}

.admin-preview-frame .article-hero {
  min-height: 360px;
}

.admin-preview-frame .article-body,
.admin-preview-frame .issue-featured-wines,
.admin-preview-frame .media-strip,
.admin-preview-frame .related-reviews {
  width: min(100% - 36px, 1080px);
}

.admin-check {
  align-content: center;
  grid-template-columns: 18px 1fr;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #d6cabc;
}

.admin-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--burgundy);
}

.admin-records {
  padding: clamp(22px, 2vw, 32px);
}

.admin-records-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-records-head span {
  min-width: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  background: #f7f1ea;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
}

.admin-database-tools {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-review-search {
  position: relative;
  display: block;
}

.admin-review-search .icon {
  --icon-size: 16px;
  position: absolute;
  top: 14px;
  left: 12px;
  opacity: 0.74;
}

.admin-review-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d6cabc;
  padding: 0 12px 0 38px;
  color: #211b18;
  background: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

.admin-review-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.admin-review-filter-grid label {
  display: grid;
  gap: 6px;
  color: #211915;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-review-filter-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d6cabc;
  padding: 0 10px;
  color: #211b18;
  background: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.admin-review-filter-grid .ghost-button {
  min-height: 42px;
  white-space: nowrap;
}

.admin-database-tools p,
.admin-import-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
}

.admin-database-tools strong {
  color: var(--ink);
}

.admin-record-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding: 18px 0 0;
}

.admin-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.admin-record > button:first-child {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
  border: 1px solid var(--line);
  padding: 16px;
  color: #211915;
  background: #fff;
  text-align: left;
}

.admin-record.active > button:first-child,
.admin-record > button:first-child:hover {
  border-color: rgba(123, 15, 28, 0.5);
  background: #fffaf6;
}

.admin-record span {
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-record.imported span {
  color: #806f60;
}

.admin-record.edited span {
  color: var(--burgundy);
}

.admin-record strong {
  min-width: 0;
  overflow: visible;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  text-overflow: clip;
  white-space: normal;
}

.admin-record small {
  min-width: 0;
  overflow: visible;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
}

.admin-delete {
  border: 1px solid #e2c7c7;
  min-width: 86px;
  padding: 0 12px;
  color: #9b1b24;
  background: #fff6f6;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-empty {
  padding: 22px;
  border: 1px dashed #d6cabc;
  color: var(--muted);
}

.admin-empty p {
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: 13px;
}

.admin-import {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
  box-shadow: none;
}

.admin-import h3 {
  font-size: 22px;
}

.ghost-button.danger {
  color: #9b1b24;
  border-color: #e2c7c7;
}

@media (max-width: 1100px) {
  .feature-picker {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .brand {
    max-width: 32vw;
  }

  .brand-logo {
    width: clamp(260px, 28vw, 360px);
  }

  .desktop-nav {
    gap: 10px;
    font-size: 9.8px;
  }

  .header-actions {
    gap: 10px;
  }

  .review-carousel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .issue-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters-panel .search-field {
    grid-column: 1 / -1;
  }

  .wine-map-section {
    width: min(100% - 32px, 1080px);
  }

  .map-utility-bar {
    grid-template-columns: 1fr;
  }

  .wine-map-layout {
    grid-template-columns: 1fr;
  }

  .map-side-panel {
    grid-template-columns: 1fr;
    align-items: start;
    overflow: visible;
  }

  .map-panel {
    grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
    grid-template-rows: auto;
    position: static;
  }

  .map-panel-image {
    min-height: 100%;
  }

  .map-panel-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.72fr);
    column-gap: 24px;
  }

  .map-panel-copy .kicker,
  .map-panel-copy h3,
  .map-panel-copy > p:not(.kicker),
  .map-panel-copy .map-stats {
    grid-column: 1;
  }

  .map-panel-copy .map-results {
    grid-column: 2;
  }

  .map-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-studio {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    grid-template-columns: 1fr;
  }

  .admin-section-groups {
    grid-template-columns: 1fr;
  }

  .admin-section-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-review-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .masthead {
    min-height: 78px;
  }

  .masthead.condensed {
    min-height: 58px;
  }

  .masthead.condensed .nav-strip {
    min-height: 58px;
  }

  .masthead.condensed .brand-logo {
    width: min(240px, calc(100vw - 108px));
    height: 44px;
  }

  .nav-strip {
    width: calc(100% - 22px);
    min-height: 78px;
    gap: 16px;
  }


  .desktop-nav,
  .login-button span,
  .header-divider {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    border-radius: 999px;
    background: rgba(33, 5, 7, 0.07);
    transition: background 160ms ease, transform 160ms ease;
  }

  .menu-button .icon {
    --icon-size: 25px;
  }

  .menu-button:active {
    transform: scale(0.93);
    background: rgba(33, 5, 7, 0.14);
  }

  .menu-button.is-open {
    background: rgba(33, 5, 7, 0.92);
    color: #fff4ea;
  }

  .menu-button.is-open .icon {
    filter: invert(1) brightness(2);
  }

  .header-actions {
    margin-left: auto;
  }

  .brand {
    max-width: min(68vw, 320px);
    margin-top: 0;
  }

  .brand-logo {
    width: min(300px, calc(100vw - 108px));
    height: 64px;
  }

  .nav-strip {
    position: relative;
    z-index: 5;
  }

  .nav-strip {
    background: #fff;
  }

  .mobile-scrim {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    background: rgba(20, 6, 6, 0.5);
    backdrop-filter: blur(3px);
    transition: opacity 240ms ease;
  }

  .mobile-scrim.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 2;
    width: min(320px, 86vw);
    display: block;
    padding: 6px 0 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    pointer-events: none;
    transform: translateX(105%);
    background: rgba(33, 5, 7, 0.985);
    box-shadow: -18px 0 46px rgba(20, 6, 6, 0.38);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-panel.open {
    pointer-events: auto;
    transform: translateX(0);
  }

  .masthead.condensed .mobile-panel,
  .masthead.condensed .mobile-scrim {
    top: 58px;
  }

  .mobile-panel .nav-label-stack {
    align-items: flex-start;
  }

  .mobile-panel .nav-sub {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 3px;
  }

  .mobile-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 15px 22px;
    color: #fff4ea;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 260ms ease, transform 260ms ease, background 160ms ease;
  }

  .mobile-panel a::after {
    content: "›";
    font-size: 20px;
    line-height: 1;
    opacity: 0.45;
  }

  .mobile-panel.open a {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-panel.open a:nth-child(1) { transition-delay: 60ms; }
  .mobile-panel.open a:nth-child(2) { transition-delay: 100ms; }
  .mobile-panel.open a:nth-child(3) { transition-delay: 140ms; }
  .mobile-panel.open a:nth-child(4) { transition-delay: 180ms; }
  .mobile-panel.open a:nth-child(5) { transition-delay: 215ms; }
  .mobile-panel.open a:nth-child(6) { transition-delay: 250ms; }
  .mobile-panel.open a:nth-child(7) { transition-delay: 280ms; }
  .mobile-panel.open a:nth-child(8) { transition-delay: 310ms; }
  .mobile-panel.open a:nth-child(9) { transition-delay: 340ms; }

  .mobile-panel a.nav-cta {
    margin: 14px 16px 0;
    border-radius: 999px;
    border-bottom: 0;
    justify-content: center;
    gap: 8px;
    background: #a3162a;
    color: #fff;
  }

  .mobile-panel a.nav-cta::after {
    content: none;
  }


  .mobile-panel a:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .mobile-panel a.active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 3px 0 0 var(--accent, #a3162a);
  }

  .hero-copy {
    top: 72px;
    left: 0;
    width: min(480px, 86vw);
  }

  .feature-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-tile {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .feature-rotator-shell {
    grid-template-columns: 1fr;
  }

  .feature-rotator-intro h2,
  .feature-rotator-intro p:last-child {
    max-width: 640px;
  }

  .feature-rotator-display {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .feature-rotator-display > .feature-stage,
  .feature-rotator-display > .feature-picker {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .feature-stage {
    min-height: 430px;
  }

  .feature-picker {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-tab {
    min-height: 104px;
  }

  .explore-hub-section {
    width: min(100% - 32px, 1080px);
  }

  .explore-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wine-map-head {
    align-items: start;
    flex-direction: column;
  }

  .wine-map-layout {
    grid-template-columns: 1fr;
  }

  .map-panel {
    grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .map-panel-image {
    min-height: 100%;
  }

  .map-panel-copy {
    display: block;
  }

  .explore-card.featured {
    grid-column: 1 / -1;
  }

  .top-picks-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .top-picks-feature {
    max-width: 560px;
  }

  .content-section {
    width: min(100% - 32px, 1080px);
    padding: 42px 0;
  }

  .feature-rotator {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .review-carousel,
  .review-grid,
  .review-grid.small,
  .issue-review-grid,
  .article-grid,
  .article-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-spread,
  .issue-spread.reverse {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 24px;
  }

  .issue-spread.reverse .issue-spread-media,
  .issue-spread.reverse .issue-spread-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .issue-spread-media {
    min-height: 390px;
  }

  .issue-main-image {
    height: 390px;
  }

  .issue-story-card {
    right: 16px;
    bottom: -28px;
  }

  .issue-wines-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .newsletter {
    width: min(100% - 32px, 1080px);
    grid-template-columns: 1fr;
    padding: 42px 24px;
    margin-bottom: 58px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
      var(--newsletter-bg) center / cover;
  }

  .filters-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero,
  .detail-layout,
  .about-lede,
  .contact-section {
    width: min(100% - 32px, 1080px);
    grid-template-columns: 1fr;
  }

  .admin-side,
  .admin-grid,
  .admin-section-groups {
    grid-template-columns: 1fr;
  }

  .admin-live-preview {
    position: static;
  }

  .admin-live-preview .admin-preview-frame {
    height: auto;
    min-height: 0;
  }

  .admin-section-list,
  .admin-field-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-context-strip {
    grid-template-columns: 1fr;
  }

  .admin-review-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar,
  .admin-form-head {
    flex-direction: column;
  }

  .admin-toolbar-actions,
  .admin-form-actions {
    justify-content: flex-start;
  }

  .admin-preview-head {
    flex-direction: column;
  }

  .admin-record-list {
    max-height: none;
  }

  .about-lede {
    gap: 28px;
  }

  .about-lede-media {
    min-height: 300px;
  }

  .about-lede-media img {
    min-height: 300px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card,
  .team-card.featured {
    display: grid;
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .team-card.featured {
    grid-column: auto;
  }

  .team-card .team-photo,
  .team-card.featured .team-photo {
    min-height: 100%;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .team-card .team-photo img,
  .team-card.featured .team-photo img {
    position: static;
    inset: auto;
    width: min(220px, 100%);
    height: 274px;
  }

  .team-card.featured .team-body {
    padding: 34px;
  }

  .detail-hero {
    padding: 28px;
  }

  .detail-bottle {
    --bottle-frame: 360px;
  }

  .sidebar {
    position: static;
  }

  .footer-inner {
    width: min(100% - 32px, 1080px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .footer-bottom {
    width: min(100% - 32px, 1080px);
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-utility-links {
    justify-content: flex-start;
    gap: 16px;
  }

  .footer-bottom a {
    margin: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .masthead {
    min-height: 72px;
  }

  .nav-strip {
    width: calc(100% - 18px);
    min-height: 72px;
  }

  .header-actions {
    gap: 12px;
  }

  .brand-logo {
    width: min(238px, calc(100vw - 118px));
    height: 58px;
  }

  .mobile-panel,
  .mobile-scrim {
    top: 72px;
  }

  .brand-logo {
    width: min(238px, calc(100vw - 120px));
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    height: 430px;
  }

  .hero {
    height: 430px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .feature-band,
  .review-carousel,
  .review-grid,
  .review-grid.small,
  .issue-review-grid,
  .article-grid,
  .article-grid.three,
  .filters-panel,
  .media-strip,
  .contact-form,
  .admin-field-group-grid,
  .admin-review-filter-grid,
  .admin-section-list {
    grid-template-columns: 1fr;
  }

  .admin-workspace,
  .admin-form,
  .admin-records {
    padding: 16px;
  }

  .admin-table-wrap {
    max-height: 620px;
  }

  .admin-data-table {
    min-width: 920px;
  }

  .admin-photo-input-row {
    grid-template-columns: 1fr;
  }

  .admin-field-group {
    padding: 16px;
  }

  .admin-photo-field {
    grid-column: auto;
  }

  .admin-link-field {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .admin-gallery-actions {
    grid-template-columns: 1fr;
  }

  .admin-status-card h2,
  .admin-toolbar h2 {
    font-size: 32px;
  }

  .admin-record-list {
    grid-template-columns: 1fr;
  }

  .admin-preview-frame {
    max-height: 640px;
  }

  .admin-preview-frame .hero,
  .admin-preview-frame .hero-inner {
    height: 410px;
  }

  .admin-preview-frame .detail-hero,
  .admin-preview-frame .article-body,
  .admin-preview-frame .issue-featured-wines,
  .admin-preview-frame .media-strip,
  .admin-preview-frame .related-reviews {
    width: min(100% - 24px, 1080px);
  }

  .admin-form-grid label.wide {
    grid-column: auto;
  }

  .feature-tile {
    min-height: 150px;
    border-right: 0;
  }

  .feature-rotator {
    padding-top: 34px;
    padding-right: 14px;
    padding-bottom: 26px;
    padding-left: 14px;
  }

  .feature-rotator-shell {
    gap: 24px;
    padding-bottom: 28px;
  }

  .feature-rotator-tools {
    grid-template-columns: auto 1fr auto auto;
    width: 100%;
  }

  .feature-stage {
    min-height: 420px;
  }

  .feature-slide-copy {
    padding: 22px;
  }

  .feature-slide-copy h3 {
    font-size: 38px;
  }

  .feature-picker {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .feature-tab {
    min-height: 88px;
  }

  .wine-map-section {
    margin: 32px auto 38px;
  }

  .wine-map-head h2 {
    font-size: 36px;
  }

  .map-utility-bar {
    grid-template-columns: 1fr;
  }

  .map-selected-summary {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .map-selected-summary em {
    grid-column: auto;
  }

  .wine-map-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .map-filter-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-filter-row button {
    padding: 0 8px;
  }

  .map-land {
    font-size: 8px;
  }

  .map-pin {
    min-width: 24px;
    min-height: 24px;
  }

  .map-pin strong {
    display: none;
  }

  .map-side-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
  }

  .wine-map-card {
    overflow: hidden;
  }

  .wine-map-canvas,
  .map-summary {
    width: 100%;
    max-width: 100%;
  }

  .wine-map-canvas {
    min-height: 280px;
  }

  .map-hint {
    right: 12px;
    left: 12px;
    max-width: none;
    text-align: center;
  }

  .map-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-panel {
    grid-template-columns: 1fr;
    position: static;
  }

  .map-panel-image {
    min-height: 176px;
  }

  .map-panel-copy {
    padding: 22px;
  }

  .map-panel-actions {
    grid-template-columns: 1fr;
  }

  .map-panel .map-results {
    display: grid;
  }

  .map-chip-grid {
    grid-template-columns: 1fr;
  }

  .explore-hub-grid,
  .explore-card.featured {
    grid-template-columns: 1fr;
  }

  .explore-card,
  .explore-card.featured {
    grid-template-rows: auto;
  }

  .explore-card-image {
    height: 220px;
  }

  .explore-card.featured .explore-card-image {
    height: 245px;
  }

  .explore-card-copy,
  .explore-card.featured .explore-card-copy {
    padding: 22px;
  }

  .top-picks-copy h2 {
    font-size: 37px;
  }

  .top-picks-copy p:last-child {
    font-size: 16px;
  }

  .top-picks-feature {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }

  .top-picks-graphic {
    min-height: 96px;
  }

  .top-picks-graphic img {
    height: 96px;
  }

  .top-picks-feature strong {
    font-size: 20px;
  }

  .review-image {
    height: 360px;
  }

  .review-grid .review-image,
  .review-carousel .review-image {
    height: 360px;
  }

  .issue-spread {
    padding: 38px 16px;
  }

  .issue-spread-media {
    min-height: 330px;
  }

  .issue-main-image {
    height: 330px;
  }

  .issue-story-card {
    width: min(190px, 48%);
    right: 10px;
  }

  .issue-spread-copy h2 {
    font-size: 39px;
  }

  .issue-review-grid {
    gap: 16px;
  }

  .issue-review-grid .review-card {
    flex-basis: min(318px, 84vw);
  }

  .issue-review-grid .review-image {
    height: 360px;
  }

  .article-image {
    height: 215px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .newsletter-form button {
    margin-top: 8px;
  }

  .archive-hero,
  .article-hero {
    min-height: 370px;
  }

  .archive-hero > div,
  .article-hero > div {
    width: min(100% - 32px, 1080px);
    padding-bottom: 36px;
  }

  .archive-hero h1,
  .article-hero h1 {
    font-size: 40px;
  }

  .detail-hero {
    margin-top: 32px;
  }

  .detail-copy h1 {
    font-size: 34px;
  }

  .about-lede-copy h2 {
    font-size: 34px;
  }

  .about-lede-copy p:not(.kicker) {
    font-size: 16px;
    line-height: 1.65;
  }

  .about-lede-media,
  .about-lede-media img {
    min-height: 245px;
  }

  .about-lede-media figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .about-lede-media strong {
    font-size: 22px;
  }

  .team-card,
  .team-card.featured {
    grid-template-columns: 1fr;
  }

  .team-card .team-photo,
  .team-card.featured .team-photo {
    min-height: 260px;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .team-card .team-photo img,
  .team-photo img,
  .team-card.featured .team-photo img {
    position: static;
    inset: auto;
    width: min(210px, 100%);
    height: 246px;
  }

  .team-body,
  .team-card.featured .team-body {
    padding: 24px;
  }

  .team-body h3 {
    font-size: 32px;
  }

  .team-card.featured .team-body p:not(.team-role),
  .team-body p:not(.team-role) {
    font-size: 16px;
    line-height: 1.65;
  }

  .article-body {
    font-size: 17px;
    line-height: 1.7;
  }

  .inline-portrait {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .toast {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }
}

/* ============================================
   Content Studio v2 — list-first workflow
   ============================================ */

.admin-steps {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: studio-step;
  display: grid;
  gap: 10px;
}

.admin-steps li {
  position: relative;
  counter-increment: studio-step;
  padding-left: 34px;
  color: #3d332c;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

.admin-steps li::before {
  content: counter(studio-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
}

.admin-steps li strong {
  font-weight: 700;
}

.admin-steps li em {
  font-style: normal;
  font-weight: 800;
  color: var(--burgundy);
}

.admin-status-line {
  display: inline-flex;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-step-label {
  margin: 0 0 10px;
}

.admin-section-groups .admin-step-label {
  grid-column: 1 / -1;
  margin: 0;
}

/* List view */
.admin-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-list-head h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1;
}

.admin-list-head p:not(.kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

.admin-add-button {
  flex-shrink: 0;
  min-height: 48px;
  padding: 0 22px;
  font-size: 12px;
  cursor: pointer;
}

.admin-list-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-list-footer button {
  border: 0;
  padding: 4px 0;
  color: var(--muted);
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.admin-list-footer button:hover {
  color: var(--burgundy);
}

/* Clickable table rows */
.admin-data-table tbody tr[data-action] {
  cursor: pointer;
}

.admin-data-table tbody tr[data-action]:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: -2px;
}

/* Status chips */
.admin-table-status.status-published,
.admin-table-status.status-active {
  color: #2c5a34;
  border-color: rgba(44, 90, 52, 0.3);
  background: #f2f8f0;
}

.admin-table-status.status-draft {
  color: #8a6510;
  border-color: rgba(138, 101, 16, 0.32);
  background: #fdf7e8;
}

.admin-table-status.status-edited {
  color: var(--burgundy);
  border-color: rgba(123, 15, 28, 0.35);
  background: #fff4f3;
}

.admin-table-status.status-new {
  color: #2c5a34;
  border-color: rgba(44, 90, 52, 0.35);
  background: #f2f8f0;
}

/* Editor view */
.admin-editor-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--burgundy);
  background: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.admin-back-button:hover {
  border-color: rgba(123, 15, 28, 0.42);
  background: #fffaf6;
}

.admin-back-button .icon {
  --icon-size: 14px;
  transform: rotate(180deg);
}

.admin-editor-crumb {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-form-hint {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

/* Sticky save bar */
.admin-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px calc(clamp(24px, 2.1vw, 34px) * -1) calc(clamp(24px, 2.1vw, 34px) * -1);
  border-top: 1px solid var(--line);
  padding: 14px clamp(24px, 2.1vw, 34px);
  background: #fff;
  box-shadow: 0 -12px 24px rgba(36, 22, 18, 0.06);
}

.admin-save-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-save-actions .button,
.admin-save-actions .ghost-button {
  cursor: pointer;
}

.admin-save-danger {
  border: 0;
  padding: 6px 0;
  color: #9b1b24;
  background: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.admin-save-danger:hover {
  color: #6e0f18;
}

/* Empty state CTA */
.admin-empty .button {
  justify-self: start;
  margin-top: 16px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .admin-list-head {
    flex-direction: column;
  }

  .admin-add-button {
    width: 100%;
  }

  .admin-save-bar {
    position: static;
    margin: 22px 0 0;
    padding: 14px 0 0;
    box-shadow: none;
  }

  .admin-save-actions {
    width: 100%;
  }

  .admin-save-actions .button {
    flex: 1;
  }
}

/* ============================================
   Content Studio v3 — compact shell, sidebar,
   paginated list, flattened chrome
   ============================================ */

.admin-studio-v2 {
  width: min(1500px, calc(100% - 32px));
  padding-top: 30px;
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid #241612;
}

.admin-topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  line-height: 1;
}

.admin-topbar .admin-status-line {
  padding-bottom: 4px;
}

.admin-body {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

/* Sidebar */
.admin-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  padding: 18px 16px;
  background: #fff;
}

.admin-sidebar nav {
  display: grid;
  gap: 18px;
}

.admin-nav-group {
  display: grid;
  gap: 8px;
}

.admin-nav-group h3 {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-nav-list {
  display: grid;
  gap: 4px;
}

.admin-nav-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  padding: 9px 10px;
  color: #211915;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.admin-nav-list button:hover {
  background: #f7f1ea;
}

.admin-nav-list button.active {
  border-color: rgba(123, 15, 28, 0.28);
  background: #fff4f3;
  box-shadow: inset 3px 0 0 var(--burgundy);
}

.admin-nav-list strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nav-list button.active strong {
  color: var(--burgundy);
}

.admin-nav-list em {
  flex-shrink: 0;
  min-width: 26px;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: #f2eadf;
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.admin-nav-list button.active em {
  color: #fff;
  background: var(--burgundy);
}

.admin-sidebar-hint {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.admin-sidebar-hint p:not(.kicker) {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
}

/* Workspace — flatter chrome */
.admin-studio-v2 .admin-workspace {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  padding: clamp(20px, 2vw, 30px);
}

.admin-studio-v2 .admin-list-head {
  align-items: center;
  padding-bottom: 16px;
}

.admin-studio-v2 .admin-list-head h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}

.admin-studio-v2 .admin-database-tools {
  padding: 16px 0 14px;
}

.admin-studio-v2 .admin-table-wrap {
  max-height: none;
  overflow: visible;
  overflow-x: auto;
  border: 1px solid var(--line);
  box-shadow: none;
}

.admin-studio-v2 .admin-data-table {
  min-width: 0;
}

.admin-studio-v2 .admin-data-table th {
  position: static;
}

.admin-studio-v2 .admin-data-table td {
  max-width: none;
  padding: 12px 14px;
}

.admin-studio-v2 .admin-table-photo img,
.admin-studio-v2 .admin-table-photo span {
  width: 46px;
  height: 46px;
}

.admin-studio-v2 .admin-table-title strong {
  font-size: 16px;
}

.admin-table-title small {
  white-space: normal;
}

.admin-table-detail {
  max-width: 340px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
}

.admin-table-detail span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.admin-table-date {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  white-space: nowrap;
}

.admin-studio-v2 .admin-table-actions {
  min-width: 0;
  white-space: nowrap;
}

.admin-show-more {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.admin-show-more .ghost-button {
  cursor: pointer;
}

.admin-show-more span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

/* Editor inside the workspace panel */
.admin-studio-v2 .admin-grid {
  padding-top: 0;
}

.admin-studio-v2 .admin-form {
  border: 1px solid var(--line);
  box-shadow: none;
}

.admin-studio-v2 .admin-editor-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
}

/* Responsive */
@media (max-width: 1180px) {
  .admin-studio-v2 .admin-editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-sidebar nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .admin-sidebar-hint {
    display: none;
  }

  .admin-table-detail {
    max-width: 220px;
  }
}

/* ============================================
   Content Studio v4 — scaled live preview
   ============================================ */

.admin-preview-sizer {
  overflow: hidden;
}

.admin-preview-page {
  width: 1180px;
  transform-origin: top left;
  background: #fff;
}

/* The preview shows the real page scaled down, so undo the old
   narrow-panel band-aids that distorted it. */
.admin-preview-frame .hero,
.admin-preview-frame .hero-inner {
  height: 560px;
}

.admin-preview-frame .hero-copy h1 {
  max-width: 640px;
  font-size: 72px;
}

.admin-preview-frame .detail-hero h1,
.admin-preview-frame .article-hero h1 {
  font-size: 64px;
}

@media (max-width: 1180px) {
  .admin-live-preview {
    position: static;
  }

  .admin-live-preview .admin-preview-frame {
    height: auto;
    max-height: 560px;
  }
}

/* ============================================
   Content Studio v5 — Quick Add wines grid
   ============================================ */

.admin-list-head-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-quickadd-button {
  cursor: pointer;
}

.admin-quick-add {
  display: grid;
  gap: 18px;
}

.qa-intro h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
}

.qa-intro p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}

.qa-intro strong {
  color: #3d332c;
  font-weight: 700;
}

.qa-issue-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  border: 1px solid rgba(123, 15, 28, 0.22);
  background: #fff4f3;
  padding: 14px 16px;
}

.qa-issue-row label {
  display: grid;
  gap: 6px;
}

.qa-issue-row label span {
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qa-issue-row select {
  min-width: min(340px, 100%);
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #fff;
  font-family: var(--sans);
  font-size: 13px;
}

.qa-issue-row > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}

.qa-grid-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.qa-grid {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  counter-reset: qa-row;
}

.qa-grid th {
  border-bottom: 2px solid #241612;
  border-right: 1px solid #eee4d9;
  padding: 10px 10px;
  color: var(--burgundy);
  background: #fbf8f5;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}

.qa-grid td {
  border-bottom: 1px solid #eee4d9;
  border-right: 1px solid #eee4d9;
  padding: 0;
}

.qa-grid th:last-child,
.qa-grid td:last-child {
  border-right: 0;
}

.qa-row-num {
  width: 34px;
  color: var(--muted);
  background: #fbf8f5;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.qa-row-num::before {
  counter-increment: qa-row;
  content: counter(qa-row);
}

.qa-grid input[type="text"] {
  width: 100%;
  min-height: 38px;
  display: block;
  border: 0;
  padding: 8px 10px;
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
}

.qa-grid input[type="text"]:focus {
  outline: 2px solid var(--burgundy);
  outline-offset: -2px;
  background: #fffaf6;
}

.qa-col-top {
  width: 64px;
  text-align: center;
}

td.qa-col-top {
  padding: 0 10px;
}

.qa-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--burgundy);
}

.qa-col-vintage,
.qa-col-order {
  width: 84px;
}

.qa-col-varietal,
.qa-col-region {
  width: 150px;
}

.qa-col-review {
  min-width: 220px;
}

.qa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qa-grid-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qa-grid-tools .ghost-button,
.qa-actions .button {
  cursor: pointer;
}

@media (max-width: 860px) {
  .admin-list-head-actions {
    width: 100%;
  }

  .admin-quickadd-button {
    flex: 1;
  }

  .qa-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qa-actions .admin-save-actions {
    width: 100%;
  }

  .qa-actions .admin-save-actions .button {
    flex: 1;
  }
}

/* ============================================
   Content Studio v6 — drafts & publishing
   ============================================ */

.admin-topbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-bottom: 4px;
}

.admin-publish-all-button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 11px;
  cursor: pointer;
}

.admin-editor-status {
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  padding: 5px 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-editor-status.is-live {
  color: #2c5a34;
  border-color: rgba(44, 90, 52, 0.35);
  background: #f2f8f0;
}

.admin-editor-status.is-draft {
  color: #8a6510;
  border-color: rgba(138, 101, 16, 0.4);
  background: #fdf7e8;
}

.admin-nav-drafts {
  flex-shrink: 0;
  min-width: 22px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: #8a6510;
  background: #fdf7e8;
  border: 1px solid rgba(138, 101, 16, 0.32);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.admin-nav-list button {
  gap: 6px;
}

.admin-nav-list button .admin-nav-drafts + em {
  margin-left: 0;
}

.admin-save-draft-button {
  cursor: pointer;
}

.admin-table-actions .admin-publish-action {
  color: #2c5a34;
  border-color: rgba(44, 90, 52, 0.4);
  background: #f2f8f0;
}

.admin-table-actions .admin-publish-action:hover {
  background: #e7f2e4;
}

/* ============================================
   Content Studio v7 — live position visibility
   ============================================ */

.admin-live-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--burgundy);
  background: #fbf8f5;
  padding: 14px 16px;
}

.admin-live-strip.is-empty {
  display: grid;
  gap: 6px;
}

.admin-live-strip-head {
  min-width: 170px;
  display: grid;
  gap: 4px;
}

.admin-live-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
}

.admin-live-top {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-live-top li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 300px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 11px;
}

.admin-live-top li.first {
  border-color: rgba(123, 15, 28, 0.4);
  box-shadow: inset 0 -2px 0 var(--burgundy);
}

.admin-live-top li i {
  flex-shrink: 0;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.admin-live-top li div {
  min-width: 0;
  display: grid;
}

.admin-live-top li strong {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-live-top li small {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-live-top li.first small {
  color: var(--burgundy);
}

.admin-live-total {
  flex-shrink: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table-status-cell {
  white-space: nowrap;
}

.admin-live-pos {
  display: block;
  margin-top: 5px;
  color: #2c5a34;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.admin-live-pos.top {
  color: var(--burgundy);
}

.admin-live-pos.muted {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .admin-live-top li {
    max-width: none;
    flex: 1 1 100%;
  }
}

/* ============================================
   Content Studio v8 — Quick Add existing wines
   ============================================ */

.qa-existing {
  border: 1px solid var(--line);
  background: #fbf8f5;
  padding: 14px 16px;
}

.qa-existing-hint {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
}

.qa-existing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 10px;
}

.qa-existing-head strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.qa-existing-head span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
}

.qa-existing-list {
  max-height: 200px;
  overflow-y: auto;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qa-existing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eee4d9;
  background: #fff;
  padding: 6px 10px;
}

.qa-existing-list li i {
  flex-shrink: 0;
  min-width: 26px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.qa-existing-list li div {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}

.qa-existing-list li strong {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
}

.qa-existing-list li small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
}

.qa-existing-list li em {
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid rgba(138, 101, 16, 0.4);
  padding: 2px 7px;
  color: #8a6510;
  background: #fdf7e8;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ============================================
   Content Studio v9 — Quick Add photo upload
   ============================================ */

.qa-media {
  display: grid;
  gap: 12px;
}

.qa-dropzone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  border: 2px dashed #d6cabc;
  background: #fff;
  padding: 16px 18px;
  transition: border-color 150ms ease, background 150ms ease;
}

.qa-dropzone.dragging {
  border-color: var(--burgundy);
  background: #fff4f3;
}

.qa-dropzone .icon {
  --icon-size: 30px;
  color: var(--burgundy);
  opacity: 0.75;
}

.qa-dropzone p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
}

.qa-dropzone p strong {
  font-weight: 800;
}

.qa-browse {
  border: 0;
  padding: 0;
  color: var(--burgundy);
  background: none;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.qa-dropzone small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
}

.qa-media-tray-wrap {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fbf8f5;
  padding: 12px 14px;
}

.qa-media-tray-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.qa-media-tray-head strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.qa-media-tray-head span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
}

.qa-media-tray-head .qa-auto-assign {
  min-height: 34px;
  margin-left: auto;
  padding: 0 12px;
  font-size: 10px;
  cursor: pointer;
}

.qa-media-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qa-media-thumb {
  position: relative;
  width: 86px;
  display: grid;
  gap: 4px;
  border: 2px solid var(--line);
  background: #fff;
  padding: 5px;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease;
}

.qa-media-thumb:hover {
  transform: translateY(-1px);
}

.qa-media-thumb.selected {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 15, 28, 0.18);
}

.qa-media-thumb.assigned {
  opacity: 0.62;
}

.qa-media-thumb img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  background: #f7f1ea;
}

.qa-thumb-name {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qa-media-thumb i {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 6px;
  color: #fff;
  background: var(--burgundy);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.qa-media-thumb em {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  cursor: pointer;
}

.qa-media-thumb em:hover {
  color: #9b1b24;
  border-color: #e2c7c7;
}

/* Photo cells in the grid */
.qa-col-photo {
  width: 56px;
}

td.qa-col-photo {
  padding: 5px;
  text-align: center;
}

.qa-photo-cell {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #d6cabc;
  padding: 0;
  color: var(--muted);
  background: #fbf8f5;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.qa-photo-cell:hover,
.qa-photo-cell.dragging {
  border-color: var(--burgundy);
  background: #fff4f3;
  color: var(--burgundy);
}

.qa-photo-cell.filled {
  border-style: solid;
}

.qa-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* While a tray photo is selected, invite clicks on photo cells */
.qa-grid.qa-assigning .qa-photo-cell {
  border-color: var(--burgundy);
  background: #fff4f3;
  animation: qa-assign-pulse 1.2s ease-in-out infinite;
}

@keyframes qa-assign-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123, 15, 28, 0.25); }
  50% { box-shadow: 0 0 0 5px rgba(123, 15, 28, 0.08); }
}

/* Home review section framing */
.content-section.home-review-rail-section,
.content-section.home-issue-wines {
  position: relative;
  padding-top: 46px;
  padding-bottom: 52px;
}

.content-section.home-review-rail-section::before,
.content-section.home-issue-wines::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background: #ffffff;
  pointer-events: none;
}

.content-section.home-issue-wines .section-head {
  margin-bottom: 22px;
}

/* Wider review cards in home issue-wines grid */
.content-section.home-issue-wines {
  width: min(1560px, calc(100vw - 48px));
  max-width: min(1560px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
}

.content-section.home-issue-wines .review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1400px) {
  .content-section.home-issue-wines .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .content-section.home-issue-wines .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .content-section.home-issue-wines .review-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.content-section.home-review-rail-section .review-card,
.content-section.home-issue-wines .review-card {
  border-color: #ece2d7;
}

.content-section.home-review-rail-section .review-card,
.content-section.home-issue-wines .review-card,
.content-section.home-review-rail-section .review-image,
.content-section.home-issue-wines .review-image,
.content-section.home-review-rail-section .review-body,
.content-section.home-issue-wines .review-body {
  background: #fff;
}

@media (max-width: 900px) {
  .review-card {
    border-radius: 10px;
    box-shadow:
      0 1px 1px rgba(61, 43, 30, 0.05),
      0 10px 22px -12px rgba(61, 43, 30, 0.24);
  }

  .review-card:hover,
  .review-card:focus-within {
    box-shadow:
      0 1px 1px rgba(61, 43, 30, 0.06),
      0 16px 30px -14px rgba(76, 26, 24, 0.3);
  }

  .content-section.home-review-rail-section,
  .content-section.home-issue-wines {
    padding-top: 34px;
    padding-bottom: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .review-card:hover,
  .review-card:focus-within {
    transform: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }
}

/* Admin login gate */
.admin-login-section {
  display: flex;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 120px;
}
.admin-login-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid rgba(20, 12, 10, 0.1);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(20, 12, 10, 0.12);
}
.admin-login-card h1 { margin: 6px 0 10px; }
.admin-login-copy { color: rgba(20, 12, 10, 0.65); margin-bottom: 22px; }
.admin-login-form { display: grid; gap: 14px; }
.admin-login-form label { display: grid; gap: 6px; }
.admin-login-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(20, 12, 10, 0.2);
  border-radius: 8px;
  font: inherit;
}
.admin-login-error { color: #a3121f; font-size: 0.92rem; margin: 0; }
.admin-signout-button { margin-left: 8px; }

@media (prefers-reduced-motion: reduce) {
  .mobile-panel,
  .mobile-panel a,
  .mobile-scrim,
  .menu-button {
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

/* Sitemap page */
.sitemap-page {
  display: grid;
  gap: 2.5rem;
}
.sitemap-block h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.sitemap-count {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
.sitemap-group {
  margin-bottom: 1.5rem;
}
.sitemap-group h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  opacity: 0.75;
}
.sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 2rem;
}
.sitemap-links li {
  break-inside: avoid;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.35;
}
.sitemap-links a {
  text-decoration: none;
  color: inherit;
}
.sitemap-links a:hover {
  text-decoration: underline;
}
.sitemap-xml-note {
  font-size: 0.9rem;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .sitemap-links { columns: 2; }
}
@media (max-width: 600px) {
  .sitemap-links { columns: 1; }
}
