/* Direct venue live-route CSS: old concept/demo and venue-specific nav selectors quarantined in styles.css. Marker: 20260613-live-path-hardening-1 */
:root {
  --bg: #f6f9ff;
  --ink: #071022;
  --muted: #647084;
  --soft: #eef3f8;
  --soft-2: #f6f9fd;
  --line: rgba(7, 16, 34, 0.1);
  --navy: #071022;
  --blue: #008ef4;
  --aqua: #34e2e4;
  --deep: #003388;
  --purple: #7a00df;
  --red: #f60404;
  --yellow: #f3df06;
  --green: #18864f;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(10, 22, 45, 0.12);
  --soft-shadow: 0 10px 28px rgba(10, 22, 45, 0.08);
  --nav-hide-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(0, 142, 244, 0.16), rgba(255, 255, 255, 0) 28%),
    var(--bg);
  font-size: 16px;
  line-height: 1.58;
}

body[data-concept="dashboard"] {
  background: #f1f5fb;
}

a {
  color: inherit;
}

button,
a.button-like,
.gs-venue__pill,
.action {
  min-height: 44px;
}

.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
}

.index-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.index-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.source-kicker,
.gs-venue__section-label {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.index-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.index-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.index-grid a {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.index-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.index-grid strong {
  font-size: 1.1rem;
  line-height: 1.15;
}

.index-grid em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.source-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-note h2 {
  margin-top: 0;
}

.source-note code {
  white-space: normal;
  overflow-wrap: anywhere;
}




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

.profile-hero {
  padding: 38px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: end;
}

.breadcrumb {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.location-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 780;
  font-size: 1.08rem;
}

.verified {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 850;
}

.status-stack {
  display: grid;
  gap: 12px;
}

.fact-strip,
.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fact,
.mini-fact,
.control-card,
.source-card,
.content-block,
.nearest-card,
.plan-step,
.event-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.fact,
.mini-fact {
  padding: 14px;
}

.fact span,
.mini-fact span,
.panel-label,
.section-tag {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fact strong,
.mini-fact strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.action,
.save-button,
.gs-venue__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.action.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.save-button[aria-pressed="true"] {
  border-color: #ffd34d;
  background: #fff5c2;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.practical-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 56px;
}

.side-rail {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.side-rail a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.side-rail a:hover {
  background: var(--white);
  color: var(--ink);
}

.content-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.content-block {
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
  overflow-wrap: anywhere;
}

.content-block h2,
.content-block .gs-venue__section-title {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.content-block p {
  margin: 0 0 14px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.content-block figure {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
}

.content-block th,
.content-block td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-block th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.gs-venue__facilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin: 16px 0 22px;
}

.gs-venue__facility {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft-2);
  font-weight: 760;
}

.gs-venue__facility svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
  flex: 0 0 18px;
}

.nearest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.nearest-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  text-decoration: none;
}

.nearest-card strong {
  font-size: 1rem;
}

.nearest-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nearest-card,
.index-grid a {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nearest-card:hover,
.index-grid a:hover {
  border-color: rgba(0, 142, 244, 0.38);
  background: rgba(0, 142, 244, 0.08);
  box-shadow: 0 12px 28px rgba(0, 142, 244, 0.14);
}

.nearest-card:hover strong,
.index-grid a:hover strong {
  color: #008ef4;
}

.premium-hero {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #071321;
  color: var(--white);
  box-shadow: var(--shadow);
}

.premium-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  min-height: 470px;
}

.premium-copy {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.premium-copy .location-line,
.premium-copy .breadcrumb,
.premium-copy .verified {
  color: rgba(255, 255, 255, 0.78);
}

.premium-copy .verified {
  color: #8df0b1;
}

.hero-image {
  min-height: 420px;
  background-image: linear-gradient(90deg, rgba(7, 19, 33, 0.12), rgba(7, 19, 33, 0)), url("source/wp-content/uploads/2026/03/find-uk-gay-saunas-near-you.jpg");
  background-size: cover;
  background-position: center;
}

.profile-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 142, 244, 0.16), rgba(255, 255, 255, 0) 28%),
    var(--bg);
  overflow-x: clip;
}

.profile-content-area {
  min-width: 0;
}


.profile-main {
  min-width: 0;
  padding: 28px;
}


.review-hero,
.calm-hero,
.ledger-hero {
  display: grid;
  gap: 20px;
  margin: 0 0 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, 0.06), var(--soft-shadow);
}

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

