:root,
[data-bs-theme="light"] {
    --site-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
    --site-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --site-primary: #8b2942;
    --site-primary-dark: #6a1f33;
    --site-primary-rgb: 139, 41, 66;
    --site-accent: #c4a574;
    --site-accent-soft: #f3ebe0;
    --site-bg: #faf8f7;
    --site-surface: #ffffff;
    --site-surface-muted: #f5ebe8;
    --site-hero-gradient: linear-gradient(145deg, #fdf8f6 0%, #f7ede8 42%, #efe2dc 100%);
    --site-shadow-sm: 0 2px 8px rgba(45, 32, 35, 0.06);
    --site-shadow-md: 0 8px 28px rgba(45, 32, 35, 0.09);
    --site-shadow-lg: 0 18px 48px rgba(45, 32, 35, 0.11);
    --bs-primary: #8b2942;
    --bs-primary-rgb: 139, 41, 66;
    --bs-link-color: #8b2942;
    --bs-link-hover-color: #6a1f33;
    --bs-body-bg: #faf8f7;
    --bs-body-color: #3d3436;
    --bs-secondary-color: #6b5f62;
    --bs-border-color: #e8e0dc;
    --bs-border-radius: 0.5rem;
    --bs-border-radius-lg: 0.75rem;
    --bs-border-radius-xl: 1rem;
    --bs-card-box-shadow: var(--site-shadow-sm);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body.site-body {
  font-family: var(--site-font-body);
  margin-bottom: 0;
  color: var(--bs-body-color);
  background-color: var(--site-bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(139, 41, 66, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(196, 165, 116, 0.08), transparent 50%);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--site-font-heading);
  font-weight: 600;
  color: #2d2023;
}

.navbar-brand {
  font-family: var(--site-font-heading);
  font-weight: 700;
  color: var(--site-primary) !important;
  letter-spacing: -0.02em;
}

.site-navbar {
  box-shadow: var(--site-shadow-sm);
  border-bottom: 1px solid var(--bs-border-color) !important;
  margin-bottom: 0 !important;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92) !important;
}

.site-navbar .navbar-brand {
  font-size: 1.35rem;
}

.site-navbar .nav-link {
  font-weight: 500;
  color: #4a3f42;
  padding-left: 0.875rem !important;
  padding-right: 0.875rem !important;
  border-radius: var(--bs-border-radius);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--site-primary);
  background: rgba(var(--site-primary-rgb), 0.06);
}

.site-main-wrap {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

.site-main-wrap:has(main > .site-hero:first-child) {
  padding-top: 0;
}

.site-footer {
  background: linear-gradient(180deg, #f3ece8 0%, #ebe3de 100%);
  border-top: 1px solid var(--bs-border-color) !important;
  color: #5c5254;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.site-footer-brand {
  font-family: var(--site-font-heading);
  font-weight: 700;
  color: var(--site-primary);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.site-footer-tagline {
  color: #6b5f62;
  max-width: 22rem;
}

.site-footer .text-muted {
  color: #6b5f62 !important;
}

.btn-primary {
  --bs-btn-bg: var(--site-primary);
  --bs-btn-border-color: var(--site-primary);
  --bs-btn-hover-bg: var(--site-primary-dark);
  --bs-btn-hover-border-color: var(--site-primary-dark);
  --bs-btn-active-bg: var(--site-primary-dark);
  --bs-btn-active-border-color: var(--site-primary-dark);
  --bs-btn-focus-shadow-rgb: var(--site-primary-rgb);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.25rem;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 2px 8px rgba(var(--site-primary-rgb), 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(var(--site-primary-rgb), 0.28);
}

.btn-dark {
  --bs-btn-bg: #2d2023;
  --bs-btn-border-color: #2d2023;
  --bs-btn-hover-bg: #4a3f42;
  --bs-btn-hover-border-color: #4a3f42;
  border-radius: var(--bs-border-radius-lg);
  font-weight: 600;
}

.form-control,
.form-select {
  border-color: var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  padding: 0.5625rem 0.875rem;
  background-color: var(--site-surface);
}

.form-control:hover,
.form-select:hover {
  border-color: #d9cfc9;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5c5254;
  margin-bottom: 0.35rem;
}

.site-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-primary);
  margin-bottom: 0.75rem;
}

.site-page-hero {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 3rem 1.5rem 3.5rem;
  background: var(--site-hero-gradient);
  border-bottom: 1px solid var(--bs-border-color);
  text-align: center;
}

.site-page-hero .display-6 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

.site-page-hero .lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: #6b5f62;
  font-size: 1.05rem;
}

.site-page-intro {
  padding-top: 0.25rem;
}

.site-page-intro h1 {
  letter-spacing: -0.02em;
}

.site-section-heading {
  font-family: var(--site-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d2023;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.site-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--bs-border-radius-xl);
  background: var(--site-surface);
  border: 1px dashed var(--bs-border-color);
  color: #6b5f62;
}

.site-result-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--site-surface);
  border: 1px solid var(--bs-border-color);
  font-size: 0.8125rem;
  color: #6b5f62;
}

