:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --button-login-color: #EA7C07;
}

.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); 
  background-color: var(--background-light); 
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); 
}

.page-news__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  z-index: 2;
}

.page-news__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light); 
  max-width: 800px;
  padding: 20px;
}

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color); 
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-news__section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-news__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-news__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; 
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-news__cta-button--primary {
  background-color: var(--button-login-color);
  color: var(--text-light);
  border: 2px solid var(--button-login-color);
  margin: 0 10px;
}

.page-news__cta-button--primary:hover {
  background-color: #d86c06; 
}

.page-news__cta-button--secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 0 10px;
}

.page-news__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

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

.page-news__article-card,
.page-news__promotion-card,
.page-news__game-card {
  background-color: var(--background-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); 
}

.page-news__article-card:hover,
.page-news__promotion-card:hover,
.page-news__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__article-image,
.page-news__promotion-image,
.page-news__game-image {
  width: 100%;
  height: 250px; 
  object-fit: cover;
  display: block;
}

.page-news__article-content,
.page-news__promotion-content,
.page-news__game-content {
  padding: 25px;
}

.page-news__article-title,
.page-news__promotion-title,
.page-news__game-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__article-title a,
.page-news__promotion-title a,
.page-news__game-title a {
  color: var(--primary-color); 
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover,
.page-news__promotion-title a:hover,
.page-news__game-title a:hover {
  color: #2087b3;
}

.page-news__article-text,
.page-news__promotion-text,
.page-news__game-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

.page-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.page-news__responsible-gambling-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-news__responsible-gambling-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-news__responsible-gambling-text {
  flex: 1;
  max-width: 50%;
}

.page-news__responsible-gambling-text .page-news__section-title,
.page-news__responsible-gambling-text .page-news__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-news__faq-list {
  margin-top: 40px;
}

.page-news__faq-item {
  background-color: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: var(--primary-color);
}

.page-news__faq-item[open] .page-news__faq-question {
  border-bottom: 1px solid transparent; 
}

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

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-news__faq-item > summary {
  list-style: none;
}

.page-news__faq-item > summary::-webkit-details-marker {
  display: none;
}

.page-news__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555;
}

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

.page-news__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
}

.page-news__cta-bottom-section .page-news__section-title {
  color: var(--text-light);
}

.page-news__cta-bottom-section .page-news__section-description {
  color: var(--text-light);
  margin-bottom: 40px;
}

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

@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }
  .page-news__hero-description {
    font-size: 1.1em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__responsible-gambling-content {
    flex-direction: column;
    text-align: center;
  }
  .page-news__responsible-gambling-image,
  .page-news__responsible-gambling-text {
    max-width: 100%;
  }
  .page-news__responsible-gambling-text .page-news__section-title,
  .page-news__responsible-gambling-text .page-news__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important; 
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__button-group {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px; 
  }

  .page-news__section {
    padding: 40px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-news__articles-grid,
  .page-news__promotions-grid,
  .page-news__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .page-news__responsible-gambling-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; 
  }
  .page-news__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-news__article-card,
  .page-news__promotion-card,
  .page-news__game-card {
    height: auto; 
  }
  .page-news__article-image,
  .page-news__promotion-image,
  .page-news__game-image {
    height: 200px; 
  }
  .page-news__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-news__faq-answer {
    padding: 15px 20px;
  }
}