html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

body.future-ar {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

body.future-ar h1,
body.future-ar h2,
body.future-ar h3,
body.future-ar h4,
body.future-ar h5,
body.future-ar h6,
body.future-ar input,
body.future-ar select,
body.future-ar textarea,
body.future-ar button,
body.future-ar .button {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

body.future-ar #header .logo,
body.future-ar #header nav,
body.future-ar .post > header .title,
body.future-ar .post > header .meta,
body.future-ar #intro,
body.future-ar #sidebar,
body.future-ar #menu {
  text-align: right;
}

body.future-ar #header .logo {
  padding-left: 1.5em;
  padding-right: 1.5em;
}

body.future-ar #header nav.main ul,
body.future-ar ul.actions,
body.future-ar ul.stats,
body.future-ar ul.share,
body.future-ar ul.posts,
body.future-ar ul.menulink {
  padding-right: 0;
  padding-left: 0;
}

body.future-ar #header nav.main ul li,
body.future-ar #header nav.dropdown ul li {
  float: right;
}

body.future-ar .post > header .meta {
  border-right: solid 1px rgba(160, 160, 160, 0.3);
  border-left: 0;
}

body.future-ar .post > header .title {
  padding-left: 3em;
  padding-right: 3em;
}

body.future-ar .post > footer .stats {
  text-align: left;
}

body.future-ar .post > footer .share {
  margin-right: 0;
  margin-left: auto;
}

body.future-ar .image.featured img,
body.future-ar .article-remote-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 437px;
  object-fit: cover;
}

body.future-ar .post .articleBody,
body.future-ar .post div[itemprop="articleBody"] {
  line-height: 2;
  font-size: 1.03rem;
}

body.future-ar .post div[itemprop="articleBody"] figure.article-image {
  margin: 2em 0;
  max-width: 100%;
  overflow: hidden;
}

body.future-ar .post div[itemprop="articleBody"] img,
body.future-ar .post div[itemprop="articleBody"] figure.article-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

body.future-ar .detail-article-list {
  padding-bottom: 2em;
}

body.future-ar .detail-article-list > header {
  left: 0;
  margin: 0 0 1.5em 0;
  overflow: visible;
  padding: 0 0 1em 0;
  width: 100%;
}

body.future-ar .detail-article-list > header .title {
  padding: 0;
}

body.future-ar .detail-article-list > header .title h2 {
  font-size: 1.1em;
  margin: 0;
  overflow-wrap: anywhere;
}

