// Variables
:root {
  --black-text-color: #000;
  --white-text-color: #fff;
}

@mixin lineclamp($num) {
  display: -webkit-box;
  -webkit-line-clamp: $num;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

%cover-link {
  position: relative;

  .cover-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline-end: 0;
    z-index: 5;
  }
}

:root {
  --primary-color: #000;
  --secondary-color: #fff;
}

// Icons from Iconmoon
@import "icons";
// Style for Body and serch
@import "default-style";
// Font sizes and colors ...
@import "snippets";
// Components from this Project
@import "components";
// Dropdown from this Project
@import "dropdown";

body {
  color: #3A3A3A;
  font-feature-settings: "kern", "liga", "calt", "rvrn";
}

.sec {
  padding-top: 30px;
  padding-bottom: 30px;

  &--bg-color {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #F4FAFB;
  }

  &__1 {
    padding-top: 15px;
  }

  &__2 {
    .scroll-slider {
      margin-top: -10px;

      &__cell {
        width: calc(25% - 22.5px);
      }
    }

    .scroll-box {
      padding-bottom: 0px;

      &__scrollbar {
        height: 392px;
      }
    }

    .news-item {
      &__pic {
        width: 100%;
        aspect-ratio: 286/158;
      }
    }
  }

  &__4 {
    .scroll-box {
      width: calc(25% - 30px);
    }

    .scroll-box__scrollbar {
      margin-bottom: 30px;
      height: 254px;
    }
  }

  &__5 {
    .scroll-slider {
      &__cell {
        width: calc(25% - 22.5px);
      }
    }

    .scroll-box {
      padding-bottom: 32px;

      &__scrollbar {
        height: 315px;
      }
    }

    .news-item {
      &:first-child {
        border-bottom: unset !important;

        .news-item {
          &__pic {
            margin-bottom: 0;
          }
        }

        &:hover {
          img {
            transform: translate(-50%, -50%) !important;
          }

          .news-item__pic::before {
            opacity: 0 !important;
          }
        }
      }

      &__pic {
        aspect-ratio: 113/126;
        width: 113px;
        margin-inline-start: auto;
        margin-inline-end: auto;
      }
    }
  }

  &__6 {
    .scroll-box {
      width: calc(25% - 30px);

      &__header {
        background-color: #C83A3A;
      }


      &__scrollbar {
        height: 450px;
      }

      .news-item {
        &__pic {
          aspect-ratio: 286/158;
        }
      }
    }

  }

  &__8 {
    .scroll-slider {
      &__cell {
        width: calc(33.3333% - 20px);
      }
    }

    .news-item {
      &__pic {
        width: 132px;
        aspect-ratio: 132/84;
        margin-bottom: 0 !important;
      }

      &__lead {
        margin-top: 4px;
      }
    }

    .scroll-box {

      &__scrollbar {
        height: 350px;
      }
    }
  }
}

.main-news {
  display: flex;
  align-items: flex-start;
  column-gap: 30px;

  &__left {
    width: calc(50% - 15px);
  }

  &__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;

    .news-item {
      width: calc(50% - 12px);

      &__pic {
        aspect-ratio: 110/80;
        width: auto;
        height: 80px;
      }
    }
  }

  &__right {
    width: calc(50% - 15px);

    .news-item {
      &__pic {
        aspect-ratio: 665/367;
        width: 100%;
      }

      &__content {}

      &__title,
      &__lead {
        max-width: 100%;
        width: 505px;
      }
    }
  }
}

.section {
  &__content {}

  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid #EBEBEB;
  }

  &__more {
    &:hover {
      color: #135880;
    }

    a {
      &:hover {
        color: #135880;
      }
    }
  }

  &__tabs {
    .nav-tabs {
      border: unset !important;
      gap: 16px;
    }

    .nav-tabs .nav-link {
      border: unset !important;
      background: #EAEAEA;
      border-radius: 8px;
      padding: 9px 18px;

      &.active {
        background: #3A95C8;
        color: #fff;
      }

      &:hover {
        background: #3A95C8;
        color: #fff;
      }
    }

  }

  &__title {
    border: unset !important;
    background: #EAEAEA;
    border-radius: 8px;
    padding: 9px 18px;
    background: #3A95C8;
    color: #fff;
  }

  &--tab {
    .section {
      &__header {
        border-bottom: unset;
      }
    }
  }
}

.slider-news {
  .flickity-page-dots {
    padding-inline-end: 24px;
    padding-top: 24px;
    top: 0;
    pointer-events: none;
    inset-inline-end: 0;
    bottom: unset;
    inset-inline-start: unset;
    display: flex;
    justify-content: flex-end;

    .dot {
      pointer-events: all;
      height: 6px;
      border-radius: 6px;
      background-color: #fff;
      opacity: 1;
      transition: all .2s linear;

      &:hover {
        background-color: #3A95C8;
      }

      &.is-selected {
        background-color: #fff;
        width: 30px;
      }
    }
  }

  &__cell {
    width: 100%;
  }

  &__item {}
}

