:root {
  --primary-color: #d4bd80;
}

#article-page-wraper {
  display: flex;
  max-width: 100% !important;
  justify-content: center;
  margin-bottom: 200px;
}

.articles-block {
  display: grid;
  grid-template-columns: repeat(var(--column-count), 1fr);
  width: 100%;
  justify-items: center;
  /* justify-content: center; */
  gap: 55px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 95% !important;
}

.article-container {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  align-items: center;
  height: fit-content;
  width: 250px;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: fill !important;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.image-container {
  width: 100%;
  height: 230px;
}

.article-title {
  display: flex;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  /* top: 2; */
  /* width: var(--width-value); */
  width: 85%;
  text-align: center;
  justify-content: center;
  height: 60px;
  align-items: center;
  font-size: 18px;
  margin-bottom: 35px;
}

.article-title:after {
  background-color: black;
  border-radius: 10px;
  content: "";
  position: absolute;
  width: calc(100% + 20px);
  height: 100%;
  z-index: -1;
  left: -10px;
  border: 1px solid var(--primary-color);
}

.read-more-tag {
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid black;
}

.read-more-tag:hover {
  color: black;
}

.read-more-tag:hover::after {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
}

/* .read-more-tag:hover {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
} */

.read-more-tag:after {
  background-color: black;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  content: "";
  position: absolute;
  width: calc(100% + 20px);
  height: 100%;
  z-index: -1;
  left: -10px;
}

/* .read-more-tag:hover::after {
  background-color: black;
  border-radius: 15px;
  content: "";
  position: absolute;
  width: calc(100% + 20px);
  height: 100%;
  z-index: -1;
  left: -10px;
} */

.article-slider {
  width: 1220px;
  max-width: 1220px;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  /* margin-left: 30px; */
}

.article-slider::-webkit-scrollbar {
  display: none;
}

.article-slider-container {
  display: flex;
  align-self: center;
  justify-content: space-between;
}

.slider-button {
  height: 10%;
  align-self: center;
  background-color: var(--primary-color) !important;
  border-radius: 50px;
  border: 4px solid black;
  transform: scale(0.5);
}

.slider-button.disabled {
  background-color: gray !important;
}
.slider-button.disabled:hover {
  background-color: gray !important;
  border: 4px solid transparent !important;
}

.slider-button:hover {
  background-color: black !important;
  border: 4px solid var(--primary-color) !important;
}
.arrow-left,
.arrow-right {
  width: 24px;
  height: 24px;
}

.arrow-left {
  display: inline-block;
  /* width: 24px;
  height: 24px; */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0'/%3E%3C/svg%3E");
}

.arrow-right {
  display: inline-block;
  /* width: 24px;
  height: 24px; */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8l-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0'/%3E%3C/svg%3E");
}

.slider-button.disabled:hover span.arrow-right {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8l-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0'/%3E%3C/svg%3E") !important;
}

.slider-button.disabled:hover span.arrow-left {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0'/%3E%3C/svg%3E") !important;
}

.slider-button:hover span.arrow-right {
  display: inline-block;
  /* width: 24px;
  height: 24px; */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23d4bd80' d='M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8l-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0'/%3E%3C/svg%3E");
}

.slider-button:hover span.arrow-left {
  display: inline-block;
  /* width: 24px;
  height: 24px; */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23d4bd80' d='M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0'/%3E%3C/svg%3E");
}

.article-content {
  margin: 0 5px;
  max-height: 275px;
  height: 275px;
  overflow: hidden;
}

@media (max-width: 768px) {
  /* body {
    overflow-x: hidden;
  } */
  #article-page-wraper {
    display: inline-block;
    max-width: 100% !important;
    margin-bottom: 200px;
  }
  .article-slider {
    width: 300px;
    max-width: 300px;
    overflow-x: auto;
    display: flex;
    justify-content: center;
  }
  .article-container {
    width: 220px;
  }

  .arrow-right,
  .arrow-left {
    width: 10px;
    height: 10px;
  }

  #site-navigation {
    right: 0 !important;
  }
  .madadim-root {
    position: sticky !important;
  }
  /* #button-slider-right {
    margin-right: 1%;
  }
  #button-slider-left {
    margin-left: 1%;
  } */
}
