:root {
  --headerBlue: #0798c5;
  --gridHeader: #0184ad;
}

body {
  background-color: var(--bg);
  color: var(--text);

  &::after {
    background-color: var(--prime1);
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 110vh;
    width: 100%;

    content: none;
  }
}

.container {
  max-width: var(--containerWidth);
}

.cover {
  position: relative;
  min-height: 840px;
}

@media (min-width: 992px) {
  .cover {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin: 90px auto 0;
  }

  a.wrap:hover {
    text-decoration: none !important;
  }

  & .gradient {
    z-index: 1;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, var(--prime1) 15%, rgb(from var(--prime1) r g b / 0.5) 40%, rgb(from var(--prime1) r g b / 0.25)100%);
  }
}

.cover-slick {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;

  /* &::after {
    content: '';
    content: none;
    position: absolute;
    width: 100%;
    height: calc(100% + 34vh);
    inset: 0;
    background-image: url(./images/bzz.png?v=1);
    background-size: cover;
    background-position: top;
    mix-blend-mode: hard-light;
    opacity: 0.7;
    z-index: 1;
    top: -100px;
    pointer-events: none;
  } */
}



.cover-slick .bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  inset: 0;
  opacity: 0.9;
}

.cover-slick .slick-slide > div > div {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cover-slick div:not(.wrap) {
  height: 100%;
  /*background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  border-radius: 0; */
}

.cover-slick .wrap {
  padding: 5rem 10rem 5rem 2rem;
  position: relative;
  height: 100%;
  width: 75%;
  display: flex;
  z-index: 1;
  flex-direction: column;
  color: var(--text);
}

.cover-slick h2 {
  font-weight: 900;
  font-size: calc(4vw + 16px);
  margin-bottom: 0;

  & span {
    color: var(--prime2);
  }
}

.cover-slick h2 + span {
  font-weight: 450;
  font-size: calc(0.75vw + 16px);

  display: none;
}

.slick-slide img {
  width: min(100%, 320px);
  margin-bottom: 3.5rem;
}

.cover .toggle-slick {
  position: absolute;
  top: 40px;
  right: 35px;
  background: none;
  border: 0;
}

/**/

video {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: 1s opacity;
  object-fit: cover;
  z-index: -1;
}

#toggle-video {
  position: absolute;
  top: 125px;
  right: 15px;
  background: none;
  border: 0;
}

/**/

@media (min-width: 992px) {
  .services {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
  }
}

.services-slick {
  padding: 0.5rem 1rem;
  margin: 0 1rem;
}

.service {
  text-align: center;
  display: block;
  background: #fff;
  margin: 1rem;
  padding: 1rem;
}

.service .icon img {
  display: block;
  margin: 0 auto;
  margin-bottom: 0.75rem;
}

.all {
  margin-block: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-inline: 2rem;

  & a {
    color: var(--prime2);
    font-size: calc(0.25vw + 16px);
    display: block;
  }

  & span {
    display: inline-block;
    margin-left: 0.5rem;
  }

  & i {
    font-size: 0.9rem;
    transition: all 0.2s ease;
  }

  & a:hover {
    transform: scale(1.1);
    color: var(--prime2);
  }
}

/* Articles */

.articles {
  z-index: 2;
  position: relative;
  margin-bottom: 6rem;

  & h2 {
    font-size: calc(2.5vw + 16px);
    margin-block: 2.5rem;
    font-weight: 400;
  }

  & h2 span {
    color: var(--headerBlue);
  }
}

.articles a {
  & h3 {
    padding-block: 3rem;
    color: var(--headerBlue);
    font-weight: 900;
    line-height: 1.1;
    font-size: calc(2vw + 16px);
    position: relative;
    margin-bottom: 2rem;
    width: 98%;
  }

  & h3::after {
    content: "";
    position: absolute;
    right: 0;
    width: 150px;
    bottom: 10px;
    height: 5px;
    background-color: var(--prime2);
  }

  & p {
    color: var(--text);
    font-size: calc(0.25vw + 16px);
  }

  & p + span {
    transition: all 0.2s ease;
    font-size: calc(0.35vw + 16px);
    color: var(--col1);
    display: inline-block;

    & i {
      font-size: 0.9rem;
      margin-right: 0.75rem;
      transition: all 0.2s ease;
    }
  }

  &:hover {
    text-decoration: none;
  }

  &:hover p + span {
    transform: scale(1.1);
  }

  &:hover p + span i {
    margin-right: 0;
  }

  & .info {
    padding-right: 12%;
  }
}

