/* Base styles for the news page */
.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-news__section {
  margin-bottom: 40px;
}

.page-news__section-title {
  font-size: 32px;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-news__sub-title {
  font-size: 24px;
  color: #1F2D3D;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-news__paragraph {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Hero Section */
.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  background-color: #F4F7FB;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-width: 1280px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-news__hero-content-wrapper {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
}

.page-news__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #2F6BFF; /* Primary Color */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-news__description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.page-news__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* Grid Layout for Highlights */
.page-news__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-news__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

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

.page-news__card-title {
  font-size: 20px;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-news__card-text {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: #2F6BFF;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__card-button:hover {
  background: #4A8BFF;
}

/* Analysis Section */
.page-news__analysis-section .page-news__content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.page-news__analysis-section .page-news__text-block {
  flex: 2;
}

.page-news__analysis-section .page-news__image-block {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

/* Recent Articles */
.page-news__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.page-news__article-card {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-news__article-card:hover {
  transform: translateY(-3px);
}

.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: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-news__article-title a {
  color: #000000; /* Custom Color_1776249996415 */
  text-decoration: none;
}

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

.page-news__article-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.page-news__article-excerpt {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  align-self: flex-start;
}

.page-news__read-more:hover {
  text-decoration: underline;
}

.page-news__view-all-button-wrapper {
  text-align: center;
}

.page-news__view-all-news {
  margin-top: 20px;
}

/* FAQ Section */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* 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: #f5f5f5;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000;
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}

/* Conclusion */
.page-news__conclusion-section {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-news__conclusion-cta {
  margin-top: 30px;
}

/* Copyright */
.page-news__copyright-info {
    text-align: center;
    padding: 20px 15px;
    background-color: #F4F7FB;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  /* No home-hero specific styles needed for news page, but keep the template for consistency */
  .page-news__home-hero { /* This class would not be used on news.html, but included for the template */
    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 { /* Not used on news.html */
    display: none !important;
  }
  .page-news__game-trial { /* Not used on news.html */
    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 { /* Not used on news.html */
    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 { /* Not used on news.html */
    display: none !important;
  }
  .page-news__game-trial-viewport { /* Not used on news.html */
    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 { /* Not used on news.html */
    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 { /* Not used on news.html */
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-news__game-trial-start { /* Not used on news.html */
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  /* No home-hero specific styles needed for news page, but keep the template for consistency */
  .page-news__home-hero { /* This class would not be used on news.html, but included for the template */
    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 { /* Not used on news.html */
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial { /* Not used on news.html */
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-news__game-trial-shell { /* Not used on news.html */
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-news__game-trial-viewport { /* Not used on news.html */
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-news__game-trial-frame { /* Not used on news.html */
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-news__hero-jackpot-claim { /* Not used on news.html */
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .page-news__container {
    padding: 15px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-news__description {
    font-size: 16px;
  }

  .page-news__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

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

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

  .page-news__card-image {
    height: 180px;
  }

  .page-news__card-title {
    font-size: 18px;
  }

  .page-news__card-text {
    font-size: 14px;
  }

  .page-news__analysis-section .page-news__content-wrapper {
    flex-direction: column;
  }

  .page-news__analysis-section .page-news__image-block {
    min-width: unset;
    width: 100%;
    order: -1; /* Image appears above text on mobile */
  }

  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-image {
    height: 160px;
  }

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

  .page-news__article-meta,
  .page-news__article-excerpt,
  .page-news__read-more {
    font-size: 14px;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 15px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }

  /* Mobile image adaptation */
  .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-image-wrapper,
  .page-news__analysis-section .page-news__image-block,
  .page-news__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Mobile button adaptation */
  .page-news__cta-button,
  .page-news__card-button,
  .page-news__read-more,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-news__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}