/* Public navigation pages: one quiet editorial system, distinct list layouts. */

::selection { background: #b19171; color: #1B190F; }

.home-hero,
.city-hero,
.reviews-hero,
.job-hero,
.news-hero,
.res-hero,
.blog-hero {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: 2.25rem;
}

.home-hero,
.city-hero { border-bottom: 1px solid var(--color-border); }

.home-hero__text,
.city-hero__inner,
.reviews-hero__inner,
.job-hero__inner,
.news-hero__inner,
.res-hero__inner,
.blog-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(16rem, .7fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
  max-width: none;
}

.home-hero__text { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.home-hero__title,
.city-hero__title,
.reviews-hero__title,
.job-hero__title,
.news-hero__title,
.res-hero__title,
.blog-hero__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5.25vw, 5.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-hero__title { max-width: 15ch; }
.job-hero__title { max-width: 14ch; }

.home-hero__title em,
.city-hero__title em,
.reviews-hero__title em,
.job-hero__title em,
.news-hero__title em,
.res-hero__title em,
.blog-hero__title em {
  color: var(--color-accent-deep);
  font-style: normal;
}

.home-hero__subtitle,
.city-hero__subtitle,
.reviews-hero__subtitle,
.job-hero__subtitle,
.news-hero__subtitle,
.res-hero__subtitle,
.blog-hero__subtitle {
  justify-self: end;
  max-width: 38ch;
  margin: 0 0 .3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-primary);
  color: #554a3d;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 500;
  line-height: 1.65;
  opacity: 1;
}

/* Search and filters stay visibly attached to the lists they control. */
.home-search { max-width: none; }
.home-search__inner,
.reviews-filters,
.job-filters,
.news-search,
.res-filters { gap: .75rem; }

.news-search { max-width: none; }

.home-search__field .input,
.home-search__select,
.reviews-search__field .input,
.reviews-select,
.job-search__field .input,
.job-select,
.news-search__field .input,
.res-search__field .input,
.res-select {
  height: 54px;
  border-radius: 4px;
  background-color: var(--color-white);
}

.home-search__field .input::placeholder,
.reviews-search__field .input::placeholder,
.job-search__field .input::placeholder,
.news-search__field .input::placeholder,
.res-search__field .input::placeholder {
  color: #6a5e4d;
  opacity: 1;
}

.home-search .btn,
.reviews-filters .btn,
.job-filters .btn,
.news-search .btn,
.res-filters .btn,
.job-card__apply-btn,
.res-card__actions .btn {
  min-height: 54px;
  border-radius: 4px;
  letter-spacing: .035em;
  font-weight: 700;
}

.home-search .btn:hover,
.reviews-filters .btn:hover,
.job-filters .btn:hover,
.news-search .btn:hover,
.res-filters .btn:hover,
.job-card__apply-btn:hover,
.res-card__actions .btn:hover {
  transform: none;
  box-shadow: none;
}

.home-filters,
.blog-filters { gap: .5rem; }

.filter-pill,
.blog-filter-btn {
  min-height: 42px;
  padding: .55rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: #544a3c;
  background: transparent;
  opacity: 1;
}

.filter-pill.active::before { display: none; }

.blog-filter-btn.active,
.filter-pill.active {
  background: var(--color-accent-deep);
  border-color: var(--color-accent-deep);
  color: var(--color-white);
}

.reviews-filters-section,
.job-filters-section,
.news-search-section,
.res-filters-section,
.blog-filters-section {
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--color-border);
}

.venue-listing,
.job-listing,
.news-feed,
.blog-feed,
.city-hero + .section {
  padding-top: 2.25rem;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.venue-listing__count,
.job-count,
.news-count,
.blog-count {
  margin-bottom: 1.5rem;
  color: #5e503f;
  font-size: .875rem;
  font-weight: 600;
  opacity: 1;
}

/* Content carries the hierarchy. Cards are flat, with one clear edge. */
.venue-grid,
.blog-grid { gap: 1.5rem; }

.venue-card,
.job-card,
.news-card,
.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  box-shadow: none;
  opacity: 1;
  transform: none;
  transition: border-color 180ms ease-out;
}

.venue-card:hover,
.venue-card.visible:hover,
.job-card:hover,
.job-card.visible:hover,
.news-card:hover,
.blog-card:hover {
  border-color: var(--color-accent);
  box-shadow: none;
  transform: none;
}

.venue-card__image-wrap { height: clamp(190px, 17vw, 240px); }
.venue-card__body { padding: 1.4rem; }
.venue-card__name { font-size: 28px; }
.venue-card__desc,
.job-card__desc,
.news-card__excerpt,
.blog-card__excerpt { color: #5c5144; opacity: 1; }

.venue-card .tag,
.job-card .tag,
.news-card .tag,
.blog-card .tag {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-accent-deep);
  font-size: .75rem;
  font-weight: 700;
}

