:root {
  --bg: #d9ccb7;
  --bg-deep: #ccb898;
  --paper: #f5ecdd;
  --paper-soft: #ede1cd;
  --forest: #203728;
  --forest-soft: #2b4735;
  --forest-deep: #15261b;
  --wine: #6d2331;
  --wine-deep: #4d1520;
  --gold: #b79359;
  --gold-soft: #d3bc8e;
  --line: #a48963;
  --ink: #2f241d;
  --muted: #6e5b4b;
  --shadow: 0 18px 44px rgba(35, 24, 14, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--ink);
  background-color: var(--bg);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(180deg, #e9ddcb 0%, var(--bg) 48%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

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

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

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

main {
  width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header .container,
.footer .container {
  width: calc(100% - 32px);
  max-width: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(211, 188, 142, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #223928 0%, #17281c 100%);
  box-shadow: 0 10px 26px rgba(22, 15, 9, 0.16);
}

.site-header .inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.logo-wrap,
.logo-home {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 96px;
  height: 96px;
  padding: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(183, 147, 89, 0.75);
  background: linear-gradient(180deg, #294232 0%, #1c2f22 100%);
  box-shadow: inset 0 0 0 1px rgba(243, 228, 201, 0.08);
}

.site-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.site-logo-image-header,
.site-logo-image-footer {
  object-position: center;
  transform: none;
  scale: 0.84;
}

.site-logo-image-header {
  transform: translate(-20%, -18%);
}

.logo-text strong {
  display: block;
  color: #f4ead7;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.logo-text span {
  display: block;
  margin-top: 5px;
  color: #cfbc99;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(211, 188, 142, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #f2e7d2;
}

.nav-overlay {
  display: none;
}

.nav-overlay[hidden] {
  display: none !important;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a {
  padding: 10px 16px;
  border: 1px solid rgba(211, 188, 142, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f4ead7;
  font-size: 0.97rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(183, 147, 89, 0.14);
  border-color: rgba(183, 147, 89, 0.34);
  transform: translateY(-1px);
}

.main-nav a.is-active {
  background: linear-gradient(180deg, #8b3040 0%, var(--wine) 100%);
  border-color: rgba(211, 188, 142, 0.72);
  color: #fff;
}

.hero {
  padding: var(--home-hero-top-spacing, 10px) 0 var(--home-hero-bottom-spacing, 16px);
}

.hero-slider {
  position: relative;
  min-height: 536px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  height: 460px;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: grid;
}

.hero-copy,
.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(109, 90, 64, 0.92);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy::before,
.hero-visual::before,
.page-banner-card::before,
.card::before,
.newsletter-box::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(183, 147, 89, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 15, 0.06), rgba(14, 18, 15, 0.38)),
    linear-gradient(90deg, rgba(18, 29, 21, 0.12), transparent 42%);
  pointer-events: none;
}

.hero-copy {
  padding: 42px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  gap: 16px;
  height: 460px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(145deg, #223928 0%, #192a1e 55%, #4e1b28 100%);
  color: #f4ead7;
}

.eyebrow,
.page-banner-eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(211, 188, 142, 0.28);
  letter-spacing: 0.08em;
}

.eyebrow,
.page-banner-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  color: #d8c5a0;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.page-banner-eyebrow {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  border-color: rgba(243, 221, 175, 0.55);
  background: rgba(16, 24, 18, 0.72);
  color: #fff3d8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 4.7rem);
  line-height: 0.98;
  color: #f7edde;
}

.hero p {
  max-width: 34rem;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: #ece1cf;
  overflow: auto;
  padding-right: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 0 6px;
}

.hero-visual {
  height: 460px;
  background: linear-gradient(180deg, #e8dcc7 0%, #d7c29e 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.95);
}

.hero-plaque {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  width: min(280px, calc(100% - 48px));
  padding: 22px 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(117, 92, 58, 0.9);
  background: rgba(245, 236, 221, 0.92);
  box-shadow: 0 14px 26px rgba(31, 21, 12, 0.14);
  max-height: calc(100% - 48px);
  overflow: auto;
}

.hero-plaque span,
.hero-plaque strong {
  display: block;
}

.hero-plaque span {
  color: var(--wine);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-plaque strong {
  margin-top: 8px;
  color: var(--forest);
  font-size: 1.5rem;
}

.hero-plaque p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.btn-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-site:hover,
.btn-site:focus-visible {
  transform: translateY(-1px);
}

.btn-primary-site {
  background: linear-gradient(180deg, #cfb076 0%, var(--gold) 100%);
  color: #2f241d;
  border-color: #8f6d41;
  box-shadow: 0 10px 18px rgba(97, 72, 38, 0.18);
}

.btn-secondary-site {
  background: rgba(255, 255, 255, 0.06);
  color: #f5ebd8;
  border-color: rgba(211, 188, 142, 0.3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wine);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.text-link::after {
  content: "->";
  font-size: 0.92em;
}

.text-link:hover,
.text-link:focus-visible {
  transform: translateX(2px);
}

.hero-nav {
  padding: 10px 16px;
  border: 1px solid rgba(32, 55, 40, 0.16);
  border-radius: 999px;
  background: #f5ecda;
  color: var(--forest);
  cursor: pointer;
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccb694;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--wine);
  box-shadow: 0 0 0 3px rgba(109, 35, 49, 0.16);
}

.notice-bar {
  position: relative;
  margin: 4px 0 0;
  padding: 20px 56px 20px 20px;
  border: 1px solid rgba(78, 98, 67, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(139, 48, 64, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(178, 138, 75, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(251, 248, 241, 0.98), rgba(241, 233, 219, 0.96));
  box-shadow: 0 18px 34px rgba(44, 31, 18, 0.07);
  overflow: hidden;
}

.notice-bar--error {
  border-color: rgba(180, 40, 40, 0.3);
  background:
    linear-gradient(135deg, rgba(253, 240, 240, 0.98), rgba(245, 216, 216, 0.96));
}

.notice-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.notice-bar-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.notice-bar-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 106, 45, 0.18);
  background: rgba(40, 65, 47, 0.08);
  color: #3f563f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice-bar strong {
  color: var(--forest);
  font-size: 1.32rem;
  line-height: 1.2;
}

.notice-bar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  max-width: 68ch;
}

.notice-bar-actions {
  flex-shrink: 0;
  align-self: center;
}

.notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(109, 35, 49, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--wine);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(44, 31, 18, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.notice-close:hover,
.notice-close:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(109, 35, 49, 0.28);
  transform: translateY(-1px);
}

.notice-close span[aria-hidden="true"] {
  font-size: 1.1rem;
  line-height: 1;
}

.notice-block-card {
  position: relative;
}

.notice-block-close {
  top: 16px;
  right: 16px;
}

.notice-block-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 16px;
}

.notice-block-card .card-body {
  display: grid;
  gap: 14px;
  padding-right: 46px;
}

.notice-block-card h3 {
  margin: 0;
  color: var(--forest);
  font-size: 1.45rem;
}

.notice-block-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-popup-open {
  overflow: hidden;
}

.site-popup-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.site-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 27, 21, 0.56);
  backdrop-filter: blur(4px);
}

.site-popup-card {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: min(10vh, 84px) auto 0;
  padding: 26px;
  border: 1px solid rgba(109, 90, 64, 0.92);
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf8 0%, #f4ead8 100%);
  box-shadow: 0 32px 70px rgba(20, 16, 11, 0.26);
}

.site-popup-card h3 {
  margin: 12px 0 10px;
  color: var(--forest);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
}

.site-popup-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.site-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(109, 35, 49, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--wine);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.marketplace-respond-card {
  width: min(640px, calc(100% - 32px));
}

.marketplace-respond-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.marketplace-respond-field {
  display: grid;
  gap: 6px;
}

.marketplace-respond-field label {
  color: var(--forest);
  font-weight: 700;
  font-size: .9rem;
}

.marketplace-respond-field input,
.marketplace-respond-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  background: #fffaf2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.marketplace-respond-field input:focus,
.marketplace-respond-field textarea:focus {
  outline: 3px solid rgba(183,147,89,.18);
  border-color: var(--gold);
}

.marketplace-respond-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.marketplace-respond-note {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #e2d6bf;
  border-radius: 12px;
  background: #fff7e8;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.5;
}

.marketplace-respond-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Ad detail page */
.ad-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.ad-detail-card .card-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.ad-detail-description {
  margin: 0;
  line-height: 1.75;
  color: var(--ink);
  white-space: pre-line;
}

.ad-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ad-gallery-thumb {
  display: block;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-deep);
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(35, 24, 14, 0.1);
}

.ad-gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35, 24, 14, 0.16);
}

.ad-gallery-thumb img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.ad-gallery-thumb--single img {
  height: 320px;
}

.ad-detail-single-photo {
  grid-column: 1 / -1;
}

/* Lightbox */
.ad-lightbox-shell {
  z-index: 90;
}

.ad-lightbox-card {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 32px));
  margin: min(5vh, 40px) auto 0;
}