.scroll-box {
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  position: relative;

  &__content {
    position: relative;
  }

  &__header {
    background-color: #3A95C8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 57px;
    border-radius: 8px;

    &.bg-red {
      background-color: #C83A3A;
    }
  }

  &__list {
    .news-item {
      padding-bottom: 10px;
      margin-bottom: 10px;

      &__pic {
        margin-bottom: 10px;
      }

      &__content {
        padding-bottom: 0;
        padding-top: 0px;
      }

      &:not(:last-child) {
        border-bottom: 1px solid #eee;
      }
    }
  }

  &__more {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: 110px;
    height: 42px;
    padding: 4px 16px;
    border-radius: 0px 8px;
    background-color: rgba($color: #EDEDED, $alpha: .6);
    transition: all .2s linear;
    z-index: 10;

    &:hover {
      background-color: rgba($color: #EDEDED, $alpha: 1);
      color: #000000;
    }
  }

  &__scrollbar {
    padding: 16px;

    .os-scrollbar-vertical {
      inset-inline-start: -1px;
      width: 3px;
    }

    .os-scrollbar-handle {
      width: 3px;
    }

    .news-item {
      &:last-child {
        margin-bottom: 40px;
      }
    }
  }

  &::before {
    content: "";
    position: absolute;
    height: 100px;
    width: 100%;
    bottom: 0;
    inset-inline-end: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 80%);
    border-radius: 0px 0px 8px 8px;
    transition: all .2s linear;
    z-index: 4;
  }

  &:hover {
    &::before {
      opacity: 0;
    }
  }

}

.scroll-slider {
  &__cell {
    margin-inline-start: 15px;
    margin-inline-end: 15px;
  }

  &.not-slider {
    display: flex;

    .scroll-slider {
      &__cell {
        &:first-child {
          margin-inline-start: 0;
        }

        &:last-child {
          margin-inline-end: 0;
        }
      }
    }
  }
}

.gallery-news {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 30px;
  height: 370px;

  &__sec {
    width: 66.666666%;
    flex-shrink: 0;
  }

  &__item {
    &:nth-child(1) {
      display: block;
      width: 550px;
      aspect-ratio: 550/367;

      .news-item {
        &__pic {
          aspect-ratio: 550/367;
        }
      }
    }

    &:nth-child(2),
    &:nth-child(3) {
      aspect-ratio: 318/170;
      width: 318px;

      .news-item {
        &__pic {
          aspect-ratio: 318/170;
        }

        &__content {
          padding: 20px 16px;
        }
      }
    }
  }
}

.article-news {
  &__sec {
    .section {
      &__content {}
    }

    .news-item {
      &:not(:last-child) {
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid #EEEEEE;
      }

      &__pic {
        aspect-ratio: 150/101;
        width: 150px;
      }

      &__lead {
        margin-top: 6px;
      }
    }
  }
}

.movie-news {
  display: flex;

  &__nav-container {
    width: 125px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  &__main {
    display: block;
    width: 860px;
    margin-inline-start: -15px;

    .news-item {
      gap: 20px;

      &__pic {
        aspect-ratio: 472/272;
        width: 472px;
        box-shadow: unset;

        &::before {
          content: "";
        }

        &::after {
          content: "";
          position: absolute;
          inset-inline-start: 0;
          top: 0;
          height: 100%;
          width: 189px;
          background: linear-gradient(270deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.00) 100%);
          border-radius: 8px;

        }
      }

      &__more {
        margin-top: 14px;

      }
    }

    i {
      position: absolute;
      z-index: 10;
      pointer-events: none;
      inset-inline-end: calc(50% + 20px);
      top: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-size: 2em;
    }
  }

  &__nav {
    position: relative;
    inset-inline-start: calc(-320px + 126px);
    z-index: 3;
    min-width: 320px;
    height: 126px;
    transform: rotate(90deg) translate(-24px, -100%);
    transform-origin: left top;

    .carousel-cell {
      transform: rotate(-90deg);
      width: 84px;
      aspect-ratio: 84/125;
      cursor: pointer;
      margin-inline-start: 10px;
      font-size: 1.4rem;

      &:before {
        transform: rotate(-90deg);
      }

      /* selected cell */
      &.is-nav-selected {
        background: #ED2;
      }
    }

    .news-item {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;

      &__pic {
        width: 125px;
        height: 84px;
        transform: rotate(-90deg);

        img {}
      }
    }
  }

  &__sec {
    width: 75%;
    margin-inline-end: 30px;
    flex-shrink: 0;
  }
}

.interview-news {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;

  &__item {
    flex-basis: calc(50% - 15px);

    &:nth-child(1) {
      flex-basis: 100%;
      width: 100%;
      padding-bottom: 20px;
      margin-bottom: 20px;
      border-bottom: 1px solid #E4E4E4;

      .news-item {
        gap: 30px;

        &__pic {
          aspect-ratio: 476/300;
          width: 476px;
        }

        &:hover {
          .news-item__pic::before {
            opacity: 0;
          }

        }

        .news-item__pic:hover::before {
          opacity: 1;
        }
      }
    }

    .news-item {
      gap: 16px;

      &__pic {
        aspect-ratio: 170/101;
        width: 170px;
      }
    }
  }
}

.short-clip {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;

  .news-item {
    &__pic {
      aspect-ratio: 262/140;
      width: 100%;
    }

    &__content {
      padding-top: 8px;
      padding-bottom: 0;
    }
  }

  &__sec {
    width: 845px;
  }

  &__cell {
    width: calc(33.3333% - 20px);
  }

  &__item {}
}

.monthly-news {
  &__sec {
    width: calc(100% - 845px - 30px);
  }

  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 414px;
  gap: 15px;

  &__cell {

    &:nth-child(1) {
      width: 318px;

      .news-item {
        &__pic {
          aspect-ratio: 318/414;
        }

        &__content {
          display: flex;
        }
      }
    }

    aspect-ratio: 149/199;
    width: 149px;

    .news-item {
      &__title {
        text-align: center;
      }

      &__pic {
        aspect-ratio: 149/199;
      }

      &__content {
        display: none;
      }
    }
  }

  &__item {}
}

.geography {
  &__header {
    margin-bottom: 40px;
  }

  &__title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    span {
      display: flex;
      width: 32px;
      height: 4px;
      background-color: #3A95C8;
    }
  }

  &__content {
    display: flex;
    gap: 30px;
  }

  &__cell {
    width: calc(25% - 22.5px);
  }

  &__item {
    .news-item {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.08);

      &__pic {
        aspect-ratio: 318/185;
      }

      &__content {
        text-align: center;
        padding: 32px 24px;
        padding-top: 0;
        position: relative;

        &::before {
          content: "";
          position: absolute;
          inset-inline-end: 48%;
          top: 0;
          transform: translate(-50%, -100%);
          width: 251px;
          height: 49px;
          background-image: url('../img/Intersect.svg');
        }
      }

      &__title {
        margin-top: -6px;
        position: relative;
        z-index: 2;
        margin-bottom: 18px;
        max-width: 230px;
        margin-inline-start: auto;
        margin-inline-end: auto;
      }

      &__lead {
        margin-top: 0;
      }
    }
  }

}

