/* Dedicated venue detail pages — field-guide companion */

body.is-venue-detail {
  padding-top: 78px;
  min-width: 320px;
}

body.is-venue-detail #fixed-header {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.is-venue-detail #fixed-header .brand-home,
body.is-venue-detail #fixed-header a.brand-name {
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body.is-venue-detail .brand-home:hover,
body.is-venue-detail a.brand-name:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.detail-back-row {
  margin: 0 0 0.15rem;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  color: var(--fg-ink, #1a332b);
  font-family: var(--fg-font-body, "Segoe UI", sans-serif);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
  hyphens: manual;
  -webkit-hyphens: manual;
  white-space: nowrap;
}

.detail-back:hover {
  color: var(--fg-clay, #b04e2a);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* A leftover header pill must not sit between the brand and the menu. */
#fixed-card .detail-back {
  display: none;
}

#venue-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 2rem 2.5rem;
}

#venue-detail .breadcrumb-nav {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.venue-detail-loading {
  color: var(--fg-muted, #3c5248);
}

.venue-closed-banner {
  margin: 0 0 1.4rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--fg-line, rgba(26, 51, 43, 0.16));
  border-left: 4px solid var(--fg-clay, #b04e2a);
  border-radius: var(--fg-radius-sm, 10px);
  background: rgba(176, 78, 42, 0.08);
  color: var(--fg-ink, #1a332b);
}

.venue-closed-banner strong {
  display: block;
  font-family: var(--fg-font-display, Georgia, serif);
  font-size: 1.25rem;
}

.venue-closed-banner p {
  margin: 0.35rem 0 0;
}

.venue-kicker {
  margin: 0 0 0.4rem;
  color: var(--fg-clay, #b04e2a);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.venue-header h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--fg-ink, #153a31);
  font-family: var(--fg-font-display, Georgia, serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.venue-price-inline {
  margin: 0.7rem 0 0;
  color: var(--fg-muted, #3c5248);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.venue-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.venue-keywords li {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--fg-line, rgba(21, 58, 49, 0.17));
  background: rgba(255, 253, 247, 0.8);
  color: var(--fg-muted, #3c5248);
  font-size: 0.74rem;
  font-weight: 650;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.venue-intro {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  grid-template-areas:
    "media address"
    "media ctas"
    "media lead";
  gap: 0.85rem 1.4rem;
  align-items: start;
  margin-top: 1.15rem;
}

.venue-media { grid-area: media; }
.venue-lead { grid-area: lead; }
.venue-address { grid-area: address; }
.venue-cta-row { grid-area: ctas; }

.venue-media {
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid var(--fg-line, rgba(26, 51, 43, 0.16));
  border-radius: var(--fg-radius-sm, 10px);
  background: var(--fg-paper, #f3efe4);
}

.venue-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.venue-intro-copy {
  min-width: 0;
}

.venue-lead {
  margin: 0;
  color: var(--fg-muted, #3c5248);
  font-size: 1.05rem;
  line-height: 1.6;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.venue-address {
  margin: 0;
  color: var(--fg-ink, #153a31);
  font-size: 0.95rem;
  line-height: 1.55;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.venue-address i {
  margin-right: 0.4rem;
  color: var(--fg-moss, #276549);
}

.venue-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
  max-width: 100%;
}

.venue-cta {
  display: inline-flex;
  flex: 1 1 8rem;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--fg-ink, #1a332b);
  border-radius: var(--fg-radius-sm, 10px);
  background: var(--fg-ink, #1a332b);
  color: var(--fg-cream, #faf7f0);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.venue-cta:hover {
  background: #12261f;
  border-color: #12261f;
}

.venue-cta:nth-child(2) {
  background: transparent;
  color: var(--fg-ink, #153a31);
}

.venue-cta:nth-child(2):hover {
  background: var(--fg-ink, #153a31);
  color: var(--fg-cream, #fffdf7);
}

.venue-prices,
.venue-hours,
.venue-map {
  min-width: 0;
}

.venue-prices {
  margin-top: 1.8rem;
}

.venue-prices ul,
.venue-hours p {
  margin: 0.6rem 0 0;
  padding: 0;
  color: var(--fg-muted, #3c5248);
}

.venue-prices li {
  list-style: none;
  padding: 0.25rem 0;
}

.venue-price span {
  display: block;
  color: var(--fg-muted, #3c5248);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.venue-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.venue-hours h2,
.venue-map h2,
.venue-prices h2 {
  margin: 0 0 0.85rem;
  color: var(--fg-ink, #153a31);
  font-family: var(--fg-font-display, Georgia, serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--fg-line, rgba(21, 58, 49, 0.17));
  text-align: left;
  vertical-align: top;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hours-table th {
  width: 9.5rem;
  color: var(--fg-ink, #153a31);
  font-weight: 650;
}

.hours-table td {
  color: var(--fg-muted, #3c5248);
}

.hours-table tr.is-today {
  background: rgba(176, 78, 42, 0.1);
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--fg-ink, #153a31);
  font-weight: 750;
}

.hours-today-label {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--fg-clay, #b04e2a);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hours-note {
  margin: 0.75rem 0 0;
  color: var(--fg-muted, #3c5248);
  font-size: 0.88rem;
}

.venue-map-canvas {
  width: 100%;
  height: min(42vh, 360px);
  min-height: 260px;
  border: 1px solid var(--fg-line, rgba(26, 51, 43, 0.16));
  border-radius: var(--fg-radius-sm, 10px);
  background: var(--fg-paper, #f3efe4);
}

.venue-map-canvas .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
}

.venue-map-meta,
.venue-map-fallback {
  margin: 0.7rem 0 0;
  color: var(--fg-muted, #3c5248);
  font-size: 0.78rem;
}

.venue-map-meta a,
.venue-map-fallback a {
  color: var(--fg-moss, #276549);
}

.leaflet-control-attribution {
  max-width: 100%;
  hyphens: auto;
  -webkit-hyphens: auto;
}

@media (max-width: 900px) {
  #venue-detail { padding: 0.4rem 1.15rem 2.5rem; }
  .venue-intro {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .venue-address { order: 1; }
  .venue-cta-row { order: 2; margin-top: 0.1rem; }
  .venue-media { order: 3; max-width: 220px; }
  .venue-lead { order: 4; }
  .venue-split { grid-template-columns: minmax(0, 1fr); }
  .hours-table th { width: 7.5rem; }
}

@media (max-width: 600px) {
  body.is-venue-detail { padding-top: 66px; }
  #venue-detail { padding: 0.2rem 1rem 2rem; }
  .venue-header h1 { max-width: none; font-size: clamp(1.85rem, 8.5vw, 2.45rem); }
  .venue-cta {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
  }
  .venue-cta:first-child { flex-basis: 100%; }
  .venue-map-canvas { min-height: 220px; height: 240px; }
  .hours-table th,
  .hours-table td { font-size: 0.9rem; }
}
