html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Vazir";
  overflow-x: hidden;
  position: relative;
}

p,
h1,
h2,
h3,
h4,
h5, ul {
  margin: 0;
  padding: 0;
}

.sidebar {
  -webkit-box-shadow: 0 5px 9.5px 0.5px rgba(232, 232, 232, 0.75);
  box-shadow: 0 5px 9.5px 0.5px rgba(232, 232, 232, 0.75);
  border: 1px solid rgba(0, 33, 66, 0.2);
  border-radius: 5px;
  padding: 10px;
  background-color: #467198;
}
.sidebar a {
  text-decoration: none;
}
.sidebar .sidebar_news {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
.sidebar .sidebar_news .title {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
}
.sidebar .sidebar_news .title h2 {
  font-size: 1.8rem;
  font-weight: 500;
  font-family: var(--font-vazir);
  border-bottom: 1px solid var(--color4);
  padding-bottom: 3px;
}
.sidebar .sidebar_news .title .niafam {
  font-size: 10px;
  margin-inline-end: 5px;
  vertical-align: middle;
  color: var(--color1);
}
.sidebar .sidebar_news .news_box {
  text-align: center;
  width: 100%;
  list-style: none;
  margin-top: 20px;
}
.sidebar .sidebar_news .news_box .news_item {
  margin-bottom: 10px;
  transition: 0.6s;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -o-transition: 0.6s;
}
.sidebar .sidebar_news .news_box .news_item .date {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
  height: 24px;
  background-color: var(--color3);
  box-shadow: 0px 4px 10px rgba(216, 232, 232, 0.2);
  border-radius: 5px;
  color: var(--color4);
  padding: 0 4px;
}
.sidebar .sidebar_news .news_box .news_item .date .niafam {
  margin-inline-end: 5px;
  font-size: 12px;
}
.sidebar .sidebar_news .news_box .news_item a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: justify;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  transition: color 0.6s;
  -webkit-transition: color 0.6s;
  -moz-transition: color 0.6s;
  -o-transition: color 0.6s;
  margin-bottom: 8px;
  line-height: normal;
}
.sidebar .sidebar_news .news_box .news_item:first-child {
  padding-block-start: 0;
  border: none;
}
.sidebar .sidebar_news .news_box .news_item:last-child {
  padding-bottom: 0;
}
.sidebar .sidebar_news .news_box .news_item:hover {
  transition: 0.9s;
  -webkit-transition: 0.9s;
  -moz-transition: 0.9s;
  -o-transition: 0.9s;
  border-color: var(--color1);
}
.sidebar .sidebar_news .news_box .news_item:hover a {
  transition: color 0.6s;
  -webkit-transition: color 0.6s;
  -moz-transition: color 0.6s;
  -o-transition: color 0.6s;
  color: var(--color1);
}

  .sidebar .sidebar_news .news_box .news_item a {
    max-width: 100%;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
  }

@media (max-width: 768px) {
  .sidebar .sidebar_news {
    margin-block-start: 0;
  }
}
@media (max-width:992px){
	.sidebar{
			margin-bottom:30px;
}
}