@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --am-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --am-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.atp-edition,
body.am-site,
body.ob-site {
    font-family: var(--am-sans);
}

.atp-edition :where(p, li, label, input, select, textarea, button),
.atp-edition .ed-rail,
.atp-edition .ed-rail :is(.ed-nav-label, .ed-home-link),
.atp-edition .ed-rail .ed-travel-nav li a,
.ed-operator-home .ed-home-link,
.atp-edition .ed-journal .ed-lead-copy p,
.atp-edition .ed-journal .ed-cover-actions a,
.atp-edition .ed-section-head > a,
.atp-edition .ed-places small,
.atp-edition .ed-places h3 span,
.atp-edition .ed-atlas-heading p,
.atp-edition .ed-journal .ed-all-guides,
.atp-edition .ed-map-region text,
.atp-edition .ed-region-name,
.atp-edition .ed-region-count,
.atp-edition .ed-atlas .ed-region li a {
    font-family: var(--am-sans);
}

.atp-edition :where(h1, h2),
.atp-edition .am-page-intro h1,
.atp-edition .am-section-heading h2,
.atp-edition .ed-journal :is(.ed-lead h1, .ed-finder > h2, .ed-section h2, .ed-atlas h2, .ed-places h3),
.atp-edition .ed-region-photos span {
    font-family: var(--am-serif);
}

.atp-edition .ed-journal .ed-lead h1 {
    font-weight: 550;
    line-height: 1.09;
    letter-spacing: -.028em;
}

.atp-edition .ed-journal :is(.ed-finder > h2, .ed-atlas h2, .ed-section h2),
.atp-edition .am-page-intro h1 {
    letter-spacing: -.022em;
    line-height: 1.16;
}

.atp-edition .ed-journal .ed-lead-copy p {
    font-size: clamp(16px, 1.18vw, max(18px, 1.125rem));
    line-height: 1.6;
}

.am-site :is(.ag-prose, .lib-body) > p {
    font-size: max(17px, 1.125rem);
    line-height: 1.7;
}

@media (max-width: 700px) {
    .atp-edition .ed-region-photos span {
        font-family: var(--am-sans);
    }
    .am-site form :is(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea),
    .ob-site form :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
        font-size: 16px;
    }
}

:root:lang(zh) {
    --am-serif: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    --am-sans: "DM Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
.atp-edition:lang(zh) :is(.ed-lead h1, .ed-finder h2, .ed-atlas h2, .ed-section h2, .am-page-intro h1) {
    letter-spacing: normal;
}
