/* style/news.css */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css, but ensure content background is dark */
}

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-news__section-description {
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700; /* Gold text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #FFD700; /* Gold border */
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-secondary:hover {
  background-color: #FFD700;
  color: #003366;
  transform: translateY(-2px);
}

/* Hero Banner Section */
.page-news__hero-banner {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 60px;
}

.page-news__hero-banner.page-news__dark-bg {
  background-color: #003366; /* Dark blue background */
  color: #ffffff;
}

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

.page-news__main-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-news__intro-text {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-news__article-card {
  background-color: #003366; /* Dark blue card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-news__article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

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

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: #FFD700; /* Gold link for titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #e6c200;
}

.page-news__article-excerpt {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #e6c200;
}

/* In-depth Analysis Section */
.page-news__in-depth-analysis {
  padding: 80px 0;
  text-align: center;
}

.page-news__in-depth-analysis.page-news__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-news__analysis-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-news__analysis-text {
  flex: 1;
}

.page-news__analysis-text p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-news__analysis-image {
  flex: 1;
  min-width: 400px; /* Ensure image has some width */
}

.page-news__analysis-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  max-width: 100%;
}

/* Expert Guides Section */
.page-news__expert-guides {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-news__guide-card {
  background-color: #003366;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  text-align: center;
}

.page-news__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__guide-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-news__guide-card h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 20px 10px;
  line-height: 1.3;
}

.page-news__guide-card h3 a {
  color: #FFD700;
  text-decoration: none;
}

.page-news__guide-card h3 a:hover {
  color: #e6c200;
}

.page-news__guide-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Promotions Summary Section */
.page-news__promotions-summary {
  padding: 80px 0;
  text-align: center;
}

.page-news__promotions-summary.page-news__gold-bg {
  background-color: #FFD700; /* Gold background */
  color: #000000; /* Black text for gold background */
}

.page-news__promotions-summary .page-news__section-title {
  color: #003366; /* Dark blue title for gold background */
}

.page-news__promotions-summary .page-news__section-description {
  color: #333333;
}

.page-news__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-news__promo-list li {
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-news__promo-list li::before {
  content: '★';
  color: #003366; /* Dark blue star */
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1.6;
}

/* Player Stories Section */
.page-news__player-stories {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-news__testimonial-card {
  background-color: #003366;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
}

.page-news__testimonial-card img {
  
  
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-news__testimonial-text {
  font-style: italic;
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-news__player-name {
  font-weight: bold;
  color: #FFD700;
}

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

.page-news__faq-section.page-news__dark-bg {
  background-color: #003366;
  color: #ffffff;
}

.page-news__faq-section .page-news__section-title {
  color: #FFD700; /* Gold title for dark blue background */
}

.page-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #0a4d8c; /* Slightly lighter dark blue for answer background */
  border-radius: 0 0 5px 5px;
  color: #ffffff;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #002244; /* Even darker blue for question background */
  border: 1px solid #001122;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-news__faq-question:hover {
  background: #003366;
  border-color: #002244;
}

.page-news__faq-question:active {
  background: #001122;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold text for questions */
}

.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news__faq-item.active .page-news__faq-toggle {
  color: #ffffff;
}

/* Contact CTA Section */
.page-news__contact-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

/* General image styling */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 48px;
  }
  .page-news__intro-text {
    font-size: 18px;
  }
  .page-news__analysis-content {
    flex-direction: column;
  }
  .page-news__analysis-image {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-news__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-news__hero-banner {
    padding: 60px 0;
    padding-bottom: 40px;
  }
  .page-news__main-title {
    font-size: 38px;
    margin-bottom: 15px;
  }
  .page-news__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news__btn-primary, .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__featured-articles, .page-news__in-depth-analysis, .page-news__expert-guides, .page-news__promotions-summary, .page-news__player-stories, .page-news__faq-section, .page-news__contact-cta {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-news__articles-grid, .page-news__guides-grid, .page-news__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-card, .page-news__guide-card, .page-news__testimonial-card {
    margin: 0 auto;
  }

  .page-news__article-title {
    font-size: 20px;
  }

  .page-news__article-excerpt, .page-news__read-more, .page-news__analysis-text p, .page-news__promo-list li, .page-news__testimonial-text, .page-news__player-name {
    font-size: 15px;
  }

  .page-news__promo-list {
    padding: 0 10px;
  }
  .page-news__promo-list li {
    padding-left: 25px;
  }
  .page-news__promo-list li::before {
    font-size: 18px;
  }

  /* FAQ specific mobile styles */
  .page-news__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-news__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-news__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-news__faq-answer {
    padding: 0 15px;
  }
  
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px !important;
  }

  /* Image responsiveness for content area */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news__section, .page-news__card, .page-news__container, .page-news__hero-banner, .page-news__featured-articles, .page-news__in-depth-analysis, .page-news__expert-guides, .page-news__promotions-summary, .page-news__player-stories, .page-news__faq-section, .page-news__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}