/* style/news.css */
.page-news {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-news__section {
  padding: 60px 0;
  text-align: center;
}

.page-news__section-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: #FF8C1A; /* Primary color */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-news__paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #FFF3E6;
  text-align: center;
  max-width: 90%;
}

.page-news__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255,165,58,0.5);
}

.page-news__intro-text {
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff; /* Button text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,140,26,0.4);
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,26,0.6);
}

.page-news__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* Overview Section */
.page-news__overview-section {
  background-color: #0D0E12; /* Background */
}

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

.page-news__card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #A84F0C; /* Border */
}

.page-news__card-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #FFF3E6;
}

.page-news__list-item::before {
  content: '✔';
  color: #FFB04D; /* Glow */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Criteria Section */
.page-news__criteria-section {
  background-color: #0D0E12; /* Background */
}

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

.page-news__criteria-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__criteria-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-news__criteria-heading {
  font-size: 1.4em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__criteria-description {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-news__button-link {
  display: inline-block;
  padding: 10px 20px;
  background: #D96800; /* Deep Orange */
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-news__button-link:hover {
  background-color: #FF8C1A; /* Primary color */
}

/* Top Casinos Section */
.page-news__top-casinos {
  background-color: #0D0E12; /* Background */
}

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

.page-news__casino-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: left;
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
}

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

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

.page-news__casino-name {
  font-size: 1.6em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-news__casino-description {
  font-size: 1em;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-news__promotions-section {
  background-color: #0D0E12; /* Background */
}

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

.page-news__promo-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: left;
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
}

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

.page-news__promo-title {
  font-size: 1.4em;
  color: #FFA53A; /* Auxiliary color */
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-news__promo-description {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Tips Section */
.page-news__tips-section {
  background-color: #0D0E12; /* Background */
}

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

.page-news__tip-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #A84F0C; /* Border */
}

.page-news__tip-heading {
  font-size: 1.4em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news__tip-description {
  font-size: 1em;
  color: #FFF3E6;
}

/* FAQ Section */
.page-news__faq-section {
  background-color: #0D0E12; /* Background */
}

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

.page-news__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
  text-align: left;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  cursor: pointer;
  background-color: #17191F;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A;
}

.page-news__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.7;
}

/* Call to Action Section */
.page-news__call-to-action {
  background-color: #17191F; /* Card BG */
  padding: 80px 0;
  border-top: 2px solid #A84F0C; /* Border */
}

.page-news__cta-content {
  max-width: 900px;
  text-align: center;
}

.page-news__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 40px;
}

.page-news__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

.page-news__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary color */
  border: 2px solid #FF8C1A; /* Primary color */
}

.page-news__btn-secondary:hover {
  background: #FF8C1A; /* Primary color */
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-content {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news__section {
    padding: 40px 0;
  }

  .page-news__section-title {
    font-size: 2em;
  }

  .page-news__main-title {
    font-size: 2.2em;
  }

  .page-news__intro-text {
    font-size: 1em;
  }

  .page-news__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-news__grid,
  .page-news__criteria-grid,
  .page-news__casino-list,
  .page-news__promotions-grid,
  .page-news__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-news__card,
  .page-news__criteria-item,
  .page-news__casino-card,
  .page-news__promo-card,
  .page-news__tip-item {
    padding: 25px;
  }

  .page-news__casino-image,
  .page-news__promo-image {
    height: 180px;
  }

  .page-news__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary,
  .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__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__hero-image,
  .page-news__criteria-image,
  .page-news__casino-image,
  .page-news__promo-image,
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__hero-image-wrapper,
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__criteria-item,
  .page-news__casino-card,
  .page-news__promo-card,
  .page-news__tip-item,
  .page-news__faq-item,
  .page-news__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }

  .page-news__section-title {
    font-size: 1.8em;
  }

  .page-news__cta-title {
    font-size: 1.5em;
  }
}