.page-resources-888-odds-platform-updates {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared, for context */
}

.page-resources-888-odds-platform-updates__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-888-odds-platform-updates__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-888-odds-platform-updates__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-888-odds-platform-updates__hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.page-resources-888-odds-platform-updates__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-888-odds-platform-updates__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-resources-888-odds-platform-updates__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-888-odds-platform-updates__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-888-odds-platform-updates__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay */
}

.page-resources-888-odds-platform-updates__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* White background for main content for readability */
  color: #333333;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: -40px; /* Overlap with hero for smooth transition */
  position: relative;
  z-index: 3;
}

.page-resources-888-odds-platform-updates__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-888-odds-platform-updates__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-888-odds-platform-updates p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-888-odds-platform-updates__list,
.page-resources-888-odds-platform-updates__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-888-odds-platform-updates__ordered-list {
  list-style-type: decimal;
}

.page-resources-888-odds-platform-updates__list li,
.page-resources-888-odds-platform-updates__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-888-odds-platform-updates__btn-primary,
.page-resources-888-odds-platform-updates__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-888-odds-platform-updates__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-888-odds-platform-updates__btn-primary:hover {
  background-color: #e02c2c;
  border-color: #e02c2c;
}

.page-resources-888-odds-platform-updates__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-888-odds-platform-updates__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-resources-888-odds-platform-updates__cta-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-888-odds-platform-updates__image-text-layout {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-resources-888-odds-platform-updates__image-content {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources-888-odds-platform-updates__image-text-layout .page-resources-888-odds-platform-updates__text-content {
  flex: 2;
  min-width: 300px;
}

.page-resources-888-odds-platform-updates__image-content-right {
  display: flex;
  flex-direction: row-reverse; /* Image on right */
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-resources-888-odds-platform-updates__image-content-right .page-resources-888-odds-platform-updates__text-block {
  flex: 2;
  min-width: 300px;
}

.page-resources-888-odds-platform-updates__image-content-right .page-resources-888-odds-platform-updates__image-content {
  flex: 1;
  min-width: 300px;
}

.page-resources-888-odds-platform-updates__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-888-odds-platform-updates__card {
  background-color: #017439; /* Brand primary for cards */
  color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-888-odds-platform-updates__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.page-resources-888-odds-platform-updates__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  width: 100%; /* Ensure image fills card width */
  min-height: 200px; /* Minimum size for card images */
  object-fit: cover;
}

.page-resources-888-odds-platform-updates__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-888-odds-platform-updates__card p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-resources-888-odds-platform-updates__security-section {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-resources-888-odds-platform-updates__security-image {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources-888-odds-platform-updates__security-section .page-resources-888-odds-platform-updates__list {
  flex: 2;
  min-width: 300px;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.page-resources-888-odds-platform-updates__security-section .page-resources-888-odds-platform-updates__list li {
  position: relative;
  padding-left: 30px;
}

.page-resources-888-odds-platform-updates__security-section .page-resources-888-odds-platform-updates__list li::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-resources-888-odds-platform-updates__faq-container {
  margin-top: 40px;
}

.page-resources-888-odds-platform-updates__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-888-odds-platform-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-888-odds-platform-updates__faq-question:hover {
  background-color: #e0e0e0;
}

.page-resources-888-odds-platform-updates__faq-question h3 {
  margin: 0;
  color: #333333;
  font-size: 1.1em;
}

.page-resources-888-odds-platform-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-888-odds-platform-updates__faq-item.active .page-resources-888-odds-platform-updates__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-888-odds-platform-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-888-odds-platform-updates__faq-item.active .page-resources-888-odds-platform-updates__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-888-odds-platform-updates__hero-title {
    font-size: 2.8em;
  }

  .page-resources-888-odds-platform-updates__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-888-odds-platform-updates__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-888-odds-platform-updates__hero-title {
    font-size: 2.2em;
  }

  .page-resources-888-odds-platform-updates__hero-description {
    font-size: 1em;
  }

  .page-resources-888-odds-platform-updates__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-888-odds-platform-updates__btn-primary,
  .page-resources-888-odds-platform-updates__btn-secondary {
    width: 100% !important; /* Ensure buttons take full width */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-888-odds-platform-updates__content-area {
    padding: 40px 15px;
    margin-top: -20px;
  }

  .page-resources-888-odds-platform-updates__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-888-odds-platform-updates__sub-title {
    font-size: 1.5em;
  }

  .page-resources-888-odds-platform-updates p,
  .page-resources-888-odds-platform-updates__list li,
  .page-resources-888-odds-platform-updates__ordered-list li {
    font-size: 0.95em;
  }

  .page-resources-888-odds-platform-updates__image-text-layout,
  .page-resources-888-odds-platform-updates__image-content-right,
  .page-resources-888-odds-platform-updates__security-section {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-888-odds-platform-updates__image-content,
  .page-resources-888-odds-platform-updates__security-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow to shrink */
    box-sizing: border-box !important;
  }

  .page-resources-888-odds-platform-updates__image-text-layout .page-resources-888-odds-platform-updates__text-content,
  .page-resources-888-odds-platform-updates__image-content-right .page-resources-888-odds-platform-updates__text-block,
  .page-resources-888-odds-platform-updates__security-section .page-resources-888-odds-platform-updates__list {
    width: 100% !important;
    min-width: unset;
  }

  .page-resources-888-odds-platform-updates__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-888-odds-platform-updates__card {
    padding: 20px;
  }

  .page-resources-888-odds-platform-updates__faq-question,
  .page-resources-888-odds-platform-updates__faq-answer {
    padding: 15px;
  }
}

/* Ensure all content containers are responsive and prevent overflow */
.page-resources-888-odds-platform-updates__hero-content,
.page-resources-888-odds-platform-updates__content-area,
.page-resources-888-odds-platform-updates__hero-buttons,
.page-resources-888-odds-platform-updates__image-text-layout,
.page-resources-888-odds-platform-updates__image-content-right,
.page-resources-888-odds-platform-updates__security-section,
.page-resources-888-odds-platform-updates__card-grid,
.page-resources-888-odds-platform-updates__faq-container,
.page-resources-888-odds-platform-updates__cta-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevents horizontal scroll */
}