.ad-lightbox-img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(20, 16, 11, 0.5);
}

.ad-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
}

@media (max-width: 860px) {
  .ad-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ad-gallery-grid {
    grid-template-columns: 1fr;
  }

  .ad-gallery-thumb img {
    height: 240px;
  }
}

.marketplace-image-strip {
  display: flex;
  gap: 6px;
  padding: 6px 8px 8px;
  overflow-x: auto;
}

.marketplace-image-thumb {
  flex: 0 0 72px;
  height: 54px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deep);
}

.marketplace-edit-images {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.marketplace-edit-images-label {
  color: var(--forest);
  font-weight: 700;
  font-size: .9rem;
}

.marketplace-edit-images-label small {
  font-weight: 400;
  color: var(--muted);
}

.marketplace-edit-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-edit-thumb-label {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .15s;
}

.marketplace-edit-thumb-label img {
  display: block;
  width: 100px;
  height: 80px;
  object-fit: cover;
}

.marketplace-edit-thumb-label input[type=checkbox] {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  accent-color: var(--wine);
  cursor: pointer;
}

.marketplace-edit-thumb-label span {
  display: block;
  padding: 4px 6px;
  background: rgba(32, 55, 40, .82);
  color: #f4ead7;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .04em;
}

.marketplace-edit-thumb-label:has(input:checked) {
  border-color: var(--wine);
}

.marketplace-file-field small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .8rem;
}

.section {
  padding: 28px 0 36px;
}

.home-sections-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: var(--home-section-gap, 16px);
  column-gap: var(--home-section-gap, 16px);
  align-items: stretch;
}

