.page-resources-e2bet-latest-promotions {
  color: #ffffff; /* Body background #1a1a2e is dark, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* inherited from body */
}

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

.page-resources-e2bet-latest-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand primary color for titles */
}

.page-resources-e2bet-latest-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0; /* Light text for dark background */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Section */
.page-resources-e2bet-latest-promotions__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #1a1a2e; /* Dark background for video section */
}

.page-resources-e2bet-latest-promotions__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-e2bet-latest-promotions__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-e2bet-latest-promotions__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-e2bet-latest-promotions__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-e2bet-latest-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.page-resources-e2bet-latest-promotions__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-resources-e2bet-latest-promotions__video-link:hover .page-resources-e2bet-latest-promotions__video-overlay {
  opacity: 1;
}

.page-resources-e2bet-latest-promotions__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(1, 116, 57, 0.8); /* Using primary color with transparency */
  border-radius: 5px;
  white-space: nowrap;
}

.page-resources-e2bet-latest-promotions__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-resources-e2bet-latest-promotions__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for register/login buttons */
  color: #FFFFFF; /* Adjusted for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-resources-e2bet-latest-promotions__play-now-button:hover {
  background: #a30606; /* Darker shade on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-e2bet-latest-promotions__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* H1 Title Section */
.page-resources-e2bet-latest-promotions__title-section {
  padding: 60px 20px;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-resources-e2bet-latest-promotions__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-e2bet-latest-promotions__title-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-resources-e2bet-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-e2bet-latest-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-e2bet-latest-promotions__btn-register,
.page-resources-e2bet-latest-promotions__btn-login {
  background: #C30808; /* Custom color for register/login buttons */
  color: #FFFFFF; /* Adjusted for contrast */
}

.page-resources-e2bet-latest-promotions__btn-register:hover,
.page-resources-e2bet-latest-promotions__btn-login:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* General Content Section */
.page-resources-e2bet-latest-promotions__content-section {
  padding: 80px 0;
}

.page-resources-e2bet-latest-promotions__dark-bg {
  background: #017439;
  color: #ffffff;
}

.page-resources-e2bet-latest-promotions__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-resources-e2bet-latest-promotions__dark-bg .page-resources-e2bet-latest-promotions__section-title {
  color: #ffffff;
}

.page-resources-e2bet-latest-promotions__dark-bg .page-resources-e2bet-latest-promotions__section-description {
  color: #f0f0f0;
}

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

.page-resources-e2bet-latest-promotions__promo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-e2bet-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.page-resources-e2bet-latest-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filter is applied */
}

.page-resources-e2bet-latest-promotions__promo-card .page-resources-e2bet-latest-promotions__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: #017439;
}

.page-resources-e2bet-latest-promotions__promo-card .page-resources-e2bet-latest-promotions__promo-excerpt {
  font-size: 16px;
  margin: 0 20px 20px;
  flex-grow: 1;
  color: #555555;
}

.page-resources-e2bet-latest-promotions__promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
  max-width: calc(100% - 40px); /* Adjust for padding */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-e2bet-latest-promotions__promo-button:hover {
  background: #005a2d;
}

/* FAQ Section */
.page-resources-e2bet-latest-promotions__faq-section {
  padding: 80px 0;
}

.page-resources-e2bet-latest-promotions__faq-list {
  margin-top: 50px;
}

details.page-resources-e2bet-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-resources-e2bet-latest-promotions__faq-item summary.page-resources-e2bet-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333; /* Dark text for light background */
  font-size: 18px;
  font-weight: 600;
}

details.page-resources-e2bet-latest-promotions__faq-item summary.page-resources-e2bet-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-resources-e2bet-latest-promotions__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure text is dark on light background */
}

.page-resources-e2bet-latest-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439; /* Brand primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-resources-e2bet-latest-promotions__faq-item .page-resources-e2bet-latest-promotions__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #555555; /* Slightly lighter text for answer */
  font-size: 16px;
}

details.page-resources-e2bet-latest-promotions__faq-item .page-resources-e2bet-latest-promotions__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

details.page-resources-e2bet-latest-promotions__faq-item .page-resources-e2bet-latest-promotions__faq-answer a {
  color: #017439; /* Link color */
  text-decoration: underline;
}

/* Brand Section */
.page-resources-e2bet-latest-promotions__brand-section {
  padding: 80px 0;
  background: #017439;
  color: #ffffff;
}

.page-resources-e2bet-latest-promotions__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

.page-resources-e2bet-latest-promotions__brand-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

.page-resources-e2bet-latest-promotions__brand-subtitle {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-resources-e2bet-latest-promotions__brand-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-resources-e2bet-latest-promotions__brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-e2bet-latest-promotions__brand-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-resources-e2bet-latest-promotions__brand-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFFF00; /* Yellow checkmark for visual pop */
  font-weight: bold;
}

.page-resources-e2bet-latest-promotions__brand-list li p {
  margin: 0;
  color: #f0f0f0;
}

.page-resources-e2bet-latest-promotions__brand-image-wrapper {
  grid-column: span 2; /* Spans two columns on larger screens */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-e2bet-latest-promotions__brand-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no filter is applied */
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

/* Blog Section */
.page-resources-e2bet-latest-promotions__blog-section {
  padding: 80px 0;
}

.page-resources-e2bet-latest-promotions__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-e2bet-latest-promotions__blog-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-resources-e2bet-latest-promotions__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.page-resources-e2bet-latest-promotions__blog-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources-e2bet-latest-promotions__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filter is applied */
}

