/* General styles for page-news */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Light text for deep navy background */
  background-color: var(--deep-navy); /* Assumed from shared.css */
}

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

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

.page-news__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.page-news__main-title {
  font-size: 48px;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__description {
  font-size: 18px;
  color: #AFC4E8;
  margin-bottom: 30px;
}

/* Articles Section */
.page-news__articles-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-news__article-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-news__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-news__article-title a {
  color: #F3F8FF; /* Main text color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #F2C14E; /* Gold on hover */
}

.page-news__article-meta {
  font-size: 14px;
  color: #AFC4E8; /* Secondary text color */
  margin-bottom: 15px;
}

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

.page-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-button:hover {
  background: #2B73F6;
}

.page-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-news__view-all-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #F2C14E 0%, #D4A735 100%); /* Gold gradient */
  color: #10233F; /* Dark text for gold background */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-news__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.page-news__about-section {
  padding: 60px 0;
  background: #113B7A; /* Primary color background */
  text-align: center;
}

.page-news__about-section .page-news__section-title {
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-news__text-block {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 17px;
  color: #F3F8FF;
}

.page-news__about-button {
  background: linear-gradient(180deg, #F2C14E 0%, #D4A735 100%); /* Gold gradient */
  color: #10233F; /* Dark text for gold background */
}

.page-news__about-button:hover {
  background: linear-gradient(180deg, #D4A735 0%, #F2C14E 100%);
}

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Slightly larger radius */
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Slightly more padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: #1B3357; /* Slightly lighter deep navy for hover */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Main text color */
}
.page-news__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #F2C14E; /* Gold color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Larger width */
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px; /* Consistent padding */
  background: #08162B; /* Deep Navy for answer background */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Secondary text color for answer */
}
details.page-news__faq-item .page-news__faq-answer p {
  margin: 0;
  padding: 0;
}

/* --- Homepage Specific CSS Snippets (as per "文件结构要求" - must be included) --- */
@media (max-width: 1023px) {
  .page-news__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-news__hero-brand,
  .page-news__hero-jackpot {
    display: none !important;
  }
  .page-news__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-news__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial-topbar,
  .page-news__game-trial-bottombar {
    display: none !important;
  }
  .page-news__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-news__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-news__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-news__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-news__hero-brand,
  .page-news__hero-jackpot,
  .page-news__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-news__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-news__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-news__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-news__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-news__promo-strip {
    margin-top: 16px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 16px;
  }
  .page-news__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #10233F;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
  }
  .page-news__promo-card-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .page-news__promo-card-content {
    flex-grow: 1;
  }
  .page-news__hot-games {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 16px;
  }
  .page-news__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
 }}