.home-section-item {
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.home-section-item > .section,
.home-section-item > .hero {
  width: 100%;
  height: 100%;
}

.home-section-item > .section {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.home-section-item > .section > .card,
.home-section-item > .section > .notice-bar,
.home-section-item > .section > .notice-block-grid,
.home-section-item > .section > .newsletter-box {
  width: 100%;
}

.home-section-item > .section > .card,
.home-section-item > .section > .newsletter-box {
  height: 100%;
}

.home-span-full {
  grid-column: span 12;
}

.home-span-half {
  grid-column: span 6;
}

.home-span-two-thirds {
  grid-column: span 8;
}

.home-span-third {
  grid-column: span 4;
}

.home-span-half .archive-grid-3,
.home-span-two-thirds .archive-grid-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-span-third .archive-grid-3,
.home-span-third .notice-block-grid {
  grid-template-columns: 1fr;
}

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

.home-span-third .section h2,
.home-span-third .section h3 {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
}

.home-span-third .newsletter-box,
.home-span-third .card-body {
  padding: 20px;
}

.section-tight {
  padding-top: 18px;
}

.section-notice {
  padding-top: 4px;
  padding-bottom: 0;
}

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

.section h1,
.section h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: 0.02em;
}

.compact-head {
  margin-bottom: 16px;
}

.home-section-card .card-body {
  display: grid;
  gap: 18px;
}

.muted {
  color: var(--muted);
}

.page-banner {
  padding: 24px 0 8px;
}

.page-banner-card {
  position: relative;
  overflow: hidden;
  height: 260px;
  padding: 34px 38px;
  border: 1px solid rgba(109, 90, 64, 0.92);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 28%),
    linear-gradient(145deg, #203728 0%, #16251b 100%);
  color: #f3e7d2;
  box-shadow: var(--shadow);
  display: grid;
  align-items: center;
}

.page-banner-card.has-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  max-width: 54rem;
  height: 100%;
}

.page-banner-card.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(145deg, rgba(34, 57, 40, 0.9) 0%, rgba(25, 42, 30, 0.84) 55%, rgba(78, 27, 40, 0.78) 100%);
}

