/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 70rem;
  overflow: visible; /* allow autocomplete dropdown to overflow below hero */
  background: var(--color-dark);
  /* no z-index — prevents stacking context that traps the search overlay */
}

/* Background wrapper clips the video so it doesn't overflow the hero */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.42) saturate(0.5) contrast(1.1);
  transform: scale(1.06);
  transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero--loaded .hero__video {
  transform: scale(1);
}

/* Layered vignette — tuned for centred content */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(4, 8, 16, 0.18) 0%,
      rgba(4, 8, 16, 0.68) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(4, 8, 16, 0.5) 0%,
      rgba(4, 8, 16, 0.08) 45%,
      rgba(4, 8, 16, 0.5) 100%
    );
}

/* ── Content — centred in viewport ── */
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 3.2rem 3.2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(1.6rem);
  transition:
    opacity 1.2s ease 0.3s,
    transform 1.2s ease 0.3s;
}

.hero--loaded .hero__content {
  opacity: 1;
  transform: translateY(0);
}

.hero__center {
  width: 100%;
  max-width: 110rem;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-jost);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2.4rem;
}

.hero__eyebrow-line {
  display: block;
  width: 3rem;
  height: 0.1rem;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Headline */
.hero__headline {
  font-family: var(--font-jost);
  font-weight: 200;
  font-size: clamp(3.8rem, 5.2vw, 7.6rem);
  color: #fff;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero__headline--bold,
.hero__headline strong {
  font-weight: 800;
  color: #fff;
}

/* ── Search bar ── */
.hero__search {
  position: relative;
  margin: 4rem auto 0;
  max-width: 70rem;
}

.hero__search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 0.1rem solid rgba(255, 255, 255, 0.2);
  border-radius: 10rem;
  -webkit-backdrop-filter: blur(1.6rem);
  backdrop-filter: blur(1.6rem);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.hero__search-wrap:focus-within {
  border-color: rgba(232, 160, 32, 0.6);
  background: rgba(255, 255, 255, 0.14);
}

.hero__search-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 0 0 2.6rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hero__search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 2rem 1.8rem;
  font-family: var(--font-jost);
  font-size: 1.65rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
}

.hero__search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.hero__search-btn {
  flex-shrink: 0;
  background: var(--color-gold);
  border: none;
  cursor: pointer;
  margin: 0.5rem 0.5rem 0.5rem 0;
  padding: 1.5rem 3.2rem;
  border-radius: 10rem;
  font-family: var(--font-jost);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: background 0.22s ease;
  white-space: nowrap;
}

.hero__search-btn:hover {
  background: #fff;
}

/* ── Search backdrop overlay — full page ── */

/* ── Autocomplete / Trending dropdown ── */
.hero__autocomplete {
  display: none;
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  right: 0;
  z-index: 320; /* above backdrop (290) and search form (310) */
  background: #fff;
  border: 0.1rem solid rgba(13, 24, 36, 0.1);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 2.4rem 6.4rem rgba(13, 24, 36, 0.22);
  text-align: left;
}

.hero__autocomplete.is-open {
  display: block;
  animation: dropIn 0.2s ease forwards;
}
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Trending cities panel (shown when input is empty) ── */
.hero__ac-trending {
  padding: 1.8rem 0 0.6rem;
}
.hero__ac-trending-label {
  font-family: var(--font-jost);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 24, 36, 0.36);
  margin: 0 0 0.6rem;
  padding: 0 2rem;
}

/* Each city row */
.hero__ac-city-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.14s ease;
  cursor: pointer;
}
.hero__ac-city-row:hover {
  background: #f8f3ec;
  text-decoration: none;
}
.hero__ac-pin {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  color: var(--color-gold);
}
.hero__ac-city-row-name {
  flex: 1;
  font-family: var(--font-jost);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__ac-city-row-count {
  font-family: var(--font-jost);
  font-size: 1.25rem;
  color: rgba(13, 24, 36, 0.42);
  flex-shrink: 0;
}
.hero__ac-city-row .hero__ac-arrow {
  color: rgba(13, 24, 36, 0.18);
  flex-shrink: 0;
  transition:
    color 0.14s,
    transform 0.14s;
}
.hero__ac-city-row:hover .hero__ac-arrow {
  color: var(--color-gold);
  transform: translateX(0.2rem);
}

.hero__ac-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.2rem 1.8rem;
  text-decoration: none;
  border-bottom: 0.1rem solid rgba(13, 24, 36, 0.07);
  transition: background 0.15s ease;
  cursor: pointer;
}

