/*
Theme Name: Al-Misaq
Theme URI: https://example.com/sportpress-magazine
Author: Juma Mohammadi
Description: A responsive sports magazine theme inspired by the visual layout of the Sportzilla demo. Uses native posts, categories, menus and featured images.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sportpress-magazine
*/
:root {
  --orange: #ff5300;
  --green: #25c821;
  --ink: #161616;
  --muted: #999;
  --line: #e8e8e8;
  --container: 1268px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    15px/1.55 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--orange);
}
img {
  max-width: 100%;
  height: auto;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
.nav,
.brand,
.tag,
.section-title,
.button,
.ticker,
.date {
  font-family: Impact, "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-stretch: condensed;
}
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.22;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}
p {
  margin: 0 0 20px;
}
.container {
  width: min(var(--container), calc(100% - 64px));
  margin: auto;
}
.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  clip: auto;
  height: auto;
  width: auto;
  z-index: 1000;
  background: #fff;
  padding: 10px;
}
.topbar {
  height: 40px;
  background: #050505;
  color: #fff;
  font-size: 12px;
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker strong {
  color: var(--orange);
  font-size: 13px;
}
.ticker span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-social {
  display: flex;
  gap: 18px;
  font-size: 14px;
  flex: none;
}
.header-action {
  background: var(--orange);
  color: #fff !important;
  padding: 5px 12px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
}
.header-action:hover {
  background: #fff;
  color: var(--orange) !important;
}
.masthead {
  height: 128px;
  background: #121212;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  font-size: 58px;
  line-height: 1;
  letter-spacing: -2px;
  font-style: italic;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
}
.brand em {
  font-style: inherit;
  color: var(--green);
}
.brand img {
  display: block;
  max-height: 90px;
  width: auto;
}
.brand small {
  display: block;
  font:
    12px Arial,
    sans-serif;
  letter-spacing: 0;
  font-style: normal;
}
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  text-transform: uppercase;
  font-size: 15px;
}
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.nav li {
  position: relative;
}
.nav a {
  display: block;
  padding: 9px 0;
}
.nav .current-menu-item > a,
.nav .current_page_item > a {
  border-bottom: 2px solid #fff;
}
.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: #1c1c1c;
  min-width: 190px;
  padding: 8px 16px;
  box-shadow: 0 10px 20px #0004;
}
.nav .sub-menu li {
  width: 100%;
}
.nav .sub-menu a {
  white-space: nowrap;
  border: 0 !important;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
  display: block;
}
.search-toggle,
.menu-toggle {
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  font-size: 21px;
}
.menu-toggle {
  display: none;
}
.header-search {
  display: none;
  position: absolute;
  right: max(32px, calc((100vw - var(--container)) / 2));
  top: 100%;
  padding: 16px;
  background: #1c1c1c;
  box-shadow: 0 8px 15px #0004;
}
.header-search.is-open {
  display: block;
}
.search-form {
  display: flex;
}
.search-field {
  min-width: 230px;
  border: 1px solid #ddd;
  padding: 11px;
  background: #fff;
}
.search-submit {
  background: var(--orange);
  border: 0;
  color: #fff;
  padding: 10px 17px;
  font-weight: bold;
}
.hero {
  position: relative;
  background: #151515;
  color: #fff;
  padding: 50px 0;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#101010a8, #101010aa),
    radial-gradient(ellipse at 50% 120%, #6d2925, #212b24 48%, #0b0b0b 85%);
  background-size: cover;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2.12fr 1fr;
  gap: 36px;
  align-items: stretch;
}
.hero-card {
  height: 440px;
  position: relative;
  background: #222;
  overflow: hidden;
}
.hero-card > a:first-child,
.image-card > a:first-child,
.post-tile .image > a:first-child {
  display: block;
  height: 100%;
}
.hero-card img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.hero-card:hover img,
.image-card:hover img {
  transform: scale(1.045);
}
.hero-card:after,
.image-card:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #000b);
  pointer-events: none;
}
.hero-card .fallback,
.image-card .fallback {
  height: 100%;
  background: linear-gradient(135deg, #525252, #1b1b1b 70%);
}
.tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font:
    11px Impact,
    "Arial Narrow",
    sans-serif;
  text-transform: uppercase;
  padding: 7px 11px;
  line-height: 1;
}
.tag:hover {
  background: #111;
  color: #fff;
}
.hero-card > .tag,
.image-card > .tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
}
.hero-copy,
.image-copy {
  position: absolute;
  bottom: 26px;
  left: 24px;
  right: 24px;
  z-index: 2;
}
.hero-card h2 {
  font-size: 22px;
}
.hero-card:nth-child(2) h2 {
  font-size: 23px;
}
.date {
  font-size: 12px;
  color: #a7a7a7;
  text-transform: uppercase;
}
.hero-card .date,
.image-card .date {
  color: #ddd;
}
.date:before {
  content: "◷";
  font:
    17px Arial,
    sans-serif;
  vertical-align: -1px;
  margin-right: 5px;
}
.hero-copy h2 {
  margin-top: 12px;
}
.quick-strip {
  background: #f5f5f5;
  padding: 50px 0 42px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.quick-item {
  border-right: 1px solid #e3e3e3;
  padding: 0 28px;
}
.quick-item:first-child {
  padding-left: 10px;
}
.quick-item:last-child {
  border: 0;
}
.quick-item .date {
  display: block;
  margin: 7px 0 12px;
}
.quick-item h3 {
  font-size: 18px;
}
.section-title {
  font-size: 23px;
  text-transform: uppercase;
  margin: 0 0 34px;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
html[dir="rtl"] .section-title {
  text-underline-offset: 10px;
}
.news-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 290px;
  gap: 36px;
  padding-top: 76px;
  padding-bottom: 0px;
}
.news-layout.section2 {
  padding-top: 50px;
  border-top: 1px solid #eee;
}
.widget {
  margin-bottom: 54px;
}
.popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
}
.popular-list li {
  border-bottom: 1px solid var(--line);
}
.popular-list li:last-child {
  border: 0;
}
.popular-list .thumb {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.popular-entry {
  display: flex;
  gap: 18px;
  padding: 25px 20px;
}
.popular-number {
  color: #dedede;
  font:
    48px Impact,
    Arial,
    sans-serif;
  line-height: 1;
}
.popular-entry h3 {
  font-size: 16px;
  text-transform: inherit;
}
.popular-entry small {
  color: #aaa;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
}
.category-list span {
  color: #aaa;
}
.lead-image {
  height: 440px;
  position: relative;
  display: block;
  overflow: hidden;
}
.lead-image img,
.lead-image .fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-image .tag {
  position: absolute;
  top: 20px;
  left: 20px;
}
.lead-story .date {
  display: block;
  margin: 16px 0 0px;
}
.lead-story h2 {
  font-size: 26px;
  margin-bottom: 16px;
}
.lead-story p {
  color: #666;
  line-height: 1.7;
}
.byline {
  font-size: 13px;
  color: #777;
  margin: 16px 0;
}
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.mini-story,
.tab-story {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 14px;
  padding-bottom: 10px;
}
.mini-story img,
.tab-story img {
  width: 300px;
  object-fit: cover;
  flex: none;
}
.mini-story .fallback {
  width: 80px;
  height: 60px;
}
.mini-story h4,
.tab-story h4 {
  font:
    600 14px/1.4 Arial,
    sans-serif;
  text-transform: none;
}
.mini-story .date,
.tab-story .date {
  font-size: 11px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.image-card {
  position: relative;
  height: 240px;
  overflow: hidden;
  color: #fff;
  background: #333;
}
.image-card h3 {
  font-size: 15px;
  margin-top: 8px;
  text-transform: capitalize;
}
.recent-box {
  background: #f8f8f8;
  padding: 12px 30px;
}
.recent-box .recent-item {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.recent-box .recent-item:last-child {
  border: 0;
}
.recent-item a {
  display: block;
  line-height: 1.4;
  font-size: 18px;
  font-weight: 600;
}
.recent-item .date {
  display: block;
  margin-bottom: 4px;
}
.newsletter {
  background: #f7f7f7;
  padding: 25px;
}
.newsletter input {
  width: 100%;
  padding: 11px;
  border: 1px solid #ddd;
  margin: 10px 0;
}
.button,
.newsletter button {
  background: var(--orange);
  border: 0;
  color: #fff;
  padding: 12px 24px;
  text-transform: uppercase;
  display: inline-block;
  font-size: 13px;
}
.button:hover,
.newsletter button:hover {
  background: #151515;
  color: #fff;
}
.section {
  padding: 66px 0;
  border-top: 1px solid #eee;
}
.section.dark-bg {
  background: #141414;
  color: #fff;
}
.section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 36px;
}
.feature-row {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 28px;
}
.feature-row .image {
  height: 300px;
}
.feature-row .image img,
.feature-row .image .fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-row .date {
  display: block;
  margin: 4px 0 12px;
}
.feature-row h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.feature-row p {
  color: #666;
}
.feature-row .button {
  margin-top: 12px;
}
.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 34px;
}
.post-tile .image {
  height: 185px;
  position: relative;
  overflow: hidden;
  background: #333;
}
.post-tile .image img,
.post-tile .image .fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-tile .tag {
  position: absolute;
  top: 15px;
  left: 15px;
}
.post-tile .date {
  display: block;
  margin: 13px 0 8px;
}
.post-tile h3 {
  font-size: 20px;
}
.section.dark-bg .post-tile h3 {
  font-size: 16px;
}
.post-tile p {
  color: #666;
  margin-top: 11px;
}
.tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 26px;
  border-bottom: 1px solid #eee;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 10px;
  font:
    16px Impact,
    Arial,
    sans-serif;
  text-transform: uppercase;
}
.tabs button.active {
  border-color: var(--orange);
}
.tab-panel[hidden] {
  display: none;
}
.tab-story {
  margin: 0 0 20px;
}
.footer {
  background: #141414;
  color: #fff;
  padding: 65px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 25px;
}
.footer .brand {
  font-size: 40px;
}
.footer .brand img {
  max-height: 140px;
}
.footer h3 {
  font-size: 21px;
  margin: 0 0 25px;
}
.footer p,
.footer a {
  color: #aaa;
}
.footer .mini-story {
  margin: 0 0 20px;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #2d6bb0;
  color: #fff;
}
.footer-social a:hover {
  background: var(--orange);
  color: #fff;
}
.footer-logo {
  display: block;
  max-width: 280px;
  max-height: 90px;
  width: auto;
  height: auto;
}
.social-share {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.social-share strong {
  margin-right: 8px;
  text-transform: uppercase;
}
.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #222;
  color: #fff;
  text-decoration: none !important;
}
.social-share a:hover {
  background: var(--orange);
  color: #fff;
}
.footer-bottom {
  margin-top: 45px;
  padding: 20px 0;
  border-top: 1px solid #333;
  color: #888;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--orange);
  color: #fff;
  border: 0;
  padding: 13px 17px;
  z-index: 20;
}
.archive-header {
  padding: 55px 0 30px;
}
.archive-header h1 {
  font-size: 38px;
}
.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 45px;
  padding-bottom: 65px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