.page-banner-card h1 {
  margin: 0;
  color: #f6eddf;
  font-size: clamp(2.4rem, 4.8vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  padding-bottom: 0.12em;
  max-width: 100%;
  text-shadow: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.page-banner-card p {
  max-width: 44rem;
  margin: 0;
  color: #f0e2c7;
  font-size: 1.06rem;
  line-height: 1.7;
  text-shadow: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.page-banner-soos-detail .page-banner-card {
  align-items: start;
  padding-top: 46px;
}

.page-banner-soos-detail .page-banner-content {
  justify-content: flex-start;
}

.not-found-layout {
  align-items: stretch;
}

.not-found-card .card-body {
  height: 100%;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.not-found-actions .btn-secondary-site {
  background: #fff;
  color: var(--wine);
  border-color: var(--wine);
  box-shadow: 0 6px 14px rgba(77, 21, 32, 0.12);
}

.not-found-actions .btn-secondary-site:hover,
.not-found-actions .btn-secondary-site:focus-visible {
  background: var(--wine);
  color: var(--paper);
  border-color: var(--wine-deep);
}

.home-top-grid,
.home-bottom-grid,
.split-feature,
.detail-layout,
.contact-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.home-top-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.home-top-grid.is-single {
  grid-template-columns: 1fr;
}

.home-bottom-grid,
.split-feature {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.home-bottom-grid.is-single {
  grid-template-columns: 1fr;
}

.detail-layout {
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

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

.stack-panel,
.tablet-stack,
.side-stack {
  display: grid;
  gap: 22px;
  align-content: start;
}

.archive-grid {
  display: grid;
  gap: 18px;
}

.archive-grid-3 {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    var(--paper);
  box-shadow: 0 12px 30px rgba(44, 31, 18, 0.1);
}

.card-body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.card-media {
  aspect-ratio: 16 / 10;
  background: #d8cab1 center / cover no-repeat;
}

.detail-media {
  min-height: 100%;
  aspect-ratio: 4 / 5;
}

.page-reading-card,
.page-aside-card,
.soos-featured-card,
.soos-list-card {
  height: 100%;
}

.page-reading-hero {
  min-height: 300px;
  margin: -4px -4px 22px;
  border-radius: 18px;
  background: #d8cab1 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(109, 90, 64, 0.16);
}

.page-reading-flow {
  gap: 18px;
}

.page-reading-flow h1:first-child,
.page-reading-flow h2:first-child,
.page-reading-flow h3:first-child {
  margin-top: 0;
}

.page-reading-flow img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(44, 31, 18, 0.12);
}

.tag {
  margin-bottom: 12px;
  background: #e6d6b9;
  color: var(--forest-deep);
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
}

.card h1,
.card h2,
.card h3 {
  margin: 0;
  color: var(--wine);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.card h1 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.card h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

.card h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.archive-card,
.feature-card,
.detail-card,
.detail-info-card,
.contact-side-card {
  height: 100%;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.archive-card .card-body,
.detail-card .card-body,
.detail-info-card .card-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.archive-card .card-body {
  min-height: 220px;
}

.feature-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
  min-height: 0;
}

.feature-card .card-body .btn-site {
  margin-top: auto;
}

.archive-card .card-body .btn-site {
  justify-self: start;
}

.key-card,
.intro-card,
.link-card,
.list-card,
.feature-card,
.contact-side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
    var(--paper);
}

.key-card .card-body {
  padding: 28px;
  display: grid;
  gap: 16px;
  height: 100%;
}

.key-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(32, 55, 40, 0.05), rgba(109, 35, 49, 0.03));
  border: 1px solid rgba(32, 55, 40, 0.12);
  height: 100%;
  align-content: start;
}

.key-panel strong {
  color: var(--wine);
  font-size: 1.32rem;
}

.next-soos-card {
  background:
    radial-gradient(circle at top right, rgba(178, 138, 75, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    var(--paper);
  height: auto;
}

.next-soos-card .card-body {
  height: auto;
  gap: 12px;
  padding: 24px 26px 18px;
  align-content: start;
}

.next-soos-card .tag {
  min-height: 34px;
  margin-bottom: 4px;
  padding: 0 14px;
}

.next-soos-panel {
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, rgba(32, 55, 40, 0.08), rgba(109, 35, 49, 0.05));
  box-shadow: inset 0 0 0 1px rgba(109, 90, 64, 0.08);
}

.next-soos-visual {
  min-height: 190px;
  border-radius: 16px;
  background: #d8cab1 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(109, 90, 64, 0.14);
}

.next-soos-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.next-soos-copy strong {
  color: var(--forest);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.next-soos-copy p {
  margin: 0;
  line-height: 1.72;
  color: #4e473b;
}

.next-soos-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.next-soos-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(32, 55, 40, 0.12);
  background: rgba(255, 249, 239, 0.92);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.quick-links a {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--forest);
  color: #f4ead7;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  background: var(--forest-soft);
  transform: translateY(-1px);
}

.list-stack {
  display: grid;
  gap: 14px;
}

.list-row {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(32, 55, 40, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(32, 55, 40, 0.05), rgba(109, 35, 49, 0.03));
}

.list-row h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--wine);
}

.list-row p {
  margin: 0;
}

.list-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.list-row-location {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.list-card .card-body {
  display: grid;
  gap: 16px;
}

.recent-soos-card {
  background:
    radial-gradient(circle at top right, rgba(178, 138, 75, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    var(--paper);
}

.recent-soos-row {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.recent-soos-media {
  min-height: 100%;
  border-radius: 16px;
  background: #d8cab1 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(109, 90, 64, 0.14);
}

.recent-soos-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.recent-soos-meta {
  gap: 8px;
}

.recent-soos-location {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(32, 55, 40, 0.1);
  background: rgba(255, 249, 239, 0.9);
  color: var(--forest);
  font-size: 0.9rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-media {
  min-height: 280px;
  aspect-ratio: auto;
  flex: 0 0 auto;
}

.feature-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.intro-card .card-body,
.link-card .card-body,
.list-card .card-body,
.contact-side-card .card-body,
.newsletter-box {
  height: 100%;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 22px;
}

.soos-featured-meta {
  margin-bottom: 24px;
}

.detail-meta div {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(32, 55, 40, 0.1);
  background: linear-gradient(180deg, rgba(32, 55, 40, 0.05), rgba(32, 55, 40, 0));
}

.detail-meta strong,
.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--wine);
}

.content-flow {
  display: grid;
  gap: 14px;
}

.content-flow h2,
.content-flow h3,
.content-flow h4 {
  margin: 10px 0 0;
  color: var(--wine);
}

.content-flow p,
.content-flow ul,
.content-flow ol {
  margin: 0;
  line-height: 1.7;
}

.detail-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #4d473d;
}

.detail-note-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(109, 90, 64, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(230, 214, 185, 0.34), rgba(255, 255, 255, 0.52));
}

.soos-featured-card {
  overflow: hidden;
}

.soos-featured-body {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.soos-featured-body .soos-image-frame-featured {
  min-height: 300px;
  margin: -4px -4px 22px -4px;
  border-radius: 18px;
  background: #d8cab1 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(109, 90, 64, 0.16);
  overflow: hidden;
}

.soos-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.soos-list-card {
  overflow: hidden;
}

.soos-list-card .soos-image-frame-list {
  min-height: 260px;
  margin: -4px -4px 0 -4px;
  border-radius: 18px 18px 0 0;
  background: #d8cab1 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(109, 90, 64, 0.16);
  overflow: hidden;
}

.soos-list-card .card-body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.soos-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.soos-image-frame {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.soos-image-frame img {
  width: 100%;
  height: auto;
  max-height: 440px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.soos-image-frame-featured img,
.soos-image-frame-list img {
  max-height: 300px;
}

.soos-list-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(32, 55, 40, 0.08);
  border: 1px solid rgba(32, 55, 40, 0.12);
  color: var(--forest);
  font-size: 0.9rem;
}

.soos-detail-stack {
  display: grid;
  gap: 22px;
}

.soos-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 380px;
}

.soos-detail-hero--no-image {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
  min-height: 0;
}

.soos-detail-visual-fullwidth {
  display: none;
}

.soos-detail-visual {
  overflow: hidden;
  padding: 0;
}

.soos-detail-media {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.soos-detail-info {
  height: 100%;
}

.soos-detail-info .card-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.soos-detail-content .card-body {
  display: grid;
  gap: 14px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-list div {
  display: grid;
  gap: 4px;
}

.contact-form-grid {
  display: grid;
  gap: 12px;
}

.contact-layout .notice-bar + .contact-form-grid {
  margin-top: 18px;
}

.contact-form-grid input,
.contact-form-grid textarea,
.newsletter-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(32, 55, 40, 0.16);
  border-radius: 16px;
  background: #fff8ee;
}

.contact-message {
  min-height: 170px;
}

.newsletter-box {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(109, 90, 64, 0.92);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(145deg, #203728 0%, #18291d 100%);
  color: #f5ebda;
  box-shadow: var(--shadow);
}

.newsletter-box h1,
.newsletter-box h2,
.newsletter-box h3 {
  color: #f6eddd;
}

.newsletter-box p {
  color: #efe3ce;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
}

.newsletter-form button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #8f6d41;
  border-radius: 14px;
  background: linear-gradient(180deg, #cfb076 0%, var(--gold) 100%);
  color: #2f241d;
  cursor: pointer;
}

.gallery-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px;
}

.gallery-card {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(109, 90, 64, 0.52);
  border-radius: 22px;
  box-shadow: var(--shadow);
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(245, 236, 221, 0.96));
  padding: 0;
  text-align: left;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(183, 147, 89, 0.28);
  border-radius: 16px;
  pointer-events: none;
  z-index: 3;
}

.gallery-card::after {
  content: none;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(35, 24, 14, 0.26);
}

.gallery-card-cover {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: clamp(190px, 24vw, 260px);
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-cover {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 14, 0.06) 0%,
    rgba(10, 18, 14, 0.52) 52%,
    rgba(10, 18, 14, 0.9) 100%
  );
  z-index: 1;
}

.gallery-card-count {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(245, 236, 221, 0.92);
  border: 1px solid rgba(183, 147, 89, 0.42);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.gallery-card-body {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  min-height: 170px;
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(164, 137, 99, 0.24);
  border-radius: 0;
  background:
    radial-gradient(circle at top right, rgba(183, 147, 89, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.95), rgba(245, 236, 221, 0.98));
}

.gallery-card-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 11px;
  margin-bottom: 0;
  border-radius: 999px;
  border: 1px solid rgba(183, 147, 89, 0.38);
  background: rgba(211, 188, 142, 0.2);
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-card-title {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-intro {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-cta {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 8px 17px;
  border-radius: 999px;
  border: 1px solid rgba(109, 90, 64, 0.32);
  background: rgba(255, 250, 240, 0.7);
  color: var(--wine);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gallery-card:hover .gallery-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.gallery-copy-card {
  margin-bottom: 18px;
}

.gallery-grid {
  columns: 3 220px;
  column-gap: 14px;
}

.gallery-tile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(109, 90, 64, 0.52);
  border-radius: 24px;
  background: #efe3ce;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  text-decoration: none;
}

.gallery-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.38s ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.04);
}

.gallery-tile-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 32, 24, 0.15), rgba(20, 32, 24, 0.82));
  color: #f6edde;
  text-align: left;
}

.gallery-tile-caption strong,
.gallery-tile-caption small {
  display: block;
}

.gallery-tile-caption small {
  color: rgba(246, 237, 222, 0.88);
  font-size: 0.9rem;
}

/* PhotoSwipe caption override */
.pswp-caption-content {
  padding: 14px 20px 18px;
  color: #f3ead8;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.pswp-caption-content strong {
  display: block;
  font-size: 1.1rem;
  color: #f7edde;
  margin-bottom: 4px;
}

.pswp__top-bar {
  background: linear-gradient(180deg, rgba(10, 18, 13, 0.72), transparent) !important;
}

.footer {
  margin-top: auto;
  padding: 34px 0 38px;
  border-top: 1px solid rgba(211, 188, 142, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #1b2f21 0%, #132118 100%);
  color: #ece2cf;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  gap: 28px;
  align-items: start;
  justify-content: center;
  text-align: center;
}

.footer-grid-single {
  grid-template-columns: minmax(220px, 320px);
}

.footer h3,
.footer h4 {
  margin-bottom: 10px;
  color: #dbc69f;
}

.footer p {
  margin: 0 0 8px;
  color: #d8ceb9;
}

.footer-logo-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(211, 188, 142, 0.18);
  background: linear-gradient(180deg, #274030 0%, #1a2d20 100%);
}

@media (max-width: 1000px) {
  body.site-nav-open {
    overflow: hidden;
  }

  .site-header .inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 104px 18px 22px;
    border: 0;
    border-bottom: 1px solid rgba(211, 188, 142, 0.24);
    border-radius: 0 0 26px 26px;
    background: linear-gradient(180deg, rgba(27, 43, 31, 0.98) 0%, rgba(18, 30, 22, 0.98) 100%);
    box-shadow: 0 30px 80px rgba(5, 8, 5, 0.42);
    overflow-y: auto;
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    text-align: left;
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(211, 188, 142, 0.16);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(10, 15, 10, 0.42);
    backdrop-filter: blur(4px);
    z-index: 60;
  }

  .hero-shell,
  .home-sections-grid,
  .home-top-grid,
  .home-bottom-grid,
  .split-feature,
  .detail-layout,
  .contact-layout,
  .archive-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-span-full,
  .home-span-half,
  .home-span-two-thirds,
  .home-span-third {
    grid-column: span 1;
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
    height: auto;
  }

  .hero-copy {
    padding: 34px;
    grid-template-rows: auto auto auto auto;
  }

  .hero-visual {
    min-height: 420px;
    height: auto;
  }

  .notice-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .notice-bar-actions {
    width: 100%;
  }

  .gallery-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .gallery-grid {
    columns: 2 160px;
  }
}

.btn-ghost-site {
  background: rgba(32, 55, 40, 0.08);
  color: var(--forest);
  border-color: rgba(32, 55, 40, 0.18);
}

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

.agenda-shell,
.agenda-detail-card {
  padding: 0;
  overflow: hidden;
}

.agenda-head,
.agenda-detail-head,
.agenda-event-list,
.agenda-empty-state {
  padding: 26px;
}

.agenda-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(164, 137, 99, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #f5ecdd 0%, #efe3cf 100%);
}

.agenda-head h2,
.agenda-detail-head h3,
.agenda-event-card h4 {
  margin: 12px 0 10px;
  color: var(--wine);
}

.agenda-head p,
.agenda-detail-head p,
.agenda-event-card p,
.agenda-next-card span,
.agenda-day-empty,
.agenda-day-more {
  color: var(--muted);
}

.agenda-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.agenda-calendar {
  padding: 22px;
}

.agenda-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.agenda-weekdays span {
  padding: 0 6px;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.agenda-day {
  min-height: 132px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(164, 137, 99, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.agenda-day:hover,
.agenda-day:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(109, 35, 49, 0.35);
  box-shadow: 0 10px 24px rgba(42, 30, 18, 0.12);
}

.agenda-day.is-outside-month {
  opacity: 0.56;
}

.agenda-day.is-today {
  border-color: rgba(183, 147, 89, 0.84);
}

.agenda-day.is-selected {
  background: linear-gradient(180deg, rgba(109, 35, 49, 0.12), rgba(255, 255, 255, 0.82));
  border-color: rgba(109, 35, 49, 0.42);
}

.agenda-day.has-event {
  background: linear-gradient(180deg, rgba(32, 55, 40, 0.08), rgba(255, 255, 255, 0.82));
}

.agenda-day-number {
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.agenda-day-label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.agenda-day-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(109, 35, 49, 0.12);
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.agenda-day-title {
  color: var(--forest);
  font-size: 0.96rem;
  line-height: 1.35;
}

.agenda-detail-card {
  position: sticky;
  top: 112px;
  background: linear-gradient(180deg, #f5ecdd 0%, #efe2cc 100%);
}

.agenda-detail-head {
  border-bottom: 1px solid rgba(164, 137, 99, 0.22);
}

.agenda-event-list {
  display: grid;
  gap: 16px;
}

.agenda-event-card,
.agenda-next-card {
  padding: 18px;
  border: 1px solid rgba(164, 137, 99, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.agenda-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(32, 55, 40, 0.18);
}

.agenda-event-location {
  margin-top: -2px;
  font-weight: 700;
  color: var(--wine);
}

.agenda-event-actions {
  margin-top: 16px;
}

.agenda-empty-state {
  display: grid;
  gap: 18px;
}

.agenda-next-card {
  display: grid;
  gap: 8px;
}

.members-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.members-hub-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
  padding: 10px;
  border: 1px solid rgba(164, 137, 99, 0.62);
  border-radius: 20px;
  background: rgba(245, 236, 221, 0.78);
  box-shadow: 0 10px 24px rgba(44, 31, 18, 0.08);
}

.members-inline-notice {
  padding: 14px 20px;
  border: 1px solid rgba(164, 137, 99, 0.62);
  border-radius: 20px;
  background: rgba(245, 236, 221, 0.78);
  box-shadow: 0 10px 24px rgba(44, 31, 18, 0.08);
  margin-bottom: 24px;
  color: var(--forest);
}

.members-hub-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(32, 55, 40, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--forest);
  font-weight: 700;
}

.members-hub-nav a.is-active {
  background: linear-gradient(180deg, #2b4735 0%, #203728 100%);
  border-color: rgba(183, 147, 89, 0.68);
  color: #f4ead7;
}

.members-panel .eyebrow {
  background: #ead9bb;
  border-color: rgba(109, 90, 64, 0.3);
  color: var(--forest-deep);
  font-weight: 800;
}

.members-intro-card .card-body {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 320px;
}

.members-intro-card p,
.marketplace-card p,
.members-rules-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.members-link-row,
.members-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-light-site {
  background: #f7efe1;
  color: var(--forest);
  border-color: rgba(32, 55, 40, 0.22);
}

.members-side-panel {
  display: grid;
  gap: 14px;
  align-content: stretch;
}

.members-mini-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(164, 137, 99, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    #efe4d0;
  box-shadow: 0 10px 24px rgba(44, 31, 18, 0.08);
}

.members-mini-card strong {
  color: var(--forest);
  font-size: 1.08rem;
}

.members-mini-card span {
  color: var(--muted);
  line-height: 1.5;
}

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

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

.member-resource-card .card-body {
  display: grid;
  gap: 12px;
  min-height: 230px;
  align-content: start;
}

.member-resource-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.member-resource-card .btn-site {
  margin-top: auto;
  justify-self: start;
}

.member-my-ads {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(164, 137, 99, 0.62);
  border-radius: 20px;
  background: rgba(245, 236, 221, 0.76);
}

.member-my-ads h3 {
  margin: 0;
  color: var(--forest);
}

.member-my-ads-list {
  display: grid;
  gap: 10px;
}

.member-my-ad-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(164, 137, 99, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.member-my-ad-row div {
  display: grid;
  gap: 4px;
}

.member-my-ad-row strong {
  color: var(--wine);
}

.member-my-ad-row span {
  color: var(--muted);
}

.marketplace-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.marketplace-card .card-body {
  display: grid;
  gap: 12px;
  flex: 1 1 auto;
}

.marketplace-card-link {
  display: block;
  text-decoration: none;
}

.marketplace-card-link:hover .marketplace-media {
  filter: brightness(0.94);
}

.marketplace-media {
  position: relative;
  min-height: 220px;
  background: #d8cab1 center / cover no-repeat;
  transition: filter .2s;
}

.marketplace-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 15, 9, 0.62);
  color: #f4ead7;
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  letter-spacing: .03em;
}

.marketplace-title-link {
  color: inherit;
  text-decoration: none;
}

.marketplace-title-link:hover {
  color: var(--wine);
}

.marketplace-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.marketplace-media-empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(32, 55, 40, 0.94), rgba(109, 35, 49, 0.84)),
    #203728;
}

.marketplace-media-empty span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(211, 188, 142, 0.66);
  border-radius: 50%;
  color: #f4ead7;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.marketplace-category {
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e6d6b9;
  color: var(--forest-deep);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.marketplace-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.marketplace-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(164, 137, 99, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.92rem;
}

.members-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.marketplace-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.marketplace-form input,
.marketplace-form select,
.marketplace-form textarea,
.marketplace-file-field {
  width: 100%;
  border: 1px solid rgba(164, 137, 99, 0.55);
  border-radius: 16px;
  background: #fbf7ef;
  color: var(--ink);
}

.price-input-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(164, 137, 99, 0.55);
  border-radius: 16px;
  background: #fbf7ef;
}

.price-input-shell > span {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 48px;
  border-right: 1px solid rgba(164, 137, 99, 0.38);
  background: #ead9bb;
  color: var(--forest);
  font-weight: 800;
}

.marketplace-form .price-input-shell input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.marketplace-form input,
.marketplace-form select,
.marketplace-form textarea {
  padding: 14px 16px;
}

.marketplace-form textarea {
  grid-column: 1 / -1;
  min-height: 140px;
  resize: vertical;
}

.marketplace-file-field {
  display: grid;
  gap: 8px;
  padding: 13px 16px;
  color: var(--muted);
}

.marketplace-file-field span {
  color: var(--forest);
  font-weight: 700;
}

.marketplace-file-field small {
  color: var(--muted);
  line-height: 1.45;
}

.marketplace-file-field input {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.marketplace-form button {
  justify-self: start;
}

.marketplace-form .btn-site {
  width: auto;
  min-width: 190px;
  min-height: 52px;
  justify-self: start;
  align-self: center;
  padding-inline: 24px;
  border-radius: 999px;
}

.member-account-form {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.member-account-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--forest);
  font-weight: 800;
}

.member-account-form label span {
  padding-left: 2px;
}

.member-account-form button {
  margin-top: 4px;
}

.members-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: 22px;
  align-items: start;
  max-width: none;
  margin-inline: auto;
}