.site-result-count strong {
  color: var(--site-primary);
}

.card.site-filter-card.mt-n4 {
  margin-top: -2.5rem !important;
}

@media (min-width: 768px) {
  .card.site-filter-card.mt-n4 {
    margin-top: -3rem !important;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(var(--site-primary-rgb), 0.45);
  border-color: rgba(var(--site-primary-rgb), 0.5);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.site-hero {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  background: var(--site-hero-gradient);
  border-bottom: 1px solid var(--bs-border-color);
  padding: 3.5rem 1rem 4rem;
}

@media (min-width: 768px) {
  .site-hero {
    padding: 4.5rem 1.5rem 5rem;
  }
}

.site-hero .lead {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.card.site-filter-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-xl);
  box-shadow: var(--site-shadow-md);
  background: var(--site-surface);
  overflow: hidden;
}

.card.site-filter-card .card-header {
  font-family: var(--site-font-heading);
  background: linear-gradient(180deg, #fff 0%, #fdf8f6 100%);
  border-bottom: 1px solid var(--bs-border-color);
  padding: 1.125rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d2023;
}

.card.site-filter-card .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.venue-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  background: var(--site-surface);
  cursor: pointer;
  box-shadow: var(--site-shadow-sm);
}

.venue-card:hover {
  box-shadow: var(--site-shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(var(--site-primary-rgb), 0.18);
}

.venue-card .card-img-top {
  transition: transform 0.35s ease;
}

.venue-card:hover .card-img-top {
  transform: scale(1.03);
}

.venue-card .card-img-top,
.venue-card .venue-card-placeholder {
  height: 220px;
}

.venue-card .venue-card-placeholder {
  background: linear-gradient(135deg, var(--site-surface-muted) 0%, #efe2dc 100%);
}

.venue-card-body {
  padding: 1.125rem 1.25rem 1.25rem;
}

.venue-card .card-title {
  font-family: var(--site-font-heading);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.venue-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.venue-meta-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--site-surface-muted);
  color: #5c5254;
}

.venue-meta-pill--accent {
  background: rgba(var(--site-primary-rgb), 0.08);
  color: var(--site-primary);
}

.venue-pagination .pagination {
  gap: 0.25rem;
  flex-wrap: wrap;
}

.venue-pagination .page-link {
  border-radius: var(--bs-border-radius);
  color: var(--site-primary);
  border-color: var(--bs-border-color);
}

.venue-pagination .page-item.active .page-link {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.venue-pagination .page-link:hover {
  background-color: #fdf5f3;
  border-color: var(--site-primary);
  color: #6a1f33;
}

.card.site-detail-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-xl);
  box-shadow: var(--site-shadow-md);
  background: var(--site-surface);
  overflow: hidden;
}

.card.site-detail-card .card-header {
  font-family: var(--site-font-heading);
  background: linear-gradient(180deg, #fff 0%, #fdf8f6 100%);
  border-bottom: 1px solid var(--bs-border-color);
  font-weight: 600;
  color: #2d2023;
  padding: 1rem 1.25rem;
}

.card.site-detail-card .card-body {
  padding: 1.25rem;
}

.breadcrumb.site-breadcrumb {
  --bs-breadcrumb-divider: "›";
  font-size: 0.8125rem;
  padding: 0.5rem 0.875rem;
  background: var(--site-surface);
  border-radius: 999px;
  border: 1px solid var(--bs-border-color);
  display: inline-flex;
  box-shadow: var(--site-shadow-sm);
}

.breadcrumb.site-breadcrumb a {
  color: var(--site-primary);
  text-decoration: none;
}

.breadcrumb.site-breadcrumb a:hover {
  text-decoration: underline;
}

.venue-calendar-wrap .flatpickr-calendar {
  box-shadow: 0 0.125rem 0.75rem rgba(45, 32, 35, 0.08);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
}

/* Slightly smaller calendar: scale whole widget (does not break the 7-column grid) */
.flatpickr-calendar.venue-flatpickr,
.flatpickr-calendar.admin-availability-flatpickr {
  transform: scale(0.95);
  transform-origin: top left;
}

.venue-flatpickr .flatpickr-day.venue-day-available {
  background: #e8f5e9;
  border-color: #c8e6c9;
  color: #1b5e20;
}

.venue-flatpickr .flatpickr-day.venue-day-available:hover {
  background: #c8e6c9;
}

.venue-flatpickr .flatpickr-day.venue-day-blocked {
  background: #ffebee !important;
  color: #b71c1c !important;
  border-color: #ffcdd2 !important;
}

.venue-cal-swatch {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--bs-border-color);
  vertical-align: middle;
}

.venue-cal-available {
  background: #e8f5e9;
}

.venue-cal-blocked {
  background: #ffebee;
}

.venue-session-toggle {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bs-border-color);
}

