.wdChoices {
  margin: 20px 0;
}
.wdFilters {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr auto;
  gap: 14px;
  align-items: end;
  margin: 24px 0;
}
.wdFilters .field {
  margin: 0;
}
.wdDirectoryGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.wdListing {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.wdListing h3 {
  font-size: 1.4rem;
  margin: 8px 0;
}
.wdListing .actions {
  margin-top: auto;
  flex-wrap: wrap;
}
.wdPhoto {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}
.wdPhotoLink {
  min-height: 110px;
  background: var(--bg, #f5f3ff);
  border: 1px solid var(--line, #ddd);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  gap: 10px;
}
.wdPhotoLink a {
  font-size: 1.15rem;
  font-weight: 700;
}
.wdPhotoLink span,
.wdCredit,
.wdSource {
  font-size: 0.875rem;
}
.wdPagination {
  margin: 24px 0;
}
.wdFilters select,
.wdFilters input {
  width: 100%;
  min-width: 0;
}
.wdChoices .actions {
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .wdFilters {
    grid-template-columns: 1fr 1fr;
  }
  .wdDirectoryGrid {
    grid-template-columns: 1fr;
  }
  .wdFilters .field:nth-child(3) {
    grid-column: 1/-1;
  }
  .wdFilters button {
    grid-column: 1/-1;
  }
  .wdChoices {
    grid-template-columns: 1fr;
  }
}

.wdLodgingBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e3efff;
  color: #143e71;
  border: 1px solid #adc9ec;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.95rem;
  font-weight: 700;
}
.wdLodgingDetails {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 8px 0;
}
.wdLodgingOrder {
  padding: 12px 16px;
  border-left: 4px solid #3570af;
  background: #eef5ff;
  color: #173d68;
  border-radius: 6px;
}
.wdRating {
  padding: 14px 0;
  border-top: 1px solid var(--line, #ddd);
}
.wdRating > span {
  color: #975f00;
}
.wdStars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  border: 0;
  padding: 0;
}
.wdStars legend {
  font-weight: bold;
  margin-bottom: 12px;
}
.wdStars label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  flex: 1 1 150px;
  border: 1px solid #b5bdcc;
  border-radius: 8px;
  padding: 12px;
}
.wdStars label:has(input:checked) {
  background: #e6ecff;
  border-color: #3951a0;
}
.wdStars span[aria-hidden] {
  color: #805100;
}
.wdStars input,
.wdAttest input {
  width: 20px !important;
  min-width: 20px;
  height: 20px;
}
.wdAttest {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 20px 0;
  font-size: 1rem;
}

.stayGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.stayGrid article {
  padding: 18px;
  border: 1px solid #c8d2e2;
  border-radius: 12px;
}
.stayPanel {
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.stayPicker {
  width: 100%;
  max-width: 100%;
  padding: 14px;
  font: inherit;
  border: 1px solid #a7b3c4;
  border-radius: 8px;
  min-height: 48px;
}
.stayPanel .notice {
  padding: 18px;
  background: #edf2fa;
  border-radius: 12px;
  margin: 18px 0;
}
.stayGrid .button {
  white-space: normal;
}
.wdZipFilters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wdZipFilters .field {
  grid-column: auto;
}
.wdDistance {
  display: inline-block;
  color: #173f43;
  background: #e5f2ed;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 650;
}
.wdZipFilters button {
  min-height: 46px;
}
@media (max-width: 720px) {
  .wdZipFilters {
    grid-template-columns: 1fr 1fr;
  }
  .wdZipFilters .field:nth-child(3) {
    grid-column: auto;
  }
  .wdZipFilters button {
    grid-column: 1/-1;
  }
}

.wdContact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.wdContact a {
  color: var(--brand, #215e55);
}
