/* style/news.css */

/* Base styles for the page-news scope */
.page-news {
  background-color: var(--background-color, #0D0E12); /* Fallback to custom BG if shared not set */
  color: var(--text-main-color, #FFF3E6); /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-news__section-padding {
  padding: 60px 0;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0D0E12; /* Match body bg */
  overflow: hidden;
}

.page-news__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover for desktop */
  max-height: 600px; /* Ensure image fits */
}

.page-news__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FF8C1A; /* Brand main color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-news__description {
  font-size: 1.1rem;
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button - Primary */
.page-news__cta-button,
.page-news__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* White text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-news__cta-button:hover,
.page-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

/* Section Titles */
.page-news__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.3);
}

.page-news__section-description {
  font-size: 1.1rem;
  color: var(--text-main-color, #FFF3E6);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}