/* Homepage banner and editorial sections. */

.home.rtl .aft-banner-layout-9 .aft-trending-part .af-slick-navcontrols {
  top: 22px;
  right: auto;
  left: 20px;
}

body.home .aft-main-banner-wrapper .widget-title .heading-line,
body.single-post.rtl
  #secondary
  .reviewnews_trending_news_widget
  .widget-title
  .heading-line {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.aft-main-banner-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.aft-main-banner-wrapper .aft-main-banner-part {
  row-gap: 18px;
}


.af-main-banner-latest-posts.reviewnews-customizer,
.above-footer-widget-section {
  margin-top: var(--elbi-section-gap);
}

body.home.rtl .af-main-banner-latest-posts.grid-layout {
  width: auto;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

body.home :is(.af-main-banner-latest-posts.grid-layout, .elbilad-home-editorial)
  > .container-wrapper {
  width: min(calc(100% - var(--elbi-page-gutter) - var(--elbi-page-gutter)), var(--elbi-container));
  max-width: var(--elbi-container);
  margin-inline: auto;
  padding-inline: 0;
}

body.home.rtl .af-main-banner-latest-posts.grid-layout > .container-wrapper {
  max-width: var(--elbi-container);
  padding-block: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.home.rtl .af-main-banner-latest-posts .widget-title-section {
  margin: 0 0 var(--elbi-heading-gap);
}
body.home.rtl .af-main-banner-latest-posts .widget-title.header-after1 {
  display: flex;
  min-height: 34px;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-inline-start: calc(var(--elbi-section-padding) + 1px);
  border: 0;
  text-align: right;
}
:is(
  body.home.rtl .af-main-banner-latest-posts,
  body.single.rtl #secondary,
  body.single.rtl .af-reated-posts,
  body.single.rtl .above-footer-widget-section
) .widget-title .heading-line {
  flex: 0 0 auto;
  padding: 0 9px;
  color: var(--elbi-charcoal);
  background: transparent;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
}
:is(
  body.home.rtl .af-main-banner-latest-posts,
  body.single.rtl #secondary,
  body.single.rtl .af-reated-posts,
  body.single.rtl .above-footer-widget-section
) .widget-title .heading-line-before {
  display: block;
  width: 3px;
  height: 26px;
  flex: 0 0 3px;
  background: var(--elbi-red);
  border-radius: 2px;
}
:is(
  body.home.rtl .af-main-banner-latest-posts,
  body.single.rtl #secondary,
  body.single.rtl .af-reated-posts,
  body.single.rtl .above-footer-widget-section
) .widget-title .heading-line-after {
  display: block;
  height: 1px;
  flex: 1 1 auto;
  background: var(--elbi-border);
}
body.home.rtl .af-main-banner-latest-posts .af-container-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--elbi-card-gap);
  margin: 0;
  direction: rtl;
}
body.home.rtl .af-main-banner-latest-posts .af-container-row > .col-4.pad {
  width: auto;
  min-width: 0;
  padding: 0;
  float: none;
}
body.home.rtl .af-main-banner-latest-posts .grid-design-default.read-single {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: var(--elbi-shadow-card);
  direction: rtl;
  transform: none;
}
body.home.rtl .af-main-banner-latest-posts .grid-design-default.read-single:hover {
  border-color: #d5d9df;
  box-shadow: var(--elbi-shadow-card);
  transform: none;
}
body.home.rtl .af-main-banner-latest-posts .read-img.read-bg-img {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  overflow: visible;
  border-radius: 0;
}
body.home.rtl .af-main-banner-latest-posts .read-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}
body.home.rtl .af-main-banner-latest-posts .category-min-read-wrap {
  top: calc(100% + 10px);
  right: 14px;
  bottom: auto;
  left: auto;
}
body.home.rtl .af-main-banner-latest-posts
  .categories-inside-image a.reviewnews-categories {
  padding: 0;
  color: var(--elbi-red);
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
body.home.rtl .af-main-banner-latest-posts .pad.read-details {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 38px 14px 13px;
}
body.home.rtl .af-main-banner-latest-posts .read-title h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}
body.home.rtl .af-main-banner-latest-posts .read-title h3 a {
  display: -webkit-box;
  min-height: calc(3em + 2px);
  padding-block: 1px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.home.rtl .af-main-banner-latest-posts .post-item-metadata {
  margin-top: auto;
  color: var(--elbi-muted);
  font-size: 12.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.home.rtl .af-main-banner-latest-posts .post-item-metadata i {
  vertical-align: -1px;
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  body.home.rtl .af-main-banner-latest-posts .af-container-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media screen and (max-width: 768px) {
  body.home.rtl .af-main-banner-latest-posts .widget-title.header-after1 {
    margin-inline-start: 17px;
  }
  :is(
    body.home.rtl .af-main-banner-latest-posts,
    body.single.rtl #secondary,
    body.single.rtl .af-reated-posts,
    body.single.rtl .above-footer-widget-section
  ) .widget-title .heading-line {
    font-size: 22px;
  }
  body.home.rtl .af-main-banner-latest-posts .af-container-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

body.home
  :is(.aft-main-banner-section, .af-main-banner-latest-posts, .above-footer-widget-section)
  :is(.widget-title-section, .af-title-subtitle-wrap) {
  margin-bottom: 14px;
}

body.home
  :is(.aft-main-banner-section, .af-main-banner-latest-posts, .above-footer-widget-section)
  :is(.header-after1, .widget-title, .reviewnews-widget .wp-block-heading) {
  margin-bottom: 14px;
  padding-inline-start: 10px;
  border-inline-start: 3px solid var(--elbi-red);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

body.home[class*="widget-title-fill-"]
  :is(.aft-main-banner-section, .af-main-banner-latest-posts, .above-footer-widget-section)
  :is(
    .reviewnews-widget .wp-block-search__label,
    .reviewnews-widget .wp-block-group .wp-block-heading,
    .widget-title .heading-line,
    .reviewnews-customizer .widget-title
  ) {
  background-color: transparent;
  border-radius: 0;
  color: var(--elbi-charcoal);
}

body.home.widget-title-fill-and-border
  :is(.aft-main-banner-section, .af-main-banner-latest-posts, .above-footer-widget-section)
  :is(.widget-title, .aft-posts-tabs-panel .tabbed-head) {
  border-bottom-color: var(--elbi-border);
}

body.home.rtl .aft-main-banner-wrapper .aft-trending-part .widget-title.header-after1 {
  background: var(--elbi-white);
  color: var(--elbi-charcoal);
}

body.home.rtl .aft-main-banner-wrapper .aft-trending-part > .reviewnews-customizer {
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  box-shadow: none;
}

body.home.rtl .aft-main-banner-wrapper .aft-trending-part
  .widget-title.header-after1 .heading-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: transparent;
  color: inherit;
}

body.home.rtl .aft-banner-layout-9 .aft-trending-part
  .widget-title .heading-line::before {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--elbi-red);
  background: transparent;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

body.home.rtl .aft-banner-layout-9 .aft-4-trending-posts-1
  .widget-title .heading-line::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c8102e'%3E%3Cpath d='m12 2.6 2.9 5.9 6.5.9-4.7 4.6 1.1 6.5-5.8-3.1-5.8 3.1 1.1-6.5-4.7-4.6 6.5-.9L12 2.6Z'/%3E%3C/svg%3E");
}

body.home.rtl .aft-banner-layout-9 .aft-4-trending-posts-2
  .widget-title .heading-line::before {
  content: "\e922";
  font-family: "aft-icons";
  font-weight: normal;
}

/* Featured slider header and metadata */
body.home.rtl .aft-main-banner-wrapper .aft-slider-part > .reviewnews-customizer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  direction: rtl;
  min-width: 0;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-widget-carousel.aft-carousel {
  display: contents;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-title-subtitle-wrap {
  order: 1;
  flex: 1 1 0;
  min-width: 0;
  margin: 0 0 14px;
  background: transparent;
  border-radius: 0;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .widget-title.header-after1 {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--elbi-charcoal);
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .widget-title.header-after1 .heading-line {
  display: block;
  max-width: 100%;
  padding: 7px 12px;
  overflow-wrap: anywhere;
  background: transparent;
  color: inherit;
  line-height: 1.25;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .widget-title .heading-line-before,
body.home.rtl .aft-main-banner-wrapper .aft-slider-part .widget-title .heading-line-after {
  display: none;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-main-navcontrols.af-slick-navcontrols {
  order: 2;
  flex: 0 0 auto;
  position: static;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  min-width: 66px;
  height: auto;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 3px 6px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius-sm);
  z-index: 1;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .slick-wrapper.af-banner-carousel {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-main-navcontrols .slide-icon {
  position: static;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  color: var(--elbi-red);
  background: var(--elbi-white);
  border: 1px solid var(--elbi-border);
  border-radius: 5px;
  opacity: 0.85;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-main-navcontrols .slide-icon:hover,
body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-main-navcontrols .slide-icon:focus-visible {
  opacity: 1;
  background: var(--elbi-red-soft);
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-banner-carousel .read-details {
  padding-bottom: 12px;
}

body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-banner-carousel .read-title h3 {
  margin-bottom: 0;
}

@media screen and (min-width: 1025px) {
  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-title h3 a {
    font-size: 30px;
    line-height: 1.4;
  }
}

body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
  .af-double-column.list-style.has-post-image .read-details.pad {
  padding: 0;
}

body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .read-title h3 {
  margin-block: 0;
}

body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .read-title h3 a {
  display: -webkit-box;
  padding-block: 1px;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .trending-no {
  width: 24px;
  height: 24px;
  font-size: 13px;
  line-height: 24px;
  border-radius: 3px;
}

@media screen and (min-width: 1025px) and (max-width: 1279px) {
  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    :is(.read-categories a, .post-item-metadata) {
    font-size: 13px;
  }
}

/* Reference desktop banner geometry */
@media screen and (min-width: 1280px) {
  body.home.rtl .aft-main-banner-section > .container-wrapper:last-child {
    width: calc(100% - 48px);
    max-width: 1688px;
    padding-inline: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-main-banner-part {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    margin-inline: 0;
    row-gap: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-main-banner-part > .aft-trending-part,
  body.home.rtl .aft-main-banner-wrapper .aft-main-banner-part > .aft-slider-part {
    width: auto;
    min-width: 0;
    margin-top: 23px;
    padding-inline: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-main-banner-part > .aft-trending-part {
    flex: 1 1 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-main-banner-part > .aft-slider-part {
    flex: 1.855 1 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-trending-part > .reviewnews-customizer {
    position: relative;
    display: flex;
    flex-direction: column;
    container-type: size;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--elbi-white);
    border: 1px solid var(--elbi-border);
    border-radius: var(--elbi-radius);
    box-shadow: none;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-trending-part .af-title-subtitle-wrap {
    margin: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-trending-part .widget-title.header-after1 {
    flex: 0 0 auto;
    height: 55px;
    min-height: 55px;
    margin: 0;
    padding-inline: 18px 74px;
    display: flex;
    align-items: center;
    border-inline-start: 3px solid var(--elbi-red);
    border-bottom: 1px solid var(--elbi-border);
  }

  body.home.rtl .aft-main-banner-wrapper .aft-trending-part
    .widget-title.header-after1 .heading-line {
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
  }

  body.home.rtl .aft-banner-layout-9 .aft-trending-part .af-slick-navcontrols {
    display: none;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider {
    flex: 1 1 auto;
    min-height: 0;
    width: auto;
    height: auto;
    max-height: none;
    margin: 14px 17px 0;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .slick-list {
    margin-bottom: 0;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .af-double-column.list-style .read-single {
    height: calc((100cqh - 69px) / 5);
    min-height: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 12px;
    padding-block: 2px;
    margin-bottom: 0;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .af-double-column.list-style .read-img {
    width: auto;
    max-width: none;
    height: auto;
    aspect-ratio: 1.47 / 1;
    overflow: hidden;
    border-radius: 3px;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .af-double-column.list-style .read-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .af-double-column.list-style .read-details.pad {
    width: auto;
    max-height: none;
    min-width: 0;
    padding: 0;
    overflow: hidden;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .read-categories {
    overflow: hidden;
    white-space: nowrap;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .read-categories :is(.cat-links, .meta-category) {
    margin-block: 0;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .read-categories a {
    font-size: 12px;
    line-height: 1.2;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .read-title h3 {
    margin-block: 0;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .read-title h3 a {
    font-size: 15px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .post-item-metadata {
    font-size: 11.5px;
    line-height: 1.2;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider
    .post-item-metadata .item-metadata {
    line-height: 1.2;
  }

  body.home.rtl .aft-banner-layout-9 .banner-vertical-slider .trending-no {
    width: 22px;
    height: 22px;
    right: auto;
    bottom: 0;
    left: 0;
    font-size: 12px;
    line-height: 22px;
    background: var(--elbi-red);
    color: var(--elbi-white);
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part > .reviewnews-customizer,
  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-widget-carousel.aft-carousel {
    position: relative;
    display: block;
    height: 100%;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part > .reviewnews-customizer {
    padding: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-title-subtitle-wrap {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 1px;
    height: 1px;
    max-width: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .slick-wrapper.af-banner-carousel {
    width: 100%;
    height: 100%;
    max-height: none;
    overflow: hidden;
    border-radius: 4px;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .slick-slide {
    padding-inline: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel > .slick-list {
    margin-inline: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-img.read-bg-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.11 / 1;
    border-radius: 4px;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-details {
    height: 48%;
    padding: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.92)
    );
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-categories {
    position: absolute;
    right: 38px;
    bottom: 240px;
    padding: 0;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-title {
    position: absolute;
    right: 8%;
    bottom: 110px;
    left: 8%;
    text-align: center;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-title h3 a {
    max-width: 100%;
    margin-inline: auto;
    font-size: 42px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .post-item-metadata {
    position: absolute;
    right: 8%;
    bottom: 68px;
    left: 8%;
    display: flex;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-main-navcontrols.af-slick-navcontrols {
    position: absolute;
    right: auto;
    bottom: 18px;
    left: 50%;
    z-index: 3;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 10px;
    border: 0;
    transform: translateX(-50%);
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-main-navcontrols .slide-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    color: var(--elbi-white);
    background: rgba(21, 23, 26, 0.58);
    border-color: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
  }
}

@media screen and (min-width: 1600px) {
  body.home.rtl .aft-main-banner-wrapper .aft-slider-part
    .af-banner-carousel .read-title h3 a {
    font-size: 46px;
  }
}

/* Homepage category columns */
.home .elbilad-home-editorial {
  margin-top: var(--elbi-section-gap);
  direction: rtl;
}

.home .elbilad-home-editorial .elbilad-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding: var(--elbi-section-padding) 0;
  overflow: hidden;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
}

.home .elbilad-home-editorial .elbilad-category-column {
  min-width: 0;
  padding: 0 var(--elbi-section-padding);
  border: 0;
  border-inline-start: 1px solid var(--elbi-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home .elbilad-home-editorial .elbilad-category-column:first-child {
  border-inline-start: 0;
}

.home .elbilad-home-editorial .elbilad-section-heading {
  margin-bottom: var(--elbi-heading-gap);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--elbi-border);
}

.home .elbilad-home-editorial .elbilad-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--elbi-charcoal);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
}

.home .elbilad-home-editorial .elbilad-section-heading h2::before {
  width: 3px;
  height: 24px;
  flex: 0 0 3px;
  border-radius: 2px;
  background: var(--elbi-red);
  content: "";
}

.home .elbilad-home-editorial .elbilad-section-heading h2 > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home .elbilad-home-editorial .elbilad-heading-icon {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--elbi-blue);
}

.home .elbilad-home-editorial
  :is(.elbilad-opinion-section, .elbilad-video-section)
  .elbilad-heading-icon {
  color: var(--elbi-red);
}

.home .elbilad-home-editorial .elbilad-compact-post {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--elbi-row-gap);
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: var(--elbi-row-gap) 0;
  border-bottom: 1px solid var(--elbi-border);
}

.home .elbilad-home-editorial .elbilad-compact-post:first-child {
  padding-top: 0;
}

.home .elbilad-home-editorial .elbilad-compact-post__thumbnail {
  display: block;
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--elbi-soft);
}

.home .elbilad-home-editorial .elbilad-compact-post__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .elbilad-home-editorial .elbilad-compact-post__title {
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.home .elbilad-home-editorial .elbilad-compact-post__title a {
  display: -webkit-box;
  padding-block: 1px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home .elbilad-home-editorial .elbilad-compact-post__title.has-title-tooltip::after {
  position: absolute;
  inset-inline: 0;
  top: calc(100% - 5px);
  z-index: 20;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-charcoal);
  box-shadow: var(--elbi-shadow);
  color: var(--elbi-white);
  content: attr(data-title);
  direction: rtl;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
  pointer-events: none;
  text-align: right;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.home .elbilad-home-editorial .elbilad-compact-post__title.has-title-tooltip:hover::after,
.home .elbilad-home-editorial .elbilad-compact-post__title.has-title-tooltip:focus-within::after {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.home .elbilad-home-editorial .elbilad-section-more {
  display: table;
  margin-top: 12px;
  margin-inline-start: auto;
  color: var(--elbi-red);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.home .elbilad-home-editorial .elbilad-category-empty {
  margin: 0;
  color: var(--elbi-muted);
  font-size: 14px;
}

/* Homepage opinion and video row */
.home .elbilad-home-editorial .elbilad-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--elbi-card-gap);
  align-items: stretch;
  direction: ltr;
}

.home .elbilad-home-editorial .elbilad-opinion-section,
.home .elbilad-home-editorial .elbilad-video-section {
  min-width: 0;
  padding: var(--elbi-section-padding);
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: none;
  direction: rtl;
}

.home .elbilad-home-editorial .elbilad-opinion-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: var(--elbi-card-gap);
  align-items: start;
  direction: ltr;
}

.home .elbilad-home-editorial .elbilad-opinion-card__media,
.home .elbilad-home-editorial .elbilad-opinion-card__media a {
  display: block;
}

.home .elbilad-home-editorial .elbilad-opinion-card__author-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--elbi-border);
  border-radius: 4px;
  box-shadow: none;
  object-fit: cover;
}

.home .elbilad-home-editorial .elbilad-opinion-card__content {
  min-width: 0;
  direction: rtl;
}

.home .elbilad-home-editorial .elbilad-opinion-card__author-name {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--elbi-muted);
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 700;
}

.home .elbilad-home-editorial .elbilad-opinion-card__title {
  margin: 0 0 8px;
  color: var(--elbi-charcoal);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.home .elbilad-home-editorial .elbilad-opinion-card__excerpt {
  margin: 0 0 10px;
  color: var(--elbi-muted);
  font-size: 15px;
  line-height: 1.75;
}

.home .elbilad-home-editorial .elbilad-opinion-card__link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--elbi-red);
  font-size: 13px;
  font-weight: 700;
}

.home .elbilad-home-editorial .elbilad-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--elbi-row-gap);
}

.home .elbilad-home-editorial .elbilad-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--elbi-border);
  border-radius: var(--elbi-radius);
  background: var(--elbi-white);
  box-shadow: var(--elbi-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home .elbilad-home-editorial .elbilad-video-card:hover {
  border-color: #cdd4df;
  box-shadow: var(--elbi-shadow-card);
}

.home .elbilad-home-editorial .elbilad-video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--elbi-soft);
}

.home .elbilad-home-editorial .elbilad-video-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .elbilad-home-editorial .elbilad-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--elbi-red);
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}

.home .elbilad-home-editorial .elbilad-video-card__play .aft-icon-play-solid {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

.home .elbilad-home-editorial .elbilad-video-card__label {
  position: absolute;
  inset-inline-start: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: var(--elbi-radius-sm);
  background: var(--elbi-red);
  color: var(--elbi-white);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  pointer-events: none;
}

.home .elbilad-home-editorial .elbilad-video-card__title {
  margin: 0;
  padding: 12px;
  color: var(--elbi-charcoal);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.home .elbilad-home-editorial .elbilad-video-card__title a {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home .elbilad-home-editorial .elbilad-video-card__media:focus-visible,
.home .elbilad-home-editorial .elbilad-video-card__title a:focus-visible {
  outline: 2px solid var(--elbi-red);
  outline-offset: -3px;
}

@media screen and (max-width: 1024px) {
  .home .elbilad-home-editorial .elbilad-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .elbilad-home-editorial .elbilad-category-column:nth-child(odd) {
    border-inline-start: 0;
  }

  .home .elbilad-home-editorial .elbilad-category-column:nth-child(n + 3) {
    margin-top: var(--elbi-section-padding);
    padding-top: var(--elbi-section-padding);
    border-top: 1px solid var(--elbi-border);
  }

  .home .elbilad-home-editorial .elbilad-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .aft-main-banner-section {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .af-main-banner-latest-posts.reviewnews-customizer,
  .above-footer-widget-section {
    margin-top: var(--elbi-section-gap-mobile);
  }

  .home .elbilad-home-editorial {
    margin-top: var(--elbi-section-gap-mobile);
  }

  .home .elbilad-home-editorial .elbilad-category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home .elbilad-home-editorial .elbilad-category-column {
    padding: 0 16px;
    border-inline-start: 0;
  }

  .home .elbilad-home-editorial .elbilad-category-column:nth-child(n + 2) {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--elbi-border);
  }

  .home .elbilad-home-editorial .elbilad-opinion-section,
  .home .elbilad-home-editorial .elbilad-video-section {
    padding: 16px;
  }

  .home .elbilad-home-editorial .elbilad-section-heading h2 {
    font-size: 21px;
  }

  .home .elbilad-home-editorial .elbilad-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .home .elbilad-home-editorial .elbilad-opinion-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .elbilad-home-editorial .elbilad-opinion-card__media {
    width: 104px;
    margin-inline: auto;
  }

  .home .elbilad-home-editorial .elbilad-opinion-card__author-image {
    width: 104px;
    height: 130px;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-title-subtitle-wrap {
    flex: 0 1 calc(100% - 70px);
    max-width: calc(100% - 70px);
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-main-navcontrols.af-slick-navcontrols {
    min-width: 62px;
    padding-inline: 4px;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part .widget-title.header-after1 .heading-line {
    padding: 6px 10px;
    font-size: 14px;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-main-navcontrols .slide-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
  }

  body.home.rtl .aft-main-banner-wrapper .aft-slider-part .af-banner-carousel .read-details {
    padding-bottom: 10px;
  }
}