.hero__ac-item:last-of-type {
  border-bottom: none;
}

.hero__ac-item:hover,
.hero__ac-item.is-active {
  background: #f8f3ec;
  text-decoration: none;
}

.hero__ac-thumb {
  width: 6rem;
  height: 4rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(13, 24, 36, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__ac-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__ac-thumb svg {
  width: 2.4rem;
  height: 2.4rem;
  color: rgba(13, 24, 36, 0.22);
}

.hero__ac-info {
  flex: 1;
  min-width: 0;
}

.hero__ac-name {
  font-family: var(--font-jost);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-dark-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__ac-city {
  font-family: var(--font-jost);
  font-size: 1.25rem;
  color: rgba(13, 24, 36, 0.45);
  margin-top: 0.3rem;
}

.hero__ac-arrow {
  color: rgba(13, 24, 36, 0.2);
  flex-shrink: 0;
  transition:
    color 0.15s,
    transform 0.15s;
}

.hero__ac-item:hover .hero__ac-arrow,
.hero__ac-item.is-active .hero__ac-arrow {
  color: var(--color-gold);
  transform: translateX(0.2rem);
}

.hero__ac-all {
  display: block;
  padding: 1.4rem 2.4rem;
  font-family: var(--font-jost);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  text-decoration: none;
  background: #faf7f2;
  border-top: 0.1rem solid rgba(13, 24, 36, 0.08);
  text-align: center;
  transition: background 0.15s;
}

.hero__ac-all:hover {
  background: #f3ede3;
  text-decoration: none;
}

/* ── CTA row ── */
.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 3rem;
}

.hero__btn {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 0.1rem solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 1.3rem 3.2rem;
  border-radius: 10rem;
  font-family: var(--font-jost);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-backdrop-filter: blur(0.8rem);
  backdrop-filter: blur(0.8rem);
  transition:
    background 0.22s,
    border-color 0.22s,
    color 0.22s;
}

.hero__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}

.hero__stat {
  font-family: var(--font-jost);
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

/* ─── Discover by Type ───────────────────────────────────────────────────── */
.discover {
  background: linear-gradient(180deg, #f8f3ec 0%, #f1e7d9 100%);
  padding: 7.2rem 8rem 8rem;
}

.discover__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.discover__eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.discover__eyebrow-line {
  width: 2.8rem;
  height: 0.1rem;
  background: var(--color-gold);
  flex-shrink: 0;
}

.discover__eyebrow-text {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(13, 24, 36, 0.35);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.discover__title {
  font-family: var(--font-jost);
  font-weight: 800;
  font-size: clamp(4rem, 5vw, 6.4rem);
  color: var(--color-dark-mid);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.discover__all {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(13, 24, 36, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0.1rem solid rgba(13, 24, 36, 0.15);
  padding-bottom: 0.2rem;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  margin-bottom: 0.8rem;
}

.discover__all:hover {
  color: var(--color-navy);
  border-color: var(--color-navy);
}

@media (max-width: 900px) {
  .discover__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .discover__all {
    margin-bottom: 0;
  }
}

/* Type chips track */
.discover__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

/* ─── Type chips (Airbnb-style compact) ─────────────────────────────────── */
.types__chip {
  flex: 1 1 13rem;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2.8rem 1.6rem;
  background: #fff;
  border: 0.15rem solid rgba(13, 24, 36, 0.1);
  border-radius: 2rem;
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}

.types__chip:hover {
  border-color: var(--color-gold);
  background: #fffdf9;
  box-shadow: 0 0.8rem 2.4rem rgba(13, 24, 36, 0.08);
  transform: translateY(-0.3rem);
  text-decoration: none;
}

.types__chip-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-mid);
  flex-shrink: 0;
  transition: color 0.22s ease;
}

.types__chip-icon svg {
  width: 100%;
  height: 100%;
}

.types__chip:hover .types__chip-icon {
  color: var(--color-gold);
}

.types__chip-label {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-dark-mid);
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* ─── Featured Country ────────────────────────────────────────────────────── */
.featured {
  overflow: hidden;
  background: #f7f2eb;
}

.featured__inner {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 70rem;
}

/* Left image panel */
.featured__image-panel {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: var(--color-dark);
}

.featured__image-panel--empty {
  background: linear-gradient(160deg, #1a2a42 0%, #0d1824 100%);
}

.featured__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.8) brightness(0.65);
  transition:
    transform 8s ease,
    filter 0.5s ease;
}

.featured__image-panel:hover .featured__image {
  transform: scale(1.04);
  filter: saturate(0.85) brightness(0.58);
}

.featured__image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(7, 13, 23, 0.88) 0%,
      rgba(7, 13, 23, 0.3) 45%,
      rgba(7, 13, 23, 0.08) 100%
    ),
    linear-gradient(to right, rgba(7, 13, 23, 0.18) 0%, transparent 60%);
}

.featured__image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem;
}