.review-hero h1,
.calm-hero h1,
.ledger-hero h1 {
  max-width: 840px;
}

.venue-profile-hero {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
}

.venue-profile-hero__image {
  position: relative;
  aspect-ratio: 8 / 3;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--deep);
}

.venue-profile-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.venue-profile-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 51, 136, 0.04), rgba(0, 30, 72, 0.76));
  pointer-events: none;
}

.venue-profile-hero__overlay {
  position: absolute;
  left: clamp(18px, 4vw, 34px);
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 32px);
  z-index: 1;
  color: #fff;
}

.venue-profile-hero__overlay .breadcrumb {
  color: rgba(255, 255, 255, 0.82);
}

.venue-profile-hero__overlay h1 {
  max-width: none;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  white-space: nowrap;
}

.venue-profile-hero__details {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.venue-profile-hero__details .location-line {
  margin: 0;
}

/* Venue name: smaller + flows on one line on desktop (was the generic h1 clamp to 5.2rem,
   capped at 840px, which wrapped long names). Mark 2026-06-14. */
.venue-profile-hero__details h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  max-width: none;
  text-wrap: balance;
}

.hero-signal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.hero-signal span,
.hero-signal strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.hero-signal span {
  color: var(--muted);
  font-weight: 780;
}

.hero-signal strong {
  color: var(--green);
  font-weight: 950;
}

.hero-signal strong.hero-signal__status--closed {
  color: var(--red);
}

.hero-signal strong.hero-signal__status--unknown {
  color: var(--muted);
}

.hero-signal--combined {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  align-items: center;
}

.hero-signal--combined > * {
  min-width: 0;
}

.hero-signal__verified {
  color: var(--green);
}

.hero-signal__verified .icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.action-panel {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, 0.06), var(--soft-shadow);
}

.action-panel h2 {
  margin: 2px 0 0;
  font-size: 1.55rem;
}

.action-panel p {
  margin: 0;
  color: var(--muted);
}

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

.action-panel .action,
.action-panel .save-button {
  width: 100%;
}

.hybrid-layout,
.civic-board,
.calm-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.directory-flow,
.ledger-list {
  display: grid;
  gap: 18px;
}

.directory-flow__lead,
.directory-flow__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.calm-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  align-items: end;
  background: #fbfcfe;
}

.calm-hero .action-panel {
  position: static;
}

.action-panel--plain {
  border: 1px solid var(--line);
  padding: 18px;
  background: #f6f9fd;
}


.profile-shell--alg-guide .calm-hero,
.profile-shell--alg-guide .content-block,
.profile-shell--alg-guide .action-panel {
  border-radius: 8px;
}

.profile-shell--alg-guide .content-block {
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, 0.08), var(--shadow);
}

.profile-shell--alg-guide .content-block h2,
.profile-shell--alg-guide .content-block .gs-venue__section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.02;
  font-weight: 900;
}

.profile-shell--alg-guide .action,
.profile-shell--alg-guide .save-button,
.profile-shell--alg-guide .gs-venue__pill {
  border-radius: 999px;
  background: #eef3f8;
}

.profile-shell--alg-guide .action.primary {
  background: var(--blue);
  border-color: var(--blue);
}

.calm-body article,
.calm-body aside,
.civic-board__records,
.civic-board__summary,
.brief-lane,
.brief-full,
.ledger-row__content {
  min-width: 0;
}

.calm-body article,
.calm-body aside,
.civic-board__records,
.brief-lanes {
  display: grid;
  gap: 18px;
}

.civic-board__summary {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 18px;
}

.brief-lanes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.brief-lane {
  display: grid;
  gap: 18px;
}

.brief-full {
  grid-column: 1 / -1;
}

.ledger-hero {
  grid-template-columns: minmax(0, 1fr);
}

.ledger-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-row__number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 950;
}

.ledger-row .content-block {
  padding: 0;
  border: 0;
  background: transparent;
}

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

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

.accordion-masonry__column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.accordion-row {
  border: 0;
  min-width: 0;
}

.accordion-masonry .accordion-row {
  display: block;
  margin: 0;
}

.accordion-support {
  margin: 0 0 14px;
}

.accordion-list + .accordion-support {
  margin-top: 14px;
}

