/* ── Location teaser (Home, /course, /next, /contact) ────────────────
   A calm two-column "where you'll study" card: the venue body on the
   right (RTL reading start), the Mindspace venue photo + wordmark credit
   on the left - so the student sees the space before clicking through to
   /location. Mirrors the .nc-teaser rhythm so the two teasers read as a
   pair. CSS lives here per Chrome Workspaces (no inline / <style> in .vue).

   Variants:
     .loc-teaser--full     - dedicated/cross placements (facts row, larger photo)
     .loc-teaser--compact  - main pages (no facts row, tighter photo) */

.loc-teaser { padding: var(--space-2xl) var(--space-xl); }
.loc-teaser-inner { max-width: 1080px; margin: 0 auto; }

.loc-teaser-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.loc-teaser-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.loc-teaser-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
.loc-teaser-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-color);
  margin-bottom: var(--space-md);
}
.loc-teaser-lead {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
}

/* Facts row (full variant only) - quiet venue spec rhythm. */
.loc-teaser-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: 0 0 var(--space-xl);
}
.loc-teaser-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.loc-teaser-fact-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}
.loc-teaser-fact-label i { color: var(--primary-color); font-size: 13px; }
.loc-teaser-fact-value { font-size: 15px; font-weight: 600; color: var(--text-color); letter-spacing: -0.02em; }

.loc-teaser-footer { display: flex; align-items: center; gap: var(--space-lg); }
.loc-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--accent-warm);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(123, 50, 14, 0.1), 0 4px 14px rgba(196, 85, 26, 0.18);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.loc-teaser-cta:hover {
  background: var(--accent-warm-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(123, 50, 14, 0.14), 0 8px 22px rgba(196, 85, 26, 0.28);
}
.loc-teaser-cta svg { flex: none; }

/* Venue figure: photo + wordmark credit read as one "מקום הלימודים" card,
   mirroring the /location hero figure. */
.loc-teaser-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 7px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow:
    0 1px 2px rgba(0, 60, 130, 0.06),
    0 16px 40px rgba(0, 60, 130, 0.14);
}
.loc-teaser-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 380px;
  object-fit: cover;
}
.loc-teaser-venue-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-light);
}
.loc-teaser-venue-text { font-size: 13px; color: var(--text-secondary); display: block; text-align: center; }
.loc-teaser-venue-mark { height: 18px; }
.loc-teaser-venue-divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 60, 130, 0.18);
}
.loc-teaser-mindspace-logo { height: 30px; width: auto; }

/* Compact variant: tighter photo, no facts row (hidden in template). */
.loc-teaser--compact .loc-teaser-img { min-height: 240px; max-height: 300px; }

/* Tablet: keep two columns, tighten the gap and the photo height. */
@media (max-width: 1024px) {
  .loc-teaser-card { gap: var(--space-xl); }
  .loc-teaser-img { min-height: 240px; max-height: 320px; }
  .loc-teaser--compact .loc-teaser-img { min-height: 220px; max-height: 280px; }
}

/* Mobile: stack, venue photo on top. */
@media (max-width: 767px) {
  .loc-teaser { padding: var(--space-xl) var(--space-md); }
  .loc-teaser-card { grid-template-columns: 1fr; gap: var(--space-xl); }
  .loc-teaser-figure { order: -1; }
  .loc-teaser-img,
  .loc-teaser--compact .loc-teaser-img { min-height: 220px; max-height: 260px; }
  .loc-teaser-facts { flex-direction: column; align-items: stretch; }
  .loc-teaser-footer { width: 100%; }
  .loc-teaser-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .loc-teaser-cta { transition: none; }
}