.venue-session-toggle-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bs-secondary-color);
  margin-bottom: 0.625rem;
  font-weight: 600;
}

.venue-session-toggle-options {
  display: flex;
  gap: 0.125rem;
  padding: 0.1875rem;
  background: #f5ebe8;
  border-radius: 999px;
  border: 1px solid var(--bs-border-color);
}

.venue-session-option {
  flex: 1;
  text-align: center;
  padding: 0.5625rem 0.875rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b5f62;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.venue-session-option:hover {
  color: var(--site-primary);
  background: rgba(255, 255, 255, 0.55);
}

.venue-session-option.is-active {
  background: #fff;
  color: var(--site-primary);
  box-shadow: 0 1px 4px rgba(45, 32, 35, 0.1);
}

.venue-session-option:focus-visible {
  outline: 2px solid rgba(var(--site-primary-rgb), 0.45);
  outline-offset: 2px;
}

.venue-availability-result {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--bs-border-color);
}

.admin-cal-selected {
  background: var(--site-primary);
  border-color: var(--site-primary-dark);
}

.admin-availability-flatpickr .flatpickr-day.selected {
  background: var(--site-primary) !important;
  border-color: var(--site-primary-dark) !important;
  color: #fff !important;
}

.admin-availability-flatpickr .flatpickr-day.selected:hover {
  background: var(--site-primary-dark) !important;
}

/* Admin availability: reserved/blocked days (flatpickr-disabled + venue-day-blocked) */
.admin-availability-flatpickr .flatpickr-day.venue-day-blocked,
.admin-availability-flatpickr .flatpickr-day.flatpickr-disabled.venue-day-blocked {
  background: #b71c1c !important;
  color: #ffffff !important;
  border-color: #8e0000 !important;
  opacity: 1 !important;
  font-weight: 600;
}

.admin-availability-reserve .venue-cal-blocked {
  background: #b71c1c;
  border-color: #8e0000;
}

/* Past dates: still visible (Flatpickr fades disabled days by default) */
.venue-flatpickr .flatpickr-day.cal-day-past,
.admin-availability-flatpickr .flatpickr-day.cal-day-past {
  opacity: 1 !important;
  background: #eceff1 !important;
  color: #455a64 !important;
  border-color: #cfd8dc !important;
  font-weight: 600;
}

.venue-flatpickr .flatpickr-day.cal-day-past.venue-day-blocked,
.admin-availability-flatpickr .flatpickr-day.cal-day-past.venue-day-blocked {
  background: #b71c1c !important;
  color: #ffffff !important;
  border-color: #8e0000 !important;
}

/* Days from previous/next month (padding cells in the grid) */
.venue-flatpickr .flatpickr-day.prevMonthDay:not(.venue-day-blocked):not(.cal-day-past),
.venue-flatpickr .flatpickr-day.nextMonthDay:not(.venue-day-blocked):not(.cal-day-past),
.admin-availability-flatpickr .flatpickr-day.prevMonthDay:not(.venue-day-blocked):not(.cal-day-past),
.admin-availability-flatpickr .flatpickr-day.nextMonthDay:not(.venue-day-blocked):not(.cal-day-past) {
  background: #f5f5f5 !important;
  color: #78909c !important;
  border-color: #e0e0e0 !important;
  opacity: 1 !important;
  font-weight: 500;
}

