.page-news {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background: var(--dark-bg); /* Inherited from shared.css */
  min-height: 100vh;
}

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

.page-news__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  flex-direction: column;
}

.page-news__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  text-align: center;
}

.page-news__btn-primary {
  background: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

.page-news__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-news__btn-secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-news__btn-secondary:hover {
  background: #FFD700;
  color: #003366;
}

.page-news__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

.page-news__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-news__dark-section {
  background: #003366;
  color: #ffffff;
  padding: 80px 0;
}

.page-news__intro-section,
.page-news__featured-matches-section,
.page-news__strategy-section,
.page-news__promotions-section,
.page-news__join-section,
.page-news__faq-section,
.page-news__conclusion-section {
  padding: 80px 0;
}

.page-news__featured-matches-section,
.page-news__promotions-section,
.page-news__faq-section {
  background: #0a192f; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-news__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-news__grid--2-cols {
  grid-template-columns: 1fr 1fr;
}

.page-news__grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.page-news__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-news__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-news__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-news__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #ffffff;
}

.page-news__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-news__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-news__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-news__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1; /* Allow text to fill space */
  margin-bottom: 20px;
}

.page-news__btn-text {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom of card */
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.page-news__btn-text:hover {
  border-color: #FFD700;
}

.page-news__list-ordered {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-news__list-ordered li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-news__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #003366;
  font-weight: bold;
  font-size: 1.2em;
  color: #FFD700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus sign */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px; /* Restore vertical padding when active */
}

.page-news__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-news__text-center {
  text-align: center;
}

.page-news__conclusion-section .page-news__description {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 1.15em;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__grid--3-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Important for mobile */
    min-height: 400px;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 0.95em !important;
  }
  .page-news__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
}