/* NEWS */

.ArticleView {
  display: none !important;
}

.news-wrapper .each-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(18, 18, 18, 0.1);
  display: flex;
  flex-direction: column;
  width: 288px;
  position: relative;
  height: 407px;
  padding: 16px;
  border: 1px solid #e6e6e6;
}
.news-wrapper.related .each-box,
.news-wrapper.list .each-box {
  height: unset;
  border: none;
  flex-shrink: 0;
  scroll-snap-align: center;
}
.news-wrapper {
  display: flex;
  row-gap: 24px;
  justify-content: start;
  width: 100%;
  gap: 24px;
}
.news-wrapper.related {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 95px;
}
.news-wrapper.related::-webkit-scrollbar {
  display: none;
}
.news-wrapper.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  row-gap: 24px;
  width: 100%;
  gap: 24px;
  justify-items: center;
}
.all-branches-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 24px;
  width: 100%;
  gap: 24px;
}
.chart-related-wrapper .news-wrapper {
  margin-top: 48px;
  padding-right: 0;
  width: max-content;
  gap: 24px;
}

@media (max-width: 900px) {
  .news-wrapper:not(.related) {
    grid-template-columns: 1fr;
    margin-top: 40px !important;
    gap: 24px;
    padding-right: 0;
    justify-items: center;
  }
  .news-wrapper.list {
    grid-template-columns: 1fr;
  }
  .all-branches-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .news-wrapper.related {
    padding: 40px;
    overflow-y: auto;
  }
}

.news-wrapper .each-box .image img {
  width: 100%;
  height: 100%;
  border-radius: 6px 6px 0 0;
  display: block;
  object-fit: cover;
  object-position: center;
}
.news-wrapper .each-box .image {
  width: 100%;
  height: 171px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.news-wrapper .each-box .bottom .title {
  margin-top: 16px;
  transition: all 300ms;
  display: block;
  min-height: 56px;
  font-weight: bold;
}
.news-wrapper .each-box:hover .bottom .title {
  color: var(--Primary-P50) !important;
}
.news-wrapper .each-box .bottom .body {
  min-height: 72px;
}

.news-wrapper .each-box .bottom .button {
  display: flex;
  justify-content: start;
}
.news-wrapper.list .each-box .bottom .button {
  margin-bottom: 6px;
}

.news-wrapper .each-box .bottom .button a {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 300ms;
}
.news-wrapper .each-box .bottom .button a.t-s50 {
  padding: 6px 16px;
  transition: all 300ms;
  border-radius: 8px;
}
.news-wrapper .each-box .bottom .button a.t-s50:hover {
  background-color: var(--Secondary-S50);
  color: white !important;
}
.news-wrapper .each-box .bottom .button a.t-s50:hover .ezIcon {
  --icon-color: white !important;
}
.news-wrapper .each-box:hover .bottom .button a:not(.t-s50) .ezIcon {
  transform: translateX(-10px);
}
.news-wrapper .each-box .date {
  text-align: start;
  margin-top: 4px;
  bottom: 12px;
  border-radius: 8px 0 0 8px;
  padding: 4px 12px;
}
/* NEWS DETAIL */
@media (max-width: 900px) {
  .news-detail-wrapper .print-share {
    gap: 32px !important;
  }
  .news-detail-wrapper .title-box {
    padding: 24px 16px 40px 24px !important;
  }
  .news-detail-wrapper .row {
    padding-inline: 0 !important;
  }

  .news-detail-wrapper .image-wrapper {
    float: unset !important;
    margin: 0 !important;
    width: 100% !important;
    border-radius: 8px !important;
    height: 48vw;
  }
  .news-detail-wrapper .image-wrapper img {
    object-fit: cover !important;
  }
  .news-detail-wrapper .news-detail-content {
    padding-inline: 0 !important;
  }
  .news-detail-wrapper .image-gallery-wrapper li {
    width: 80% !important;
    height: 170px !important;
  }
  .news-detail-wrapper .title-box .top-row {
    padding-inline: 0 !important;
  }
  .news-detail-wrapper .fileItem li {
    padding: 24px 16px !important;
  }
  .news-tags-wrapper {
    width: 100% !important;
  }
}

.news-detail-wrapper .news-detail-content h2 {
  color: var(--Gray-G40, #626262);
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  line-height: 32px; /* 200% */
  margin-bottom: 24px;
}
.chart-related-wrapper .blog__Detail__Related__Header p::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--Gray-G95);
  display: flex;
}
.news-wrapper .blog__Detail__Related__Header p::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--Gray-G95);
  display: flex;
}
.news-detail-wrapper .title-box {
  border-radius: 8px;
  background: #e8f8f8;
  padding: 24px 16px;
  min-height: 157px;
}
.news-detail-wrapper .title-box .top-row {
  padding-inline: 24px;
}

