/* CSS Reset & General Styles for .page-news */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy-color, #08162B); /* Body background from shared.css */
}

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

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

.page-news__section-title--light {
  color: #F3F8FF; /* Text Main */
}

.page-news__content-block {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__content-block--light {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

.page-news h1 {
  font-weight: bold;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
}

.page-news h2 {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-news h3 {
  font-size: 24px;
  font-weight: bold;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-news p {
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-news ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.page-news li {
  margin-bottom: 8px;
  color: #F3F8FF; /* Text Main */
}

.page-news a {
  color: #1D5FD1; /* Auxiliary Color */
  text-decoration: none;
}

.page-news a:hover {
  text-decoration: underline;
}

.page-news__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-secondary:hover {
  background: #F2C14E;
  color: #113B7A; /* Main Color */
  transform: translateY(-2px);
}

/* Hero Section */
.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  text-align: center;
  background: #08162B; /* Deep Navy */
  color: #F3F8FF;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #AFC4E8; /* Text Secondary */
}

/* Article Grid */
.page-news__updates-section {
  padding: 50px 0;
}

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

.page-news__article-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  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 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-news__article-title {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #F2C14E; /* Gold */
}

.page-news__article-title a {
  color: inherit;
  text-decoration: none;
}

.page-news__article-title a:hover {
  text-decoration: underline;
}

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

.page-news__article-excerpt {
  font-size: 16px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #1D5FD1; /* Auxiliary Color */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

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

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

/* Industry News Section */
.page-news__industry-news-section {
  padding: 50px 0;
  background: #08162B; /* Deep Navy */
}

.page-news__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.page-news__cta-section {
  padding: 60px 0;
  background: #113B7A; /* Main Color */
  text-align: center;
}

.page-news__cta-box {
  background: #10233F; /* Card BG */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news__cta-title {
  font-size: 32px;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-news__cta-description {
  font-size: 18px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  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 20px;
  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; /* Divider */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

/* Copyright */
.page-news__copyright {
  text-align: center;
  padding: 30px 15px;
  font-size: 14px;
  color: #AFC4E8; /* Text Secondary */
  background: #08162B; /* Deep Navy */
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-news__hero-section {
    padding-bottom: 30px;
  }
  .page-news__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-news__hero-description {
    font-size: 16px;
  }
  .page-news__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-news__section-title {
    font-size: 30px;
  }
  .page-news__cta-title {
    font-size: 28px;
  }
  .page-news__cta-description {
    font-size: 16px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-news__btn-primary, .page-news__btn-secondary {
    width: 80%;
  }
  /* Homepage specific CSS - forced inclusion */
  .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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}
  .page-news__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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__hero-section {
    flex-direction: row;
    padding-top: 20px;
    padding-bottom: 80px;
    text-align: left;
    justify-content: center;
    gap: 50px;
  }
  .page-news__hero-content {
    max-width: 50%;
  }
  .page-news__hero-image-wrapper {
    max-width: 45%;
    margin-top: 0;
  }
  /* Homepage specific CSS - forced inclusion */
  .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;}
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 0 10px;
  }
  .page-news__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-news__section-title {
    font-size: 26px;
    padding-top: 30px;
    margin-bottom: 30px;
  }
  .page-news h2 {
    font-size: 24px;
  }
  .page-news h3 {
    font-size: 20px;
  }
  .page-news p, .page-news li {
    font-size: 15px;
  }
  .page-news__hero-description {
    font-size: 15px;
  }
  .page-news__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news__article-card {
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-news__cta-box {
    padding: 30px 20px;
    margin: 0 10px;
  }
  .page-news__cta-title {
    font-size: 24px;
  }
  .page-news__cta-description {
    font-size: 15px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-news__btn-primary, .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
  .page-news__faq-qtext { font-size: 16px; }
  .page-news__faq-toggle { font-size: 20px; width: 24px; }
  details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }
  /* Homepage specific CSS - forced inclusion for promo/hot-games/brand-intro/winner-ticker */
  /* Note: These are typically for index page, but included as per strict instructions */
  .page-news__promo-strip-track {grid-template-columns: repeat(4, 1fr); overflow-x: hidden;}
  .page-news__hot-games-grid {grid-template-columns: repeat(2, 1fr);}
  /* Generic mobile image/button handling from strict instructions */
  .page-news__promo-strip-card__image,
  .page-news__hot-games-card__image {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-news__promo-strip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-news__promo-strip-card__button,
  .page-news__hot-games-card__button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__winner-ticker {bottom: 0; left: 0; right: 0; position: fixed; z-index: 999;}
  body {padding-bottom: 50px;}
}

/* Common styles from strict instructions */
.page-news__game-trial-overlay{z-index:5;pointer-events:auto;}.page-news__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-news__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-news__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-news__reward-modal{position:fixed;inset:0;z-index:10000;}