.featured__image-label {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.featured__image-name {
  font-family: var(--font-jost);
  font-weight: 800;
  font-size: clamp(4rem, 4.8vw, 7rem);
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
}

.featured__image-desc {
  margin: 0 0 2.4rem;
  font-family: var(--font-jost);
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured__image-stats {
  display: flex;
  gap: 3.2rem;
}

.featured__image-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured__image-stat-value {
  font-family: var(--font-jost);
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.featured__image-stat-label {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Right content panel */
.featured__content {
  display: flex;
  flex-direction: column;
  padding: 5.6rem 6.4rem;
  background: #fff;
  border-left: 0.1rem solid rgba(13, 24, 36, 0.07);
}

.featured__content-head {
  margin-bottom: 3.2rem;
}

.featured__eyebrow {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}

.featured__title {
  font-family: var(--font-jost);
  font-weight: 800;
  font-size: clamp(3.6rem, 4.2vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-dark-mid);
  margin: 0 0 1.6rem;
}

.featured__lede {
  margin: 0;
  font-family: var(--font-jost);
  font-size: 1.6rem;
  line-height: 1.7;
  color: rgba(13, 24, 36, 0.55);
}

/* Museum list rows */
.featured__museum-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 3.6rem;
}

.featured__museum-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 0.1rem solid rgba(13, 24, 36, 0.07);
  text-decoration: none;
  transition: padding-left 0.22s ease;
}

.featured__museum-row:first-child {
  border-top: 0.1rem solid rgba(13, 24, 36, 0.07);
}

.featured__museum-row:hover {
  text-decoration: none;
  padding-left: 0.6rem;
}

.featured__museum-row-num {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(13, 24, 36, 0.2);
  letter-spacing: 0.04em;
  min-width: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.featured__museum-row-thumb {
  width: 10rem;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.6rem;
  background: rgba(13, 24, 36, 0.06);
}

.featured__museum-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
}

.featured__museum-row:hover .featured__museum-row-thumb img {
  transform: scale(1.1);
  filter: saturate(1);
}

.featured__museum-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.featured__museum-row-name {
  margin: 0;
  font-family: var(--font-jost);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark-mid);
  letter-spacing: -0.015em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.featured__museum-row:hover .featured__museum-row-name {
  color: var(--color-navy);
}

.featured__museum-row-city {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(13, 24, 36, 0.38);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured__museum-row-desc {
  margin: 0.4rem 0 0;
  font-family: var(--font-jost);
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(13, 24, 36, 0.42);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured__museum-row-views {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(13, 24, 36, 0.38);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Footer */
.featured__content-footer {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  margin-top: auto;
}

.featured__btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-dark-mid);
  color: #fff;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.featured__btn:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  text-decoration: none;
}

.featured__all-link {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(13, 24, 36, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0.1rem solid rgba(13, 24, 36, 0.14);
  padding-bottom: 0.2rem;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.featured__all-link:hover {
  color: var(--color-dark-mid);
  border-color: var(--color-dark-mid);
  text-decoration: none;
}

/* ─── Trending Museums ───────────────────────────────────────────────────── */
.trending {
  background: #f0ebe2;
  padding: 7.2rem 8rem 8.4rem;
}

.trending__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 3.6rem;
}

.trending__eyebrow {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(13, 24, 36, 0.4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.trending__title {
  max-width: 72rem;
  margin: 0;
  font-family: var(--font-jost);
  font-size: clamp(3.2rem, 4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-dark-mid);
}

.trending__all {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(13, 24, 36, 0.42);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0.1rem solid rgba(13, 24, 36, 0.14);
  padding-bottom: 0.2rem;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.trending__all:hover {
  color: var(--color-dark-mid);
  border-color: var(--color-dark-mid);
  text-decoration: none;
}

.trending__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.trending__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0.1rem solid rgba(13, 24, 36, 0.08);
  border-radius: 1.2rem;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.trending__card:hover {
  transform: translateY(-0.45rem);
  border-color: rgba(184, 141, 81, 0.4);
  box-shadow: 0 2rem 4rem rgba(13, 24, 36, 0.1);
  text-decoration: none;
}

.trending__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(13, 24, 36, 0.06);
}

.trending__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.9);
  transition:
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.35s ease;
}

.trending__card:hover .trending__img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.82);
}

.trending__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 13, 23, 0.72) 0%,
    rgba(7, 13, 23, 0.12) 52%,
    transparent 100%
  );
}

