/* Moments Section */
.moments {
  padding: 100px 80px;
}

.moments-header {
  text-align: center;
  margin-bottom: 25px;
}

.moments h2 {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 60px;
  line-height: 59px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 15px;
}

.moments h2 .blue-text {
  color: #204f9d;
}

.moments h2 .red-text {
  color: #ee3025;
}

.moments-subtitle {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #212529;
  margin-bottom: 0;
}

/* Moments Card Layout */
.moments-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
  align-items: flex-start;
  align-content: flex-start;
}

/* Featured News Large (Left Side) */
.featured-news-large {
  position: relative;
  flex: 0 0 auto;
  padding-top:15px;
}

.featured-image {
  position: relative;
  width: 700px;
  height: calc(210px * 3);
  border-radius: 61px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width:100%;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 61px;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 61px 61px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 30px 30px;
}

.featured-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.featured-overlay .news-date {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  gap: 8px;
  text-align: left;
}

/* News Sidebar (Right Side) */
.news-sidebar {
  display: flex;
  flex-direction: column;
}

.news-item-sidebar {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
}

.news-item-sidebar:last-child {
  border-bottom: none;
}

.news-thumbnail {
  flex-shrink: 0;
  width: 252px;
  height: 191px;
  border-radius: 42px;
  overflow: hidden;
}

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

.news-content-compact {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}

.news-content-compact h4 {
  font-size: 22px;
  font-weight: 400;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin:0;
  padding:0;
}

.news-content-compact .news-date {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #212529;
  font-weight: 400;
  gap: 8px;
  text-align: left;
}

.news-date::before {
  content: "";
  width: 15px;
  height: 14px;
  background-color: #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* View All Button */
.view-all-sidebar {
  text-align: center;
  margin-top: 15px;
}

/* Responsive Design untuk tablet */
@media (max-width: 1460px) {
  .moments-wrapper {
    gap: 30px;
    max-width: 1200px;
    padding-bottom:0px;
  }

  .featured-image {
    width: 600px;
    height: 550px;
  }

  .news-sidebar {
    height: 550px;
  }
  
  /* Featured News Large (Left Side) */
    .featured-news-large {
      position: relative;
      flex: 0 0 auto;
      width:50%;
      padding-top:15px;
    }
    
    .featured-image {
      height: calc(160px * 3);
    }
    .news-thumbnail{width: 35%;height:140px;}
    .news-thumbnail img{max-width:100%;}
}

@media (max-width: 968px) {
  .moments-wrapper {
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
  }

  .featured-image {
    width: 100%;
    height: 400px;
    border-radius: 40px;
  }

  .news-sidebar {
    height: auto;
    overflow-y: visible;
    padding: 0;
    width: 100%;
  }

  .news-thumbnail {
    width: 120px;
    height: 80px;
  }

  .moments {
    padding: 60px 20px;
  }
  
   .featured-news-large {
      width:100%;
      padding-top:0px;
    }
}
