/* Location detail — cinematic full-width hero */

.dir-location-hero--cinematic {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 46vh, 500px);
  overflow: hidden;
  margin-bottom: 32px;
}

.dir-location-hero__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 55%, #312e81 100%);
}

.dir-location-hero__media[data-dir-hero-fallback] {
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%),
    var(--gradient);
}

.dir-location-hero__marquee {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dir-location-hero__strip {
  display: flex;
  width: max-content;
  height: 100%;
  animation: dir-location-hero-scroll 80s linear infinite;
  will-change: transform;
}

.dir-location-hero__slide {
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 520px);
  height: 100%;
}

.dir-location-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dir-location-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 17, 32, 0.62) 0%, rgba(11, 17, 32, 0.38) 42%, rgba(11, 17, 32, 0.52) 100%),
    linear-gradient(180deg, rgba(11, 17, 32, 0.12) 0%, rgba(11, 17, 32, 0.38) 100%);
  pointer-events: none;
}

.dir-location-hero__content {
  position: relative;
  z-index: 2;
  min-height: clamp(360px, 46vh, 500px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px) 24px clamp(32px, 5vw, 56px);
}

.dir-location-hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dir-location-hero__breadcrumb {
  min-width: 0;
  flex: 1;
}

.dir-location-hero__nav .dir-location-breadcrumb {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.dir-location-hero__nav .dir-location-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.dir-location-hero__nav .dir-location-breadcrumb a:hover {
  color: #fff;
}

.dir-location-hero__nav .dir-location-breadcrumb span[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.dir-location-hero__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}

.dir-location-hero__back-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.dir-location-hero__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dir-location-hero__main {
  display: grid;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.dir-location-hero__identity {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.dir-location-hero__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.dir-location-hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.dir-location-hero__brand {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.dir-location-hero__details {
  color: #fff;
}

.dir-location-hero__title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0;
  color: #fff;
}

.dir-location-hero__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  max-width: 640px;
}

.dir-location-hero__address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.92);
}

.dir-location-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dir-location-hero__category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--dir-location-accent, var(--primary));
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.dir-location-hero__meta .dir-location-badge {
  backdrop-filter: blur(6px);
}

.dir-location-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dir-location-hero__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  color: #fff;
  text-align: right;
}

.dir-location-hero__rating-score {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  line-height: 1;
}

.dir-location-hero__rating-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.dir-location-page__body {
  padding-bottom: clamp(48px, 8vw, 96px);
}

@keyframes dir-location-hero-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dir-location-hero__strip {
    animation: none;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .dir-location-hero__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .dir-location-hero__rating {
    align-items: flex-start;
    text-align: left;
  }

  .dir-location-hero__identity {
    align-items: flex-start;
  }

  .dir-location-hero__nav {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .dir-location-hero__nav {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .dir-location-hero__back-btn {
    align-self: flex-start;
  }

  .dir-location-hero__breadcrumb {
    width: 100%;
  }

  .dir-location-hero__nav .dir-location-breadcrumb {
    font-size: 12px;
    line-height: 1.45;
  }

  .dir-location-hero__slide {
    width: clamp(240px, 72vw, 360px);
  }

  .dir-location-hero__logo {
    width: 60px;
    height: 60px;
    padding: 8px;
  }
}
