.resort-directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem 1rem;
  align-items: center;
  margin: 1.1rem 0 1.5rem;
}

.resort-directory-controls label {
  display: grid;
  gap: .45rem;
  color: #17324d;
  font-weight: 800;
}

.resort-directory-controls input[type="search"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 95, 159, .3);
  border-radius: 13px;
  background: #fff;
  color: #17324d;
  padding: .75rem .9rem;
  font: inherit;
}

.resort-directory-controls input[type="search"]:focus {
  border-color: #0f5f9f;
  box-shadow: 0 0 0 3px rgba(15, 95, 159, .12);
  outline: none;
}

.resort-directory-status {
  margin: 1.75rem 0 0;
  color: #51677d;
  font-size: .94rem;
  white-space: nowrap;
}

.resort-country-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}

.resort-country-index > a {
  display: grid;
  gap: .35rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(15, 95, 159, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 26px rgba(28, 51, 77, .06);
  color: inherit;
  text-decoration: none;
}

.resort-country-index > a:hover,
.resort-country-index > a:focus-visible {
  border-color: rgba(15, 95, 159, .5);
  transform: translateY(-1px);
  outline: none;
}

.resort-country-index strong {
  color: #123c63;
  font-size: 1.03rem;
}

.resort-country-index span,
.resort-country-index small {
  color: #5d7087;
  line-height: 1.45;
}

.resort-country-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.resort-country-group {
  scroll-margin-top: 6rem;
  border: 1px solid rgba(15, 95, 159, .17);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(28, 51, 77, .06);
  overflow: clip;
}

.resort-country-group > summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(15, 95, 159, .09), rgba(255, 255, 255, .88));
}

.resort-country-group > summary::-webkit-details-marker {
  display: none;
}

.resort-country-group > summary strong {
  color: #17324d;
  font-size: 1.08rem;
}

.resort-country-group > summary span {
  margin-left: auto;
  color: #5d7087;
  font-size: .9rem;
  font-weight: 700;
}

.resort-country-group > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #fff;
  color: #0f5f9f;
  font-size: 1.25rem;
  box-shadow: 0 3px 12px rgba(28, 51, 77, .1);
}

.resort-country-group[open] > summary::after {
  content: "−";
}

.resort-country-group .topic-grid {
  padding: 1rem;
  margin: 0;
}

.resort-country-group [data-resort-card][hidden],
.resort-country-index [hidden],
.resort-country-group[hidden] {
  display: none !important;
}

.country-resort-links .resort-country-inline-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
}

.country-resort-links .resort-country-inline-heading small {
  color: #5d7087;
  font-weight: 700;
}

@media (max-width: 720px) {
  .resort-directory-controls {
    grid-template-columns: 1fr;
  }

  .resort-directory-status {
    margin: 0;
    white-space: normal;
  }

  .resort-country-group > summary {
    align-items: flex-start;
  }

  .resort-country-group > summary span {
    white-space: normal;
  }
}