/* .trending__pill removed — views count no longer shown on cards */

.trending__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem;
  flex: 1;
}

.trending__city {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trending__name {
  margin: 0;
  font-family: var(--font-jost);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-dark-mid);
  transition: color 0.2s ease;
}

.trending__card:hover .trending__name {
  color: var(--color-navy);
}

.trending__discover {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-jost);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 24, 36, 0.35);
  margin-top: auto;
  padding-top: 0.4rem;
  transition: color 0.22s ease;
}

.trending__card:hover .trending__discover {
  color: var(--color-gold);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .types {
    padding: 6rem 0 6rem 4rem;
  }

  .types__header {
    padding-right: 4rem;
  }

  .types__track {
    padding-right: 4rem;
  }

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

  .featured__image-panel {
    min-height: 44rem;
    position: relative;
  }

  .featured__image {
    position: absolute;
  }

  .featured__content {
    padding: 4.8rem 4.8rem;
  }

  .trending {
    padding: 6.4rem 4rem 7.2rem;
  }

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

@media (max-width: 768px) {
  .hero__content {
    padding: calc(var(--nav-height) + 1.6rem) 2.4rem 3.2rem;
  }

  .hero__headline {
    font-size: clamp(4rem, 11vw, 6.4rem);
  }

  .hero__search {
    max-width: 100%;
  }

  .hero__cta-row {
    gap: 1.6rem;
  }

  .discover {
    padding: 5.6rem 2.4rem;
  }

  .discover__header {
    flex-wrap: wrap;
    gap: 1.6rem;
  }

  .types__chip {
    padding: 1.6rem 1.8rem 1.4rem;
  }

  .featured__image-panel {
    min-height: 36rem;
  }

  .featured__image-name {
    font-size: clamp(3.6rem, 14vw, 5.6rem);
  }

  .featured__content {
    padding: 3.6rem 2.4rem;
  }

  .featured__content-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured__btn {
    width: 100%;
    justify-content: center;
  }

  .trending {
    padding: 5.2rem 2.4rem 5.8rem;
  }

  .trending__header {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 480px) {
  .hero__search-btn {
    padding: 1.75rem 2rem;
  }

  .featured__image-panel {
    min-height: 30rem;
  }

  .featured__image-stats {
    gap: 2rem;
  }

  /* Prevent museum row content overflowing the panel */
  .featured__content {
    overflow: hidden;
    padding: 3.2rem 2rem;
  }

  /* Museum rows: allow name to wrap, hide non-essentials */
  .featured__museum-row {
    gap: 1.2rem;
    padding: 1.4rem 0;
    align-items: flex-start;
  }

  .featured__museum-row-thumb {
    width: 7.2rem;
    flex-shrink: 0;
  }

  .featured__museum-row-num {
    min-width: 2rem;
    font-size: 1.4rem;
    padding-top: 0.3rem;
  }

  .featured__museum-row-name {
    white-space: normal;
    font-size: 1.55rem;
  }

  .featured__museum-row-desc,
  .featured__museum-row-views {
    display: none;
  }

  /* Prevent image-content text overflowing image panel */
  .featured__image-content {
    padding: 2rem;
  }

  .featured__image-name {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .featured__image-desc {
    display: none;
  }
}

/* ─── Journal / Blog ─────────────────────────────────────────────────────── */
.journal {
  background: #f7f2eb;
  padding: 7.2rem 8rem 8.4rem;
}

/* ── Section header ── */
.journal__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 3.6rem;
}

.journal__eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.journal__eyebrow-line {
  width: 2.8rem;
  height: 0.1rem;
  background: var(--color-gold);
  flex-shrink: 0;
}

.journal__eyebrow-text {
  font-family: var(--font-jost);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(13, 24, 36, 0.35);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.journal__title {
  font-family: var(--font-jost);
  font-weight: 800;
  font-size: clamp(3.6rem, 4.2vw, 5.6rem);
  color: var(--color-dark-mid);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.journal__all {
  font-family: var(--font-jost);
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(13, 24, 36, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0.1rem solid rgba(13, 24, 36, 0.15);
  padding-bottom: 0.2rem;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.journal__all:hover {
  color: var(--color-navy);
  border-color: var(--color-navy);
  text-decoration: none;
}

/* ── Grid: 4 uniform cards, first child becomes the featured row ── */
.journal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 4rem;
}

/* First card spans all 3 columns and goes horizontal */
.journal__grid .journal__card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
}

.journal__grid .journal__card:first-child .journal__card-img-wrap {
  flex: 0 0 46%;
  aspect-ratio: 16 / 9;
}

.journal__grid .journal__card:first-child .journal__card-body {
  justify-content: center;
  padding: 3.6rem 4.4rem;
  gap: 1.6rem;
}

.journal__grid .journal__card:first-child .journal__card-title {
  font-size: clamp(2.2rem, 2.2vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.journal__grid .journal__card:first-child .journal__card-excerpt {
  font-size: 1.6rem;
  line-height: 1.7;
  color: rgba(13, 24, 36, 0.52);
}

/* ── Shared meta text ── */
.journal__meta-text {
  font-family: var(--font-jost);
  font-size: 1.4rem;
  color: rgba(13, 24, 36, 0.42);
}

.journal__meta-dot {
  color: rgba(13, 24, 36, 0.35);
  font-size: 1.4rem;
}

.journal__meta-author {
  font-weight: 600;
  color: rgba(13, 24, 36, 0.6);
}

.journal__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: saturate(0.7);
}

.journal__author-name {
  font-family: var(--font-jost);
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(13, 24, 36, 0.52);
}

/* ── Shared badge ── */
.journal__badge {
  display: inline-block;
  font-family: var(--font-jost);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
}

.journal__badge--gold {
  background: var(--color-gold);
  color: var(--color-dark);
  padding: 0.4rem 1rem;
}

.journal__badge--pill {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: rgba(13, 24, 36, 0.68);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 1rem;
  -webkit-backdrop-filter: blur(0.6rem);
  backdrop-filter: blur(0.6rem);
}

.journal__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 0.1rem solid rgba(13, 24, 36, 0.08);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.journal__card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.6rem 4rem rgba(13, 24, 36, 0.1);
  border-color: rgba(184, 141, 81, 0.4);
  text-decoration: none;
}

.journal__card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(13, 24, 36, 0.06);
  flex-shrink: 0;
}

.journal__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition:
    transform 0.65s ease,
    filter 0.3s ease;
}

.journal__card:hover .journal__card-img {
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.85);
}

.journal__card-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2.4rem;
  flex: 1;
}

