.evg-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 40px 60px;
}

/* HERO */
.evg-hero {
  position: relative;
  min-height: 480px;
  height: 100%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0px;
  color: #fff;
  margin-bottom: 30px;
}
.evg-hero-img{
    width: 100%;
    height: 100%;
}
.evg-hero__content {
  max-width: 675px;
  position: absolute;
  top: 50px;
  left: 50px;
}

.evg-hero__badge {
  background: #F5F6F5;
  padding: 6px 14px;
  border-radius: 20px;
font-weight: 500;
font-size: 18px;
line-height: 100%;
letter-spacing: 0px;
color: #432A19;
}

.evg-hero__title {
  margin: 30px 0;
font-weight: 700;
font-size: 32px;
line-height: 150%;
letter-spacing: 0px;
text-transform: uppercase;
color: #FFFFB2;
padding-bottom: 25px;
    border-bottom: 1px solid #FFFFB2;
}

.evg-hero__text {
font-weight: 400;
font-size: 24px;
line-height: 140%;
letter-spacing: 0px;
  margin-bottom: 20px;
}

.evg-btn {
  padding: 12px 22px;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

.evg-btn--green {
  background: #0F8E38;
  color: #fff;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
vertical-align: middle;
text-transform: uppercase;
max-width: 240px;
width: 100%;
text-align: center;
height: 52px;
margin-top: 30px;
}

.evg-btn--green:hover{
     background: #89BD23;
}

.evg-btn--outline {
  border: 2px solid #2e7d32;
  background: transparent;
  color: #2e7d32;
  margin: 30px auto 0;
  display: block;
}

.evg-hero__dots {
  display: flex;
  gap: 6px;
  margin-top: 25px;
}

.evg-hero__dots span {
  width: 24px;
  height: 3px;
  background: #fff;
  opacity: 0.5;
}

.evg-hero__arrows {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
}

.evg-hero__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
}

.evg-hero-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.evg-hero-slider .swiper-slide {
  height: auto;
}



.evg-hero-nav {
  position: absolute;
  right: 50px;
    bottom: 40px;
  display: flex;
  gap: 25px;
  z-index: 5;
}

.evg-hero-prev,
.evg-hero-next {
  width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 27px;
}

.evg-hero-pagination {
  position: absolute;
  left: 50px !important;
  bottom: 60px !important;
  width: auto !important;
  z-index: 99;
  display: flex;
  gap:25px;
}

.evg-hero-pagination .swiper-pagination-bullet {
  width: 57px;
  height: 3px;
  border-radius: 0;
  background: #D9D9D9;
  
}

.evg-hero-pagination .swiper-pagination-bullet-active {
 background: #FFFFB2;
}


/* TABS */
.evg-tabs, .evg-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
  margin-top: 50px;
}

.evg-tabs__item,
.evg-subtabs__item {
  padding: 8px 35px;
  border-radius: 18px;
  border: 1px solid #F5F6F5;
  background: #F5F6F5;
  cursor: pointer;
font-weight: 500;
font-size: 18px;
line-height: 100%;
letter-spacing: 0px;
vertical-align: middle;

  color: #432A19;
}

.evg-tabs__item--active,
.evg-subtabs__item--active {
  background: #FFFFB2;
  color: #432A19;
  border-color: #FFFFB2;
}

.evg-section-title {
font-weight: 700;
font-size: 32px;
line-height: 100%;
letter-spacing: 0px;
text-transform: uppercase;

  margin: 25px 0;
}

/* LAYOUT */
.evg-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.evg-news {
  flex: 1;
}

.evg-sidebar {
  width: 320px;
    padding: 20px 50px;
    border-radius: 30px;
    background: #F5F6F5;
}

/* NEWS */
.evg-news__item {
  display: flex;
  gap: 35px;
  margin-bottom: 22px;
  padding-bottom: 25px;
  border-bottom: 1px solid #D9D9D9;
  border-image: repeating-linear-gradient(
      to right,
      #D9D9D9 0 12px,     /* длина штриха */
      transparent 12px 22px /* расстояние */
    ) 1;
}
.evg-news__item:last-of-type {
    border-bottom: none;
}
.evg-news__image {
    max-width: 275px;
  object-fit: cover;
  border-radius: 10px;
}

.evg-news__date {
font-weight: 600;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;

  color: #432A19;
  margin-bottom: 6px;
}

.evg-news__title {
font-weight: 600;
font-size: 16px;
line-height: 150%;
letter-spacing: 0px;
text-transform: uppercase;
  margin-bottom: 6px;
}

.evg-news__title--green {
  color: #2e7d32;
}

.evg-news__text {
font-weight: 400;
font-size: 16px;
line-height: 140%;
letter-spacing: 0px;

  color: #636160;
}

/* SIDEBAR */
.evg-sidebar__title {
  margin-bottom: 35px;
font-weight: 700;
font-size: 20px;
line-height: 100%;
letter-spacing: 0px;
text-transform: uppercase;
color: #432A19;
}

