/* style/news.css */

/* Variables from custom palette */
:root {
  --page-news-bg: #08160F;
  --page-news-card-bg: #11271B;
  --page-news-text-main: #F2FFF6;
  --page-news-text-secondary: #A7D9B8;
  --page-news-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-news-border-color: #2E7A4E;
  --page-news-glow-color: #57E38D;
  --page-news-gold-color: #F2C14E;
  --page-news-divider-color: #1E3A2A;
  --page-news-deep-green: #0A4B2C;
}

.page-news {
  background-color: var(--page-news-bg); /* Matches body bg from shared.css if body uses --background-color */
  color: var(--page-news-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Default padding for desktop */
  box-sizing: border-box;
  width: 100%; /* Ensure width is 100% before max-width */
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-news-deep-green); /* Fallback background for hero section */
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-news__hero-content {
  max-width: 800px;
  padding: 0 20px;
  color: var(--page-news-text-main);
  z-index: 1; /* Ensure content is above any background layers */
}

.page-news__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--page-news-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
  font-size: 1.2rem;
  color: var(--page-news-text-secondary);
  margin-bottom: 30px;
}

/* CTA Button - General Style */
.page-news__cta-button {
  display: inline-block;
  background: var(--page-news-button-gradient);
  color: var(--page-news-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

/* Section Styles */
.page-news__introduction-section,
.page-news__latest-articles-section,
.page-news__cta-section,
.page-news__conclusion-section,
.page-news__why-follow-section,
.page-news__faq-section {
  padding: 60px 0;
  text-align: center;
}