.members-auth-page {
  flex: 1 0 auto;
  padding: 18px 0 48px;
  background: transparent;
}

.members-login-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  max-width: none;
  align-items: start;
}

.members-auth-card .card-body,
.members-auth-form {
  display: grid;
  gap: 14px;
}

.members-auth-card .card-body {
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
}

.members-login-card {
  background:
    radial-gradient(circle at top right, rgba(183, 147, 89, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    var(--paper);
  box-shadow: 0 24px 70px rgba(35, 24, 14, 0.18);
}

.members-login-card .card-body {
  min-height: 0;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
}

.members-auth-head {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.members-auth-card h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.members-auth-head p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.65;
}

.members-rules-card {
  border-color: rgba(183, 147, 89, 0.52);
  background:
    radial-gradient(circle at top right, rgba(183, 147, 89, 0.2), transparent 42%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #f4ead7;
}

.members-rules-card .tag {
  background: rgba(211, 188, 142, 0.16);
  border: 1px solid rgba(211, 188, 142, 0.42);
  color: #eadbbf;
}

.members-rules-card h3 {
  color: #fff6e6;
}

.members-rules-card p {
  margin: 0;
  color: rgba(244, 234, 215, 0.82);
  line-height: 1.65;
}

.members-rules-card .btn-site {
  margin-top: 4px;
  border-color: rgba(211, 188, 142, 0.5);
  background: rgba(255, 250, 240, 0.1);
  color: #fff6e6;
}

.members-login-side-card {
  box-shadow: 0 22px 54px rgba(35, 24, 14, 0.2);
}

.members-login-side-card .card-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(26px, 3vw, 38px);
}

.members-auth-form input,
.members-auth-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(164, 137, 99, 0.55);
  border-radius: 16px;
  background: #fbf7ef;
  color: var(--ink);
}

.members-auth-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--forest);
  font-weight: 800;
}

