.location-section { border-block: 1px solid var(--color-border); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}
@media (min-width: 1024px) {
  /* Two rows: row 1 holds .location-col and .location-map side by side
     (stretched to match each other's height exactly — that's the actual
     alignment with the "squares on the left"); row 2 holds only the
     privacy note, confined to the map's own column beneath it. Giving
     the note its own row (rather than nesting it inside .location-map's
     column as a flex sibling) means it doesn't compete with the map for
     space inside a shared fixed-height box, which previously shrank the
     map short of matching .location-col's height. */
  .location-grid {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: auto auto;
    row-gap: var(--space-sm);
    column-gap: var(--space-xl);
  }
  .location-col { grid-column: 1; grid-row: 1; }
  .location-map { grid-column: 2; grid-row: 1; }
  .location-map__privacy-note { grid-column: 2; grid-row: 2; }
}

.location-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.location-card,
.schedule-card {
  background: var(--color-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-md);
}

.location-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.location-card__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  /* --color-live-green-text, not --color-live-green: the base green
     measured ~2.95:1 at this small bold size, under WCAG AA's 4.5:1. */
  color: var(--color-live-green-text);
}
.location-card__label .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: currentColor;
}
.location-card__area {
  font-size: 0.7rem;
  font-weight: 700;
  /* --color-primary-hover, not --color-primary: measured ~4.2:1 here,
     under WCAG AA's 4.5:1 minimum for this text size. */
  color: var(--color-primary-hover);
  background: var(--color-red-tint-bg);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
}
.location-card address { font-style: normal; }
.location-card__cta { margin-top: 0.75rem; }

.schedule-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-brand-black);
}
.schedule-card__title .icon { color: var(--color-gold); }

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.6rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
}
.schedule-row:first-of-type { border-top: none; }
.schedule-row__day { font-weight: 700; }
/* --color-primary-hover, not --color-primary: measured ~4.46:1 here,
   just under WCAG AA's 4.5:1 minimum for this text size. */
.schedule-row__hours { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; color: var(--color-primary-hover); }
.schedule-row__hours .dot { width: 0.5rem; height: 0.5rem; border-radius: var(--radius-full); background: var(--color-live-green); }
.schedule-row--closed { color: var(--color-muted-gray); }
/* --color-muted-gray, not --color-gold-hover: the gold measured ~2.41:1,
   well under WCAG AA's 4.5:1 — muted-gray also better matches this row's
   own "grayed out" closed-day intent (see index.html's comment on
   schedule-loader.js). */
.schedule-row--closed .schedule-row__note { text-transform: uppercase; font-size: 0.7rem; font-weight: 700; color: var(--color-muted-gray); }

.location-vacation-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background: var(--color-amber-tint-bg);
  border: 1px solid var(--color-amber-tint-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-md);
}
.location-vacation-note .icon { color: var(--color-gold); width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.location-vacation-note h5 {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8125rem;
}
.location-vacation-note p { font-size: 0.75rem; margin-top: 0.2rem; }

.location-map {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-subtle);
  min-height: 20rem;
  height: 100%;
}
.location-map__privacy-note {
  margin-top: var(--space-sm);
  font-size: 0.625rem;
  color: var(--color-muted-gray);
  text-align: center;
  opacity: 0.85;
}
.location-map__privacy-note a { color: inherit; text-decoration: underline; }
@media (min-width: 1024px) {
  /* The grid's own row-gap handles this spacing at desktop instead. */
  .location-map__privacy-note { margin-top: 0; }
}

.location-map__iframe {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  display: block;
}
.location-map__overlay {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  max-width: 20rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: var(--space-md);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .location-map__overlay { right: auto; }
}
.location-map__overlay-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}
.location-map__overlay-title span:last-child {
  font-family: var(--font-headline);
  font-weight: 800;
  color: var(--color-brand-black);
}
.location-map__overlay-actions {
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-map__live {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  font-weight: 700;
}
.location-map__live .dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: var(--radius-full);
  background: var(--color-live-green);
}
/* Gated behind prefers-reduced-motion, same as html's scroll-behavior in
   reset.css and .status-pill__dot in status-bar.css. */
@media (prefers-reduced-motion: no-preference) {
  .location-map__live .dot {
    animation: status-pulse 1.4s ease-in-out infinite;
  }
}