/* Jobs and news scan as lists; the blog keeps an editorial lead story. */
.job-grid,
.news-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1040px;
  gap: 1rem;
}

.job-card,
.news-card { flex-direction: row; }
.job-card__img-wrap { width: 210px; height: auto; min-height: 190px; }
.job-card__img-wrap--placeholder { display: none; }
.job-card__body,
.news-card__body { padding: 1.5rem 1.75rem; }
.job-card__position { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.job-card__apply-btn { min-height: 44px; }
.news-card__img-wrap { width: 300px; height: auto; min-height: 210px; }
.news-card__title { font-size: clamp(1.3rem, 2vw, 1.8rem); }

.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.blog-card:first-child .blog-card__img-wrap { width: 50%; height: auto; min-height: 320px; }
.blog-card:first-child .blog-card__body { padding: clamp(1.5rem, 3vw, 3rem); }
.blog-card:first-child .blog-card__title { font-size: clamp(1.5rem, 2.5vw, 2.4rem); }
.blog-card__title,
.news-card__title { -webkit-line-clamp: unset; line-clamp: unset; }

.city-index-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 0;
}
.city-index-card {
  min-height: 86px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  transition: color 180ms ease-out;
}
.city-index-card:hover { color: var(--color-primary); transform: none; box-shadow: none; }
.city-index-card__name { font-family: var(--font-body); font-size: 1.4rem; font-weight: 500; }
.city-index-card__count {
  padding: 0;
  border-radius: 0;
  color: #655640;
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
}

.city-empty,
.job-empty,
.news-empty,
.blog-empty,
.res-empty {
  padding: 3rem 0;
  color: #5c5144;
  opacity: 1;
  text-align: left;
}
.job-empty i,
.news-empty i,
.res-empty i { display: none; }
.news-empty,
.blog-empty { align-items: flex-start; justify-content: flex-start; }

.city-index-card:focus-visible,
.venue-card a:focus-visible,
.job-card a:focus-visible,
.news-card a:focus-visible,
.blog-card a:focus-visible,
.filter-pill:focus-visible,
.blog-filter-btn:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent-deep);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .home-hero__text,
  .city-hero__inner,
  .reviews-hero__inner,
  .job-hero__inner,
  .news-hero__inner,
  .res-hero__inner,
  .blog-hero__inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .home-hero__subtitle,
  .city-hero__subtitle,
  .reviews-hero__subtitle,
  .job-hero__subtitle,
  .news-hero__subtitle,
  .res-hero__subtitle,
  .blog-hero__subtitle { justify-self: start; }

  .home-search__field,
  .reviews-search__field,
  .job-search__field,
  .res-search__field { flex-basis: 100%; }

  .home-search__select-wrap,
  .job-select-wrap,
  .res-select-wrap { flex: 1; }
}

@media (max-width: 640px) {
  .home-hero,
  .city-hero,
  .reviews-hero,
  .job-hero,
  .news-hero,
  .res-hero,
  .blog-hero { padding-top: 3rem; padding-bottom: 1.75rem; }

  .home-hero__title,
  .city-hero__title,
  .reviews-hero__title,
  .job-hero__title,
  .news-hero__title,
  .res-hero__title,
  .blog-hero__title { font-size: clamp(2.45rem, 11vw, 3.7rem); }

  .home-search__inner,
  .reviews-filters,
  .job-filters,
  .news-search,
  .res-filters { flex-direction: column; align-items: stretch; }

  .home-search__field,
  .home-search__select-wrap,
  .reviews-search__field,
  .reviews-select-wrap,
  .job-search__field,
  .job-select-wrap,
  .news-search__field,
  .res-search__field,
  .res-select-wrap { width: 100%; min-width: 0; }

  .home-filters,
  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: calc(-1 * var(--container-pad));
    padding: 0 var(--container-pad) .3rem 0;
    scrollbar-width: thin;
  }

  .venue-listing,
  .job-listing,
  .news-feed,
  .blog-feed,
  .city-hero + .section { padding-top: 1.75rem; }

  .blog-grid,
  .city-index-grid { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-column: auto; }
  .job-card,
  .news-card,
  .blog-card:first-child { flex-direction: column; }
  .job-card__img-wrap,
  .news-card__img-wrap,
  .blog-card:first-child .blog-card__img-wrap {
    width: 100%;
    height: 200px;
    min-height: 0;
  }
  .blog-card:first-child .blog-card__body,
  .job-card__body,
  .news-card__body { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .venue-card,
  .job-card,
  .news-card,
  .blog-card { transition: none; }
}