.articles .pic > div {
  border-radius: 2.5rem;
  width: 100%;
  min-height: 100%;
  aspect-ratio: 1.5;
  background-size: cover;
  background-position: center;
}

.read-more {
  background: #fff;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-weight: bold;
  color: inherit;
  border: 1px solid #ddd;
}




/**/

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.news {
  position: relative;
  padding: 1rem;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  margin-top: 0;
  background: linear-gradient(to bottom, var(--prime1), rgb(from var(--prime1) r g b / 0));

  & .wrap {
    height: 100%;
    position: relative;
    width: min(100%, 450px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: clip;

    &::after {
      content: "";
      position: absolute;
      margin: 0 8px;
      height: 100%;
      width: 100%;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      border-radius: 0;
      box-shadow: -28px 0px 20px -38px black;
      z-index: -1;
    }


  }


  & .see-all {
    margin-top: 5rem;
    width: 100%;
    justify-content: flex-end;

    & a {
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      color: var(--prime3);
      font-size: calc(0.2vw + 16px);
    }

    & i {
      font-size: 0.75rem;
    }
  }
}



.news .content {
  width: 100%;
  position: relative;
}

.news .buttons {
  position: absolute;
  top: 1.9rem;
  left: 1.9rem;
}



.bn-news ul {
  height: 100%;
}

.bn-news ul li {

  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  position: relative;
  padding-inline: 2rem;
  height: 100%;
  margin: 0 1rem;
}


.bn-news ul li a {
  background-color: var(--prime1);
  color: var(--text);
  white-space: initial;
  font-size: 1rem;
  line-height: 1;
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-x: clip;
  overflow-y: visible;
  height: 100%;
  padding: 2.25rem 2rem;
  margin-inline: auto;
  position: relative;
  border-radius: 20px;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;

    background: linear-gradient(135deg, var(--prime1), var(--prime2));

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
  }

  & .name {
    font-weight: 400;
    font-size: calc(0.15vw + 16px);
  }

  & .date {
    width: fit-content;
    position: relative;
    font-weight: 600;
    z-index: 2;
    font-size: calc(0.2vw + 16px);
    color: var(--prime2);
  }


  &:hover {
    color: var(--prime2);
  }
}


.bn-direction-rtl .bn-controls {
  top: 0.05rem;
}

.breaking-news-ticker {
  height: 140px !important;
}

.bn-news {
  margin-right: 0px;
}

.bn-news,
.bn-news ul li,
.bn-news ul {
  height: 100%;
}


.news .bn-controls {
  left: 0;
  right: auto;
}

.bn-controls button {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: oklch(from var(--prime2) calc(l - 0.01) calc(c - 0.1) h);
  color: var(--prime1);
  padding: 0;
  z-index: 5;
  position: relative;
  border: none;
  outline: none;
}

.bn-arrow {
  top: -1px;
}

.bn-pause::before,
.bn-pause::after {
  background-color: #fff;
}

.bn-play::after {
  border-left-color: #fff;
}

.bn-controls button:hover {
  background-color: var(--prime2);
  color: #fff;
  box-shadow: none;
}


/** start grid display **/
main .gradient-div {
  display: inline-block;
  position: relative;
  height: 1px;
  width: 100%;
  position: relative;
  z-index: -1;
}

.gridded {
  overflow-x: clip;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 0.96fr) repeat(2, 1fr);


  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin-inline: auto;
  color: var(--text);
}