.page-resources-e2bet-latest-promotions__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: #017439;
}

.page-resources-e2bet-latest-promotions__blog-item-excerpt {
  font-size: 16px;
  margin: 0 20px 15px;
  color: #555555;
  flex-grow: 1;
}

.page-resources-e2bet-latest-promotions__blog-item-date {
  font-size: 14px;
  color: #777777;
  margin: 0 20px 20px;
  display: block;
}

.page-resources-e2bet-latest-promotions__view-all-button-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-resources-e2bet-latest-promotions__view-all-button {
  display: inline-block;
  padding: 15px 40px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-e2bet-latest-promotions__view-all-button:hover {
  background: #005a2d;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-e2bet-latest-promotions__main-title {
    font-size: 40px;
  }
  .page-resources-e2bet-latest-promotions__section-title {
    font-size: 30px;
  }
  .page-resources-e2bet-latest-promotions__brand-image-wrapper {
    grid-column: span 1; /* Adjust on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-resources-e2bet-latest-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources-e2bet-latest-promotions__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-resources-e2bet-latest-promotions__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-e2bet-latest-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-resources-e2bet-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain; 
  }
  
  .page-resources-e2bet-latest-promotions__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-resources-e2bet-latest-promotions__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-e2bet-latest-promotions__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-resources-e2bet-latest-promotions__title-section {
    padding: 40px 15px;
  }

  .page-resources-e2bet-latest-promotions__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources-e2bet-latest-promotions__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-e2bet-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-resources-e2bet-latest-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-resources-e2bet-latest-promotions__container {
    padding: 0 15px;
  }

  .page-resources-e2bet-latest-promotions__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-resources-e2bet-latest-promotions__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-resources-e2bet-latest-promotions__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-e2bet-latest-promotions__promo-image {
    height: 180px;
  }

  .page-resources-e2bet-latest-promotions__promo-card .page-resources-e2bet-latest-promotions__promo-title {
    font-size: 20px;
    margin: 15px 15px 8px;
  }

  .page-resources-e2bet-latest-promotions__promo-card .page-resources-e2bet-latest-promotions__promo-excerpt {
    font-size: 15px;
    margin: 0 15px 15px;
  }

  .page-resources-e2bet-latest-promotions__promo-button {
    margin: 0 15px 15px;
    padding: 10px 20px;
    font-size: 16px;
  }

  details.page-resources-e2bet-latest-promotions__faq-item summary.page-resources-e2bet-latest-promotions__faq-question {
    padding: 15px;
    font-size: 16px;
  }

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

  .page-resources-e2bet-latest-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-resources-e2bet-latest-promotions__faq-item .page-resources-e2bet-latest-promotions__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-resources-e2bet-latest-promotions__brand-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-resources-e2bet-latest-promotions__brand-subtitle {
    font-size: 24px;
  }

  .page-resources-e2bet-latest-promotions__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-e2bet-latest-promotions__blog-image {
    height: 160px;
  }

  .page-resources-e2bet-latest-promotions__blog-item-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }

  .page-resources-e2bet-latest-promotions__blog-item-excerpt,
  .page-resources-e2bet-latest-promotions__blog-item-date {
    font-size: 14px;
    margin: 0 15px 15px;
  }

  .page-resources-e2bet-latest-promotions__view-all-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-resources-e2bet-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-e2bet-latest-promotions__section,
  .page-resources-e2bet-latest-promotions__card,
  .page-resources-e2bet-latest-promotions__container,
  .page-resources-e2bet-latest-promotions__promo-card,
  .page-resources-e2bet-latest-promotions__blog-item,
  .page-resources-e2bet-latest-promotions__brand-item,
  .page-resources-e2bet-latest-promotions__brand-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }

  /* Ensure video and its containers are responsive and do not overflow */
  .page-resources-e2bet-latest-promotions video,
  .page-resources-e2bet-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-e2bet-latest-promotions__video-section,
  .page-resources-e2bet-latest-promotions__video-container,
  .page-resources-e2bet-latest-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }
  .page-resources-e2bet-latest-promotions__video-wrapper {
    border-radius: 4px;
  }
  
  /* Ensure buttons are responsive and do not overflow */
  .page-resources-e2bet-latest-promotions__cta-button,
  .page-resources-e2bet-latest-promotions__btn-primary,
  .page-resources-e2bet-latest-promotions__btn-secondary,
  .page-resources-e2bet-latest-promotions a[class*="button"],
  .page-resources-e2bet-latest-promotions 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 !important;
    padding-right: 15px !important;
  }
  
  .page-resources-e2bet-latest-promotions__cta-buttons,
  .page-resources-e2bet-latest-promotions__button-group,
  .page-resources-e2bet-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-e2bet-latest-promotions__cta-buttons {
    flex-direction: column !important; 
  }
}

/* Global link styles for this page content */
.page-resources-e2bet-latest-promotions a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-e2bet-latest-promotions a:hover {
  color: #005a2d;
}

.page-resources-e2bet-latest-promotions .page-resources-e2bet-latest-promotions__dark-bg a {
  color: #FFFF00;
}

.page-resources-e2bet-latest-promotions .page-resources-e2bet-latest-promotions__dark-bg a:hover {
  color: #e0e000;
}