/* ==========================================================================
   NEWS DETAILS CUSTOM STYLES
   Project: BET SMART WIN BIGGER - Static HTML/CSS/JS Platform
   ========================================================================== */

/* News Detail Hero Section */
.news-detail-hero {
  position: relative;
  /* background-color: #06070a; */
  padding: 120px 0 60px;
  /* Account for sticky header & navbar */
  overflow: hidden;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.05); */
}

.news-detail-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 50px; */
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Featured Image Column */
.news-detail-hero-left {
  display: flex;
  justify-content: flex-start;
}

.news-detail-image-wrap {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  background-color: #121214;
}

.news-detail-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.news-detail-image-wrap:hover .news-detail-featured-img {
  transform: scale(1.03);
}

/* Hero Title Column */
.news-detail-hero-right {
  display: flex;
  align-items: center;
}

.news-detail-main-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Article Body Content Section */
.news-detail-content-section {
  background-color: #000000;
  padding: 0px 0 80px;
  position: relative;
}

.news-detail-content-wrap {
  /* max-width: 900px; */
  margin: 0 auto;
  padding: 0;
}

/* Article Meta Details (Sub-headline) */
.news-detail-meta {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #D6D6D6;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Article Intro Paragraphs */
.news-detail-intro {
  margin-bottom: 40px;
}

.news-detail-intro .news-detail-para {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #D6D6D6;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Dynamic Body Sections & Paragraphs */
.news-detail-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-detail-body-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-detail-section-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.news-detail-para {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #D6D6D6;
  margin-bottom: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.news-detail-para:last-child {
  margin-bottom: 0;
}

/* Related News Block (You May Also Like) */
.related-news-section {
  /* background-color: #06070a; */
  padding: 20px 0 100px;
  /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
  position: relative;
}


.related-news-header {
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.related-news-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.related-news-title .red-highlight {
  color: #FF154B;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.related-news-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.related-news-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
  background-color: #121214;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.related-news-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  /* Keeps image proportions regular */
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.related-news-item:hover .related-news-img {
  transform: scale(1.05);
}

.related-news-item-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 14px;
  text-align: left;
  transition: color var(--transition-fast);
}

.related-news-item-title:hover {
  color: #FF154B;
}

.related-news-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
  /* Keeps card heights aligned */
}

.related-read-more {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.related-read-more:hover {
  color: #FF154B;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .news-detail-hero {
    padding: 160px 0 50px;
  }

  .news-detail-hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .news-detail-hero-left {
    justify-content: center;
  }

  .news-detail-hero-right {
    justify-content: center;
  }

  .news-detail-main-title {
    font-size: 2.8rem;
  }

  .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-news-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .news-detail-hero {
    padding: 140px 0 40px;
  }

  .news-detail-main-title {
    font-size: 2.2rem;
  }

  .news-detail-section-heading {
    font-size: 1.5rem;
  }

  .news-detail-meta {
    margin-bottom: 25px;
  }

  .related-news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .related-news-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .news-detail-main-title {
    font-size: 1.8rem;
  }

  .news-detail-image-wrap {
    max-width: 100%;
  }
}