.accordion-row summary,
.accordion-fixed-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, 0.08), var(--soft-shadow);
  cursor: pointer;
  list-style: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.accordion-fixed-summary {
  grid-template-columns: 42px minmax(0, 1fr);
  cursor: default;
}

.accordion-row summary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(0, 142, 244, 0.18), var(--shadow);
}

.accordion-row[open] summary {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 142, 244, 0.24), var(--shadow);
}

.accordion-row[data-locked-open] summary {
  grid-template-columns: 42px minmax(0, 1fr);
  cursor: default;
}

.accordion-row[data-locked-open] summary:hover {
  transform: none;
}

.accordion-row summary::-webkit-details-marker {
  display: none;
}

.accordion-row__number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 950;
}

.accordion-row__title {
  min-width: 0;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.accordion-row__state::before {
  content: "";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(0, 142, 244, 0.26);
}

.accordion-row__state::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -62%) rotate(45deg);
  transition: transform 180ms ease;
}

.accordion-row[open] .accordion-row__state::after {
  width: 14px;
  height: 14px;
  border: 0;
  background:
    linear-gradient(#fff, #fff) center / 14px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 14px no-repeat;
  transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-row__state {
  position: relative;
  width: 34px;
  height: 34px;
}

.accordion-row__content {
  min-width: 0;
  padding: 12px 0 8px;
}

.accordion-row__content .content-block {
  padding: clamp(18px, 3vw, 28px);
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, 0.08), var(--shadow);
}

.profile-shell--accordion .accordion-row__content .content-block {
  display: flow-root;
}

.accordion-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  grid-auto-rows: minmax(52px, auto);
  gap: 8px;
}

.accordion-content-actions {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

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

.opening-hours-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.opening-hours-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  padding: 8px 9px;
  border: 1px solid rgba(7, 16, 34, 0.08);
  border-radius: 12px;
  background: #fff;
  font-size: 0.9rem;
}

.opening-hours-row strong,
.opening-hours-row span {
  min-width: 0;
  white-space: nowrap;
}

.opening-hours-row strong {
  font-weight: 880;
}

.opening-hours-row span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 780;
  text-align: right;
}

.accordion-action {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: var(--soft-2);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 34, 0.06);
  cursor: pointer;
}

.accordion-action--wide {
  justify-content: space-between;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 142, 244, 0.24);
}

.profile-shell--accordion #contact .accordion-action {
  min-height: 52px;
  height: 52px;
  background: #008ef4;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 142, 244, 0.24);
}

.profile-shell--accordion #contact .accordion-action:hover {
  background: #0078cf;
}

.profile-shell--accordion #contact .save-button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(7, 16, 34, 0.24);
}

.scroll-anchor {
  display: block;
  position: relative;
  top: -12px;
}

.section-back-top {
  display: none;
}

.accordion-support--nearest .section-back-top {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 14px 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 142, 244, 0.28);
}

.facilities-table {
  margin: 0 0 22px;
  overflow-x: auto;
}

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

.facilities-table td {
  width: 50%;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-weight: 760;
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 24px;
  padding: 28px 0 58px;
}

.premium-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
  align-self: start;
  min-width: 0;
}

.source-card {
  padding: 18px;
}

.source-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.source-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.app-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  padding: 20px;
  background: #0c1d36;
  color: var(--white);
}

.app-sidebar h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.app-sidebar a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.76);
  border-radius: 7px;
  text-decoration: none;
  font-weight: 760;
}

.app-sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.dashboard-main {
  padding: 26px;
  min-width: 0;
}

.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.35fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-width: 0;
}

.dashboard-card h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.span-7 {
  grid-column: span 7;
  min-width: 0;
}

.span-5 {
  grid-column: span 5;
  min-width: 0;
}

.span-12 {
  grid-column: span 12;
  min-width: 0;
}


.planner-hero {
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--line);
}

.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 28px;
  padding: 28px 0 58px;
}

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

.plan-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  min-width: 0;
}

.plan-step > div {
  min-width: 0;
}

.plan-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 950;
}

.planner-aside {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(290px, 0.3fr);
  gap: 42px;
  padding: 54px 0 36px;
  border-bottom: 1px solid var(--line);
}

.editorial-hero h1 {
  max-width: 820px;
}

.editorial-body {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
  gap: 42px;
  padding: 34px 0 70px;
}

.editorial-body article,
.editorial-rail {
  min-width: 0;
}

