/* Shared typography for every Dhivehi page and route. */
@font-face{font-family:'JOS Faruma';src:url('./fonts/Faruma.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0780-07BF}
@font-face{font-family:'JOS Faseyha';src:url('./fonts/MV-Faseyha-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0780-07BF}
@font-face{font-family:'JOS Faseyha';src:url('./fonts/MV-Faseyha-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0780-07BF}
@font-face{font-family:'JOS Waheed';src:url('./fonts/MV-Waheed.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0780-07BF}
html[lang="dv"] body :lang(dv){font-family:'JOS Faruma','JOS Faseyha',serif!important}
html[lang="dv"] body :lang(dv):is(h1,h2,h3){font-family:'JOS Waheed','JOS Faruma',serif!important}
/* English-only stories stay out of the standalone Dhivehi edition. */
html[lang="dv"] body .home-feature,
html[lang="dv"] body .hero-image-latest,
html[lang="dv"] body .hero-title-latest,
html[lang="dv"] body .latest-articles,
html[lang="dv"] body .category-page-grid{display:none!important}
html.jos-dv-article .reading>article>*:not(.edition-note){display:none!important}
html.jos-dv-article .edition-note{display:block!important;padding:18px 20px;border-inline-start:4px solid #155b56;background:#eef3ec;color:#243630}
html[lang="dv"] body{line-height:1.8}
html[lang="dv"] body p,html[lang="dv"] body li,html[lang="dv"] body td,html[lang="dv"] body th,html[lang="dv"] body figcaption,html[lang="dv"] body .notice,html[lang="dv"] body .pathway{line-height:1.8!important}
html[lang="dv"] body h1,html[lang="dv"] body h2,html[lang="dv"] body h3{line-height:1.65!important}
html[lang="dv"] body nav a,
html[lang="dv"] #edition,
html[lang="dv"] .shell > .top > span:first-child {
  font-size: 17px !important;
}
html[lang="dv"] body nav a{line-height:1.75!important}
html[lang="dv"] body .top a,html[lang="dv"] body .top button{font-size:15px!important;line-height:1.75!important}
html[lang="dv"] body #lang{font-size:12px!important}
/* Every Dhivehi article title uses the embedded MV Waheed face. */
html[lang="dv"] body .article-feature h1,
html[lang="dv"] body .article-feature h1 a,
html[lang="dv"] body .published-card h3,
html[lang="dv"] body .published-card h3 a,
html[lang="dv"] body .reading article>h1,
html[lang="dv"] body .related a{
 font-family:'JOS Waheed','JOS Faruma',serif!important;
 font-weight:400!important;
 font-style:normal!important;
 letter-spacing:0.06em!important;
}

html[lang="dv"] .article-pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-block-start: 24px;
  white-space: normal;
}

html[lang="dv"] .article-pagination a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: 6px;
  text-decoration: underline;
}

/* Tighten article text and titles while preserving room for Thaana vowel marks. */
html[lang="dv"] body .reading article :is(p, li, td, th, figcaption, .pathway),
html[lang="dv"] body :is(.article-feature, .published-card) p {
  line-height: 1.55 !important;
}

html[lang="dv"] body .reading article :is(h1, h2, h3),
html[lang="dv"] body .article-feature h1,
html[lang="dv"] body .published-card h3 {
  line-height: 1.35 !important;
}

/* Add a little tracking to the other headings set in MV Waheed. */
html[lang="dv"] body :is(h1, h2, h3):lang(dv),
html[lang="dv"] body header.mast > a:lang(dv) {
  letter-spacing: 0.06em !important;
}
