@font-face {
  font-family: "Scheherazade New";
  src: url("scheherazade-new-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.article-page { max-width: 760px; padding-block: 30px 60px; }
.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 30px;
  font-size: 13px;
}
.article-header { margin-bottom: 28px; }
.article-header h1 { font-size: 42px; line-height: 1.22; }
.article-body { max-width: 70ch; font-size: 18px; line-height: 1.8; }
.article-body > p + p { margin-top: 20px; }
.article-body h2 {
  margin: 48px 0 18px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  scroll-margin-top: 24px;
}
.article-body h3 {
  margin: 32px 0 13px;
  font-size: 23px;
  font-weight: 550;
  line-height: 1.4;
  scroll-margin-top: 24px;
}
.article-body strong { font-weight: 600; }
.article-body a { overflow-wrap: anywhere; }
.article-body a:hover { text-decoration-thickness: 2px; }
.article-contents {
  margin-block: 32px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.article-contents summary { font-weight: 500; }
.article-contents ul { margin: 14px 0 0; padding-left: 22px; }
.article-contents li + li { margin-top: 9px; }
.article-figure { width: 100%; max-width: 640px; margin: 32px auto; }
.article-figure img { display: block; width: 100%; height: auto; }
.article-figure figcaption { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.article-video { margin-block: 24px 14px; }
.article-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.arabic-inline, .arabic-example {
  font-family: "Scheherazade New", serif;
  font-weight: 400;
  letter-spacing: normal;
}
.arabic-inline { font-size: 1.35em; line-height: 1; unicode-bidi: isolate; }
.word-table { width: 100%; margin-block: 22px 26px; border-collapse: collapse; }
.word-table th, .word-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.word-table th { background: var(--pale-green); font-size: 14px; font-weight: 500; line-height: 1.5; }
.word-table td:first-child { width: 42%; text-align: right; }
.word-table .arabic-inline { font-size: 32px; line-height: 1.5; }
.article-body .example { margin-block: 24px; }
.article-body .arabic-example { display: block; font-size: 34px; font-weight: 400; line-height: 1.8; text-align: right; }
.example-translation { display: block; margin-top: 2px; font-size: 17px; }
.article-return {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 700px) {
  .article-page { padding-block: 24px 40px; }
  .article-breadcrumbs { margin-bottom: 24px; }
  .article-header h1 { font-size: 34px; }
  .article-body { font-size: 17px; line-height: 1.8; }
  .article-body h2 { margin-top: 38px; font-size: 25px; }
  .article-body h3 { font-size: 21px; }
}

@media (max-width: 500px) {
  .article-header h1 { font-size: 30px; }
  .article-body h2 { font-size: 23px; }
  .word-table th, .word-table td { padding: 10px 12px; }
  .article-body .arabic-example { font-size: 30px; }
  .example-translation { font-size: 16px; }
}
