.projects-intro {
  width: 100%;
  background: #ffffff;
}

.projects-intro__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px 40px;
  display: flex;
  flex-direction: column;
}

/* TITLE */
.projects-intro__title {
  color: #432A19;
  margin-top: 45px;
  margin-bottom: 24px;
font-weight: 700;
font-size: 32px;
line-height: 100%;
letter-spacing: 0px;
text-transform: uppercase;

}

/* SUBTITLE */
.projects-intro__subtitle {
  max-width: 760px;
  color: #432A19;
  margin-bottom: 32px;
font-weight: 700;
font-size: 18px;
line-height: 140%;
letter-spacing: 0px;
}

/* TEXT */
.projects-intro__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.projects-intro__text p {
  color: #636160;
  margin: 0;
font-weight: 400;
font-size: 18px;
line-height: 140%;
letter-spacing: 0px;
}

/* DIVIDER */
.projects-intro__divider {
  margin-top: 40px;
  width: 100%;
  height: 1px;
  background: #e6e4e1;
}
/* ===== BREADCRUMBS ===== */
.projects-breadcrumbs {
  margin-top: 16px;
  padding: 15px 16px;
  background: #F5F6F5;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #636160;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;

}

.projects-breadcrumbs__current {
  color: #432A19;
  font-weight: 500;
}

/*section projects list*/
.projects-list {
  background: #ffffff;
}

.projects-list__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  padding-top: 0px;
  display: flex;
  flex-direction: column;
}

.projects-list__heading {
  color: #432A19;
  margin-bottom: 48px;
font-weight: 700;
font-size: 24px;
line-height: 150%;
letter-spacing: 0px;
text-transform: uppercase;
}

/* LIST */
.projects-list__items {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* CARD */
.projects-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.projects-card--reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.projects-card__image {
  position: relative;
  width: 520px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.projects-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-card__logos {
  position: absolute;
  bottom: 5px;
  left: 5px;
  padding: 0px 0px;
  border-radius: 10px;
  display: flex;
    gap: 0px;
}

/* CONTENT */
.projects-card__content {
  display: flex;
  flex-direction: column;
}

.projects-card__status {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
font-weight: 400;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
color: #ffffff;
}

.projects-card__status--active {
  background: #7cc043;
  color: #fff;
}

.projects-card__date {
  color: #432A19;
  margin-bottom: 12px;
font-weight: 400;
font-size: 18px;
line-height: 140%;
letter-spacing: 0px;
display: flex;
  align-items: center; /* ВАЖНО */
  gap: 8px;
}
.projects-card__date::before{
  content: '';
   display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/calendar-project-icon.svg);
  background-size: cover;
}

.projects-card__title {
  color: #432A19;
  margin-bottom: 12px;
font-weight: 700;
font-size: 20px;
line-height: 150%;
letter-spacing: 0px;
text-transform: uppercase;
}


.projects-card__meta {
  color: #636160;
  margin-bottom: 12px;
font-weight: 400;
font-size: 18px;
line-height: 140%;
letter-spacing: 0px;
display: flex;
  align-items: center; /* ВАЖНО */
  gap: 8px;
  margin-top: 0px;
}
.projects-card__meta::before{
  content: '';
   display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/case-project-icon.svg);
  background-size: cover;
}
.projects-card__description {
  color: #636160;
  margin-bottom: 16px;
font-weight: 400;
font-size: 18px;
line-height: 130%;
letter-spacing: 0px;
}

.projects-card__link {
  color: #0F8E38;
  text-decoration: none;
font-weight: 600;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
}

/* PAGINATION */
.projects-pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.projects-pagination__page,
.projects-pagination__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.projects-pagination__page--active {
  background: #7cc043;
  color: #fff;
  border-color: #7cc043;
}

/*section news*/
.news {
  background: #ffffff;
}

.news__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 20px 80px;
  display: flex;
  flex-direction: column;
}

.news__title {
  color: #432A19;
  margin-bottom: 48px;
font-weight: 700;
font-size: 32px;
line-height: 100%;
letter-spacing: 0px;
text-transform: uppercase;
}

/* LIST */
.news__list {
  display: flex;
  gap: 32px;
  margin-bottom: 56px;
}

/* CARD */
.news-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__image {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.news-card__date {
  color: #432A19;
  margin-bottom: 8px;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
}

.news-card__heading {
  color: #432A19;
  margin-bottom: 0px;
font-weight: 600;
font-size: 16px;
line-height: 150%;
letter-spacing: 0px;
text-transform: uppercase;

}

.news-card__text {
  color: #636160;
  margin-bottom: 12px;
font-weight: 400;
font-size: 18px;
line-height: 140%;
letter-spacing: 0px;
}

.news-card__link {
  font-size: 14px;
  color: #0F8E38;
  text-decoration: none;
font-weight: 600;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
margin: 10px;
}

/* BUTTON */
.news__button-wrap {
  display: flex;
  justify-content: center;
}

.news__button {
  padding: 14px 36px;
  background: #169b3b;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
font-weight: 600;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
vertical-align: middle;
text-transform: uppercase;
}



/* =====================
   ADAPTIVE ≤ 766px
===================== */
@media (max-width: 766px) {
  .projects-intro__container {
    padding: 40px 20px 32px;
  }

  .projects-intro__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .projects-intro__subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .projects-intro__text {
    gap: 14px;
  }

  .projects-intro__text p {
    font-size: 14px;
  }

  .projects-intro__divider {
    margin-top: 32px;
  }
   .projects-list__container {
    padding: 0px 20px 60px;
  }

  .projects-card,
  .projects-card--reverse {
    flex-direction: column;
    gap: 20px;
  }

  .projects-card__image {
    width: 100%;
    height: 220px;
  }

  .news__container {
    padding: 0px 20px;
  }

  .news__list {
    flex-direction: column;
    gap: 40px;
  }

  .news-card__image {
    height: 220px;
  }
  .projects-list__heading {
    line-height: 120%;
}
.projects-card__title {
    margin-bottom: 0px;
    margin-top: 0px;
    font-size: 18px;
}
.projects-card__description {
    margin-top: 0px;
    font-size: 16px;
}
.projects-list__items {
    gap: 70px;
}
    .news__title {
        font-size: 24px;
    }
}
