.et-news-section {
  position: relative;
  padding: clamp(34px, 6vw, 80px) 0;
  margin-top: clamp(40px, 7vw, 100px);
  font-family: var(--et-font-onest);
  overflow: visible;
  z-index: 3;
}

.et-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(26px, 3.6vw, 46px);
}
.et-news-head-left { min-width: 0; }
.et-news-title {
  margin: 0;
  font-weight: var(--et-font-weight-semibold);
  font-size: 38px;
  line-height: 1.08;
  color: var(--et-text-dark);
  letter-spacing: -0.3px;
}

.et-news-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #154ADC;
  color: #fff;
  border-radius: 999px;
  height: 44px;
  padding: 0 16px 0 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background-color .2s ease, transform .16s ease;
  white-space: nowrap;
  box-shadow: none;
}
.et-news-more-btn:hover,
.et-news-more-btn:focus-visible {
  background: #123EC7;
  transform: translateY(-1px);
}

.et-news-carousel { position: relative; overflow: visible; }
.et-news-track {
  --gap: 22px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.et-news-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.et-news-track.dragging { cursor: grabbing; }

.et-news-card {
  position: relative;
  flex: 0 0 calc((100% - 3 * var(--gap)) / 3.5);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, border-color .2s ease;
  background-clip: padding-box;
  will-change: transform;
  box-shadow: none;
}
.et-news-card:hover {
  transform: translateY(-2px);
  border-color: #CFCFCF;
}

.et-news-thumb {
  position: relative;
  display: block;
  background: #F5F7FB;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  clip-path: inset(0 round 16px 16px 0 0);
}
.et-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.25,.6,.3,1);
}
.et-news-card:hover .et-news-thumb img { transform: scale(1.05); }

.et-news-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 14px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  background: #fff;
  min-height: 220px; 
}

.et-news-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  
}

.et-news-card-title {
  margin: 0;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.28;
  color: #3C3C3C;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.et-news-card-title a {
  color: inherit;
  text-decoration: underline transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color .15s ease;
}
.et-news-card-title a:hover { text-decoration-color: #154ADC; }

.et-news-excerpt {
  margin: 0;
  color: #75787B;
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
}

.et-news-card.has-excerpt .et-news-meta {
  border-top: 1px solid #F5F5F5;
  margin-top: 18px;
  padding-top: 14px;
}

.et-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: #75787B;
  margin-top: auto; 
}
.et-news-meta time { color: #75787B; }

.et-news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #154ADC;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1px;
}
.et-news-more-link:hover { text-decoration: underline; }

.et-news-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}
.et-news-prev,
.et-news-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #DCE3F3;
  background: #fff;
  color: #75787B;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s ease, color .15s ease, border-color .25s ease;
  box-shadow: none;
}
.et-news-prev:hover,
.et-news-next:hover,
.et-news-prev:active,
.et-news-next:active,
.et-news-prev:focus-visible,
.et-news-next:focus-visible {
  color: #154ADC;
  transform: translateY(-2px);
  border-color: rgba(21,74,220,0.45);
}

@media (max-width: 1199.98px) {
  .et-news-card { flex-basis: calc((100% - 2 * var(--gap)) / 2.5); }
}

@media (max-width: 767.98px) {
  .et-news-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }
  .et-news-more-btn { justify-self: end; }

  .et-news-track {
    --gap: 16px;
    padding-inline: 14px;
  }
  .et-news-card { flex-basis: 88%; }
  .et-news-body { min-height: 210px; }
  .et-news-excerpt {
    -webkit-line-clamp: 2; 
  }
  .et-news-card.has-excerpt .et-news-meta {
    border-top: 1px solid #F5F5F5;
    margin-top: 14px;
    padding-top: 12px;
  }
  .et-news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .et-news-nav { justify-content: center; }
}

.et-news-section.et-animate .et-news-head,
.et-news-section.et-animate .et-news-nav,
.et-news-section.et-animate .et-news-card {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
}

.et-news-section.is-inview .et-news-head,
.et-news-section.is-inview .et-news-nav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}
.et-news-section.is-inview .et-news-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
}
.et-news-section.is-inview .et-news-card:nth-of-type(1){ transition-delay: .05s; }
.et-news-section.is-inview .et-news-card:nth-of-type(2){ transition-delay: .10s; }
.et-news-section.is-inview .et-news-card:nth-of-type(3){ transition-delay: .15s; }
.et-news-section.is-inview .et-news-card:nth-of-type(4){ transition-delay: .20s; }
.et-news-section.is-inview .et-news-card:nth-of-type(5){ transition-delay: .25s; }
.et-news-section.is-inview .et-news-card:nth-of-type(6){ transition-delay: .30s; }
.et-news-section.is-inview .et-news-card:nth-of-type(7){ transition-delay: .35s; }
.et-news-section.is-inview .et-news-card:nth-of-type(8){ transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .et-news-section.et-animate .et-news-head,
  .et-news-section.et-animate .et-news-nav,
  .et-news-section.et-animate .et-news-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .et-news-more-btn,
  .et-news-card,
  .et-news-thumb img {
    transition: none !important;
  }
}