﻿.mt-24 {
  margin-top: 24px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.YearsInMarketing {
  width: 100%;
  margin-top: 5px;
}

.In-YearsInMarketing {
  width: 100%;
  text-align: center;
  margin: 10px 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.YearsInMarketing .title-In-YearsInMarketing {
  float: right;
  font-size: 30px;
  width: 100%;
  color: #000;
  padding: -1px 0 1px 0;
  font-family: 'Estedad-Bold';
}

.In-title-In-YearsInMarketing {
  font-size: 14px !important;
  font-family: 'Estedad-Regular' !important;
}

.title-In-YearsInMarketing span {
  font-size: 37px !important;
}

.dvHomeResProducts {
  margin: 0 auto;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
}
.dvHomeRes {
  margin: 0 auto;
  width: 80%;
}

.parallax-item {
  transition: transform 0.25s ease-out;
  will-change: transform;
}

#NewsBannerText,
#NewFeatureText,
#MyFirstBannerText {
  display: none;
}

@media (min-width: 300px) and (max-width: 576px) {
  .mk-carousel-item-box {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.imhd {
  /* background: url("img/HomePage/Mask group.png") no-repeat;*/
  /*background-size: 100% auto;*/
  float: right;
  min-height: 195px;
  /*background-color:#000;*/
  margin-top: 25px;
}

.HomeSlideBox {
  width: 300px;
  float: right;
}

/* فوکوس روی یک آیتم مزیت و تار شدن بقیه در بخش dvHomeResProducts */
.dvHomeResProducts:hover .HomeSlideBox {
  filter: blur(1.5px);
  opacity: 0.45;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.dvHomeResProducts .HomeSlideBox:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
}

.HomeSlideBoxIcon {
  width: 180px;
  float: right;
}

.HomeSlideBoxIcon img {
  width: 167px;
}

.HomeSlideBoxTitle {
  float: right;
  width: 120px;
  text-align: left;
}

.HomeSlideBoxTitle span {
  font-family: estedad-medium;
  font-size: 20px;
  color: #000;
  float: left;
  margin: 110px 0 0 2px;
  text-align: left;
}

.HomeSlideBoxText {
  width: 300px;
  height: fit-content;
  float: right;
}

.HomeSlideBoxText p {
  direction: rtl;
  font-family: estedad-Medium;
  font-size: 11px;
  color: #757575;
  text-align: justify;
  font-style: normal;
  font-weight: 500;
  /*    line-height: 176%;
    letter-spacing: 0.24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;       تعداد خط 
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height:300px;
    height:fit-content;*/
}

.imhd2 {
  background: url('img/HomePage/titel.png') no-repeat;
  background-color: #fff;
  background-size: 100% auto;
  float: right;
  height: 230px;
}

@media (max-width: 700px) {
  .imhd2 {
    background: url('img/HomePage/Frame 1000002095.png') no-repeat;
    background-position: center top;
    margin-top: 15px;
  }

  .dvHomeResProducts,
  .dvHomeRes {
    margin: 1px 0;
    width: 100%;
  }

  #NewsBannerText {
    display: block;
    font-family: Estedad-Bold;
    text-align: center;
    font-size: 19px;
  }

  #NewFeatureText {
    display: block;
    font-family: Estedad-Bold;
    text-align: center;
    font-size: 19px;
  }

  #MyFirstBannerText {
    display: block;
    font-family: Estedad-Bold;
    text-align: center;
    font-size: 19px;
  }

  #NewsBannerImg,
  #NewFeatureImg,
  #MyFirstBannerImg {
    display: none;
  }

  .HomeSlideBox {
    width: 100%;
  }

  .HomeSlideBoxTitle {
    float: left;
  }

  .HomeSlideBoxText {
    width: 100%;
  }
}

@media (max-width: 992px) {
}

.swiper-button-next,
.swiper-button-prev {
  width: 20px !important;
  height: 34px !important;
  background-size: 21px 34px !important;
}

.articleImg {
  width: 220px;
  height: 220px !important;
  border-radius: 5px;
  object-fit: cover;
}

.btn-cta {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, #de0000, #ff4d4d);
  color: #fff;
  border-radius: 8px;
  font-family: estedad-Medium;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 8px 18px rgba(222, 0, 0, 0.25);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(222, 0, 0, 0.35);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(222, 0, 0, 0.25);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .articleImg {
    height: 239px;
  }

  .YearsInMarketing .title-In-YearsInMarketing {
    font-size: 11px !important;
  }

  .title-In-YearsInMarketing span {
    font-size: 22px !important;
  }
}