.pagination {
  margin: 35px 0;
}
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid #ddd;
  margin-right: 4px;
}
.pagination .current {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 45px;
  padding: 58px 0 75px;
}
.single-title {
  font-size: 42px;
  margin: 14px 0;
}
.single-cover {
  width: 100%;
  height: auto;
  margin: 26px 0;
}
.entry-content {
  font-size: 17px;
  line-height: 1.8;
}
.entry-content img {
  height: auto;
}
.entry-content a {
  color: var(--orange);
  text-decoration: underline;
}
.entry-content blockquote {
  border-left: 4px solid var(--orange);
  padding-left: 20px;
  font-style: italic;
}
.entry-content table {
  border-collapse: collapse;
  width: 100%;
}
.entry-content th,
.entry-content td {
  border: 1px solid #ddd;
  padding: 8px;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #eee;
  padding: 24px 0;
}
.comments-area {
  margin-top: 35px;
}
.comments-area li {
  margin-bottom: 20px;
}
.comment-form input:not([type="submit"]),
.comment-form textarea {
  display: block;
  width: 100%;
  max-width: 650px;
  border: 1px solid #ddd;
  padding: 12px;
}
.comment-form input[type="submit"] {
  background: var(--orange);
  color: #fff;
  border: 0;
  padding: 12px 24px;
}
.not-found {
  text-align: center;
  padding: 80px 0;
}
@media (max-width: 1100px) {
  .brand {
    font-size: 42px;
  }
  .nav,
  .nav ul {
    gap: 14px;
    font-size: 13px;
  }
  .news-layout {
    grid-template-columns: 230px minmax(0, 1fr) 230px;
    gap: 24px;
  }
  .section-inner,
  .archive-layout,
  .single-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .hero-grid {
    gap: 20px;
  }
  .hero-card {
    height: 390px;
  }
}
@media (max-width: 800px) {
  .recent-item a {
    font-size: 14px;
  }
  .feature-row h2 {
    font-size: 16px;
  }
  .container {
    width: min(100% - 36px, var(--container));
  }
  .topbar {
    height: 34px;
  }
  .masthead {
    height: 85px;
  }
  .brand {
    font-size: 40px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #151515;
    padding: 20px;
    max-height: 75vh;
    overflow: auto;
  }
  .nav.is-open {
    display: block;
  }
  .nav ul {
    display: block;
  }
  .nav li {
    border-bottom: 1px solid #333;
  }
  .nav .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    padding-left: 20px;
  }
  .hero {
    padding: 30px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .hero-card {
    height: 290px;
  }
  .hero-card:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 1;
    height: 390px;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .quick-item:nth-child(2) {
    border: 0;
  }
  .news-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .section-inner {
    grid-template-columns: 1fr;
  }
  .section-inner aside {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .archive-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }
  .archive-layout aside,
  .single-layout aside {
    display: none;
  }
}
@media (max-width: 560px) {
  .top-social a:not(.header-action) {
    display: none;
  }
  .container {
    width: calc(100% - 30px);
  }
  .brand {
    font-size: 32px;
  }
  .top-social {
    gap: 9px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-card {
    height: 235px;
  }
  .hero-card:nth-child(2) {
    height: 300px;
  }

  .hero-card:nth-child(2) h2 {
    font-size: 17px;
  }
  .hero-card:nth-child(1) h2,
  .hero-card:nth-child(3) h2 {
    font-size: 12px;
  }

  .hero-copy {
    left: 12px;
    right: 12px;
    bottom: 15px;
  }
  .hero-card > .tag {
    left: 12px;
    top: 12px;
  }
  .quick-grid {
    gap: 20px 0;
  }
  .quick-item {
    padding: 0 12px;
  }
  .quick-item:first-child {
    padding-left: 0;
  }
  .quick-item h3 {
    font-size: 15px;
  }
  .news-layout {
    display: block;
    padding-top: 40px;
  }
  .news-layout .right-sidebar {
    margin-top: 40px;
  }
  .lead-image {
    height: 290px;
  }
  .story-grid,
  .archive-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .image-card {
    height: 220px;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row .image {
    height: 230px;
  }
  .triple-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .post-tile h3 {
    font-size: 16px;
  }
  .section {
    padding: 43px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    display: block;
  }
  .footer-menu {
    margin-top: 14px;
  }
  .single-title {
    font-size: 24px;
  }
}

/* Language-specific typography. WordPress supplies lang/dir on the html element. */
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
.nav,
.brand,
.brand small,
.tag,
.section-title,
.button,
.ticker,
.date,
.mini-story h4,
.tab-story h4,
.tabs button,
.popular-number,
.date:before {
  font-family: "Roboto Condensed", Arial, sans-serif;
}

html[lang^="ar"],
html[dir="rtl"],
body.rtl {
  font-family: "Tajawal", Arial, sans-serif;
}

html[lang^="ar"] body,
html[lang^="ar"] button,
html[lang^="ar"] input,
html[lang^="ar"] textarea,
html[lang^="ar"] select,
html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3,
html[lang^="ar"] h4,
html[lang^="ar"] h5,
html[lang^="ar"] .nav,
html[lang^="ar"] .brand,
html[lang^="ar"] .tag,
html[lang^="ar"] .section-title,
html[lang^="ar"] .button,
html[lang^="ar"] .ticker,
html[lang^="ar"] .date,
html[lang^="ar"] .brand small,
html[lang^="ar"] .mini-story h4,
html[lang^="ar"] .tab-story h4,
html[lang^="ar"] .tabs button,
html[lang^="ar"] .popular-number,
html[lang^="ar"] .date:before,
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] .nav,
html[dir="rtl"] .brand,
html[dir="rtl"] .tag,
html[dir="rtl"] .section-title,
html[dir="rtl"] .button,
html[dir="rtl"] .ticker,
html[dir="rtl"] .date,
html[dir="rtl"] .brand small,
html[dir="rtl"] .mini-story h4,
html[dir="rtl"] .tab-story h4,
html[dir="rtl"] .tabs button,
html[dir="rtl"] .popular-number,
html[dir="rtl"] .date:before,
body.rtl {
  font-family: "Tajawal", Arial, sans-serif;
}
.ticker-news {
  position: relative;
  min-width: 0;
  overflow: hidden;
  height: 23px;
}
.ticker-item {
  display: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-item.is-active {
  display: block;
}
.ticker-news {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  direction: ltr;
}
.ticker-track {
  display: inline-flex;
  width: max-content;
  direction: ltr;
  animation: ticker-rtl 30s linear infinite;
  transform: translateX(0);
}
.ticker-news:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-block !important;
  margin-right: 28px;
  padding-inline-end: 28px;
  border-inline-end: 1px solid #666;
  animation: none;
  white-space: nowrap;
}
html[dir="rtl"] .ticker-track,
html[lang^="ar"] .ticker-track {
  animation-name: ticker-ltr;
}
@keyframes ticker-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes ticker-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes ticker-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
  .ticker-item {
    animation: none;
  }
}
.quick-carousel {
  display: block;
}
.right-sidebar {
  position: static;
}
.archive-layout > aside,
.single-layout > aside {
  position: sticky;
  top: 190px;
  align-self: start;
}
.quick-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.quick-carousel .quick-grid {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}
.quick-carousel .quick-item {
  flex: 0 0 25%;
  min-width: 0;
}
.section3-item {
  border-right: 1px solid var(--line);
  padding: 0 15px;
}
.section3-item .post-tile .image {
  height: 230px;
}
.section5-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.section5-column .section-title {
  font-size: 17px;
  margin-bottom: 20px;
}
.section5-column .mini-story {
  margin-bottom: 15px;
  border: none;
}
.section5-column:not(:last-child) {
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 15px;
}
@media (max-width: 800px) {
  .section5-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .section5-grid {
    grid-template-columns: 1fr;
  }
}
.section3-slider {
  position: relative;
  overflow: visible;
}
.section3-slider .quick-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section3-slider .quick-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.section3-slider .quick-prev {
  left: -58px;
}
.section3-slider .quick-next {
  right: -58px;
}
@media (max-width: 1100px) {
  .section3-slider .quick-prev {
    left: 8px;
  }
  .section3-slider .quick-next {
    right: 8px;
  }
}
.quick-arrow {
  align-self: center;
  border: 0;
  background: var(--orange);
  color: #fff;
  width: 34px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
}
.quick-arrow:hover {
  background: #151515;
}
@media (max-width: 800px) {
  .right-sidebar {
    position: static;
    display: block;
  }
  .archive-layout > aside,
  .single-layout > aside {
    position: static;
  }
  .quick-carousel .quick-item {
    flex-basis: 50%;
  }
}
@media (max-width: 560px) {
  .quick-carousel .quick-item {
    flex-basis: 100%;
  }
  .quick-strip {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quick-carousel .quick-grid {
    transition: none;
  }
}
.header-search {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--orange);
  padding: 0;
  color: #fff;
}
.header-search.is-open {
  display: block;
}
.header-search-inner {
  position: absolute;
  top: 46%;
  left: 50%;
  width: min(850px, calc(100% - 48px));
  transform: translate(-50%, -50%);
}
.header-search .search-form {
  display: block;
}
.header-search .search-field {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 3px solid #fff;
  padding: 15px 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  outline: 0;
}
.header-search .search-field::placeholder {
  color: #fff;
  opacity: 1;
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -2px;
}
.header-search-close {
  position: absolute;
  top: 38px;
  right: 5%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  font-weight: 300;
}
@media (max-width: 600px) {
  .header-search .search-field {
    font-size: 25px;
  }
  .header-search .search-field::placeholder {
    font-size: 48px;
  }
  .header-search-close {
    top: 22px;
    font-size: 42px;
  }
}
.empty-state {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 35px;
  background: #f7f7f7;
  border-top: 5px solid var(--orange);
  text-align: center;
}
.empty-code {
  display: block;
  color: var(--orange);
  font:
    96px/1 Impact,
    Arial,
    sans-serif;
  letter-spacing: 4px;
}
.empty-state h1,
.empty-state h2 {
  font-size: 34px;
  margin: 18px 0 12px;
}
.empty-state p {
  color: #777;
  font-size: 17px;
  margin-bottom: 25px;
}
.empty-state .search-form {
  justify-content: center;
  margin: 0 auto 24px;
  max-width: 560px;
}
.archive-empty {
  margin: 30px 0 60px;
}
.empty-icon {
  display: block;
  color: var(--orange);
  font-size: 58px;
  line-height: 1;
}
.empty-state .button {
  margin-top: 5px;
}
