/* Shared by the public page and studio preview; all breakpoints use the card width. */
.venue-detail-page-shell { background: var(--portal-surface, #f7fbff); }
.venue-detail {
    container: venue / inline-size;
    min-width: 0;
    color:var(--theme-foreground, #243447);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    background: var(--portal-surface, #f7fbff);
    border-radius: 26px;
    --venue-blue: var(--portal-accent-strong, #1f6fd6);
    --venue-ink-blue: var(--portal-chip-text, #1d4f84);
    --venue-border: var(--portal-border, rgba(42, 113, 176, .16));
}
.venue-detail *, .venue-detail *::before, .venue-detail *::after { box-sizing: border-box; }
.venue-detail :where(h1, h2, h3, p, blockquote) { margin: 0; }
.venue-detail h2 { color:var(--theme-foreground, #172b42); font-size: 25px; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 18px; }
.venue-detail h3 { color:var(--theme-foreground, #243447); font-size: 16px; font-weight: 650; line-height: 1.4; }
.venue-detail .venue-eyebrow { color: var(--venue-ink-blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.venue-detail .venue-muted { color:var(--theme-foreground-muted, #596b7e); font-size: 14px; margin: 12px 0; }
.venue-detail .venue-header { background:var(--theme-surface, white); border: 1px solid var(--venue-border); border-radius: 26px; overflow: hidden; }
.venue-detail .venue-cover {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end;
    min-height: 420px; padding: 28px; color:white;
    background: linear-gradient(125deg, #102e52, var(--venue-blue));
}
.venue-detail .venue-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 21, 41, .03) 10%, rgba(5, 21, 41, .5) 48%, rgba(5, 21, 41, .91) 100%); }
.venue-detail .venue-cover-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; border:0; border-radius: 0; padding: 0; background:transparent; cursor: zoom-in; }
.venue-detail .venue-cover-image:hover:not(:disabled) { background:transparent; }
.venue-detail .venue-cover-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.venue-detail .venue-cover-title { pointer-events: none; }
.venue-detail .venue-cover-title h1 { color:white; font-size: 38px; line-height: 1.06; font-weight: 700; letter-spacing: -.035em; margin: 14px 0 20px; text-wrap: balance; }
.venue-detail .venue-location { color:#e8f3ff; font-size: 14px; letter-spacing: .025em; }
.venue-detail .venue-location i { margin-right: 6px; }
.venue-detail .venue-cover-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.venue-detail .venue-cover-badges span { background:rgba(13, 37, 65, .7); border:1px solid rgba(255,255,255,.3); padding: 5px 12px; border-radius: 30px; font-size: 12px; color:white; }
.venue-detail .venue-cover-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.venue-detail .venue-cover-controls > span { font-size: 12px; min-width: 34px; text-align: center; }
.venue-detail .venue-cover-fallback { min-height: 280px; }
.venue-detail .venue-cover-fallback::after { background: linear-gradient(110deg, rgba(5,21,41,.4), transparent); }
.venue-detail .venue-cover-pattern { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 85% 10%, rgba(173,216,255,.3), transparent 65%), repeating-linear-gradient(135deg, transparent 0 48px, rgba(255,255,255,.04) 49px 50px); }
.venue-detail .venue-cover-pattern::before, .venue-detail .venue-cover-pattern::after { content: ""; position: absolute; right: -70px; top: -140px; width: 430px; height: 430px; border:1px solid rgba(255,255,255,.18); border-radius: 50%; }
.venue-detail .venue-cover-pattern::after { top: -100px; right: -30px; width: 350px; height: 350px; }
.venue-detail .venue-cover-pattern > i { position: absolute; top: 40px; right: 45px; font-size: 100px; color:rgba(255,255,255,.13); }
.venue-detail .venue-thumbnails { display: flex; gap: 10px; padding: 16px 24px 0; overflow-x: auto; scrollbar-width: thin; }
.venue-detail .venue-thumbnail { flex: 0 0 88px; width: 88px; height: 64px; padding: 3px; border:2px solid transparent; border-radius: 12px; background:var(--theme-surface, white); cursor: pointer; }
.venue-detail .venue-thumbnail[aria-pressed="true"] { border-color: var(--venue-blue); }
.venue-detail .venue-thumbnail:hover:not(:disabled) { background: var(--portal-surface); border-color: var(--venue-blue); }
.venue-detail .venue-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.venue-detail .venue-introduction { padding: 26px; }
.venue-detail .venue-headline { color:var(--theme-foreground, #344d66); font-size: 18px; line-height: 1.7; max-width: 80ch; margin-bottom: 20px; }
.venue-detail .venue-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.venue-detail .venue-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; background: var(--portal-chip-bg); color: var(--venue-ink-blue); border: 1px solid var(--portal-chip-border); border-radius: 30px; font-size: 12px; line-height: 1.5; }
.venue-detail .venue-chip-category { background: var(--portal-tint); font-weight: 650; }
.venue-detail .venue-facts { display: grid; gap: 18px; padding: 22px 0; margin-top: 22px; border-block: 1px solid var(--venue-border); }
.venue-detail .venue-facts > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.venue-detail .venue-facts i { color: var(--venue-blue); background: var(--portal-surface); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; flex-shrink: 0; }
.venue-detail .venue-facts span { display: block; color:var(--theme-foreground-muted, #596b7e); font-size: 12px; }
.venue-detail .venue-facts strong { display: block; font-size: 16px; font-weight: 650; color:var(--theme-foreground, #243447); }
.venue-detail .venue-price-visual { display: flex; align-items: center; gap: 4px; min-height: 24px; margin-top: 4px; color: var(--venue-blue); font-size: 16px; letter-spacing: .02em; }
.venue-detail .venue-price-visual i { width: auto; height: auto; display: inline; background:none; color:inherit; font-size: inherit; }
.venue-detail .venue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.venue-detail .venue-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 1px solid var(--venue-border); border-radius: 12px; background:var(--theme-surface, white); color: var(--venue-ink-blue); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.venue-detail .venue-button:hover:not(:disabled) { background:var(--theme-surface-muted, #edf5ff); border-color: var(--venue-blue); color: var(--venue-ink-blue); }
.venue-detail .venue-button-primary { color:white; background: var(--venue-blue); border-color: var(--venue-blue); }
.venue-detail .venue-button-primary:hover:not(:disabled) { background:#1755a5; border-color:#1755a5; color:white; }
.venue-detail .venue-button-subtle { background: var(--portal-surface); }
.venue-detail .venue-icon-button { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.venue-detail :is(a, button, [tabindex]):focus-visible { outline: 3px solid var(--venue-blue); outline-offset: 4px; }
.venue-detail .venue-cover :is(a, button):focus-visible { outline-color:var(--theme-border, white); outline-offset: -5px; }
.venue-detail .venue-body { display: grid; gap: 20px; padding: 20px 0 0; align-items: start; }
.venue-detail .venue-main, .venue-detail .venue-sidebar { display: grid; gap: 20px; min-width: 0; }
.venue-detail .venue-card { min-width: 0; padding: 26px; background:var(--theme-surface, white); border: 1px solid var(--venue-border); border-radius: 22px; box-shadow: 0 5px 24px rgba(29,79,132,.025); }
.venue-detail .venue-project { border-top:3px solid var(--venue-blue); background:linear-gradient(150deg,#ebf6ff,white 75%); }
.venue-detail .venue-project-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:20px; border-radius:15px; background:var(--theme-surface, white); border:1px solid var(--venue-border); color:var(--venue-blue); font-size:22px; }
.venue-detail .venue-project-benefits { display:grid; gap:12px; padding:0; margin:20px 0; list-style:none; color:var(--venue-ink-blue); font-size:13px; }
.venue-detail .venue-project-benefits li { display:flex; align-items:center; gap:9px; }
.venue-detail .venue-project-benefits i { color:var(--venue-blue); }
.venue-detail .venue-project-action { width:100%; }
.venue-detail .venue-project-hint { margin-top:12px; color:var(--theme-foreground-muted, #596b7e); font-size:12px; line-height:1.6; }
.venue-detail .venue-contact-link { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--venue-border); color: var(--venue-ink-blue); font-size: 14px; text-decoration: none; }
.venue-detail .venue-contact-link > span { flex: 1; min-width: 0; }
.venue-detail .venue-contact-link small { display: block; color:var(--theme-foreground-muted, #596b7e); font-size: 11px; margin-bottom: 3px; }
.venue-detail .venue-contact-link > i:last-child { font-size: 11px; }
.venue-detail .venue-contact-link:hover { color: var(--venue-blue); text-decoration: underline; }
.venue-detail .venue-inquiry-open { width:100%; margin-top:18px; }
.venue-detail .venue-inquiry-form { margin-top:20px; padding:18px; border:1px solid var(--venue-border); border-radius:16px; background:var(--theme-surface-muted, #f8fbff); }
.venue-detail .venue-inquiry-form h3 { margin:0; color:var(--venue-ink-blue); font-size:18px; }
.venue-detail .venue-inquiry-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.venue-detail .venue-inquiry-fields label { display:grid; gap:6px; color:var(--theme-foreground, #34495e); font-size:12px; font-weight:700; }
.venue-detail .venue-inquiry-fields input,.venue-detail .venue-inquiry-fields textarea { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--theme-border, #cfdbe7); border-radius:9px; background:var(--theme-surface, #fff); color:var(--theme-foreground, #26384a); font:inherit; font-size:13px; font-weight:450; }
.venue-detail .venue-inquiry-fields input:focus,.venue-detail .venue-inquiry-fields textarea:focus { border-color:var(--venue-blue); outline:3px solid rgba(37,103,184,.12); }
.venue-detail .venue-inquiry-message { grid-column:1/-1; }
.venue-detail .venue-inquiry-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.venue-detail .venue-inquiry-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:14px; }
.venue-detail .venue-inquiry-error { margin:12px 0 0; color:var(--theme-danger, #9a2c26); font-size:13px; }
.venue-detail .venue-inquiry-feedback { display:flex; align-items:center; gap:9px; margin:17px 0 0; padding:13px; border-radius:11px; background:var(--theme-surface-muted, #eaf4ed); color:var(--theme-foreground, #285a3d); font-size:13px; line-height:1.55; }
.venue-detail .venue-secondary-link { display: block; margin-top: 20px; color: var(--venue-ink-blue); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.venue-detail .venue-note { background: var(--portal-surface); padding: 16px; border-radius: 12px; color:var(--theme-foreground-muted, #596b7e); font-size: 14px; }
.venue-detail .venue-description { color:var(--theme-foreground-muted, #45596e); line-height: 1.85; }
.venue-detail .venue-description :is(p, ul, ol) { margin: 0 0 16px; }
.venue-detail .venue-description :is(img, video, iframe) { max-width: 100%; }
.venue-detail .venue-description a { color: var(--venue-blue); text-decoration: underline; }
.venue-detail .venue-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 22px; }
.venue-detail .venue-service { display: flex; gap: 14px; padding: 18px; background: var(--portal-surface); border: 1px solid var(--venue-border); border-radius: 16px; }
.venue-detail .venue-service > i { color: var(--venue-blue); font-size: 20px; width: 24px; flex-shrink: 0; margin-top: 3px; }
.venue-detail .venue-service p { color:var(--theme-foreground-muted, #596b7e); font-size: 14px; margin-top: 8px; }
.venue-detail .venue-subheading { margin: 26px 0 14px; }
.venue-detail .venue-address { margin-bottom: 20px; color:var(--theme-foreground, #344d66); }
.venue-detail .venue-address > i { color: var(--venue-blue); margin-right: 6px; }
.venue-detail .venue-map { display: block; width: 100%; height: 340px; border: 1px solid var(--venue-border); border-radius: 16px; background: var(--portal-surface); }
.venue-detail .venue-address-details p { margin: 14px 0; }
.venue-detail .venue-address-details h3 { margin-top: 20px; }
.venue-detail .venue-routes { display: grid; gap: 10px; }
.venue-detail .venue-route { display: flex; gap: 14px; padding: 15px; border: 1px solid var(--venue-border); border-radius: 14px; }
.venue-detail .venue-route > i { color: var(--venue-blue); margin-top: 5px; width: 20px; }
.venue-detail .venue-route strong { font-size: 14px; }
.venue-detail .venue-route span { display: block; font-size: 13px; color:var(--theme-foreground-muted, #596b7e); margin-top: 3px; }
.venue-detail .venue-hours-spotlight { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 22px; margin-bottom: 20px; border: 1px solid var(--portal-chip-border); border-radius: 18px; background: linear-gradient(120deg, var(--portal-chip-bg), white); }
.venue-detail .venue-hours-clock { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background:var(--theme-surface, white); color: var(--venue-blue); box-shadow: 0 3px 12px rgba(29,79,132,.08); font-size: 24px; }
.venue-detail .venue-hours-spotlight > div { flex: 1; min-width: 140px; }
.venue-detail .venue-hours-spotlight .venue-eyebrow { margin-bottom: 5px; }
.venue-detail .venue-hours-spotlight strong { font-size: 17px; font-weight: 600; color: var(--venue-ink-blue); }
.venue-detail .venue-hours-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 30px; padding: 5px 10px; font-size: 11px; background:var(--theme-surface, white); color:var(--theme-foreground-muted, #596b7e); }
.venue-detail .venue-hours-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background:currentColor; }
.venue-detail .venue-hours-status.is-open { color:var(--theme-foreground, #246249); }
.venue-detail .venue-hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.venue-detail .venue-hours-day { position: relative; padding: 17px 12px 12px; border: 1px solid var(--venue-border); border-radius: 14px; background:var(--theme-surface, white); }
.venue-detail .venue-hours-day::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 3px; border-radius: 0 0 4px 4px; background: var(--portal-tint); }
.venue-detail .venue-hours-day.is-today { background: var(--portal-surface); border-color: var(--venue-blue); }
.venue-detail .venue-hours-day.is-today::before { background: var(--venue-blue); }
.venue-detail .venue-hours-day.is-empty { background:var(--theme-surface-muted, #f8fafc); }
.venue-detail .venue-hours-day-title { min-height: 46px; color:var(--theme-foreground, #344d66); font-size: 13px; }
.venue-detail .venue-hours-slots { display: grid; gap: 5px; }
.venue-detail .venue-hours-slot { display: block; width: fit-content; max-width: 100%; padding: 4px 7px; background: var(--portal-chip-bg); border-radius: 7px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--venue-ink-blue); }
.venue-detail .is-empty .venue-hours-slot { padding-left: 0; background:none; color:var(--theme-foreground-muted, #687787); }
.venue-detail .venue-hours-legend { margin-top: 16px; font-size: 11px; color:var(--theme-foreground-muted, #596b7e); }
.venue-detail .venue-hours-legend i { color: var(--venue-blue); margin-right: 4px; }
.venue-detail .venue-today { display: block; font-size: 11px; color: var(--venue-ink-blue); }
.venue-detail .venue-reviews-card { overflow: hidden; }
.venue-detail .venue-reviews-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.venue-detail .venue-review-count { color: var(--venue-ink-blue); font-size: 12px; }
.venue-detail .venue-reviews { display: grid; gap: 14px; }
.venue-detail .venue-review { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 16px; padding: 20px; border: 1px solid var(--venue-border); border-radius: 16px; background: var(--portal-surface); }
.venue-detail .venue-review i { color: var(--venue-blue); font-size: 22px; }
.venue-detail .venue-review p { white-space: pre-wrap; color:var(--theme-foreground-muted, #45596e); font-size: 14px; }
.venue-detail .venue-reviews-navigation { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.venue-detail .venue-reviews-navigation > span { color:var(--theme-foreground-muted, #596b7e); font-size: 12px; text-align: center; }
.venue-detail .venue-button:disabled { opacity: .5; cursor: wait; }
.venue-detail .venue-sidebar .venue-map { height: 300px; }
.venue-detail .venue-empty { padding: 40px; }
.venue-detail .venue-empty h1 { font-size: 32px; margin: 12px 0; }
.venue-detail .venue-loading { display: flex; align-items: center; gap: 12px; }
.venue-detail .venue-gallery { position: fixed; inset: 0; width: calc(100% - 32px); max-width: 1400px; height: calc(100dvh - 32px); max-height: none; margin: auto; padding: 22px; border:1px solid rgba(255,255,255,.2); border-radius: 22px; background:#0d1c30; color:white; }
.venue-detail .venue-gallery::backdrop { background:rgba(5,15,29,.92); }
.venue-detail .venue-gallery-content { display: flex; flex-direction: column; height: 100%; gap: 20px; }
.venue-detail .venue-gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.venue-detail .venue-gallery-heading > span { min-width: 0; }
.venue-detail .venue-gallery-heading button { flex-shrink: 0; }
.venue-detail .venue-gallery-stage { min-height: 0; flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; }
.venue-detail .venue-gallery-stage img { min-width: 0; flex: 1; height: 100%; object-fit: contain; border-radius: 12px; }
@container venue (min-width: 520px) {
    .venue-detail .venue-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .venue-detail .venue-facts > div { align-items: start; }
    .venue-detail .venue-cover { min-height: 460px; padding: 36px; }
    .venue-detail .venue-cover-fallback { min-height: 300px; }
    .venue-detail .venue-cover-title h1 { font-size: 48px; }
}
@container venue (min-width: 900px) {
    .venue-detail .venue-cover { min-height: 520px; padding: 48px; }
    .venue-detail .venue-cover-fallback { min-height: 330px; }
    .venue-detail .venue-cover-title h1 { font-size: 64px; max-width: 20ch; }
    .venue-detail .venue-introduction { padding: 32px 40px; }
    .venue-detail .venue-thumbnails { padding-inline: 40px; }
    .venue-detail .venue-body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; padding-top: 24px; }
    .venue-detail .venue-main { grid-column: 1; grid-row: 1; gap: 24px; }
    .venue-detail .venue-sidebar { grid-column: 2; grid-row: 1; gap: 24px; }
    .venue-detail .venue-card { padding: 32px; }
    .venue-detail .venue-map { height: 400px; }
}
@container venue (min-width: 660px) {
    .venue-detail .venue-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .venue-detail .venue-review { padding: 16px; }
}
@container venue (max-width: 399px) {
    .venue-detail .venue-cover, .venue-detail .venue-introduction, .venue-detail .venue-card { padding: 20px; }
    .venue-detail .venue-cover-title h1 { font-size: 32px; }
    .venue-detail .venue-cover { min-height: 380px; }
    .venue-detail .venue-cover-fallback { min-height: 260px; }
    .venue-detail .venue-headline { font-size: 16px; }
    .venue-detail .venue-cover-controls { gap: 7px; }
    .venue-detail .venue-cover-controls > .venue-button:last-child { flex-basis: 100%; }
    .venue-detail .venue-gallery { padding: 12px; }
    .venue-detail .venue-gallery-stage { gap: 5px; }
    .venue-detail .venue-inquiry-fields { grid-template-columns:1fr; }
    .venue-detail .venue-inquiry-actions { flex-direction:column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
    .venue-detail *, .venue-detail *::before, .venue-detail *::after { transition: none; scroll-behavior: auto; }
}

html[data-theme="dark"] .venue-detail {
    --venue-ink-blue: var(--theme-link);
    --venue-border: var(--border);
    --portal-surface: var(--surface-muted);
    --portal-chip-bg: var(--surface-muted);
    --portal-chip-border: var(--border);
    --portal-tint: var(--surface-muted);
}

html[data-theme="dark"] .venue-detail :is(a, button, input, textarea, [tabindex]):focus-visible {
    outline-color: var(--focus);
}

html[data-theme="dark"] .venue-detail :is(input, textarea)::placeholder {
    color: var(--foreground-muted);
    opacity: 1;
}

html[data-theme="dark"] .venue-detail-page-shell {
    background: var(--surface-muted);
}
