/* style/news.css */
.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #e0e0e0; /* Light text on dark body background */
  background-color: var(--primary-color, #0A192F);
  padding-top: var(--header-offset, 120px); /* Apply header offset to main content */
}

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

/* Hero Section */
.page-news__hero-section {
  background: linear-gradient(135deg, #0A192F, #002240);
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news__hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Section Titles and Descriptions */
.page-news__section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for section titles */
}

.page-news__section-description {
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

/* Article Grid */
.page-news__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__article-card {
  background: #1A2E40; /* Slightly lighter dark background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #002240;
}

.page-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.page-news__article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-news__article-card img {
  width: 100%;
  height: 200px; /* Fixed height for article images */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-news__article-card:hover img {
  transform: scale(1.05);
}

.page-news__article-content {
  padding: 20px;
}

.page-news__article-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD700; /* Accent color for article titles */
  line-height: 1.4;
}

.page-news__article-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news__article-date {
  font-size: 14px;
  color: #888888;
  display: block;
  text-align: right;
}

/* Sections specific styling */
.page-news__latest-articles, .page-news__casino-guides, .page-news__responsible-gaming {
  padding: 80px 0;
  background-color: #0A192F; /* Primary dark background */
}

.page-news__sports-analysis, .page-news__promotions-events {
  padding: 80px 0;
  background-color: #001122; /* Slightly different dark background */
}

/* Call to Action Buttons */
.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-news__btn-primary,
.page-news__cta-button {
  background-color: #FFD700; /* Accent color */
  color: #0A192F; /* Dark text on accent background */
  border: 2px solid #FFD700;
}

.page-news__btn-primary:hover,
.page-news__cta-button:hover {
  background-color: #FFC107;
  border-color: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Accent text on dark background */
  border: 2px solid #FFD700;
}

.page-news__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.2);
}

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
  background-color: #001122;
}

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #1A2E40; /* Darker background for FAQ items */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}