.editorial-body .content-block {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.editorial-body .content-block:first-child {
  padding-top: 0;
}

.editorial-rail {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 12px;
}

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

.event-card {
  padding: 13px 14px;
}

.event-card strong {
  display: block;
}

.event-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state {
  padding: 14px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.source-audit {
  margin: 22px 0 0;
  padding: 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
  font-size: 0.92rem;
}

.source-audit ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.footer-note {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .index-grid,
  .hero-grid,
  .premium-grid,
  .premium-hero-grid,
  .planner-layout,
  .editorial-hero,
  .editorial-body,
  .dashboard-top,
  .dashboard-shell,
  .profile-shell,
  .hybrid-layout,
  .civic-board,
  .calm-body,
  .calm-hero,
  .directory-flow__lead,
  .directory-flow__grid,
  .brief-lanes {
    grid-template-columns: 1fr;
  }

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

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


  .profile-main {
    padding: 18px 18px 96px;
  }


  .app-sidebar {
    display: none;
  }

  .dashboard-main {
    padding: 16px 0 76px;
    width: min(100% - 32px, 760px);
    margin: 0 auto;
  }

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

  .span-7,
  .span-5,
  .span-12 {
    grid-column: auto;
  }

}

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

  .page,
  .index-shell {
    width: min(100% - 24px, 760px);
  }


  .fact-strip,
  .quick-strip,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .hero-signal--combined {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-signal--combined > * {
    min-height: 24px;
  }

  .opening-hours-grid {
    grid-template-columns: 1fr;
  }

  .opening-hours-row {
    gap: 12px;
    padding: 9px 10px;
  }

  .opening-hours-row strong {
    flex: 0 0 auto;
  }

  .opening-hours-row span {
    margin-left: auto;
  }

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

  .action,
  .save-button,
  .gs-venue__pill {
    width: 100%;
  }

  .content-block {
    padding: 16px;
  }

  .profile-main {
    padding: 12px;
  }

  .review-hero,
  .calm-hero,
  .ledger-hero,
  .dashboard-card,
  .source-card {
    padding: 16px;
  }

  .accordion-list {
    gap: 12px;
  }

  .accordion-masonry {
    grid-template-columns: 1fr;
    margin: 12px 0;
  }

  .ledger-row,
  .plan-step {
    grid-template-columns: 1fr;
  }

  .ledger-row__number,
  .plan-number {
    width: 38px;
    height: 38px;
  }

  .accordion-row summary,
  .accordion-fixed-summary {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    gap: 10px;
    min-height: 58px;
    padding: 9px;
  }

  .accordion-fixed-summary {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .accordion-row__number {
    width: 38px;
    height: 38px;
  }

  .accordion-row__title {
    font-size: 1.05rem;
  }

  .accordion-row__content {
    padding: 10px 0 6px;
  }

  .accordion-row__content .content-block {
    border-radius: 22px;
  }

  .section-back-top {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 10px 0 0 auto;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 142, 244, 0.28);
  }

  .content-block table {
    min-width: 620px;
    white-space: nowrap;
  }

  .profile-shell--accordion .content-block table,
  .profile-shell--accordion .facilities-table table {
    min-width: 0;
    white-space: normal;
  }

  .premium-hero-grid {
    min-height: auto;
  }

  .hero-image {
    min-height: 260px;
    order: -1;
  }

  .venue-profile-hero {
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
  }

  .venue-profile-hero__image {
    border-radius: 22px 22px 0 0;
  }

  .venue-profile-hero__overlay h1 {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }
}
@media (min-width: 760px) {
  .profile-shell--accordion #contact .accordion-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .profile-shell--accordion #nearest .nearest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


@media (max-width: 759px) {
  .profile-app--main-header .profile-shell {
    display: block;
  }

}

/* Venue nav fix (2026-06-14, Claude): keep the desktop sidebar fixed like every
   other page. The shell (.profile-app.app) has overflow:hidden but auto height,
   so the WINDOW scrolls and the sticky sidebar scrolls away. Give the shell a
   viewport-height frame + an inner-scrolling content column (the model the
   full-content-pwa pages already use). Venue-scoped (.profile-app) + desktop-only,
   so mobile (single-column, bottom tabs) is untouched. */
@media (min-width: 760px) {
  .profile-app--main-header.app {
    height: 100vh;
    height: 100dvh;
  }
  .profile-app--main-header .profile-content-area {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
  }
}
