/* style/promotions.css */

/* Base Styles & Typography */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Body background is var(--secondary-color) which is white */
}

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

.page-promotions__section {
  padding: 60px 0;
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

/* HERO Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions__hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.2rem); /* Using clamp for responsive H1 */
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-promotions__hero-content p {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #017439;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  background: #005a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--secondary {
  background: #C30808;
  color: #FFFF00;
}

.page-promotions__cta-button--secondary:hover {
  background: #9f0606;
}

/* Introduction Section */
.page-promotions__introduction .page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__feature-item {
  text-align: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-promotions__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__feature-item h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__feature-item p {
  font-size: 16px;
  color: #666666;
}

/* Quick Links Section */
.page-promotions__quick-links {
  background-color: #017439;
  color: #FFFFFF;
}

.page-promotions__quick-links .page-promotions__section-title {
  color: #FFFFFF;
}

.page-promotions__quick-links .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__link-item {
  display: block;
  text-align: center;
  padding: 18px 25px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__link-item.page-promotions__btn-primary {
  background: #C30808;
  color: #FFFF00;
}

.page-promotions__link-item.page-promotions__btn-primary:hover {
  background: #9f0606;
  transform: translateY(-2px);
}

/* Game Promos Section */
.page-promotions__game-promo-card {
  display: flex;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  align-items: center;
}

.page-promotions__game-promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions__game-promo-card img {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-promotions__game-promo-content {
  width: 50%;
  padding: 30px;
}

.page-promotions__game-promo-content h3 {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__game-promo-content p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.page-promotions__game-promo-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-promotions__game-promo-content ul li {
  margin-bottom: 8px;
}

/* Top Promos Section */
.page-promotions__top-promos {
  background-color: #017439;
  color: #FFFFFF;
}

.page-promotions__top-promos .page-promotions__section-title {
  color: #FFFFFF;
}

.page-promotions__top-promos .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__promo-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-content {
  padding: 25px;
  color: #333333;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-content h3 {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__promo-content p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

.page-promotions__promo-content .page-promotions__cta-button {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 16px;
}

/* Terms & Conditions Section */
.page-promotions__terms .page-promotions__terms-list {
  margin-top: 40px;
}

.page-promotions__term-item {
  background: #f9f9f9;
  padding: 25px;
  border-left: 5px solid #017439;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-promotions__term-item h3 {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__term-item p {
  font-size: 16px;
  color: #666666;
}

.page-promotions__responsible-gambling-note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  color: #888888;
  font-size: 15px;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding-bottom: 80px;
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-promotions__faq-item summary.page-promotions__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-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Latest News Section */
.page-promotions__latest-news {
  background-color: #017439;
  color: #FFFFFF;
}

.page-promotions__latest-news .page-promotions__section-title {
  color: #FFFFFF;
}

.page-promotions__latest-news .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__blog-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-promotions__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__blog-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-promotions__blog-content h3 a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__blog-content h3 a:hover {
  color: #005a2e;
}

.page-promotions__blog-content p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 15px;
}

.page-promotions__read-more {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-promotions__read-more:hover {
  color: #005a2e;
}

.page-promotions__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__game-promo-card {
    flex-direction: column;
  }

  .page-promotions__game-promo-card:nth-child(even) {
    flex-direction: column;
  }

  .page-promotions__game-promo-card img,
  .page-promotions__game-promo-content {
    width: 100%;
  }

  .page-promotions__game-promo-card img {
    height: 300px;
  }

  .page-promotions__promo-card img {
    
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-promotions__hero-content p {
    font-size: 1rem;
  }

  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: clamp(24px, 5vw, 30px);
  }

  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__features-grid,
  .page-promotions__link-grid,
  .page-promotions__promo-cards-grid,
  .page-promotions__blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__game-promo-card img {
    height: 220px;
  }

  .page-promotions__game-promo-content,
  .page-promotions__promo-content,
  .page-promotions__blog-content {
    padding: 20px;
  }

  .page-promotions__game-promo-content h3,
  .page-promotions__promo-content h3,
  .page-promotions__blog-content h3 {
    font-size: 20px;
  }

  .page-promotions__game-promo-content p,
  .page-promotions__promo-content p,
  .page-promotions__blog-content p,
  .page-promotions__term-item p {
    font-size: 15px;
  }

  .page-promotions__term-item {
    padding: 20px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }

  .page-promotions__faq-qtext {
    font-size: 15px;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Ensure all containers with images are responsive */
  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__hero-container,
  .page-promotions__hero-image,
  .page-promotions__game-promo-card,
  .page-promotions__promo-card,
  .page-promotions__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Specific padding for sections on mobile */
  .page-promotions__section > .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button containers mobile adaptation */
  .page-promotions__link-grid {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__link-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 20px;
  }

  .page-promotions__view-all .page-promotions__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

}