.venue-flatpickr .flatpickr-day.prevMonthDay.cal-day-past:not(.venue-day-blocked),
.venue-flatpickr .flatpickr-day.nextMonthDay.cal-day-past:not(.venue-day-blocked),
.admin-availability-flatpickr .flatpickr-day.prevMonthDay.cal-day-past:not(.venue-day-blocked),
.admin-availability-flatpickr .flatpickr-day.nextMonthDay.cal-day-past:not(.venue-day-blocked) {
  background: #eceff1 !important;
  color: #607d8b !important;
}

.venue-flatpickr .flatpickr-day.prevMonthDay.venue-day-available,
.venue-flatpickr .flatpickr-day.nextMonthDay.venue-day-available {
  background: #e8f5e9 !important;
  color: #2e7d32 !important;
  border-color: #c8e6c9 !important;
}

.admin-availability-flatpickr .flatpickr-day.prevMonthDay.selected,
.admin-availability-flatpickr .flatpickr-day.nextMonthDay.selected {
  background: var(--site-primary) !important;
  color: #fff !important;
  border-color: var(--site-primary-dark) !important;
}

/* Venue detail (profile + portfolio + sticky calendar) */
.venue-detail-header h1 {
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.venue-detail-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  color: #6b5f62;
  margin-bottom: 1rem;
}

.venue-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.venue-stat-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.625rem 1rem;
  border-radius: var(--bs-border-radius-lg);
  background: var(--site-surface);
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--site-shadow-sm);
  min-width: 7rem;
}

.venue-stat-chip-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b5f62;
}

.venue-stat-chip-value {
  font-family: var(--site-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d2023;
  line-height: 1.2;
}

.venue-about-body,
.venue-detail-section {
  padding: 1.25rem 1.375rem;
  border-radius: var(--bs-border-radius-xl);
  background: var(--site-surface);
  border: 1px solid var(--bs-border-color);
  box-shadow: var(--site-shadow-sm);
}

.venue-amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.venue-amenity-tag {
  display: inline-block;
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--site-primary);
  background: rgba(var(--site-primary-rgb), 0.07);
  border: 1px solid rgba(var(--site-primary-rgb), 0.12);
}

.venue-detail-section h2 {
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
}

/* Admin / venue-admin shells */
.admin-shell {
  font-family: var(--site-font-body);
  background: var(--site-bg);
  min-height: 100vh;
}

.admin-shell .navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--site-shadow-sm);
  border-bottom: 1px solid var(--bs-border-color) !important;
}

.admin-shell .navbar-brand {
  font-family: var(--site-font-heading);
  font-weight: 700;
  color: var(--site-primary) !important;
}

.admin-shell .nav-link {
  font-weight: 500;
  color: #4a3f42;
  border-radius: var(--bs-border-radius);
}

.admin-shell .nav-link:hover {
  color: var(--site-primary);
  background: rgba(var(--site-primary-rgb), 0.06);
}

.admin-shell .table {
  background: var(--site-surface);
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  box-shadow: var(--site-shadow-sm);
}

.admin-shell .border.rounded {
  border-color: var(--bs-border-color) !important;
  border-radius: var(--bs-border-radius-xl) !important;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-sm);
}

/* Venue detail (profile + portfolio + sticky calendar) */
.venue-detail-page {
  align-items: flex-start;
}

