/* Join us on the Tavern Trail */
.tavern-trail .col-49 img {
  display: block;
  margin: 0 auto;
}
.tavern-trail .col-46 .p {
  margin: 20px 0;
}
.tavern-trail .col-46 a {
  text-decoration: underline;
}
a.black-ghost {
  border: 1px solid #000;
  color: #000;
}
a.black-ghost:hover {
  background: #000;
  color: #fff;
}
.find-bar-text{
  margin: 80px 0 0px 0;
}
@media screen and (max-width: 991px) and (min-width: 768px) {
  .tavern-trail .col-49,
  .tavern-trail .col-46 {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .tavern-trail .col-46 {
    margin-top: 30px;
  }
  .tavern-trail .col-49 {
    margin-top: 40px;
  }

}

@media screen and (max-width: 767px) {
  .tavern-trail .col-49,
  .tavern-trail .col-46 {
    width: 100%;
  }
  .tavern-trail .col-49 img {
    max-width: 220px;
  }
  .tavern-trail .col-46 {
    margin-top: 30px;
  }
  .tavern-trail .col-49 {
    margin-top: 40px;
  }
  .tavern-trail .col-49 p{
    padding: 0 20px;
  }
  .find-bar-text{
    padding: 0 20px;
  }
}

/* Tavern Trail table popup */
.tavern-trail-overlay .overlay-container.tavern-trail-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 50px 20px 30px;
  border-radius: 4px;
}

.tavern-trail-filters-mobile {
  display: none;
}

.tavern-trail-filters-mobile .table-filter {
  display: flex;
  align-items: center;
  background: #000;
  padding: 10px 16px;
  border-radius: 2px;
  gap: 8px;
}

.table-filter-label {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.tavern-trail-table-wrap {
  max-height: 70vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.tavern-trail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tavern-trail-table th,
.tavern-trail-table td {
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}

.tavern-trail-table thead th {
  position: sticky;
  top: 0;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.tavern-trail-table tbody tr {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.tavern-trail-table tbody tr:nth-child(even) {
  background: #f5f5f5;
}

.tavern-trail-table .col-name {
  font-weight: 700;
  white-space: normal;
  min-width: 180px;
}

.tavern-trail-table .col-address {
  white-space: normal;
  min-width: 220px;
}

.table-filter select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8 0 0h12z'/%3E%3C/svg%3E")
    right center / 10px 7px no-repeat;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 20px 0 0;
  cursor: pointer;
}

.table-filter select option {
  color: #000;
  background: #fff;
  text-transform: none;
}

.tavern-trail-no-results {
  padding: 30px 0 10px;
}

.tavern-trail-overlay .overlay-close {
  background: url(../images/cross.png) center center no-repeat;
  background-size: 90% auto;
}

.openTavernTable-js {
  color: #7a303f;
}
.bar-results_name.tavern {
  font-size: .9em;
  color: #7a303f;
}

.tavern-trail-subheading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 10px;
  line-height: 1;
  letter-spacing: 0;
}

.tavern-trail-subheading .tavern-icon {
  display: block;
  width: 20px;
  height: 25px;
  flex: 0 0 20px;
  object-fit: contain;
}

/* Map results legend */
.map-legend {
  padding: 30px 20px;
  background: #fff;
  gap: 14px 34px;
}

.map-legend-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

.map-legend-item img {
  display: block;
  width: 32px;
  height: 33px;
  object-fit: contain;
  object-position: center bottom;
  margin-right: 10px;
}

.map-legend-item span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
}

@media screen and (max-width: 767px) {
  .map-legend {
    padding: 24px 15px;
  }
  .map-legend-title {
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
  }
}

@media screen and (max-width: 767px) {
  .tavern-trail-overlay .overlay-container.tavern-trail-container {
    margin: 20px auto;
    padding: 45px 12px 20px;
  }

  /* Filters sit above the results, stacked full width */
  .tavern-trail-filters-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
  }
  .tavern-trail-filters-mobile .table-filter {
    justify-content: space-between;
    width: 100%;
  }
  .tavern-trail-filters-mobile select {
    flex: 1;
    text-align: right;
  }

  /* Card layout: hide the real table header, render each row as a card */
  .tavern-trail-table {
    font-size: 13px;
  }
  .tavern-trail-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .tavern-trail-table,
  .tavern-trail-table tbody,
  .tavern-trail-table tr,
  .tavern-trail-table td {
    display: block;
    width: 100%;
  }
  .tavern-trail-table tbody tr {
    margin-bottom: 16px;
    border: 1px solid #000;
  }
  .tavern-trail-table tbody tr:nth-child(even) {
    background: #fff;
  }
  .tavern-trail-table td {
    white-space: normal;
    padding: 12px 16px;
  }
  .tavern-trail-table td.col-name {
    background: #000;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 0;
  }
  .tavern-trail-table td.col-state,
  .tavern-trail-table td.col-city,
  .tavern-trail-table td.col-address,
  .tavern-trail-table td.col-zip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    min-width: 0;
  }
  .tavern-trail-table td.col-zip {
    border-bottom: none;
  }
  .tavern-trail-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    margin-right: 12px;
  }
}