/*==================================================
NEWS DETAILS PAGE
==================================================*/

.news-details-area {
  background: #f8f9fc;
}

.single-news {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.single-news-image {
  overflow: hidden;
  background: #f8f8f8;
  text-align: center;
}

.single-news-image img {
  width: 100%;
  height: auto;
  max-height: 700px;
  display: block;
  object-fit: contain;
  transition: 0.5s;
  margin: 0 auto;
}

.single-news-image:hover img {
  transform: scale(1.02);
}

.single-news article,
.single-news {
  padding-bottom: 35px;
}

.single-news .badge {
  background: #e30613 !important;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 30px;
  margin-left: 35px;
}

.single-news h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  padding: 0 35px;
}

.news-meta {
  gap: 25px;
  padding: 0 35px;
  color: #666;
  font-size: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.news-meta i {
  color: #e30613;
  margin-right: 8px;
}

.alert-light {
  margin: 35px;
  border: none;
  border-left: 5px solid #e30613;
  background: #f5f7fb;
  font-size: 18px;
  color: #444;
}

.news-description {
  padding: 0 35px;
  color: #444;
  font-size: 17px;
  line-height: 2;
}

.news-description img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

.news-description p {
  margin-bottom: 22px;
}

.news-description h2,
.news-description h3,
.news-description h4 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: #111;
}

.share-news {
  padding: 0 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-news h5 {
  margin-right: 15px;
  font-weight: 600;
}

.share-news a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  color: #111;
  transition: 0.35s;
}

.share-news a:hover {
  background: #e30613;
  color: #fff;
}

/*==========================================
NEWS DETAILS - LATEST NEWS SIDEBAR
==========================================*/

.nd-sidebar-widget {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.nd-sidebar-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1b1b1b;
  margin-bottom: 35px;
  position: relative;
}

.nd-sidebar-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 75px;
  height: 4px;
  background: #e30613;
  border-radius: 20px;
}

.nd-latest-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #ececec;
  transition: 0.35s;
}

.nd-latest-item:last-child {
  border: none;
  padding-bottom: 0;
}

.nd-latest-item:hover {
  transform: translateX(6px);
}

.nd-latest-thumb {
  flex: 0 0 95px;
}

.nd-latest-thumb img {
  width: 95px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
  transition: 0.4s;
}

.nd-latest-item:hover img {
  transform: scale(1.05);
}

.nd-latest-content {
  flex: 1;
}

.nd-latest-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #e30613;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.nd-latest-title {
  margin: 0 0 10px;
  line-height: 1.45;
  font-size: 17px;
  font-weight: 700;
}

.nd-latest-title a {
  color: #1b1b1b;
  text-decoration: none;
  transition: 0.3s;
}

.nd-latest-title a:hover {
  color: #e30613;
}

.nd-latest-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #777;
  font-size: 13px;
}

.nd-latest-date i {
  color: #e30613;
}

@media (max-width: 991px) {
  .nd-sidebar-box {
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .nd-sidebar-box {
    padding: 22px;
  }

  .nd-sidebar-heading {
    font-size: 24px;
  }

  .nd-latest-thumb {
    flex: 0 0 80px;
  }

  .nd-latest-thumb img {
    width: 80px;
    height: 70px;
  }

  .nd-latest-title {
    font-size: 15px;
  }
}

.list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.list-group-item:last-child {
  border: none;
}

.list-group-item i {
  color: #e30613;
  margin-right: 10px;
}

.related-news-area {
  background: #f8f9fc;
}

.related-news-area .news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  height: 100%;
}

.related-news-area .news-card:hover {
  transform: translateY(-8px);
}

.related-news-area img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.related-news-area .news-card-content {
  padding: 25px;
}

.related-news-area h4 {
  font-size: 21px;
  line-height: 1.45;
  margin: 15px 0;
}

.related-news-area h4 a {
  color: #111;
  text-decoration: none;
}

.related-news-area h4 a:hover {
  color: #e30613;
}

.related-news-area p {
  color: #666;
}

.related-news-area .grid-category {
  background: #e30613;
  color: #fff;
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 13px;
}

@media (max-width: 991px) {
  .single-news-image img {
    height: 500px;
  }

  .single-news h2 {
    font-size: 30px;
  }

  .sidebar-widget {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .single-news h2 {
    font-size: 24px;
    padding: 0 20px;
  }

  .news-meta,
  .news-description,
  .share-news {
    padding-left: 20px;
    padding-right: 20px;
  }

  .alert-light {
    margin: 20px;
  }

  .single-news .badge {
    margin-left: 20px;
  }

  .single-news-image img {
    height: 350px;
  }

  .widget-title {
    font-size: 22px;
  }
}

/* ===========================
   NEWS DETAILS MOBILE FIX
=========================== */

@media (max-width: 767px) {
  .about-banner {
    min-height: auto;
    padding: 50px 0 35px;
  }

  .about-banner-content h1 {
    font-size: 30px;
    line-height: 1.4;
  }

  .about-banner-content p {
    font-size: 15px;
    margin-top: 15px;
  }
}

/* =========================================
   NEWS DETAILS HERO - FINAL SPACING FIX
   ========================================= */

.about-banner-content {
    padding-top: 45px !important;
    padding-bottom: 35px !important;
}

.about-banner-content .subtitle {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    display: inline-block !important;

    margin-top: 0 !important;
    margin-bottom: 28px !important;

    padding: 10px 28px !important;

    line-height: 1.2 !important;
    z-index: 10 !important;
}

.about-banner-content h1 {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    line-height: 1.25 !important;
}

