* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  --yellow: #FCEE20;
  --blue: #20D0FC;
  --violet: #B386FF;
  --orange: #FF8912;
}
body {
    background: #000;
    font-family: "Poppins", sans-serif;
}
.wrap {
  width: 100%;
    margin: 20px auto 0;
    max-width: calc(1280px + 32px);
    padding: 0 16px;
}
.slider {
  width: 100%;
  max-width: 1280px;
  margin: 0px auto;
  overflow: hidden;
  position: relative;
    padding-top: 100px;
}

.slider-track {
  display: flex;
  transition: transform .4s ease;
}
.slide-tag {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
}
.slide-tag.yellow::after,
.slide-tag.blue::after,
.slide-tag.violet::after,
.slide-tag.orange::after {
    top: -6px;
    right: -30px;
  }
.slide {
  min-width: 100%;
  height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
}
.slide::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.slide-tag,
.slide-title {
  position: relative;
  z-index: 2;
}
.slide-title {
  color: white;
  font-size: 48px;
  font-weight: 500;
  max-width: 50%;
  text-align: center;
  line-height: 1.2;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 20px;
  height: 20px;
  position: absolute;
  bottom: 15px;
  z-index: 2;
  left: 50%;
  transform: translate(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #FFF;
  cursor: pointer;
}

.dot.active {
  background: #FFF;
  position: relative;
}
.dot.active::after {
  content: '';
  border: 1px solid var(--yellow);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  left: -4px;
  top: -4px;
}
.blog {
  padding-bottom: 100px;
}
.blog-title {
  color: #FFF;
  font-size: 44px;
  font-weight: 500;
  max-width: 400px;
  line-height: 1.2;
}
.category {
color: var(--yellow);
font-size: 14px;
font-weight: 400;
}

.news-image {
  border-radius: 20px;
  width: 100%;
}

.news-tag {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  margin-left: 20px;
}
/* new */
.orange {
  color: var(--orange);
  position: relative;
  width: max-content;
}
.orange::before {
  content: "";
  background: url("img/orange.svg") no-repeat;
  position: absolute;
  top: -7px;
  left: -25px;
  width: 50px;
  height: 30px;
  background-size: contain;
}

.orange::after {
  content: "";
  background: url("img/orange.svg") no-repeat;
  position: absolute;
  top: -10px;
  right: -25px;
  background-size: contain;
  width: 50px;
  height: 30px;
  transform: rotate(180deg);
}
/* new */
.yellow {
  color: var(--yellow);
  position: relative;
  width: max-content;
}
.yellow::before {
  content: "";
  background: url("img/yellow.svg") no-repeat;
  position: absolute;
  top: -7px;
  left: -25px;
  width: 50px;
  height: 30px;
}

.yellow::after {
  content: "";
  background: url("img/yellow.svg") no-repeat;
  position: absolute;
  top: -10px;
  right: -25px;
  width: 50px;
  height: 30px;
  transform: rotate(180deg);
}
.blue {
  color: var(--blue);
  position: relative;
  width: max-content;
}
.blue::before {
  content: "";
  background: url("img/blue.svg") no-repeat;
  position: absolute;
  top: -7px;
  left: -25px;
  width: 50px;
  height: 30px;
}

.blue::after {
  content: "";
  background: url("img/blue.svg") no-repeat;
  position: absolute;
  top: -10px;
  right: -25px;
  width: 50px;
  height: 30px;
  transform: rotate(180deg);
}
.violet {
  color: var(--violet);
  position: relative;
  width: max-content;
}
.violet::before {
  content: "";
  background: url("img/violet.svg") no-repeat;
  position: absolute;
  top: -7px;
  left: -25px;
  width: 50px;
  height: 30px;
}
.violet::after {
  content: "";
  background: url("img/violet.svg") no-repeat;
  position: absolute;
  top: -10px;
  right: -25px;
  width: 50px;
  height: 30px;
  transform: rotate(180deg);
}
.yellow-circle, .blue-circle, .violet-circle, .orange-circle {
  position: relative;
}
.yellow-circle::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}
.orange-circle::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.blue-circle::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.violet-circle::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--violet);
  border-radius: 50%;
}
.news-date {
  font-size: 9px;
  font-weight: 400;
  color: #FFF;
  padding: 2px 8px;
  border: 1px solid #757272;
  border-radius: 12px;
}

