/* Localized Atlas home. Keep the map and machine-readable values in geographic order. */
.atlas-home #map,
.atlas-home [dir="ltr"] {
  direction: ltr;
}
.atlas-home pre[dir="ltr"],
.atlas-home #ip {
  text-align: left;
}
.atlas-home .sample-note::before { flex: 0 0 6px; }
.atlas-home .lookup-entry .explore > span:first-child { min-width: 0; }
.atlas-home .atlas-header,
.atlas-home .chapters button { overflow-wrap: anywhere; }
.atlas-home .chapters button { min-width: min(64px, 100%); }

html:not([lang="en"]) .atlas-home h1 {
  font-size: clamp(3.35rem, 7.2vw, 7.8rem);
  line-height: .99;
  letter-spacing: -.035em;
  text-wrap: balance;
}
html:not([lang="en"]) .atlas-home .section-heading {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  line-height: 1.07;
  letter-spacing: -.025em;
  text-wrap: balance;
}
html:is([lang="bn"], [lang="hi"], [lang="ja"], [lang="zh"]) .atlas-home h1 {
  font-size: clamp(2.9rem, 5.3vw, 5.7rem);
  line-height: 1.15;
  letter-spacing: normal;
  -webkit-text-stroke: 0;
}
html:is([lang="bn"], [lang="hi"], [lang="ja"], [lang="zh"]) .atlas-home h1 em {
  font-style: normal;
}
html[lang="ru"] .atlas-home h1 { font-size: clamp(3.3rem, 6.1vw, 6.7rem); }

html[dir="rtl"] .atlas-home {
  --serif: "Noto Naskh Arabic", "Traditional Arabic", "Times New Roman", serif;
}
html[dir="rtl"] .atlas-home h1 {
  font-size: clamp(3.35rem, 7vw, 7.6rem);
  line-height: 1;
  letter-spacing: normal;
  -webkit-text-stroke: 0;
}
html[dir="rtl"] .atlas-home h1 em { font-style: normal; }
html[dir="rtl"] .atlas-home .section-heading,
html[dir="rtl"] .atlas-home #price-div h2,
html[dir="rtl"] .atlas-home #faq-div h2,
html[dir="rtl"] .atlas-home .category,
html[dir="rtl"] .atlas-home .atlas-header,
html[dir="rtl"] .atlas-home .readout-label { letter-spacing: normal; }
html[dir="rtl"] .atlas-home .atlas-header,
html[dir="rtl"] .atlas-home .readout-label,
html[dir="rtl"] .atlas-home .request-proof figcaption { font-family: inherit; }
html[dir="rtl"] .atlas-home .rail span { transform-origin: right; }
html[dir="rtl"] .atlas-home .arrow { transform: scaleX(-1); }
html[dir="rtl"] .atlas-home .readout > * { text-align: right; }
html[dir="rtl"] .atlas-home :is(.api-toolbar, .api-actions) { padding-inline: 15px 11px; }
html[dir="rtl"] .atlas-site-header .navbar-brand { margin-left: clamp(20px, 3vw, 50px); margin-right: 0; }
html[dir="rtl"] .atlas-site-header .navbar-toggler { margin-right: 0; }

@media (min-width: 992px) {
  html[dir="rtl"] .atlas-site-header .navbar-nav > .ms-lg-auto {
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }
}
@media (min-width: 851px) and (max-width: 1100px) {
  html:not([lang="en"]) .atlas-home .lookup-entry .explore { padding-inline: 9px; gap: 6px; }
}
@media (max-width: 991.98px) {
  html[dir="rtl"] .atlas-site-header .navbar-brand { margin-inline: 0; }
}
@media (max-width: 490px) {
  .atlas-home .lookup-entry { grid-template-columns: minmax(0,1fr) minmax(0,50%); }
  .atlas-home .lookup-entry .explore { font-size: .9rem; }
  .atlas-home .atlas-header { gap: 8px; }
  .atlas-home .examples { gap: 0 4px; flex-wrap: wrap; }
  html:not([lang="en"]) .atlas-home .section-heading { hyphens: auto; }
  html[dir="rtl"] .atlas-home :is(.api-toolbar, .api-actions) { padding-inline: 8px; }
}