body.future-ar .detail-article-list ul.posts {
  display: grid;
  gap: 0.9em 1.2em;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.future-ar .detail-article-list ul.posts li {
  border-top: dotted 1px rgba(160, 160, 160, 0.3);
  margin: 0;
  min-width: 0;
  padding: 0.9em 0 0 0;
}

body.future-ar .detail-article-list ul.posts li:first-child,
body.future-ar .detail-article-list ul.posts li:nth-child(2) {
  border-top: 0;
  padding-top: 0;
}

body.future-ar .detail-article-list ul.posts article {
  min-width: 0;
}

body.future-ar .detail-article-list ul.posts article .image {
  flex: 0 0 5em;
  margin-left: 0;
  margin-right: 1em;
  min-width: 5em;
  overflow: hidden;
  width: 5em;
}

body.future-ar .detail-article-list ul.posts article .image img {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

body.future-ar .detail-article-list ul.posts article header {
  min-width: 0;
}

body.future-ar .detail-article-list ul.posts article header h3 {
  font-size: 0.82em;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

body.future-ar .detail-article-list ul.posts article header .published {
  letter-spacing: 0;
  margin: 0;
  white-space: normal;
}

@media screen and (max-width: 980px) {
  body.future-ar .post > header .title,
  body.future-ar #header .logo {
    padding-left: 1em;
    padding-right: 1em;
  }

  body.future-ar .post > header .meta {
    border-right: 0;
  }
}

@media screen and (max-width: 736px) {
  body.future-ar {
    overflow-x: hidden;
  }

  body.future-ar #header {
    min-width: 0;
  }

  body.future-ar #header .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 4em);
    overflow: hidden;
    padding-left: 0.75em;
    padding-right: 0.75em;
  }

  body.future-ar #header .logo a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.future-ar #header .main {
    flex: 0 0 auto;
  }

  body.future-ar #header .main ul li {
    border-left: 0;
    border-right: solid 1px rgba(160, 160, 160, 0.3);
  }

  body.future-ar #header .main ul li > a {
    width: 3.2em;
  }

  body.future-ar .post > header {
    overflow: hidden;
  }

  body.future-ar .post,
  body.future-ar .post > header,
  body.future-ar .post > a.image.featured,
  body.future-ar .image.featured,
  body.future-ar .post div[itemprop="articleBody"] {
    max-width: 100%;
    box-sizing: border-box;
    left: 0;
  }

  body.future-ar .post > a.image.featured,
  body.future-ar .image.featured {
    overflow: hidden;
  }

  body.future-ar .post > a.image.featured img,
  body.future-ar .image.featured img,
  body.future-ar .article-remote-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  body.future-ar .post > header .title {
    min-width: 0;
    text-align: right;
  }

  body.future-ar .post > header .title h1,
  body.future-ar .post > header .title h2 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.future-ar .post > header .meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    text-align: right;
  }

  body.future-ar .post > header .meta > * {
    border-left: 0;
    border-right: 0;
    margin: 0 0 0.75em 0;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }

  body.future-ar .post > header .meta .published {
    letter-spacing: 0;
    white-space: normal;
  }

  body.future-ar .post > header .meta .author {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    letter-spacing: 0;
    overflow: hidden;
  }

  body.future-ar .post > header .meta .author .name {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 4.25em);
    margin: 0 0.75em 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
  }

  body.future-ar .post > footer {
    gap: 0.75em;
  }

  body.future-ar .post > footer .actions,
  body.future-ar .post > footer .stats,
  body.future-ar .post > footer .share {
    justify-content: flex-start;
    width: 100%;
  }

  body.future-ar .post > footer .stats,
  body.future-ar .post > footer .share {
    flex-wrap: wrap;
    gap: 0.5em 0.75em;
    padding: 0;
    text-align: right;
  }

  body.future-ar .post > footer .stats li,
  body.future-ar .post > footer .share li {
    border-left: 0;
    border-right: 0;
    letter-spacing: 0;
    margin: 0;
    max-width: 100%;
    padding: 0;
    overflow-wrap: anywhere;
  }

  body.future-ar #sidebar,
  body.future-ar #footer,
  body.future-ar .blurb {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.future-ar #footer .copyright {
    letter-spacing: 0;
    line-height: 1.8;
    text-transform: none;
  }

  body.future-ar #menu {
    max-width: 88%;
    width: 22em;
  }

  body.future-ar #menu > * {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  body.future-ar .detail-article-list ul.posts {
    grid-template-columns: 1fr;
  }

  body.future-ar .detail-article-list ul.posts li:nth-child(2) {
    border-top: dotted 1px rgba(160, 160, 160, 0.3);
    padding-top: 0.9em;
  }
}

@media screen and (max-width: 480px) {
  body.future-ar .post > .image.featured,
  body.future-ar .post > a.image.featured {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    width: 100%;
  }

  body.future-ar .post > header .meta {
    align-items: stretch;
  }

  body.future-ar .post > header .meta .author {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
  }

  body.future-ar .post > header .meta .author .name {
    display: inline-block;
    max-width: calc(100% - 4em);
  }

  body.future-ar .post > header .meta .author img {
    flex: 0 0 auto;
  }

  body.future-ar .post > footer .actions .button {
    width: 100%;
    text-align: center;
  }
}