.news-detail-wrapper .image-wrapper {
  float: inline-end;
  margin: 35px 24px 40px 0;
  width: 50%;
  border-radius: 16px;
  overflow: hidden;
}

.news-detail-wrapper .image-wrapper img {
  margin-inline: auto;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.news-detail-wrapper .news-detail-content .text-box p {
  text-align: justify !important;
}
.news-detail-wrapper .news-detail-content p img {
  width: 100%;
}
.news-detail-wrapper .news-detail-content p:has(img:nth-last-of-type(2)) {
  display: flex;
  justify-content: space-between;
}
.news-detail-wrapper .news-detail-content p:has(img:nth-last-of-type(2)) img {
  width: 48%;
}
.news-detail-wrapper .fileItem {
  padding: 0;
}
.news-detail-wrapper .fileItem li {
  display: flex;
  flex-wrap: wrap;
  padding: 18px 32px 18px 40px;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  background: var(--Background, #f9f9f9);
}
.news-detail-wrapper .fileItem li a {
  color: var(--Gray-G20, #3d3d3d);
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 200% */
  background: transparent;
}
.news-detail-wrapper .fileItem li .file-download a {
  color: white;
  display: flex;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--Primary-P70, #0d4184);
}

/* RELATED PODCASTS START */

.news-detail-wrapper .section-header {
  height: 84px;
  border-radius: 12px;
  background: #e8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--Primary-P40, #0c3b77);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px; /* 200% */
}
.news-detail-wrapper .image-gallery-wrapper li {
  border-radius: 8px;
  overflow: hidden;
  height: 154px;
  width: 100%;
  max-width: 230px;
  position: relative;
}
.news-detail-wrapper .image-gallery-wrapper li:nth-child(4) a::after {
  content: "همه تصاویر";
  position: absolute;
  color: white;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 200% */
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(3px);
  z-index: 2;
}
.news-detail-wrapper .image-gallery-wrapper li:nth-child(n + 5) {
  display: none;
}
.news-detail-wrapper .image-gallery-wrapper li:nth-child(4) a::before {
  content: url("../assets/icons/chevron.svg");
  position: absolute;
  top: 45%;
  left: 27%;
  --icon: 18px;
  filter: brightness(0) invert(1); /* تمام رنگ‌ها سفید میشن */
  z-index: 5;
}
.news-detail-wrapper .image-gallery-wrapper li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.news-detail-wrapper .image-gallery-wrapper li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.news-detail-wrapper .blog__Detail__Related > a:hover .ezIcon {
  transform: translateX(-10px);
}

@media (max-width: 900px) {
  .news-categ-wrapper {
    width: 288px !important;
    padding: 12px 24px !important;
    transition: all 300ms ease;
    border-radius: 12px !important;
    margin-inline: auto !important;
  }
  .news-categ-wrapper.active {
    padding: 24px 24px 48px 24px !important;
    border-radius: 16px !important;
  }
  .news-categ-wrapper .categ-list {
    max-height: 0;
    margin-top: 0 !important;
    transition: all 300ms ease;
    opacity: 0;
  }
  .news-categ-wrapper.active .categ-list {
    max-height: 2000px;
    margin-top: 32px !important;
    opacity: 1;
  }

  .news-categ-wrapper > p {
    text-align: center;
    position: relative;
    font-size: 18px !important;
  }
  .news-categ-wrapper > p::after {
    content: "";
    position: absolute;
    left: 32px;
    width: 26px;
    height: 26px;
    top: 8px;
    background-color: var(--Primary-P70);
    rotate: -90deg;
    -webkit-mask: url(../assets/icons/chevron.svg) no-repeat center;
    mask: url(../assets/icons/chevron.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: all 300ms;
  }
  .news-categ-wrapper.active > p::after {
    rotate: 90deg;
    top: 6px;
  }
}

.news-categ-wrapper {
  width: calc(100% - 25px);
  padding: 24px 24px 48px 24px;
  border-radius: 16px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 32px 0 rgba(18, 18, 18, 0.08);
}

.news-categ-wrapper .categ-list {
  gap: 0 !important;
  margin-top: 32px;
  position: relative;
}
.news-categ-wrapper .categ-list::before {
  content: "";
  height: calc(100% - 32px);
  width: 4px;
  background-color: var(--Secondary-S50);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.news-categ-wrapper .categ-list .each-cat {
  transition: all 300ms;
  height: 48px;
  display: flex;
  align-items: center;
  padding-inline-start: 32px;
  position: relative;
  overflow: hidden;
}
.news-categ-wrapper .categ-list .each-cat:has(.active),
.news-categ-wrapper .categ-list .each-cat.active {
  background-color: var(--Primary-P70) !important;
  color: white !important;
  padding-inline-start: 44px;
}
.news-categ-wrapper .categ-list .each-cat::before {
  content: "";
  position: absolute;
  right: -16px;
  width: 28px;
  height: 28px;
  background-color: var(--Primary-P70);
  -webkit-mask: url(../assets/icons/header-arrow.svg) no-repeat center;
  mask: url(../assets/icons/header-arrow.svg) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: all 300ms;
  opacity: 0;
}
.news-categ-wrapper .categ-list .each-cat:has(.active)::before,
.news-categ-wrapper .categ-list .each-cat.active::before {
  right: 12px !important;
  opacity: 1;
  background-color: white !important;
}
.news-categ-wrapper .categ-list .each-cat:hover::before {
  right: 12px !important;
  opacity: 1;
}
.news-categ-wrapper .categ-list .each-cat:not(.active):hover {
  color: var(--Primary-P70) !important;
  padding-inline-start: 44px;
}
.news-categ-wrapper
  .categ-list
  .each-cat:has(+ .each-cat.level-3).active-top::before {
  right: 12px !important;
  opacity: 1;
}
.news-categ-wrapper .categ-list .each-cat:has(+ .each-cat.level-3).active-top {
  color: var(--Primary-P70) !important;
  padding-inline-start: 44px;
}
.news-categ-wrapper
  .categ-list
  .each-cat.active:has(+ .each-cat.level-3).active-top {
  color: white !important;
  padding-inline-start: 44px;
}
.news-categ-wrapper .categ-list .each-cat a {
  height: 100%;
  display: flex;
  align-items: center;
}
/* .news-categ-wrapper .categ-list .each-cat:has(+ .each-cat:not(.level-3)) a {
  width: 100%;
}
.news-categ-wrapper .categ-list .each-cat.level-3: a {
  width: 100%;
} */
.news-categ-wrapper .categ-list .each-cat:not(.level-3) {
  margin-top: 16px;
  border-radius: 8px;
  background: var(--Background, #f9f9f9);
  z-index: 2;
}

.news-categ-wrapper
  .categ-list
  .each-cat.level-2:has(+ .each-cat.level-3)::after {
  content: "";
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  background-color: var(--Primary-P70);
  rotate: -90deg;
  -webkit-mask: url(../assets/icons/chevron.svg) no-repeat center;
  mask: url(../assets/icons/chevron.svg) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: all 300ms;
}
.news-categ-wrapper
  .categ-list
  .each-cat.level-2.active:has(+ .each-cat.level-3)::after {
  background-color: white;
}
.news-categ-wrapper
  .categ-list
  .each-cat.level-2.active-top:has(+ .each-cat.level-3)::after {
  rotate: 90deg;
}
.news-categ-wrapper .categ-list .each-cat.level-3 {
  max-height: 0;
  opacity: 0;
  border-radius: 8px;
  width: 87%;
}
.news-categ-wrapper .categ-list .each-cat.level-3.active-sub {
  max-height: 50px;
  opacity: 1;
  margin-top: 16px;
  background: var(--Background, #f9f9f9);
}
.news-categ-wrapper .categ-list:not(:has(.level-2)) .each-cat.level-3 {
  max-height: 50px;
  opacity: 1;
  margin-top: 16px;
  background: var(--Background, #f9f9f9);
  width: 100%;
}

.all-branches-wrapper .each-branch {
  width: 300px;
  height: 340px;
  border-radius: 16px;
  background-color: white;
  box-shadow: 0 4px 32px rgba(18, 18, 18, 0.12);
  padding: 16px;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: all 300ms;
  border: 1px solid #dcdcdc;
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  cursor: grab;
}
.all-branches-wrapper .each-branch .image {
  height: 118px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 8px;
  border-radius: 8px;
  transition: all 300ms;
  user-drag: none; /* Safari */
  -webkit-user-drag: none; /* Chrome/Safari */
  -moz-user-drag: none; /* Firefox (not widely supported) */
  -o-user-drag: none; /* Opera */
  drag: none;
}
.all-branches-wrapper .each-branch .image img {
  height: 100%;
  user-drag: none; /* Safari */
  -webkit-user-drag: none; /* Chrome/Safari */
  -moz-user-drag: none; /* Firefox (not widely supported) */
  -o-user-drag: none; /* Opera */
  drag: none;
}
.all-branches-wrapper .each-branch .address {
  margin-top: 6px;
  display: flex;
  min-height: 72px;
}
.all-branches-wrapper .each-branch .boss {
  margin-top: 6px;
}

.news-tags-wrapper {
  width: calc(100% - 25px);
  padding: 24px 24px 48px 24px;
  border-radius: 16px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 32px 0 rgba(18, 18, 18, 0.08);
  display: flex;
  flex-flow: column;
  margin-top: 24px;
}
.news-tags-wrapper::before {
  content: "تگ ها ";
  color: var(--Primary-P50);
  text-align: right;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 200% */
  padding-bottom: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e4e4e4;
  width: 100%;
}
.news-tags-wrapper div#tags676 {
  display: flex;
  gap: 8px;
  flex-flow: wrap;
  margin-top: 16px;
  row-gap: 16px;
}
.news-tags-wrapper div#tags676 a {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--Primary-P70);
  transition: all 300ms;
  cursor: pointer;
}
/* .news-tags-wrapper div#tags676 a:hover {
  background: var(--Secondary-S30, #008283);
} */
.news-detail-wrapper .info-wrapper .desc-section address {
  margin-top: 30px;
  display: flex;
}

.news-detail-wrapper .info-wrapper .desc-section address:not(:has(table)) a {
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--Secondary-S95);
  flex: 1;
  white-space: nowrap;
  max-width: 490px;
}

.services-detail-wrapper::before {
  content: "";
  position: absolute;
  width: 100vw;
  height: 340px;
  background: var(
    --Gradiant-Light,
    linear-gradient(91deg, #e8eff7 0%, #f5fbfb 100%)
  );
  border-radius: 24px 0 0 24px;
  z-index: -1;
  top: -164px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .services-detail-wrapper .news-detail-content {
    padding: 48px 16px !important;
  }
  .services-detail-wrapper .news-detail-content .top-row .print-share {
    width: 100% !important;
    justify-content: space-between;
  }
  .services-detail-wrapper
    .news-detail-content
    .top-row
    .print-share
    .copy-btn {
    margin-right: 17vw;
  }
  .services-detail-wrapper .news-detail-content .links-wrapper a,
  .services-detail-wrapper .news-detail-content address a {
    padding: 16px !important;
    align-items: start !important;
    gap: 40px;
    flex-flow: column;
  }
  .services-detail-wrapper
    .news-detail-content
    .down-files-wrapper
    .files
    .each-file {
    padding: 16px !important;
    align-items: start !important;
    flex-flow: column !important;
    gap: 40px;
  }
  .wrapper_Contact_Info .contact-info {
    flex-flow: column;
  }
  .wrapper_Contact_Info .wrapper_Left_Contact,
  .wrapper_Contact_Info .wrapper_Right_Contact {
    width: 100% !important;
    padding: 20px;
  }
  .news-detail-content .second-map-wrapper {
    margin-top: 0 !important;
  }
  .news-detail-content .second-map-wrapper::after {
    height: 200px !important;
    top: -40px !important;
  }
}
.services-detail-wrapper .news-detail-content {
  border-radius: 24px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 64px 0 rgba(18, 18, 18, 0.12);
  padding: 48px 40px 88px 40px;
}
.services-detail-wrapper .news-detail-content .top-row {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 20px;
}
.services-detail-wrapper .news-detail-content .image-wrapper img {
  width: 600px;
}
.services-detail-wrapper .news-detail-content .links-wrapper > p::after,
.services-detail-wrapper .news-detail-content .down-files-wrapper > p::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4e4e4;
  display: flex;
}
.services-detail-wrapper .news-detail-content .links-wrapper a,
.services-detail-wrapper .news-detail-content address a {
  display: flex;
  width: 100%;
  border-radius: 8px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 32px 0 rgba(18, 18, 18, 0.08);
  padding: 16px 24px 16px 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--Gray-G30, #4f4f4f);
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 200% */
}
.services-detail-wrapper .news-detail-content .links-wrapper a::after,
.services-detail-wrapper .news-detail-content address a::after {
  content: "ورود به لینک";
  display: flex;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--Secondary-S40, #189c9c);
  color: var(--Gray-G100, #fff);
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  transition: all 300ms;
}
.services-detail-wrapper .news-detail-content .links-wrapper a:hover:after,
.services-detail-wrapper .news-detail-content address a:hover:after {
  background: var(--Primary-P70);
}

.services-detail-wrapper
  .news-detail-content
  .down-files-wrapper
  .files
  .each-file {
  width: 100%;
  border-radius: 8px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 32px 0 rgba(18, 18, 18, 0.08);
  padding: 16px 24px 16px 16px;
  align-items: center;
}
.services-detail-wrapper
  .news-detail-content
  .down-files-wrapper
  .files
  .each-file
  .show {
  display: inline-flex;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--Secondary-S40, #189c9c);
  transition: all 300ms;
}
.services-detail-wrapper
  .news-detail-content
  .down-files-wrapper
  .files
  .each-file
  .show:hover {
  border: 1px solid var(--Primary-P70);
  color: var(--Primary-P70) !important;
}
.services-detail-wrapper
  .news-detail-content
  .down-files-wrapper
  .files
  .each-file
  .show:hover
  .ezIcon {
  --icon-color: var(--Primary-P70) !important;
}
.services-detail-wrapper
  .news-detail-content
  .down-files-wrapper
  .files
  .each-file
  .download {
  display: inline-flex;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--Secondary-S40, #189c9c);
  transition: all 300ms;
}
.services-detail-wrapper
  .news-detail-content
  .down-files-wrapper
  .files
  .each-file
  .download:hover {
  background: var(--Primary-P70) !important;
}

.inner-service-wrapper {
  border-radius: 40px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 64px 0 rgba(18, 18, 18, 0.12);
  padding: 72px 24px;
  margin-top: 36px;
}
.inner-service-wrapper::before {
  content: "";
  position: absolute;
  width: 100vw;
  height: 292px;
  background: var(
    --Gradiant-Light,
    linear-gradient(91deg, #e8eff7 0%, #f5fbfb 100%)
  );
  border-radius: 24px 0 0 24px;
  z-index: -1;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}
.inner-service-wrapper .services {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.inner-service-wrapper .services .each-service {
  border-radius: 20px;
  background: var(--Gray-G99, #f2f2f2);
  height: 148px;
  width: 294px;
  gap: 4px;
  transition: all 300ms;
  position: relative;
  overflow: hidden;
}
.inner-service-wrapper .services .each-service:hover {
  background: var(--Primary-P40) !important;
}
.inner-service-wrapper .services .each-service p {
}
.inner-service-wrapper .services .each-service:hover p {
  color: white !important;
}

.inner-service-wrapper .services .each-service .icon .ezIcon {
  position: absolute;
  --icon: 112px;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  opacity: 0.06;
}
.inner-service-wrapper .services .each-service:hover .icon .ezIcon {
  --icon-color: white !important;
  --icon: 150px;
  right: -10px;
}
.inner-service-wrapper .services .each-service .desc {
  gap: 26px;
  flex: 1;
  align-items: center;
  z-index: 1;
}
.inner-service-wrapper .services .each-service .desc .arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  padding-right: 2px;
  transition: all 300ms;
}
.inner-service-wrapper .services .each-service:hover .desc .arrow {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.925) !important;
  border-radius: 10px;
}
.inner-service-wrapper .services .each-service:hover .desc .arrow .ezIcon {
  --icon-color: var(--Primary-P40) !important;
  --icon: 40px;
}

.wrapper_Contact_Info address {
  margin-bottom: 30px;
}
.wrapper_Contact_Info .contact-info {
  gap: 20px;
}
.wrapper_Contact_Info .wrapper_Left_Contact,
.wrapper_Contact_Info .wrapper_Right_Contact {
  border-radius: 8px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 32px 0 rgba(18, 18, 18, 0.08);
  width: 50%;
  padding: 20px;
}
.wrapper_Contact_Info .wrapper_Left_Contact > div > strong,
.wrapper_Contact_Info .wrapper_Right_Contact > div > strong {
  color: var(--Gray-G30, #4f4f4f);
  text-align: right;
  font-family: IRANSansXFaNum;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px; /* 200% */
  margin-bottom: 20px;
}
.wrapper_Contact_Info .wrapper_Left_Contact > div > span,
.wrapper_Contact_Info .wrapper_Right_Contact > div > span {
  margin-bottom: 20px;
  min-height: 56px;
}
.wrapper_Contact_Info .wrapper_Left_Contact > div,
.wrapper_Contact_Info .wrapper_Right_Contact > div {
  gap: 10px;
}
.wrapper_Contact_Info .wrapper_Left_Contact > div > div > strong,
.wrapper_Contact_Info .wrapper_Right_Contact > div > div > strong,
.wrapper_Contact_Info .wrapper_Left_Contact span,
.wrapper_Contact_Info .wrapper_Right_Contact span {
  color: var(--Gray-G30, #4f4f4f);
  text-align: right;
  font-family: IRANSansXFaNum;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 200% */
}
.wrapper_Contact_Info .wrapper_Left_Contact > div > div,
.wrapper_Contact_Info .wrapper_Right_Contact > div > div {
  justify-content: space-between;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 8px;
}
.wrapper_Contact_Info .wrapper_Left_Contact > div > div:last-of-type,
.wrapper_Contact_Info .wrapper_Right_Contact > div > div:last-of-type {
  border-bottom: none;
}
.wrapper_Contact_Info .wrapper_Left_Contact a,
.wrapper_Contact_Info .wrapper_Right_Contact a {
  color: var(--Secondary-S40, #189c9c);
  text-align: right;
  font-family: IRANSansXFaNum;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 200% */
  transition: all 300ms;
}
.wrapper_Contact_Info .wrapper_Left_Contact a:hover,
.wrapper_Contact_Info .wrapper_Right_Contact a:hover {
  color: var(--Primary-P70);
}
.news-detail-wrapper.coworker .title-box {
  border-radius: 16px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 24px 0 rgba(9, 23, 83, 0.06);
  padding: 24px;
  width: 33.33%;
  height: 208px;
}
.news-detail-wrapper.podcasts .title-box {
  border-radius: 8px;
  border: 1px solid var(--Primary-P95, #dadffe);
  background: var(
    --Gradian-Light,
    linear-gradient(270deg, #f2fafa 0%, #eef1ff 100%)
  );
  padding: 32px 24px 40px 24px;
  border-radius: 8px;
  width: 67%;
}
.news-detail-wrapper.coworker .title-box img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
}
.news-detail-wrapper.coworker .text-box {
  border-radius: 16px;
  background: var(--Gray-G100, #fff);
  box-shadow: 0 4px 24px 0 rgba(9, 23, 83, 0.06);
  padding: 24px;
  cursor: pointer;
}
/* collapsed state: clamp + ellipsis */
.news-detail-wrapper.coworker .text-box .content {
  overflow: hidden;
  max-height: 112px;
  transition: all 300ms ease-in-out;
}

/* expanded: remove clamp */
.news-detail-wrapper.coworker .text-box.active .content {
  max-height: 500px;
}

/* icon default */
.news-detail-wrapper.coworker .text-box .toggle .ezIcon {
  rotate: -90deg;
  --icon-color: var(--Primary-P20);
  transition: all 400ms;
}

/* icon rotated when active */
.news-detail-wrapper.coworker .text-box.active .toggle .ezIcon {
  rotate: 90deg;
}

/* hide toggle completely when not needed */
.news-detail-wrapper.coworker .text-box.no-accordion .toggle {
  display: none !important;
}

/* mobile: clamp to match your ~208px requirement via more lines */
@media (max-width: 992px) {
  .news-detail-wrapper.coworker .text-box .content {
    -webkit-line-clamp: 8; /* adjust if you want closer to 208px */
  }
}
.news-detail-content .second-map-wrapper::before {
  content: "";
  width: 100vw;
  background: var(
    --Gradiant-Light,
    linear-gradient(91deg, #e8eff7 0%, #f5fbfb 100%)
  );
  height: 467px;
  position: absolute;
  top: -238px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* =========================================
   DESC SECTION
========================================= */

.news-detail-wrapper .desc-section {
  direction: rtl;
  width: 100%;
  color: var(--Gray-G40, #626262);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

.news-detail-wrapper .desc-section * {
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit !important;
}

.news-detail-wrapper .desc-section p {
  color: var(--Gray-G40, #626262);
  font-size: 16px !important;
  font-weight: 400;
  line-height: 2 !important;
  text-align: justify !important;
  text-align-last: right;
  margin: 0 0 20px !important;
  padding: 0;
  text-indent: 0 !important;
  direction: rtl !important;
  border: 0;
  background: transparent;
}

.news-detail-wrapper .desc-section p span,
.news-detail-wrapper .desc-section li span {
  color: inherit;
  font-size: inherit !important;
  line-height: inherit !important;
  direction: inherit !important;
  background: transparent !important;
}

.news-detail-wrapper .desc-section h1,
.news-detail-wrapper .desc-section h2,
.news-detail-wrapper .desc-section h3,
.news-detail-wrapper .desc-section h4,
.news-detail-wrapper .desc-section h5,
.news-detail-wrapper .desc-section h6 {
  color: var(--Gray-G20, #3d3d3d);
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
  margin: 36px 0 16px;
  padding: 0;
}

.news-detail-wrapper .desc-section h1 {
  font-size: 24px;
}

.news-detail-wrapper .desc-section h2 {
  font-size: 22px;
}

.news-detail-wrapper .desc-section h3 {
  font-size: 20px;
}

.news-detail-wrapper .desc-section h4,
.news-detail-wrapper .desc-section h5,
.news-detail-wrapper .desc-section h6 {
  font-size: 18px;
}

.news-detail-wrapper .desc-section strong,
.news-detail-wrapper .desc-section b {
  color: var(--Gray-G20, #3d3d3d);
  font-weight: 700;
}

.news-detail-wrapper .desc-section a {
  color: var(--Primary-P70, #0d4184);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-detail-wrapper .desc-section a:hover {
  color: var(--Secondary-S30, #008283);
}

.news-detail-wrapper .desc-section ul,
.news-detail-wrapper .desc-section ol {
  margin: 20px 0 28px;
  padding-right: 24px;
}

.news-detail-wrapper .desc-section li {
  margin-bottom: 8px;
  line-height: 2;
}

.news-detail-wrapper .desc-section img {
  display: block;
  width: auto;
  max-width: 100% !important;
  height: auto !important;
  margin: 28px auto;
  border-radius: 12px;
}

.news-detail-wrapper .desc-section address {
  margin: 24px 0 !important;
  padding: 0;
  text-indent: 0 !important;
  font-style: normal;
}
/* =========================================
   NEWS DETAIL TABLE - DESKTOP
========================================= */

.news-detail-wrapper .desc-section address:has(table) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 32px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  font-style: normal;
}

.news-detail-wrapper .desc-section table {
  direction: rtl;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 28px 0 !important;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 0;
  color: var(--Gray-G30, #4f4f4f);
  font-size: 13px;
  line-height: 1.8;
  border: 1px solid #dfe5e5 !important;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.news-detail-wrapper .desc-section table th,
.news-detail-wrapper .desc-section table td {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 12px 10px !important;
  color: var(--Gray-G30, #4f4f4f);
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.8 !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  border: 0 !important;
  border-left: 1px solid #e2e7e7 !important;
  border-bottom: 1px solid #e2e7e7 !important;
  background: #fff;
}
/* ردیف اول جدول به‌عنوان هدر */
.news-detail-wrapper .desc-section table tr:first-child > th,
.news-detail-wrapper .desc-section table tr:first-child > td {
  color: var(--Primary-P70, #0d4184) !important;
  font-weight: 700 !important;
  background: #e8f8f8 !important;
}

/* در صورت وجود thead */
.news-detail-wrapper .desc-section table thead th,
.news-detail-wrapper .desc-section table thead td {
  color: var(--Primary-P70, #0d4184) !important;
  font-weight: 700 !important;
  background: #e8f8f8 !important;
}

/* در صورت اضافه‌شدن کلاس توسط JavaScript */
.news-detail-wrapper .desc-section table tr.table-header-row > th,
.news-detail-wrapper .desc-section table tr.table-header-row > td {
  color: var(--Primary-P70, #0d4184) !important;
  font-weight: 700 !important;
  background: #e8f8f8 !important;
}
.news-detail-wrapper .desc-section table tr > :last-child {
  border-left: 0 !important;
}

.news-detail-wrapper .desc-section table tr:last-child > * {
  border-bottom: 0 !important;
}

.news-detail-wrapper .desc-section table thead th,
.news-detail-wrapper .desc-section table tr.table-header-row > * {
  color: var(--Primary-P70, #0d4184) !important;
  font-weight: 700 !important;
  background: #e8f8f8 !important;
}

.news-detail-wrapper .desc-section table tbody tr:nth-child(even) td {
  background: #fafcfc !important;
}

.news-detail-wrapper .desc-section table tbody tr:hover td {
  background: #f1f8f8 !important;
}

.news-detail-wrapper .desc-section table p {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
  text-align-last: inherit !important;
  text-indent: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  border: 0 !important;
  background: transparent !important;
}

.news-detail-wrapper .desc-section table span,
.news-detail-wrapper .desc-section table strong,
.news-detail-wrapper .desc-section table b,
.news-detail-wrapper .desc-section table a {
  max-width: 100% !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.news-detail-wrapper .desc-section table col,
.news-detail-wrapper .desc-section table colgroup {
  width: auto !important;
}

.news-detail-wrapper .desc-section table tr {
  width: 100% !important;
  height: auto !important;
}

/* =========================================
   MOBILE CARD TABLE
========================================= */

@media (max-width: 767px) {
  .news-detail-wrapper .desc-section address:has(table) {
    margin: 24px 0 !important;
  }

  .news-detail-wrapper .desc-section table {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  /* مخفی‌کردن ردیف عنوان جدول */
  .news-detail-wrapper .desc-section table thead,
  .news-detail-wrapper .desc-section table tr.table-header-row {
    display: none !important;
  }

  .news-detail-wrapper .desc-section table tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  /* هر ردیف یک کارت */
  .news-detail-wrapper .desc-section table tbody tr {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    padding: 8px 16px;
    border: 1px solid #dfe5e5 !important;
    border-radius: 12px;
    background: #fff !important;
    overflow: hidden;
  }

  /* هر سلول یک ردیف داخل کارت */
  .news-detail-wrapper .desc-section table tbody td {
    display: grid;
    grid-template-columns: minmax(95px, 38%) minmax(0, 62%);
    align-items: center;
    gap: 12px;

    width: 100% !important;
    min-width: 0 !important;
    padding: 12px 0 !important;

    color: var(--Gray-G30, #4f4f4f) !important;
    font-size: 13px !important;
    line-height: 1.8 !important;

    text-align: right !important;
    white-space: normal !important;
    overflow-wrap: anywhere;

    border: 0 !important;
    border-bottom: 1px solid #e8ecec !important;
    background: transparent !important;
  }

  .news-detail-wrapper .desc-section table tbody td:last-child {
    border-bottom: 0 !important;
  }

  /* عنوان هر مقدار */
  .news-detail-wrapper .desc-section table tbody td::before {
    content: attr(data-label);
    display: block;
    color: var(--Primary-P70, #0d4184);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
  }

  .news-detail-wrapper .desc-section table tbody tr:hover td,
  .news-detail-wrapper .desc-section table tbody tr:nth-child(even) td {
    background: transparent !important;
  }

  .news-detail-wrapper .desc-section table tbody td p {
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: right !important;
    text-align-last: right !important;
  }

  .news-detail-wrapper .desc-section table tbody td:empty {
    display: none;
  }
}

@media (max-width: 480px) {
  .news-detail-wrapper .desc-section table tbody tr {
    padding: 6px 12px;
    border-radius: 10px;
  }

  .news-detail-wrapper .desc-section table tbody td {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 0 !important;
    font-size: 12px !important;
  }

  .news-detail-wrapper .desc-section table tbody td::before {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  .news-detail-wrapper .desc-section {
    font-size: 15px;
  }

  .news-detail-wrapper .desc-section p {
    font-size: 15px !important;
    text-align: right !important;
  }
}
