.berita-detail-section{
  position: relative;
  background: #f8f3e6;
}

.berita-detail-section .news-header{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.berita-detail-section .news-header .img-news-wrapper{
  min-height: 280px;
}
.berita-detail-section .news-header .img-news-wrapper .img-news{
  object-fit: cover;
  object-position: center;
  height: 280px;
  min-height: 280px;
  width: 100%;
}
.berita-detail-section .news-header .img-news-ribbon{
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 40%;
  z-index: 1;
}
.berita-detail-section .news-overlay{
  background: linear-gradient(-180deg, rgba(196, 170, 114, 0) 0%, rgb(220, 191, 124) 99%);
  height: 50%;
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
}

.berita-detail-section .news-header .news-header-text-wrapper{
  color: white;
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 100%;
  padding: 5px 30px 20px 30px;
}

.berita-detail-section .news-header .news-header-text-wrapper .news-header-date{
  font-size: 14px;
  padding-bottom: 10px;
  display: block;
}

.berita-detail-section .news-header .news-header-text-wrapper .news-header-title{
  font-size: 18px;
}

.berita-detail-section .news-content{
  width: 90%;
  margin: 0 auto;
  font-size: 14px;
}

.berita-detail-section .news-content p{
  font-size: 14px;
  text-align: justify;
}

.berita-detail-section .related-news-item{
  margin-bottom: 20px;
}
.berita-detail-section .related-news-item .img-related-news-wrapper{
  display: block;
  margin-bottom: 10px;
}
.berita-detail-section .related-news-item .img-related-news-wrapper .img-related-news{
  height: 200px;  
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.berita-detail-section .related-news-item .related-news-date{
  font-size: 12px;
  color: #8d6e2c;
  margin-bottom: 10px;
}

.berita-detail-section .related-news-item .related-news-link{
  font-family: "Cinzel";
  font-size: 18px;  
  display: block;
  font-weight: bold;
  color: #121b50;
}
.berita-detail-section .highlight-announcement img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 576px) {
  .berita-detail-section .news-header .img-news-wrapper {
    min-height: auto;
  }

  
  .action-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }
  

  .action-buttons a.btn {
    width: 100%;
    max-width: 320px;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    align-items: center !important;
    text-align: center;
  }

  .berita-detail-section .news-header .img-news-wrapper .img-news {
    height: auto;
    min-height: unset;
    max-height: 300px;
  }

  .berita-detail-section .news-header .news-header-text-wrapper {
    padding: 10px 15px;
    font-size: 16px;
  }

  .berita-detail-section .news-header .news-header-text-wrapper .news-header-date {
    font-size: 12px;
  }

  .berita-detail-section .news-header .news-header-text-wrapper .news-header-title {
    font-size: 16px;
  }

  .berita-detail-section .news-content {
    width: 95%;
    font-size: 13px;
  }

  .berita-detail-section .news-content p {
    font-size: 13px;
    text-align: justify;
  }

  .berita-detail-section .related-news-item .img-related-news-wrapper .img-related-news {
    height: auto;
    max-height: 250px;
  }

  .berita-detail-section .related-news-item .related-news-link {
    font-size: 16px;
  }

  .berita-detail-section .related-news-item .related-news-date {
    font-size: 11px;
  }
}
