/* Market locator (Locations page) and market pages (/destinations/<slug>). Brand: Questrial body,
   Fraunces names, Archivo Black section heads, deep green #0d2818 as a FILL (never as type colour on
   green), cream #f0ede7 panels. Markets carry a green top edge, pop-ups tan. */

.mt-locator { font-family: 'Questrial', sans-serif; color: #2d2d2d; }

/* Search row: every label on one line, every control 44px tall on the next. */
.mt-loc-search {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px;
  background: #f0ede7; border-radius: 16px 16px 0 0; padding: 22px 24px;
}
.mt-loc-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 120px; min-width: 0; }
.mt-loc-field.mt-loc-where { flex: 3 1 260px; }
.mt-loc-field label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #2d2d2d; margin: 0; line-height: 16px;
}
.mt-loc-field input, .mt-loc-field select {
  height: 44px; border: 1px solid #c9c3b6; border-radius: 999px; background-color: #fff;
  font: 16px 'Questrial', sans-serif; color: #2d2d2d; padding: 0 18px; width: 100%; box-shadow: none;
}
.mt-loc-field select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d2818' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.mt-loc-field input:focus-visible, .mt-loc-field select:focus-visible,
.mt-loc-btn:focus-visible, .mt-loc-row-pin:focus-visible {
  outline: 3px solid #579a62; outline-offset: 2px;
}
.mt-loc-actions { display: flex; gap: 10px; flex: 0 0 auto; }

.mt-loc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: #0d2818; color: #fff !important; text-decoration: none !important;
  font: 14px 'Questrial', sans-serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.mt-loc-btn:hover { background: #1c3d2a; }
.mt-loc-btn-ghost { background: transparent; color: #2d2d2d !important; border: 1px solid #0d2818; }
.mt-loc-btn-ghost:hover { background: #fff; }

.mt-loc-status { margin: 0; padding: 10px 24px; background: #f0ede7; font-size: 15px; color: #4b4b4b; min-height: 20px; }
.mt-loc-status:empty { display: none; }

.mt-loc-map {
  height: 440px; border-radius: 0 0 16px 16px; overflow: hidden; background: #e9e4d8; z-index: 0;
}
.mt-loc-map .leaflet-tile-pane { filter: saturate(.55) contrast(.95); }
.mt-loc-map .leaflet-control-attribution { font: 11px 'Questrial', sans-serif; }

/* Pins: brand teardrops. */
.mt-pin span {
  display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #0d2818; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.mt-pin-popup span { background: #A39882; }
.mt-pin-here span {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: #579a62; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(87, 154, 98, .25);
}

.mt-pop { display: flex; flex-direction: column; gap: 3px; font: 14px/1.4 'Questrial', sans-serif; color: #2d2d2d; }
.mt-pop-name { font: 600 17px/1.25 'Fraunces', serif; color: #2d2d2d !important; }
.mt-pop-kind { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b6b6b; }
.mt-pop-dir { margin-top: 4px; color: #2d2d2d !important; text-decoration: underline; }

/* Closest-to-you list. */
.mt-loc-results { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mt-loc-results:empty { display: none; }
.mt-loc-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid #e4dfd4; border-radius: 14px; padding: 16px 18px;
}
.mt-loc-row-pin {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: #f0ede7; color: #2d2d2d; font: 17px 'Archivo Black', sans-serif; line-height: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.mt-loc-row-pin small { font: 11px 'Questrial', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.mt-loc-row-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 15px; line-height: 1.45; }
.mt-loc-row-name { font: 600 18px/1.25 'Fraunces', serif; color: #2d2d2d !important; text-decoration: none; }
.mt-loc-row-name:hover { text-decoration: underline; }
.mt-loc-row-meta { color: #4b4b4b; }
.mt-loc-row-addr { color: #6b6b6b; }
.mt-loc-row-dir { color: #2d2d2d !important; text-decoration: underline; width: max-content; }

/* Coming up / Back next season cards. */
.mt-mk-section { margin-top: 48px; }
.mt-mk-heading { font: 400 clamp(24px, 3.4vw, 32px)/1.15 'Archivo Black', sans-serif; color: #2d2d2d; margin: 0 0 18px; }
.mt-mk-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mt-mk-card {
  background: #fff; border: 1px solid #e4dfd4; border-top: 4px solid #579a62; border-radius: 14px;
  padding: 20px 22px; font: 15px/1.5 'Questrial', sans-serif; color: #2d2d2d;
}
.mt-mk-card.mt-mk-popup { border-top-color: #A39882; }
.mt-mk-card p { margin: 0 0 6px; }
.mt-mk-name { font: 600 20px/1.25 'Fraunces', serif; margin: 0 0 8px; }
.mt-mk-name a { color: #2d2d2d !important; text-decoration: none; }
.mt-mk-name a:hover { text-decoration: underline; }
.mt-mk-kind { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; }
.mt-mk-when { color: #2d2d2d; }
.mt-mk-also, .mt-mk-extras { font-size: 13px; color: #6b6b6b; }
.mt-mk-addr a { color: #2d2d2d !important; text-decoration: underline; text-underline-offset: 3px; }
.mt-mk-empty { margin-top: 32px; color: #4b4b4b; }

/* Market page (/destinations/<slug>). */
.mt-mk-page .mt-loc-eyebrow a { color: inherit; }
.mt-mk-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.mt-mk-info { font: 16px/1.6 'Questrial', sans-serif; color: #2d2d2d; }
.mt-mk-info p { margin: 0 0 10px; }
.mt-mk-subhead { font: 400 18px/1.2 'Archivo Black', sans-serif; color: #2d2d2d; margin: 26px 0 10px; }
.mt-mk-subhead:first-child { margin-top: 0; }
.mt-mk-list { margin: 0 0 10px; padding-left: 20px; }
.mt-mk-back a { color: #2d2d2d; text-decoration: underline; }
.mt-mk-map { border-radius: 16px; height: 420px; }

@media (max-width: 767px) {
  .mt-loc-search { padding: 18px 16px; }
  .mt-loc-field.mt-loc-where { flex-basis: 100%; }
  .mt-loc-actions { flex-basis: 100%; }
  .mt-loc-actions .mt-loc-btn { flex: 1 1 0; padding: 0 12px; }
  .mt-loc-status { padding: 10px 16px; }
  .mt-loc-map { height: 340px; }
  .mt-mk-detail { grid-template-columns: 1fr; }
  .mt-mk-map { height: 300px; }
}

.mt-mk-dates { margin-top: 26px; padding: 20px 22px 14px; }
.mt-mk-dates .mt-board-title { font-size: 20px; margin-bottom: 8px; }
.mt-mk-dates .mt-board-name { font-size: 16px; }