.evg-event {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-direction: column;
  position: relative;
  padding-bottom: 15px;
  border-bottom: 1px solid #D9D9D9;
  border-image: repeating-linear-gradient(
      to right,
      #D9D9D9 0 12px,     /* длина штриха */
      transparent 12px 22px /* расстояние */
    ) 1;
}
.evg-event:last-of-type {
    border-bottom: none;
}

.evg-event__img {
  
  border-radius: 30px;
  object-fit: cover;
}

.evg-event__date {
  color: #432A19;
  position: absolute;
    top: 20px;
    background-color: #F5F6F5;
    padding: 8px 10px;
font-weight: 600;
font-size: 14px;
line-height: 100%;
letter-spacing: 0px;
display: flex;
    align-items: center;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;


}
.evg-event__date::before{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/calendar-project-icon.svg);
    background-size: cover;
    margin-right: 5px;
    margin-top: -2px;
}

.evg-event__place {
font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #432A19;
    background-color: #FFFFB2;
    border-radius: 5px;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 15px;
}

.evg-event__text {
font-weight: 500;
font-size: 14px;
line-height: 150%;
letter-spacing: 0px;
text-transform: uppercase;

  color: #432A19;
  margin-bottom: 10px;
}

.evg-event__body .projects__more {
    color: #0F8E38;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;

}
.evg-load-more{
font-weight: 600;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
vertical-align: middle;
text-transform: uppercase;
margin-top: 80px;
}
.evg-load-more:hover{
    background: #0F8E38;
    color: #F5F6F5
}

/* ===== BREADCRUMBS ===== */
.news-breadcrumbs {
 margin: 0px auto;
    
    margin-bottom: 25px;
    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%;
    max-width: 1400px;
    letter-spacing: 0px;
}

.news-breadcrumbs__current {
  color: #432A19;
  font-weight: 500;
}

.popular-materials {
  max-width: 1440px;
    width: 100%;
    margin: 0px auto;
    padding: 40px;
  display: flex;
  justify-content: center;
 
}

.popular-materials__container {
  width: 1440px;
  padding: 64px 120px 72px;
  display: flex;
  flex-direction: column;
   background: #f4f4f1;
  border-radius: 32px;
}

.popular-materials__title {
font-weight: 700;
font-size: 24px;
line-height: 100%;
letter-spacing: 0px;
text-transform: uppercase;
  margin-bottom: 40px;
  color: #432A19;
}

.popular-materials__list {
  display: flex;
  gap: 20px;
}

.popular-materials__card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popular-materials__image img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.popular-materials__date {
  margin-top: 12px;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;
  color: #432A19;
  background: #FFFFFF;
    border-radius: 20px;
    display: inline;
    max-width: 65px;
}

.popular-materials__card-title {
 margin: 20px 0px 5px;
font-weight: 500;
font-size: 15px;
line-height: 150%;
letter-spacing: 0%;
text-transform: uppercase;

  color: #432A19;
}

.popular-materials__more {
  margin-top: 10px;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0px;

  color: #0F8E38;
  text-decoration: none;
}

/* ========= ADAPTIVE ========= */



.news-intro {
  width: 100%;
  display: flex;
  justify-content: center;
}

.news-intro__container {
  width: 1440px;
  padding: 40px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
}

.news-intro__title {
font-weight: 700;
font-size: 24px;
line-height: 100%;
letter-spacing: 0px;
text-transform: uppercase;

  color: #432A19;
  margin-bottom: 24px;
}

.news-intro__text {
font-weight: 400;
font-size: 18px;
line-height: 140%;
letter-spacing: 0px;
max-width: 90%;
  color: #636160;
  margin-bottom: 16px;
}


/* ADAPTIVE */
@media (max-width: 1200px) {
  .popular-materials__container {
    width: 100%;
    padding: 56px 40px 64px;
  }

  .popular-materials__list {
    flex-wrap: wrap;
  }

  .popular-materials__card {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 1024px) {
  .evg-layout {
    flex-direction: column;
  }

  .evg-sidebar {
    width: 100%;
  }
  .news-intro__container {
    width: 100%;
    padding: 56px 40px 64px;
  }
}

@media (max-width: 766px) {
  .evg-hero {
    height: auto;
    padding: 25px;
  }

  .evg-hero__title {
    font-size: 20px;
  }

  .evg-news__item {
    flex-direction: column;
  }

  .evg-news__image {
    width: 100%;
    height: 180px;
  }
  .popular-materials {
    border-radius: 24px;
  }

  .popular-materials__container {
    padding: 40px 20px;
  }

  .popular-materials__title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .popular-materials__list {
    flex-direction: column;
    gap: 24px;
  }

  .popular-materials__card {
    flex: 1;
  }
   .news-intro__container {
    padding: 40px 20px 48px;
  }

  .news-intro__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .news-intro__text {
    font-size: 14px;
  }
}