.inner-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 15px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 70px;
}

.page-btn,
.next-btn {
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #FFF;
  color: #FFF;
  cursor: pointer;
  transition: .3s;
  padding: 11px 30px;
  background: transparent;
}

.page-btn.active {
  background: var(--yellow);
  color: #000;
  border: none;
  padding: 14px 30px;
}
.news-content {
  margin: 0 15px;

}

.news-title {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 10px;
}
.news-text {
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  font-weight: 300;
}

@media (max-width: 900px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 768px) {
  .slide {
    height: 300px;
  }

  .slide-title {
    font-size: 24px;
    max-width: 80%;
  }
  .blog-title {
    font-size: 32px;
    max-width: 70%;
  }
  .news-list {
    margin-top: 20px;
    gap: 40px;

  }
}

@media (max-width: 600px) {
    .news-list {
      grid-template-columns: 1fr;
    }
    .slide {
      border-radius: 0;
    }
    .slider {
      width: 100%;
    }
    .slide-tag {
      font-size: 12px;
    }
    .slide-tag.yellow::after, .slide-tag.blue::after, .slide-tag.violet::after, .slide-tag.orange::after {
      top: -10px;
  }
}




/* Post */

.post {
  padding-top: 70px;
}
.post .news-tag {
  font-size: 14px;
}
.post .yellow::after,
.post .blue::after,
.post .violet::after,
.post .orange::after
{
    top: -7px;
    right: -33px;
}
.post-image, .post-image-main {
  /* background: url('img/main.jpg') no-repeat center; */
  background-size: cover;
  width: 100%;
  height: 400px;
  border-radius: 12px;
}
.post-title {
  color: #FFF;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.3;
}
.content-single h2 {
  color: #FFF;
  font-size: 48px;
  font-weight: 500;
  margin-top: 30px;
  line-height: 1.3;
}

.content-single h3 {
  color: #FFF;
  font-size: 42px;
  font-weight: 500;
  margin-top: 30px;
  line-height: 1.3;
}

.content-single h4 {
  color: #FFF;
  font-size: 36px;
  font-weight: 500;
  margin-top: 30px;
  line-height: 1.3;
}
.content-single {
  color: #FFF;
  font-size: 24px;
  font-weight: 300;
  margin: 36px 0;
}

.content-single p {
    margin-bottom: 15px;
}

.content-single p a {
    color: var(--yellow);
}

.content-single a {
    color: var(--yellow);
}

.content-single ul li a {
    color: var(--yellow);
}

.tag-block {
  display: flex;
  gap: 50px;
  margin: 36px 0 32px;
}
.also {
  margin-bottom: 70px;
}
.also-title {
  color: #FFF;
  font-size: 44px;
  font-weight: 500;
}

.news-item img {
    width: 100%;
    border-radius: 12px;
    height: 300px;
    object-fit: cover;
}

.news-item {
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
  .post-image, .post-image-main {
    /* background: url('img/main-mob.jpg') no-repeat center; */
    background-size: cover;
    height: 300px;
  }
  .post-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
  }
  .content-single h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
  }

  .content-single h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
  }

   .content-single h4 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
  }
  .content-single {
    font-size: 24px;
  }
  .tag-block {
    flex-wrap: wrap;
    row-gap: 30px;
  }
  .post .news-tag {
  font-size: 12px;
  }
  .post .news-tag {
    margin: 0 20px
  }
  .also-title {
    font-size: 32px;
  }
}