/* =======================================================
   local.css — Local Shops, Eats & Attractions
   Base (non-responsive) styles only
   ======================================================= */

.local .section {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.local-filter {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.local-filter__label {
  font-weight: 600;
}

.local-filter__select {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  min-width: 170px;
  font-size: 1rem;
}

.local-section {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.local-section__header {
  width: 100%;
  background: color-mix(in srgb, var(--g-start) 10%, #ffffff);
  color: var(--g-start);
  padding: 0.9rem 1.25rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step-1);
  font-weight: 700;
  text-align: left;
  transition: background 0.2s ease;
}

.local-section__header:hover {
  background: color-mix(in srgb, var(--g-start) 16%, #ffffff);
}

.local-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.local-section__icon {
  font-size: 1.45rem;
  line-height: 1;
}

.local-section__chevron {
  font-size: 1.25rem;
  transition: none;
  transform: none;
}

.local-section.is-open .local-section__chevron {
  transform: rotate(0deg);
}

.local-section__body {
  padding: 1.25rem 1.25rem 1.5rem;
  animation: accordion-fade 0.2s ease;
}

@keyframes accordion-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.local-subheading {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1rem 0 0.75rem;
  color: var(--g-start);
}

.local-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.local-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.local-item__main {
  display: block;
}

.local-item__content {
  flex: 1;
  min-width: 0;
}

.local-item__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--g-start);
  text-decoration: none;
}

.local-item__name:hover {
  text-decoration: underline;
}

.local-item__text {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.85;
}

.local-item__meta {
  margin-top: 0.25rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--g-start) 10%, #ffffff);
  color: var(--g-start);
  font-weight: 600;
}

.local-empty-note {
  font-style: italic;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.local-filter__select {
  background-color: #ffffff;
  color: #222;
}

#reset-town-filter {
  display: none;
}

.local-filter__select option {
  color: #222;
  background: #ffffff;
}

.local-filter__reset {
  background: none;
  border: none;
  color: var(--g-start);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  text-decoration: underline;
}

.local-filter__reset:hover {
  opacity: 0.75;
}
