/* style/news.css */

/* --- Global Page Styles (scoped to .page-news) --- */
.page-news {
  /* Body background is #121212 (dark), so default text should be light */
  color: #f0f0f0; /* Light gray for main text for contrast */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Main content background is transparent, letting body background show */
}

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

.page-news__section-title {
  font-size: 36px;
  color: var(--primary-color, #FFD700); /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-news__section-intro {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto; /* Adjust margin to fit below title */
    font-size: 18px;
    color: #cccccc; /* Slightly darker light text */
}

/* --- Buttons --- */
.page-news__button-primary,
.page-news__button-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
}

.page-news__button-primary {
  background: var(--primary-color, #FFD700); /* Gold background */
  color: #121212; /* Dark text for contrast on gold */
}

.page-news__button-primary:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news__button-secondary {
  background: transparent;
  color: var(--primary-color, #FFD700); /* Gold text */
  border-color: var(--primary-color, #FFD700); /* Gold border */
  margin-left: 20px;
}

.page-news__button-secondary:hover {
  background: var(--primary-color, #FFD700);
  color: #121212; /* Dark text on gold hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
.page-news__hero-section {
  position: relative;
  padding: 180px 0 100px; /* Adjusted padding-top for fixed header */
  background: url('[GALLERY:blog:yeu88,tin-tuc,banner,seo]') no-repeat center center/cover;
  text-align: center;
  color: #ffffff; /* White text on hero banner */
}

.page-news__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 1;
}

.page-news__hero-section > .page-news__container {
    position: relative;
    z-index: 2;
}

.page-news__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700);
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-news__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- Featured Articles Section --- */
.page-news__featured-articles-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news__articles-grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}