.journal__card-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.journal__card-title {
  margin: 0;
  font-family: var(--font-jost);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-dark-mid);
  transition: color 0.22s ease;
}

.journal__card:hover .journal__card-title {
  color: var(--color-navy);
}

.journal__card-excerpt {
  margin: 0;
  font-family: var(--font-jost);
  font-size: 1.5rem;
  line-height: 1.65;
  color: rgba(13, 24, 36, 0.5);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .journal {
    padding: 6.4rem 4rem 7.2rem;
  }

  .journal__grid .journal__card:first-child .journal__card-img-wrap {
    flex: 0 0 42%;
  }

  .discover {
    padding: 5.6rem 2.4rem;
  }

  .discover__header {
    align-items: center;
    gap: 0;
  }

  .discover__title {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .journal {
    padding: 5.2rem 2.4rem 5.8rem;
  }

  .journal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  /* Featured card goes vertical on mobile */
  .journal__grid .journal__card:first-child {
    flex-direction: column;
  }

  .journal__grid .journal__card:first-child .journal__card-img-wrap {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 7;
  }

  .journal__grid .journal__card:first-child .journal__card-body {
    padding: 2.8rem 2.4rem;
  }

  .journal__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* First child still spans full width */
  .journal__grid .journal__card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .journal__grid {
    grid-template-columns: 1fr;
  }
}