.venue-phone-block {
  padding: 0.75rem 1rem;
  border-radius: var(--bs-border-radius-lg);
  border: 1px solid var(--bs-border-color);
  background: linear-gradient(135deg, #fffdfb 0%, #fdf5f3 100%);
  box-shadow: 0 0.125rem 0.5rem rgba(45, 32, 35, 0.06);
}

.venue-phone-label {
  display: block;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.venue-phone-number {
  display: inline-block;
  font-family: var(--site-font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #2d2023;
  line-height: 1.3;
  text-decoration: none !important;
}

a.venue-phone-number:hover,
a.venue-phone-number:focus-visible {
  color: var(--site-primary) !important;
}

.venue-phone-secondary {
  display: block;
}

.venue-phone-secondary-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.venue-phone-secondary-value {
  display: inline-block;
  font-family: var(--site-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #5c5254;
  text-decoration: none !important;
}

a.venue-phone-secondary-value:hover,
a.venue-phone-secondary-value:focus-visible {
  color: var(--site-primary) !important;
  text-decoration: underline !important;
}

.venue-detail-hero-img {
  display: block;
  border-radius: var(--bs-border-radius-xl);
  max-height: min(52vh, 520px);
  object-fit: cover;
  aspect-ratio: 16 / 10;
  box-shadow: var(--site-shadow-md);
}

.venue-detail-hero-trigger {
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
  cursor: zoom-in;
}

.venue-detail-hero-placeholder {
  min-height: 280px;
  background: linear-gradient(135deg, #f5ebe8 0%, #efe2dc 100%);
  border: 1px dashed var(--bs-border-color);
}

.venue-detail-sidebar {
  top: 1rem;
  z-index: 1;
}

.venue-portfolio-thumb {
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: #f0eae7;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.venue-portfolio-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 0.35rem 1rem rgba(45, 32, 35, 0.12);
}

.venue-portfolio-thumb:focus-visible {
  outline: 2px solid var(--site-primary);
  outline-offset: 2px;
}

.venue-photo-modal-body {
  min-height: 50vh;
}

.venue-photo-modal-img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.venue-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-decoration: none !important;
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.85;
}

.venue-photo-nav:hover {
  opacity: 1;
  color: #fff !important;
}

.venue-photo-prev {
  left: 0;
}

.venue-photo-next {
  right: 0;
}

@media (max-width: 991.98px) {
  .venue-detail-sidebar {
    position: static !important;
  }
}

/* Auth (login) */
.site-auth-body {
  background-color: var(--site-bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(139, 41, 66, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(196, 165, 116, 0.08), transparent 50%);
}

.site-auth-main {
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.site-auth-wrap {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.site-auth-intro {
  margin-bottom: 1.75rem;
}

.site-auth-intro h1 {
  letter-spacing: -0.02em;
}

.site-auth-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-xl);
  box-shadow: var(--site-shadow-md);
  background: var(--site-surface);
  overflow: hidden;
}

.site-auth-card .card-body {
  padding: 1.75rem 1.5rem 1.5rem;
}

.site-auth-back a {
  color: var(--site-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.site-auth-back a:hover {
  color: var(--site-primary-dark);
}

/* Venue admin year overview calendar */
.venue-admin-year-overview {
  border-color: var(--bs-border-color) !important;
  border-radius: var(--bs-border-radius-xl) !important;
  background: var(--site-surface);
  box-shadow: var(--site-shadow-sm);
}

.venue-admin-year-cal-wrap {
  overflow: visible;
}

.venue-admin-year-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.venue-admin-mini-month {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  padding: 0.75rem;
  min-width: 0;
}

.venue-admin-mini-month-title {
  font-family: var(--site-font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2d2023;
  text-align: center;
  margin-bottom: 0.625rem;
}

.venue-admin-mini-month-weekdays,
.venue-admin-mini-month-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
}

.venue-admin-mini-month-weekdays {
  margin-bottom: 0.35rem;
}

.venue-admin-mini-month-weekdays span {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b5f62;
  text-align: center;
  padding: 0.125rem 0;
}

.venue-admin-mini-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  line-height: 1;
}

.venue-admin-mini-day.is-empty {
  visibility: hidden;
}

.venue-admin-mini-day.venue-day-available {
  background: #e8f5e9;
  border-color: #c8e6c9;
  color: #1b5e20;
}

.venue-admin-mini-day.venue-day-blocked {
  background: #ffebee !important;
  color: #b71c1c !important;
  border-color: #ffcdd2 !important;
}

.venue-admin-mini-day.cal-day-past {
  background: #eceff1 !important;
  color: #455a64 !important;
  border-color: #cfd8dc !important;
}

.cal-day-past-swatch {
  background: #eceff1;
  border-color: #cfd8dc;
}

button.venue-session-option {
  border: none;
  background: transparent;
}

button.venue-session-option.is-active {
  background: #fff;
}

@media (max-width: 991.98px) {
  .venue-admin-year-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .venue-admin-year-grid {
    grid-template-columns: 1fr;
  }
}

