.world-directory [hidden], .directory-intro [hidden] { display: none !important; }
.directory-intro .wrap { padding-bottom: 34px; }
.directory-intro h1 { max-width: 13em; }
.directory-intro h1 span { display: block; }
.directory-intro p { max-width: min(47%, 47ch); }
.world-search { margin: 20px 0 0; width: min(47%, 490px); }
.world-search label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.world-search input {
  display: block; width: 100%; height: 48px; border: 1px solid #becfce; border-radius: 3px;
  padding: 0 13px 0 43px; background: white; color: #143643; font: inherit;
}
.world-search input::placeholder { color: #526670; }
.world-search .country-search-field::before, .world-search .country-search-field::after { pointer-events: none; }
.world-directory { padding-block: 30px 44px; }
.world-directory h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 560; letter-spacing: -.04em; }
.world-tools, .world-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.world-heading { justify-content: space-between; }
.world-result-tools { display: flex; gap: 14px; align-items: center; color: #405761; font-size: 14px; }
.world-tools { margin: 16px 0 21px; align-items: end; }
.world-select { display: grid; gap: 5px; color: #27424c; font-size: 14px; font-weight: 600; }
.world-select select { min-width: 178px; min-height: 44px; padding: 6px 30px 6px 10px; border: 1px solid #a5b5b5; border-radius: 3px; background: #fff; color: #183641; font: inherit; }
.world-checkbox { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #29454e; font-size: 14px; cursor: pointer; }
.world-checkbox input { width: 17px; height: 17px; margin: 0; accent-color: #234d51; }
.world-region { margin: 0; border-top: 1px solid #c4d0cb; }
.world-region:last-of-type { border-bottom: 1px solid #c4d0cb; }
.world-region summary { cursor: pointer; list-style: none; display: flex; gap: 11px; align-items: center; min-height: 57px; padding: 8px 12px; }
.world-region summary::-webkit-details-marker { display: none; }
.world-region summary::after { content: ''; margin: 0 4px 3px auto; width: 9px; height: 9px; flex: none; border: solid #526c6e; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.world-region[open] > summary { background: #edf2ed; }
.world-region[open] > summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.world-region summary:hover, .world-places a:hover { background: #f0f5f1; }
.world-region-name { font-size: 20px; font-weight: 600; color: #173a45; }
.world-region-count { margin-top: 2px; font-size: 14px; color: #586c70; font-variant-numeric: tabular-nums; }
.world-subregion { display: grid; grid-template-columns: minmax(125px, 16%) minmax(0,1fr); gap: 8px 18px; padding: 11px 12px; border-top: 1px solid #e2e9e5; }
.world-subregion h3 { font-weight: 600; color: #355957; font-size: 15px; line-height: 1.4; margin: 11px 0 0; }
.world-places { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,230px),1fr)); gap: 0 16px; list-style: none; }
.world-places li { border-bottom: 1px solid #e3e9e6; min-width: 0; }
.world-places a { display: flex; gap: 9px; height: 100%; min-height: 57px; padding: 7px 3px; align-items: center; }
.world-place-copy { min-width: 0; display: grid; gap: 2px; }
.world-places small { color: #52646c; font-size: 12px; line-height: 1.3; }
.world-places [data-kind="guide"] small { color: #245b56; }
.world-places .country-name { line-height: 1.23; font-size: 16px; }
.world-places .country-code { width: 30px; height: 26px; font-size: 11px; }
.world-places .country-action { color: #416662; }
.world-directory :is(input, select, summary, a, button):focus-visible, .world-search input:focus-visible { outline: 3px solid #a47533; outline-offset: 2px; }
.world-directory :is([id],details) { scroll-margin-top: 90px; }
@media (max-width: 680px) {
  .directory-intro .wrap { padding-bottom: 20px; }
  .directory-intro h1 { max-width: none; }
  .directory-intro h1 span { display: inline; }
  .directory-intro p { max-width: 45ch; }
  .directory-intro picture { height: clamp(55px,14vw,84px); }
  .world-search { width: 100%; margin-top: 14px; }
  .world-directory { padding-block: 22px 32px; }
  .world-tools { gap: 6px 12px; margin: 12px 0; }
  .world-select { flex: 1 1 130px; min-width: 0; }
  .world-select select { width: 100%; min-width: 0; }
  .world-checkbox { align-self: end; }
  .world-heading { gap: 4px 12px; }
  .world-region summary { padding-inline: 4px 10px; }
  .world-subregion { display: block; padding: 3px 4px 10px; }
  .world-subregion h3 { margin-bottom: 5px; }
}