.history {
  padding: 55px 32px;
  background-color: #F4FAFB;
  border-radius: 10px;

  &__header {
    margin-bottom: 40px;
  }

  &__title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    span {
      display: flex;
      width: 32px;
      height: 4px;
      background-color: #3A95C8;
    }
  }

  &__content {
    display: flex;
    gap: 15px;
  }

  &__cell {
    width: calc(20% - 12px);

    .news-item {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.06);

      &__pic {
        aspect-ratio: 248/427;
      }
    }
  }

}

.footer {
  margin-top: 30px;
  padding-top: 122px;
  padding-bottom: 24px;
  background-color: #3A95C8;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    inset-inline-end: 50%;
    top: 0;
    width: 100vw;
    min-width: 1920px;
    height: 62px;
    transform: translateX(-50%);
    background-image: url('../img/quran.png');
    pointer-events: none;
    opacity: .3;
  }

  &::after {
    content: "";
    position: absolute;
    inset-inline-end: 50%;
    bottom: 0;
    width: 1094px;
    height: 386px;
    transform: translateX(-50%);
    background-image: url('../img/mosque.png');
    pointer-events: none;
  }

  &__about {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-shrink: 0;
    width: 316px;
    margin-inline-end: 28px;
  }

  &__copy-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-top: 11px;
    border-top: 1px solid rgba($color: #fff, $alpha: .2);
  }

  &__links {
    flex: 1;
    gap: 30px;

    ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
  }

  &__logo {
    display: flex;
    align-items: center;
    gap: 11px;
    position: relative;
  }

  &__social {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    li {}

    a {
      width: 36px;
      height: 36px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      background: #FFF;
      box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
      color: #646464;

      &:hover {
        color: #000;
      }
    }
  }

  &__title {
    margin-bottom: 16px;
  }

  &__top {
    display: flex;
    margin-bottom: 30px;
    gap: 30px;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background-color: #3A95C8;
  position: relative;
  background-image: url('../img/header-bg.png');
  background-size: cover;

  &__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline-start: 45px;
    padding-inline-end: 45px;
    padding-bottom: 30px;
  }

  &__content {}

  &__date {}

  &__logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 360px;
    gap: 6px;
    transition: all .2s linear;

    img {}

    &:hover {
      transform: translateY(-2px);
    }
  }

  &__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }

  &__mosque {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
  }

  &__people {

    position: absolute;
    inset-inline-end: 0;
    top: 0;
  }

  &__shoar {}

  &__social {
    list-style: none;
    display: flex;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;

      &:hover {
        color: #fff;
        transform: translateY(-2px)
      }
    }

    li {
      padding-inline-start: 4px;
      margin-inline-start: 4px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;

      &:not(:first-child) {

        &::before {
          content: "";
          position: absolute;
          inset-inline-start: 0;
          top: 50%;
          transform: translateY(-50%);
          background-color: #EDEDED;
          width: 1px;
          height: 17px;
        }
      }
    }
  }
}

.menu {
  position: relative;

  &::before {
    content: "";
    position: absolute;
    width: 100%;
    min-width: 1920px;
    border-radius: 20px;
    background-color: #fff;
    top: -20px;
    inset-inline-end: 50%;
    transform: translateX(-50%);
    height: 30px;
    border-top: 3px solid #3A95C8;
  }

  &__container {
    gap: 30px;
    padding-inline-start: 24px;
    padding-inline-end: 24px;
    position: relative;
    z-index: 5;
    height: 46px;
    background: #FFF;
    border: 1px solid #E7E7E7;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-80%);

    .sm-simple>li a {
      color: #1E1E1E;
      font-size: 14px;
      font-weight: 600;
    }
  }

  &__meta {
    display: flex;
    align-items: center;
  }

  &__select {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
  }

  &__search {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    margin-inline-start: 8px;
    padding-inline-start: 8px;
    position: relative;

    &::before {
      content: "";
      position: absolute;
      inset-inline-start: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 17px;
      background: #E4E4E4;
      display: flex;
    }

    &:hover {
      color: #3A3A3A;
    }
  }
}

@media (min-width: 1500px) {
  .container {
    width: 1390px;
    max-width: 1390px;
  }
}

.loader {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 100vw;
  height: 100vh;
  background-color: #3A95C8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  transition: all .2s linear;
  pointer-events: none;

  img {
    max-width: calc(100vw - 45px);
  }

  &.hide {
    opacity: 0;
  }
}