/* .div1 {
  grid-column: span 3 / span 3;
  grid-row: span 2 / span 2;
}

.div2 {
  grid-row-start: 3;
}

.div3 {
  grid-column: span 2 / span 2;
  grid-row-start: 3;
}

.div4 {
  grid-column: span 2 / span 2;
  grid-row-start: 4;
}

.div5 {
  grid-column-start: 3;
  grid-row-start: 4;
} */

/** end grid display **/
.gridded {
  & > div {
    /* border-radius: 2.5rem;
    height: 260px; */
    position: relative;
  }

  & .inner {
    display: flex;
    justify-content: space-between;
  }

  & a {
    font-size: calc(0.25vw + 16px);
    display: inline-block;
    transform-origin: right;
  }

  & a i[class*="chevron"] {
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
  }

  & a:hover i[class*="chevron"] {
    margin-right: 0;
  }

  & a:hover {
    text-decoration: none;
    transform: scale(1.03);
  }

  & img {
    position: absolute;
  }

  & h2 {
    font-weight: 400;
    font-size: calc(1.25vw + 16px);
    margin-bottom: 0;
  }

  & h2 > span {
    color: var(--gridHeader);
  }
}



.gridded .block1 {
  max-width: 95%;
  padding: 100px 100px 180px;
  background-color: transparent;
  color: #fff;
  /* height: 520px; */
  height: auto;
  min-height: 350px;
  clip-path: inset(-9999px -9999px 0 -9999px);

  & .mic {
    top: -2rem;
    left: 29%;
    width: 325px;
    height: 845px;
    object-fit: cover;

  }

  & .inner h2 {
    font-weight: 400;
    font-size: calc(2vw + 16px);
    position: relative;
    margin-bottom: 3rem;

    & b {
      font-weight: inherit;
      color: var(--prime2);
    }
  }

  & .inner h2::after {
    content: "";
    position: absolute;
    width: 135px;
    bottom: -1.5rem;
    right: 0;
    background-color: #fff;
    height: 2px;
    border-radius: 5px;
  }

  & .wrap {
    width: 64%;

    & p {
      padding-top: 0.5rem;
      font-size: calc(1.2vw + 16px);
    }

    & a {
      color: var(--prime2);
    }
  }

  & .inner > div:last-child {
    flex: 1;
    max-width: 265px;
  }

  & .inner > div:last-child a {
    color: var(--text);
    position: relative;
    font-size: calc(0.35vw + 16px);
    display: inline-block;
    padding: 3rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    width: 100%;
    padding-right: 80px;

    & img {
      position: absolute;
      right: 20px;
      width: 40px;
    }
  }

  & .inner > div:last-child a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: rgb(from #fff r g b / 0.25);
    right: 0;
    bottom: 0;
  }

  & .inner > div:last-child a:last-child::after {
    content: none;
    border-bottom: none;
  }

  & .inner > div:last-child a:hover::after {
    transform: scale(1);
  }

  @media (max-width: 1600px) {
    margin-top: 35px;
    min-height: 500px;
    padding: 0 35px 50px;



    & .inner > div:last-child {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    & .mic {
      top: -3.5rem;
      left: 29%;
      width: 221px;
      height: 593px;
    }

    & .inner > div:last-child a {
      padding: 1.5rem 3.25rem 1.5rem 0.25rem;
      font-size: calc(0.25vw + 16px);

      & img {
        right: 12px;
        width: 30px;
      }
    }

    & .wrap {
      width: 72%;
      padding-left: 2rem;
    }


  }

  @media (min-width: 992px) and (max-width: 1199px) {
    & .inner > div:last-child {
      padding-right: 3.25rem;
    }
  }
}

.gridded .double {
  max-width: 95%;
  margin-inline: auto;
  padding-block: 9rem;
}

.gridded .block2 {

  color: #fff;
  display: flex;
  align-items: center;
  padding: 2.5rem;
  overflow: hidden;

  & .col {
    z-index: 3;
  }

  & h2 {
    width: 100%;
    font-size: calc(2.5vw + 16px);
    line-height: 1;
    font-weight: 500;

    & > span {
      display: block;
      font-size: calc(3.25vw + 16px);
      font-weight: 700;
      color: #fff;
    }
  }

  & img {
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 593px;
    height: 340px;
    z-index: 1;
    object-fit: contain;
    object-position: right;
    position: absolute;
  }

  & a {
    color: var(--prime3);
    font-size: calc(0.75vw + 16px);
    display: flex;
    align-items: center;
  }

  @media (max-width: 1600px) {
    padding: 1.5rem;

    & img {
      width: 45%;
    }
  }
}

.gridded .block3 {

  color: #fff;
  display: flex;
  align-items: center;

  .inner {
    max-width: 95%;
  }

  & h2 {
    font-weight: 400;
    font-size: calc(2.5vw + 16px);
  }

  & h2 > b {
    color: var(--prime2);
    font-weight: 400;
  }

  & p {
    font-size: calc(0.25vw + 16px);
  }

  & a {
    color: var(--prime2);
  }

  @media (max-width: 1600px) {
    .inner {
      max-width: 95%;
    }
  }
}

.gridded .block4 {
  z-index: 3;

  padding: 0 2.5rem;

  & h2 {
    flex: 1 0 100%;
    width: 100%;
    margin-bottom: 1rem;
    font-size: calc(3vw + 16px);

    & b {
      font-weight: inherit;
      color: var(--prime2);
    }
  }

  & .wrap {
    font-size: calc(0.125vw + 16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  & .wrap p {
    max-width: 80%;
    font-size: calc(0.2vw + 16px);
  }

  & img {
    object-fit: cover;
    bottom: -11.5rem;
    right: 27.5%;
    height: 338px;
    width: 515px;
    filter: drop-shadow(rgb(from rgb(27, 27, 27) r g b / 0.625) -7px -3px 9px);

    display: none;
  }

  & .wrap p + a {
    color: var(--prime2);
    line-height: 1.2;
  }


  @media (max-width: 1600px) {
    padding: 1.5rem;

    & .wrap {}

    & .wrap p {
      max-width: 90%;
    }

    & .wrap p + a {
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    & img {
      right: auto;
      left: 50%;
      height: 300px;
      width: 453px;
      filter: drop-shadow(-7px -3px 9px rgb(from var(--prime1) r g b / 0.625));
    }
  }
}

.gridded .block5 {
  padding-right: 12%;
  position: relative;
  z-index: 5;
  padding: 0 5rem 2rem 1rem;

  &::after {
    content: '';
    position: absolute;
    top: -90px;
    right: 98px;
    height: 407px;
    width: 9px;
    background-color: var(--prime2);

  }

  &::before {
    content: "";
    background-image: url(./images/deco_wire.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 170px;
    height: 94px;
    right: -60px;
    top: -145px;
  }

  & h2 {
    font-size: calc(2.7vw + 16px);
  }

  & h2 > span {
    color: var(--prime2);
  }

  & .col {
    padding-right: 15%;
  }

  & p {
    font-weight: 400;
    width: 70%;
    font-size: calc(0.35vw + 16px);
  }


  & a {
    display: inline-block;
    margin-top: 1rem;
    background-color: transparent;
    color: var(--prime3);
    padding: 0.75rem 3.5rem;
    border: 1px solid var(--prime3);
  }

  @media (max-width: 1600px) {
    padding: 1.5rem;

    &::after {
      right: 0;
    }

    &::before {
      right: -160px;
    }
  }
}

/**/

.footer {
  margin-top: 0;

  @media (min-width:992px) {
    & .container {
      max-width: var(--containerWidth);
      padding: 50px 50px 0rem;
      border-radius: 2.5rem 2.5rem 0 0;
    }
  }
}

@media (min-width: 992px) {
  .side-banners {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
  }

  .side-banners.side-banners-right {
    right: 0;
  }

  .side-banners.side-banners-left {
    left: 0;
    border-radius: 0 15px 15px 0;
  }
}

.side-banners a {
  background-color: #fff;
  display: block;
  padding: 1rem;
  margin: 1rem 0;
}

@media (max-width: 991px) {
  .news {
    padding: 1rem 0;
  }

  .cover .toggle-slick {
    display: none;
  }

  .slick-slide img {
    margin-bottom: 3rem;
  }

  .cover {
    min-height: 455px;
  }

  .cover-slick .wrap {
    width: 100%;
    padding: 3rem 2rem;
  }

  .bn-news ul li a {
    max-width: 360px;
  }

  .articles {
    padding-inline: 1rem;
    margin-bottom: 4rem;

    & .pic > div {
      border-radius: 10px;
    }

    & h2 {
      margin-block: 2rem;
    }

    & a {
      & h3 {
        padding-block: 2rem;
      }

      & .info {
        padding-right: 1rem;
      }
    }
  }

  .gridded .double {
    flex-direction: column;
    padding-block: 3rem;

    &:last-of-type {
      flex-direction: row;
    }
  }

  .gridded {
    margin-top: 2rem;
    overflow-x: clip;
    display: flex;
    flex-direction: column;


    & a {
      font-size: calc(1vw + 16px);
    }

    & > div {
      height: auto;
    }
  }

  .gridded .block1 {
    height: auto;
    max-height: unset;

    & .inner {
      flex-direction: column;

      & > div:last-child {
        margin-right: auto;
      }
    }

    & .mic {
      top: unset;
      left: 44%;
      width: 137px;
      height: 353px;
      bottom: 0;
    }

    & .wrap {
      width: 100%;
      padding-left: 0;
    }
  }

  .gridded .block2 {
    height: auto;
    padding-top: 5rem;
    width: 100% !important;

    & h2 {
      font-size: calc(3.5vw + 16px);

      & span {
        font-size: calc(5vw + 16px);
      }
    }

    & a {
      font-size: calc(1vw + 16px);
    }

    & img {
      top: 25px;
      transform: none;
      width: min(100%, 600px);
    }
  }

  .gridded .block3 {
    width: 65% !important;
    height: auto;
    margin-top: 2rem;
    margin-right: auto;

    & .wrap {
      padding: 2rem 0.25rem;
    }

    & .inner {
      max-width: 100%;
    }
  }

  .gridded .block4 {
    height: auto;
    padding: 1.5rem 0.25rem;

    &::after {
      width: 180px;
      height: 154px;
    }

    & h2 {
      margin-bottom: 1rem;
    }

    & .wrap {
      padding-left: 1rem;
      z-index: 1;
      position: relative;
    }

    & .wrap p {
      max-width: 100%;
    }

    & img {
      bottom: -8.5rem;
      left: 35%;
      height: 229px;
      width: 344px;
    }
  }

  .gridded .block5 {
    &::after {
      top: 0px;
      height: 300px;
      width: 5px;
    }

    &::before {
      right: -145px;
      width: 153px;
      top: -48px;
      height: 74px;
    }

    & p {
      width: 100%;
    }

    & .col {
      padding-right: 10%;
    }

    & a {
      padding: 0.35rem 0.5rem;
    }
  }
}


@media (max-width:699px) {
  .w-50 {
    width: 100% !important;
  }

  .gridded .double {
    &:last-of-type {
      flex-direction: column;
    }
  }

  .gridded .block1 {
    & .mic {
      left: 67%;
    }
  }

  .gridded .block3 {
    margin-top: 3rem;
    width: 100% !important;
  }

  .gridded .block4 {
    & img {
      left: 5%;
      height: 155px;
      width: 234px;
    }
  }

  .gridded .block5 {
    &::before {
      content: none;
    }

    &::after {
      height: 240px;
      right: 1rem;
    }

    & .col {
      padding-right: 5%;
    }
  }
}

@media (max-width:480px) {
  .gridded .block1 {
    padding: 0 5px 50px;

    & .inner {
      gap: 1rem;

      & > div:last-child {
        margin-right: 0;
      }
    }

    & .mic {
      width: 121px;
      height: 320px;
      z-index: 3;
      left: 5%;
    }
  }

  .gridded .block2 {
    padding-top: 2rem;

    & img {
      top: -40px;
    }
  }

  .gridded .block3 {
    margin-top: 1rem;
  }
}