img:not([draggable]),
embed,
object,
video {
  max-width: 100%;
  height: auto;
}

.iconMarketing {
  width: 20%;
  float: right;
}

.img-IconMarketing {
  width: 32px;
  height: 32px;
}

.titleMarketing {
  width: 70%;
  float: right;
}

.In-YearsInMarketing:hover {
  transform: translateY(-6px);
}

.In-YearsInMarketing:hover .img-IconMarketing {
  transform: scale(1.08);
  transition: transform 0.25s ease;
}

@media (min-width: 576px) {
  .iconMarketing {
    width: 100%;
    float: right;
  }

  .titleMarketing {
    width: 100%;
    float: right;
  }
}

@media (min-width: 276px) {
  .iconMarketing {
    width: 100%;
    float: right;
  }

  .titleMarketing {
    width: 100%;
    float: right;
  }
}

@media screen and (max-width: 768px) {
  .In-YearsInMarketing {
    margin: 10px 0;
  }

  .mt-24 {
    margin-top: 10px !important;
  }

  .dvNews {
    margin-bottom: 25px;
  }

  .img-IconMarketing {
    width: 25px !important;
    height: 25px !important;
  }

  .popup-main {
    display: none;
  }
}

.IndvNews {
  width: 96%;
  height: 80px;
  background: #ffffff;
  float: right;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  /* min-height: 80px; */
  z-index: 2;
  position: relative;
  margin-top: -50px;
  margin-right: 2%;
}

.IndvNews .dvNewsText {
  width: 100%;
  float: right;
  text-align: right;
  font-size: 11px;
  color: #373737;
  padding: 2px 8px;
  font-family: estedad-regular;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* تعداد خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.IndvNews .dvNewsTitle {
  width: 100%;
  float: right;
  text-align: right;
  font-size: 10px;
  color: #f33122;
  padding: 3px 8px 10px 1px;
  font-family: estedad-Medium;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* تعداد خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dvNews a span {
  position: relative;
  display: inline-block;
  font-family: estedad-Medium;
  color: #000;
  background-image: linear-gradient(270deg, #de0000 0%, #de0000 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: color 0.2s ease, transform 0.2s ease, background-size 0.25s ease;
}

.dvNews a span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #de0000;
  transition: width 0.2s ease;
}

.dvNews a:hover span {
  color: #de0000;
  background-size: 100% 100%;
  transform: translateX(-2px);
}

.dvNews a:hover span::after {
  width: 100%;
}

/* افکت فوکوس روی یک خبر و تار شدن بقیه */
#idOtherNews:hover .dvNews,
#idOtherArticles:hover .dvNews {
  filter: blur(2px);
  opacity: 0.45;
  transform: scale(0.98);
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

#idOtherNews .dvNews:hover,
#idOtherArticles .dvNews:hover {
  filter: none;
  opacity: 1;
  transform: scale(1);
}

/* وقتی روی آیتم‌های اخبار می‌رویم، آیتم‌های بخش مقالات هم تار شوند و برعکس */
#idOtherNews:hover ~ #idOtherArticles .dvNews {
  filter: blur(2px);
  opacity: 0.45;
  transform: scale(0.98);
}

#idOtherArticles:hover ~ #idOtherNews .dvNews {
  filter: blur(2px);
  opacity: 0.45;
  transform: scale(0.98);
}

/* وقتی روی آیتم‌های مقالات هستیم، اخبار هم تار شوند (با کمک کلاس روی body) */
body.articles-hover #idOtherNews .dvNews {
  filter: blur(2px);
  opacity: 0.45;
  transform: scale(0.98);
}

.popup-main {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999999999;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg, hsl(0deg 0% 11%), rgb(0 0 0 / 25%));
}

.popup-main div {
  position: absolute;
  left: 30px;
  bottom: 30px;
}

.popup-main div span {
  position: absolute;
  left: 0;
  top: 35px;
  color: #f44336;
  cursor: pointer;
  background: #fc0840;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  box-shadow: 0 0 20px 0 #fc0840;
}

.popup-main div span svg {
  width: 20px;
  padding-right: 5px;
}