//Responsive
@media (max-width: 1839.98px) {
  .header {
    height: 170px;

    &__container {
      padding-bottom: 36px;
    }

    &__people {
      width: 200px;
    }

    &__logo {
      img {
        margin-bottom: -3px;
      }
    }

    &__mosque {
      img {
        max-height: 170px;
      }
    }
  }
}

@media (max-width: 1710.98px) and (min-width:1500px) {
  .header {
    &__container {
      padding-inline-end: calc(200px - 5vw);
      padding-inline-start: calc(200px - 5vw);
    }
  }
}

@media (max-width: 1499.98px) and (min-width: 1200px) {
  .container {
    max-width: 1200px;
    width: 1200px;
  }

  .header {
    &__container {
      padding-inline-end: calc(200px - 5vw);
      padding-inline-start: calc(200px - 5vw);
    }

    &__people {
      width: 150px;
      height: 100%;

      img {
        height: 100%;
      }
    }
  }

  .menu {
    &__container {
      .sm-simple>li a {
        font-size: 13px;
      }

      .sm-simple>li>a {
        margin-inline-end: 10px;
      }
    }
  }

  .main-news {
    &__list {
      .news-item {
        &__pic {
          height: 62px;
        }
      }
    }
  }

  .scroll-box {
    &__header {
      font-size: 16px;
    }
  }

  .sec {
    &__3 {
      .gallery-news {
        height: 320px;

        &__sec {}

        &__item {
          width: 269px;

          &:nth-child(1) {
            width: 61.5%;
          }
        }
      }

      .article-news {
        &__sec {
          width: calc(33.3333% - 30px);

          .news-item {
            &__lead {
              -webkit-line-clamp: 1;
            }

            &__pic {
              width: 125px;
            }
          }
        }
      }

    }
  }

  .sec {
    &__4 {
      .scroll-box {
        &__scrollbar {
          height: 207px;
        }
      }
    }
  }

  .movie-news {
    &__nav-container {
      width: 105px;
    }

    &__nav {

      width: 226px;
      min-width: 226px;
      inset-inline-start: -98px;
      top: 24px;

      .carousel-cell {
        width: 68px;
        border-radius: 8px;
        overflow: hidden;
      }

      .news-item {
        &__pic {
          height: 68px;
        }
      }
    }

    &__main {
      .news-item {
        &__pic {
          width: 392px;
        }
      }
    }
  }

  .short-clip {
    &__sec {
      width: 705px;
    }
  }

  .monthly-news {
    height: 372px;

    &__sec {
      width: calc(100% - 705px - 30px);
    }

    &__cell {
      width: 133px;

      &:nth-child(1) {
        width: 284px;
      }
    }
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  body {
    font-size: 90%;
  }

  .header {
    &__container {
      padding-inline-end: 0;
      padding-inline-start: 0;

    }

    &__content {
      .container {
        width: 960px;
      }
    }

    &__mosque {
      display: none;
    }

    &__people {
      width: 150px;
      height: 100%;
      display: none;

      img {
        height: 100%;
      }
    }
  }

  .menu {
    &__container {
      .sm-simple>li a {
        font-size: 13px;
      }

      .sm-simple>li>a {
        margin-inline-end: 10px;
      }
    }
  }

  .section {
    &__tabs {
      .nav-tabs .nav-link {
        font-size: 15px;
      }
    }

    &__title {
      font-size: 15px;
    }
  }

  .main-news {
    &__right {
      .news-item--overlay .news-item__lead {
        display: none !important;
      }
    }

    &__list {
      column-gap: 14px;

      .news-item {
        width: calc(50% - 7px);

        &:nth-child(6),
        &:nth-child(5) {
          display: none;
        }

        &__pic {
          height: 74px;
        }
      }
    }
  }

  .sec {
    &__2 {
      .scroll-slider {
        &__cell {
          width: calc(33.33333% - 20px);
        }
      }
    }
  }

  .sec {
    &__3 {
      .gallery-news {
        gap: 20px;
        height: 257px;

        &__sec {}

        &__item {
          width: 220px;

          &:nth-child(1) {
            width: 62%;
          }
        }
      }

      .article-news {
        &__sec {
          width: calc(33.3333% - 30px);

          .news-item {
            &__lead {
              -webkit-line-clamp: 1;
            }

            &__pic {
              width: 100px;
            }

            &:not(:last-child) {
              padding-bottom: 12px;
              margin-bottom: 12px;
            }
          }
        }
      }

    }
  }

  .sec {
    &__4 {
      .scroll-box {
        &__scrollbar {
          height: 207px;
        }
      }
    }
  }

  .movie-news {
    &__nav-container {
      width: 75px;
    }

    &__nav {

      width: 226px;
      min-width: 226px;
      inset-inline-start: -98px;
      top: 24px;

      .carousel-cell {
        width: 68px;
        border-radius: 8px;
        overflow: hidden;
      }

      .news-item {
        &__pic {
          height: 68px;
        }
      }
    }

    &__main {
      .news-item {
        &__pic {
          width: 392px;
        }
      }
    }
  }

  .sec {
    &__5 {
      .scroll-slider {
        &__cell {
          width: calc(33.333% - 20px);
        }
      }
    }
  }

  .scroll-box {
    &__header {
      font-size: 15px;
    }
  }

  .sec {
    &__6 {
      .scroll-box {
        width: calc(30% - 30px);

        &__scrollbar {
          height: 352px;
        }
      }

      .movie-news {
        &__sec {
          width: 70%;
        }
      }
    }
  }

  .interview-news {
    &__item {
      .news-item {
        &__pic {
          width: 140px;
        }
      }

      &:nth-child(1) {
        .news-item {
          &__pic {
            width: 336px;
          }
        }
      }
    }
  }


  .short-clip {
    &__sec {
      width: 550px;
    }
  }

  .monthly-news {
    height: 296px;

    &__sec {
      width: calc(100% - 550px - 30px);
    }

    &__cell {
      width: 105px;

      &:nth-child(1) {
        width: 225px;
      }
    }
  }

  .sec {
    &__8 {
      .news-item {
        &__pic {
          width: 110px;
        }
      }
    }
  }

  .geography {
    &__content {
      display: block;
    }

    &__cell {
      width: calc(33.3333% - 20px);
      margin-inline-start: 15px;
      margin-inline-end: 15px;
    }
  }

  .footer {
    &__about {
      width: 260px;
      margin-inline-end: 0;
    }
  }
}

@media (max-width: 1199.98px) {
  .header {
    &__container {
      padding-inline-end: 0;
      padding-inline-start: 0;
    }

    &__mosque {
      display: none;
    }

    &__people {
      width: 150px;
      height: 100%;
      display: none;

      img {
        height: 100%;
      }
    }
  }
}

@media (max-width: 991.98px) {
  body {
    font-size: 90%;
  }

  .sec {
    padding-top: 24px;
    padding-bottom: 24px;

    &__1 {
      padding-top: 0;
    }
  }

  .section {
    &__header {
      margin-bottom: 24px;
    }
  }

  .mburger {
    display: flex;
    flex-direction: column;
    gap: 5px;

    b {
      display: flex;
      width: 24px;
      height: 3px;
      border-radius: 5px;
      background-color: #1E1E1E;
    }
  }

  .sm {
    display: none !important;
  }

  .history {
    &__content {
      display: block;
    }

    &__cell {
      margin-inline-start: 15px;
      margin-inline-end: 15px;
      width: calc(33.3333% - 20px);
    }
  }

  .go-top {
    inset-inline-start: 15px;
    bottom: 15px;
  }

  .geography {
    &__header {
      margin-bottom: 24px;
    }
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {

  .container {
    width: 720px;
  }

  .header {
    height: auto;
    padding-top: 25px;
    padding-bottom: 50px;

    &__container {
      padding-bottom: 0px;
    }

    &__logo {
      order: 1;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      width: auto;
      height: 65px;
    }

    &__shoar {
      order: 2;
      display: none;
    }

    &__meta {
      order: 3;
    }
  }

  .section {
    &__tabs {
      .nav-tabs .nav-link {
        font-size: 15px;
      }
    }

    &__title {
      font-size: 15px;
    }
  }

  .main-news {
    flex-direction: column;
    gap: 24px;

    &__right {
      width: 100%;

      .news-item--overlay .news-item__lead {
        display: none !important;
      }
    }

    &__left {
      width: 100%;
    }

    &__list {
      column-gap: 14px;
      width: 100%;

      .news-item {
        width: calc(50% - 7px);

        &:nth-child(6),
        &:nth-child(5) {
          display: none;
        }

        &__pic {
          height: 74px;
        }
      }
    }
  }

  .sec {
    &__2 {
      .scroll-slider {
        &__cell {
          width: calc(50% - 15px);
        }
      }
    }
  }

  .sec {
    &__3 {
      .d-flex {
        flex-direction: column;
      }

      .gallery-news {
        gap: 20px;
        height: 280px;

        &__sec {
          width: 100%;

        }

        &__item {
          width: 240px;

          &:nth-child(1) {
            width: 61%;
          }
        }
      }

      .article-news {
        &__sec {
          width: 100%;

          .news-item {
            &__lead {
              -webkit-line-clamp: 1;
            }

            &__pic {
              width: 100px;
            }

            &:not(:last-child) {
              padding-bottom: 12px;
              margin-bottom: 12px;
            }
          }
        }
      }

    }
  }

  .sec {
    &__4 {
      .d-flex {
        flex-direction: column;
        gap: 24px;
      }

      .scroll-box {
        width: 100%;

        &__scrollbar {
          height: 115px;
        }

        &__list {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          column-gap: 24px;

          .news-item {
            width: calc(50% - 12px);
          }
        }
      }
    }
  }

  .movie-news {
    &__sec {
      width: 100%;
      margin-inline-end: 0;
    }

    &__nav-container {
      width: 55px;
    }

    &__nav {

      width: 226px;
      min-width: 226px;
      inset-inline-start: -98px;
      top: 24px;

      .carousel-cell {
        width: 68px;
        border-radius: 8px;
        overflow: hidden;
      }

      .news-item {
        &__pic {
          height: 68px;
        }
      }
    }

    &__main {
      .news-item {
        &__pic {
          width: 392px;
        }
      }
    }
  }

  .sec {
    &__5 {
      .scroll-slider {
        &__cell {
          width: calc(50% - 15px);
        }
      }
    }
  }


  .sec {
    &__6 {
      .d-flex {
        flex-direction: column;
        gap: 24px;
      }

      .scroll-box {
        width: 100%;
        margin-inline-start: 0;

        .news-item--horizontal {
          flex-direction: row;

          .news-item__pic {
            display: none;
          }
        }

        &__scrollbar {
          height: 150px;
        }
      }

      .movie-news {
        &__sec {
          width: 100%;
          margin-inline-end: 0;
        }
      }
    }
  }

  .interview-news {
    &__item {
      .news-item {
        &__pic {
          width: 140px;
        }
      }

      &:nth-child(1) {
        .news-item {
          &__pic {
            width: 336px;
          }
        }
      }
    }
  }

  .sec {
    &__7 {
      .d-flex {
        flex-direction: column;
      }
    }
  }

  .short-clip {
    &__sec {
      width: 100%;
    }
  }

  .monthly-news {
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 30px;

    &__sec {
      width: 100%;
    }

    &__cell {
      margin-inline-start: 0;
      margin-inline-end: 0;

      &:nth-child(n) {
        width: calc(33.333% - 20px);
      }

      .news-item {
        &__content {
          display: flex;
        }
      }
    }
  }

  .sec {
    &__8 {
      .scroll-slider {
        display: block;

        &__cell {
          width: calc(50% - 15px);
          margin-inline-start: 15px !important;
          margin-inline-end: 15px !important;
        }
      }
    }

    &__9 {
      padding-top: 40px;
      padding-bottom: 50px;
    }
  }

  .geography {
    &__content {
      display: block;
    }

    &__cell {
      width: calc(50% - 15px);
      margin-inline-start: 15px;
      margin-inline-end: 15px;
    }
  }

  .footer {
    &__top {
      flex-wrap: wrap;
    }

    &__about {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
      margin-inline-end: 0;
    }
  }
}

@media (max-width: 767.98px) and (min-width: 576px) {
  .container {
    width: 540px;
  }

  .header {
    height: auto;
    padding-top: 15px;
    padding-bottom: 40px;

    &__container {
      padding-bottom: 0px;
      flex-direction: column;
      width: 100%;
    }

    &__logo {
      order: 3;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      width: auto;
      height: 65px;
      margin-inline-start: 0;
      margin-inline-end: auto;

      h1 {
        font-size: 14px;
      }

      h2 {
        font-size: 12px;
      }
    }

    &__shoar {
      order: 2;
      display: none;
    }

    &__meta {
      width: 100%;
      order: 1;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      padding-bottom: 8px;
      margin-bottom: 8px;
      border-bottom: 1px solid rgba($color: #fff, $alpha: .6);
    }
  }

  .section {
    &__tabs {
      .nav-tabs .nav-link {
        font-size: 15px;
      }
    }

    &__title {
      font-size: 15px;
    }
  }

  .main-news {
    flex-direction: column;
    gap: 24px;

    &__right {
      width: 100%;

      .news-item--overlay .news-item__lead {
        display: none !important;
      }
    }

    &__left {
      width: 100%;
    }

    &__list {
      column-gap: 14px;
      width: 100%;

      .news-item {
        width: calc(50% - 7px);

        &:nth-child(6),
        &:nth-child(5) {
          display: none;
        }

        &__pic {
          height: 74px;
        }
      }
    }
  }

  .sec {
    &__2 {
      .scroll-slider {
        &__cell {
          width: calc(50% - 15px);
        }
      }
    }
  }

  .sec {
    &__3 {
      .d-flex {
        flex-direction: column;
      }

      .gallery-news {
        gap: 20px;
        flex-direction: row;
        height: auto;

        &__sec {
          width: 100%;

        }

        &__item {
          width: calc(50% - 10px);

          &:nth-child(1) {
            width: 100%;
          }
        }
      }

      .article-news {
        &__sec {
          width: 100%;

          .news-item {
            &__lead {
              -webkit-line-clamp: 1;
            }

            &__pic {
              width: 100px;
            }

            &:not(:last-child) {
              padding-bottom: 12px;
              margin-bottom: 12px;
            }
          }
        }
      }

    }
  }

  .sec {
    &__4 {
      .d-flex {
        flex-direction: column;
        gap: 24px;
      }

      .scroll-box {
        width: 100%;

        &__scrollbar {
          height: 115px;
        }

        &__list {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          column-gap: 24px;

          .news-item {
            width: calc(50% - 12px);
          }
        }
      }
    }
  }

  .movie-news {
    flex-direction: column;
    gap: 24px;

    &__sec {
      width: 100%;
      margin-inline-end: 0;
    }

    &__nav-container {
      width: 100%;
      order: 2;
    }

    &__nav {
      width: 100%;
      min-width: unset;
      inset-inline-start: unset;
      top: unset;
      transform: unset;
      height: auto;

      .carousel-cell {
        width: calc(33.333% - 8px);
        aspect-ratio: 125/84;
        background-color: unset !important;
        border-radius: 8px;
        overflow: hidden;
      }

      .news-item {
        &__pic {
          width: 100%;
          transform: unset;
          height: 100%;
        }
      }
    }

    &__main {
      width: 100%;
      margin-inline-start: 0;
      order: 1;

      i {
        inset-inline-end: 50%;
      }

      .news-item {

        &__title {
          font-size: 14px;
          -webkit-line-clamp: 4;
        }

        &__lead {
          font-size: 12px;
          -webkit-line-clamp: 1;
          display: none !important;
        }

        &__pic {
          width: 255px;
        }
      }
    }
  }


  .sec {
    &__5 {
      .scroll-slider {
        &__cell {
          width: calc(50% - 15px);
        }
      }
    }
  }


  .sec {
    &__6 {
      .d-flex {
        flex-direction: column;
        gap: 24px;
      }

      .scroll-box {
        width: 100%;
        margin-inline-start: 0;

        .news-item--horizontal {
          flex-direction: row;

          .news-item__pic {
            display: none;
          }
        }

        &__scrollbar {
          height: 150px;
        }
      }

      .movie-news {
        &__sec {
          width: 100%;
          margin-inline-end: 0;
        }
      }
    }
  }

  .interview-news {
    &__item {
      .news-item {
        &__pic {
          width: 80px;
        }

        &__lead {
          display: none !important;
        }
      }

      &:nth-child(1) {
        .news-item {
          gap: 15px;

          &__title {
            -webkit-line-clamp: 3;
          }

          &__pic {
            width: 220px;
          }
        }
      }
    }
  }

  .sec {
    &__7 {
      .d-flex {
        flex-direction: column;
      }
    }
  }

  .short-clip {
    &__sec {
      width: 100%;
    }
  }

  .monthly-news {
    height: auto;
    display: block;
    flex-direction: row;

    &__sec {
      width: 100%;
    }

    &__cell {
      margin-inline-start: 15px;
      margin-inline-end: 15px;

      &:nth-child(n) {
        width: calc(50% - 15px);
      }

      .news-item {
        height: 100%;

        &__pic {
          height: 100%;
          aspect-ratio: 318/414;
        }

        &__content {
          display: flex;
        }
      }
    }
  }

  .sec {
    &__8 {
      .scroll-box {
        &__scrollbar {
          height: 250px;
        }
      }

      .scroll-slider {
        display: block;

        &__cell {
          width: calc(50% - 15px);
          margin-inline-start: 15px !important;
          margin-inline-end: 15px !important;
        }

        .news-item {
          &__pic {
            width: 80px;
          }

          &__lead {
            display: none !important;
          }
        }
      }
    }
  }

  .sec {
    &__9 {
      padding-top: 40px;
      padding-bottom: 50px;
    }
  }

  .geography {
    &__content {
      display: block;
    }

    &__cell {
      width: calc(50% - 15px);
      margin-inline-start: 15px;
      margin-inline-end: 15px;
    }
  }

  .history {
    &__content {
      display: block;
    }

    &__cell {
      margin-inline-start: 15px;
      margin-inline-end: 15px;
      width: calc(50% - 15px);
    }
  }

  .footer {
    padding-top: 90px;

    &__top {
      flex-wrap: wrap;
    }

    &__about {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin-inline-end: 0;
      gap: 15px;
    }

    &__links {
      flex-basis: calc(50% - 15px);
    }
  }
}

@media (max-width: 575.98px) {
  .scroll-slider {
    .flickity-viewport {
      overflow: visible;
    }
  }

  .container {
    width: 100vw;
  }

  .header {
    height: auto;
    padding-top: 15px;
    padding-bottom: 40px;

    &__container {
      padding-bottom: 0px;
      flex-direction: column;
      width: 100%;
    }

    &__date {
      font-size: 10px;
    }

    &__logo {
      order: 3;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      width: auto;
      height: 65px;
      margin-inline-start: 0;
      margin-inline-end: auto;

      h1 {
        font-size: 13px;
      }

      h2 {
        font-size: 11px;
      }
    }

    &__social {
      li {
        padding-inline-start: 0;
        margin-inline-start: 0;
      }

      i {
        font-size: 13px;
      }
    }

    &__shoar {
      order: 2;
      display: none;
    }

    &__meta {
      width: 100%;
      order: 1;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      padding-bottom: 8px;
      margin-bottom: 8px;
      border-bottom: 1px solid rgba($color: #fff, $alpha: .6);
    }
  }

  .section {
    &__tabs {
      .nav-tabs {
        gap: 8px;

        .nav-link {
          font-size: 13px;
          padding: 9px 10px;
        }
      }
    }

    &__title {
      font-size: 13px;
    }

    &__more {
      a {
        font-size: 12px;
      }
    }
  }

  .main-news {
    flex-direction: column;
    gap: 24px;

    &__right {
      width: 100%;

      .news-item--overlay .news-item__lead {
        display: none !important;
      }
    }

    &__left {
      width: 100%;
    }

    &__list {
      row-gap: 14px;
      width: 100%;
      flex-direction: column;

      .news-item {
        width: 100%;

        &:nth-child(6),
        &:nth-child(5) {
          display: none;
        }

        &__pic {
          height: 62px;
        }
      }
    }
  }

  .scroll-slider {
    &__cell {
      &>div {
        opacity: .4;
        transition: all .2s linear;
      }

      &.is-selected>div {
        opacity: 1;
      }
    }
  }

  .sec {

    &__2 {
      .flickity-viewport {
        overflow: visible;
      }

      .scroll-slider {
        &__cell {
          width: 300px;
        }
      }
    }
  }

  .sec {
    &__3 {
      .d-flex {
        flex-direction: column;
      }

      .gallery-news {
        gap: 20px;
        flex-direction: row;
        height: auto;

        &__sec {
          width: 100%;

        }

        &__item {
          width: calc(50% - 10px);

          &:nth-child(1) {
            width: 100%;
          }
        }
      }

      .article-news {
        &__sec {
          width: 100%;

          .news-item {
            &__lead {
              -webkit-line-clamp: 1;
            }

            &__pic {
              width: 100px;
            }

            &:not(:last-child) {
              padding-bottom: 12px;
              margin-bottom: 12px;
            }
          }
        }
      }

    }
  }

  .sec {
    &__4 {
      .d-flex {
        flex-direction: column;
        gap: 24px;
      }

      .scroll-box {
        width: 100%;

        &__scrollbar {
          height: 165px;
        }

        &__list {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          column-gap: 24px;

          .news-item {
            width: 100%;
          }
        }
      }
    }
  }

  .movie-news {
    flex-direction: column;
    gap: 0px;

    &__sec {
      width: 100%;
      margin-inline-end: 0;
    }

    &__nav-container {
      width: 100%;
      order: 2;
    }

    &__nav {
      display: none;
      width: 100%;
      min-width: unset;
      inset-inline-start: unset;
      top: unset;
      transform: unset;
      height: auto;

      .carousel-cell {
        width: calc(33.333% - 8px);
        aspect-ratio: 125/84;
        background-color: unset !important;
        border-radius: 8px;
        overflow: hidden;
      }

      .news-item {
        &__pic {
          width: 100%;
          transform: unset;
          height: 100%;
        }
      }
    }

    &__main {
      width: 100%;
      margin-inline-start: 0;
      order: 1;

      i {
        inset-inline-end: 50%;
      }

      .news-item {
        flex-direction: column;

        &__content {
          justify-content: center;
        }

        &__more {
          margin-inline-start: auto;
          margin-inline-end: auto;
        }

        &__title {
          font-size: 14px;
          -webkit-line-clamp: 4;
          text-align: center;
        }

        &__lead {
          font-size: 12px;
          -webkit-line-clamp: 3;
          text-align: center;
        }

        &__pic {
          width: 100%;
        }
      }
    }
  }

  .sec {

    &__5 {
      .flickity-viewport {
        overflow: visible;
      }

      .scroll-slider {
        &__cell {
          width: 300px;
        }
      }
    }
  }

  .sec {
    &__6 {
      .d-flex {
        flex-direction: column;
        gap: 24px;
      }

      .scroll-box {
        width: 100%;
        margin-inline-start: 0;

        .news-item--horizontal {
          flex-direction: row;

          .news-item__pic {
            display: none;
          }
        }

        &__scrollbar {
          height: 150px;
        }
      }

      .movie-news {
        &__sec {
          width: 100%;
          margin-inline-end: 0;
        }
      }
    }
  }

  .interview-news {
    flex-direction: column;

    &__item {
      .news-item {
        &__pic {
          width: 90px;
        }

        &__lead {
          display: none !important;
        }
      }

      &:nth-child(2) {
        margin-bottom: 24px;
      }

      &:nth-child(1) {
        .news-item {
          flex-direction: column;
          gap: 15px;

          &__title {
            -webkit-line-clamp: 3;
            text-align: center;
          }

          &__more {
            margin-inline-start: auto;
            margin-inline-end: auto;
          }

          &__pic {
            width: 100%;
          }
        }
      }
    }
  }

  .sec {
    &__7 {
      .d-flex {
        flex-direction: column;
      }
    }
  }

  .short-clip {
    &__sec {
      width: 100%;
    }

    &__cell {
      width: calc(50% - 15px);
    }
  }

  .monthly-news {
    height: auto;
    display: block;
    flex-direction: row;

    &__sec {
      width: 100%;

      .flickity-viewport {
        overflow: visible;
      }
    }

    &__cell {
      margin-inline-start: 15px;
      margin-inline-end: 15px;

      &.is-selected {
        .news-item {
          opacity: 1;
        }
      }

      &:nth-child(n) {
        width: 260px;
      }

      .news-item {
        height: 100%;
        opacity: .5;
        transition: all .2s linear;

        &__pic {
          height: 100%;
          aspect-ratio: 318/414;
        }

        &__content {
          display: flex;
        }
      }
    }
  }

  .sec {
    &__8 {
      .scroll-box {
        &__scrollbar {
          height: 250px;
        }
      }

      .scroll-slider {
        display: block;

        &__cell {
          width: 300px;
          margin-inline-start: 15px !important;
          margin-inline-end: 15px !important;
        }

        .news-item {
          &__pic {
            width: 80px;
          }

          &__lead {
            display: none !important;
          }
        }
      }
    }
  }

  .sec {
    &__9 {
      padding-top: 40px;
      padding-bottom: 50px;

      .flickity-viewport {
        overflow: visible;
      }
    }
  }

  .geography {
    &__header {
      margin-bottom: 24px;
    }

    &__content {
      display: block;
    }

    &__cell {
      width: 260px;
      margin-inline-start: 15px;
      margin-inline-end: 15px;

      .geography__item {
        opacity: .5;
        transition: all .2s linear;
      }

      &.is-selected .geography__item {
        opacity: 1;
      }

      .news-item {}
    }
  }

  .sec {
    &__10 {
      padding-top: 0;
      padding-bottom: 0;
    }
  }

  .history {
    padding: 0;
    background-color: unset;
    padding-bottom: 30px;

    .flickity-viewport {
      overflow: visible;
    }

    &__content {
      display: block;
    }

    &__cell {
      margin-inline-start: 15px;
      margin-inline-end: 15px;
      width: 220px;

      &.is-selected .news-item {
        opacity: 1;
      }

      .news-item {
        opacity: .5;
        transition: all .2s linear;
      }
    }
  }

  .footer {
    padding-top: 90px;

    &__top {
      flex-wrap: wrap;
    }

    &__about {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin-inline-end: 0;
      gap: 15px;
    }

    &__links {
      flex-basis: calc(50% - 15px);
    }

    &__copy-right {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 8px;
    }
  }
}

@media (max-width: 499.98px) {
  .sec {
    &__3 {
      .d-flex {
        flex-direction: column;
      }

      .gallery-news {
        gap: 20px;
        flex-direction: row;
        height: auto;

        &__sec {
          width: 100%;

          .news-item__lead {
            display: none !important;
          }

          .news-item__title {
            font-size: 14px;
            font-weight: 400;
          }
        }

        &__item {
          width: 100%;

          &:nth-child(1) {
            width: 100%;
          }
        }
      }


    }
  }
}

@media (max-width: 359.98px){
  .header{
    &__logo{
      height: auto;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 5px;
      margin-top: 5px;
    }
  }
}