.members-auth-form label span {
  padding-left: 2px;
}

.members-auth-form input {
  min-height: 54px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.members-auth-form input:focus,
.members-auth-form textarea:focus {
  outline: 2px solid rgba(183, 147, 89, 0.32);
  border-color: rgba(109, 90, 64, 0.72);
}

.members-auth-form textarea {
  min-height: 130px;
  resize: vertical;
}

.members-auth-form button {
  justify-self: start;
  min-width: 150px;
  margin-top: 4px;
}

@media (max-width: 1080px) {
  .agenda-layout {
    grid-template-columns: 1fr;
  }

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

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

  .agenda-detail-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 820px) {
  .agenda-head {
    flex-direction: column;
  }

  .agenda-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .agenda-weekdays,
  .agenda-grid {
    gap: 8px;
  }

  .agenda-day {
    min-height: 110px;
    padding: 12px;
  }
}

@media (max-width: 860px) {
  .soos-detail-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .soos-detail-media {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1160px, calc(100% - 24px));
  }

  .members-hub-nav a,
  .member-my-ad-row .btn-site {
    width: 100%;
  }

  .member-my-ad-row {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header .container,
  .footer .container {
    width: calc(100% - 24px);
  }

  .site-header .inner {
    padding: 12px 0;
    gap: 10px;
  }

  .logo-home {
    gap: 10px;
  }

  .logo-mark {
    width: 74px;
    height: 74px;
    padding: 8px;
  }

  .logo-text strong {
    font-size: 1.55rem;
  }

  .logo-text span {
    font-size: 0.86rem;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    position: relative;
    z-index: 80;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: var(--home-hero-top-spacing, 10px);
  }

  .hero-shell {
    gap: 16px;
    height: auto;
  }

  .hero-slider-controls {
    display: none;
  }

  .hero-slider {
    min-height: 0;
  }

  .page-detail-layout,
  .members-overview,
  .members-form-layout,
  .members-auth-layout,
  .soos-featured-card,
  .soos-list-grid,
  .soos-detail-hero,
  .next-soos-panel,
  .recent-soos-row {
    grid-template-columns: 1fr;
  }

  .soos-detail-hero {
    min-height: 0;
  }

  .soos-detail-media {
    min-height: 260px;
  }

  .hero-copy,
  .hero-visual,
  .page-banner-card,
  .card,
  .newsletter-box {
    border-radius: 20px;
  }

  .hero-copy::before,
  .hero-visual::before,
  .page-banner-card::before,
  .card::before,
  .newsletter-box::before {
    inset: 6px;
  }

  .hero-copy {
    padding: 24px 20px;
    grid-template-rows: auto auto auto auto;
  }

  .page-banner-card {
    height: 220px;
    padding: 26px 24px;
  }

  .page-banner-card h1 {
    max-width: none;
    font-size: clamp(2.1rem, 8vw, 3.2rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.62;
    overflow: visible;
    padding-right: 0;
  }

  .hero-actions,
  .newsletter-form {
    gap: 10px;
  }

  .btn-site,
  .newsletter-form button {
    width: 100%;
  }

  .marketplace-form .btn-site {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    min-height: 320px;
    height: auto;
  }

  .hero-plaque {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 18px;
    border-radius: 18px;
    max-height: none;
    overflow: visible;
  }

  .section {
    padding: 20px 0 24px;
  }

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

  .page-banner {
    padding: 18px 0 6px;
  }

  .page-banner-card {
    padding: 24px 20px;
  }

  .page-banner-soos-detail .page-banner-card {
    padding-top: 28px;
  }

  .not-found-actions {
    flex-direction: column;
  }

  .page-banner-card h1 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
  }

  .page-reading-hero,
  .soos-featured-media,
  .soos-featured-body .soos-image-frame-featured,
  .soos-list-media,
  .next-soos-visual,
  .recent-soos-media {
    min-height: 220px;
  }

  .soos-featured-body .soos-image-frame-featured img {
    max-height: 220px;
  }

  .card-body,
  .newsletter-box {
    padding: 20px;
  }

  .archive-card .card-body {
    min-height: 0;
  }

  .quick-links,
  .marketplace-grid,
  .member-resource-grid,
  .marketplace-form,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .members-auth-layout {
    gap: 14px;
  }

  .members-auth-page {
    padding: 10px 0 42px;
  }

  .members-login-card .card-body {
    min-height: 0;
    padding: 24px 20px;
  }

  .members-auth-head {
    gap: 10px;
  }

  .members-auth-card .card-body {
    gap: 14px;
    padding: 22px 18px;
  }

  .members-auth-card h2 {
    max-width: none;
    font-size: 1.65rem;
  }

  .members-auth-form {
    gap: 12px;
  }

  .members-auth-form input,
  .members-auth-form textarea {
    min-height: 48px;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .members-rules-card .card-body {
    padding: 20px 18px;
  }

  .members-login-side-card .card-body {
    min-height: 0;
    padding: 22px 20px;
  }

  .members-intro-card .card-body {
    min-height: 0;
  }

  .marketplace-form textarea {
    grid-column: auto;
  }

  .marketplace-form button {
    justify-self: stretch;
  }

  .members-auth-form button {
    justify-self: stretch;
  }

  .feature-media {
    min-height: 220px;
  }

.contact-form-grid input,
.contact-form-grid textarea,
.newsletter-form input {
  padding: 13px 14px;
}

  .footer {
    padding: 26px 0 30px;
  }

  .footer-logo-mark {
    width: 76px;
    height: 76px;
    padding: 12px;
  }

  .gallery-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card {
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(44, 31, 18, 0.1);
  }

  .gallery-card::before {
    inset: 7px;
    border-radius: 13px;
  }

  .gallery-card-cover {
    height: 180px;
    aspect-ratio: auto;
  }

  .gallery-card-count {
    top: 12px;
    right: 12px;
    padding: 5px 11px;
    font-size: 0.78rem;
  }

  .gallery-card-body {
    gap: 8px;
    min-height: 0;
    padding: 17px 18px 20px;
  }

  .gallery-card-title {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
    line-height: 1.08;
  }

  .gallery-card-intro {
    -webkit-line-clamp: 1;
  }

  .gallery-card-cta {
    padding: 8px 14px;
    font-size: 0.88rem;
  }

  .gallery-grid {
    columns: 2 140px;
  }

  .agenda-calendar {
    padding: 16px;
  }

  .agenda-head,
  .agenda-detail-head,
  .agenda-event-list,
  .agenda-empty-state {
    padding: 18px;
  }

  .agenda-weekdays span {
    font-size: 0.76rem;
    padding: 0 2px;
  }

  .agenda-day {
    min-height: 96px;
    padding: 10px;
    border-radius: 14px;
  }

  .agenda-day-title {
    font-size: 0.84rem;
  }

  .agenda-day-badge,
  .agenda-day-empty,
  .agenda-day-more {
    font-size: 0.68rem;
  }

  .site-logo-image-header {
    transform: translate(-22%, -18%);
  }
}
