.page-resources-789club-latest-updates {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
}

.page-resources-789club-latest-updates__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-789club-latest-updates__light-bg {
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-resources-789club-latest-updates__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
}

.page-resources-789club-latest-updates__hero-content {
  max-width: 800px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-resources-789club-latest-updates__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
}

.page-resources-789club-latest-updates__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-789club-latest-updates__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-789club-latest-updates__btn-primary,
.page-resources-789club-latest-updates__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-789club-latest-updates__btn-primary {
  background-color: var(--login-color);
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-resources-789club-latest-updates__btn-primary:hover {
  background-color: darken(var(--login-color), 10%);
  border-color: darken(var(--login-color), 10%);
}

.page-resources-789club-latest-updates__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources-789club-latest-updates__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-resources-789club-latest-updates__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-789club-latest-updates__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-resources-789club-latest-updates__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-789club-latest-updates__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-789club-latest-updates__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-789club-latest-updates__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-789club-latest-updates__link:hover {
  text-decoration: underline;
}

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

.page-resources-789club-latest-updates__card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-resources-789club-latest-updates__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-789club-latest-updates__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-789club-latest-updates__card-content {
  padding: 25px;
}

.page-resources-789club-latest-updates__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-789club-latest-updates__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-789club-latest-updates__card-title a:hover {
  text-decoration: underline;
}

.page-resources-789club-latest-updates__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-resources-789club-latest-updates__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
}

.page-resources-789club-latest-updates__read-more:hover {
  color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources-789club-latest-updates__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-789club-latest-updates__video-wrapper {
  max-width: 1000px;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-789club-latest-updates__video {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.page-resources-789club-latest-updates__faq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-789club-latest-updates__faq-list {
  margin-top: 40px;
}

.page-resources-789club-latest-updates__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-789club-latest-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-resources-789club-latest-updates__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-789club-latest-updates__faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
}

.page-resources-789club-latest-updates__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-resources-789club-latest-updates__faq-item.active .page-resources-789club-latest-updates__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-789club-latest-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-resources-789club-latest-updates__faq-item.active .page-resources-789club-latest-updates__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px 25px;
}

.page-resources-789club-latest-updates__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-789club-latest-updates__cta-bottom {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-789club-latest-updates__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-789club-latest-updates__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-789club-latest-updates__hero-title {
    font-size: 2.8em;
  }
  .page-resources-789club-latest-updates__section-title {
    font-size: 2.2em;
  }
  .page-resources-789club-latest-updates__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-789club-latest-updates__hero-section {
    flex-direction: column;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-789club-latest-updates__hero-title {
    font-size: 2.2em;
  }
  .page-resources-789club-latest-updates__hero-description {
    font-size: 1em;
  }
  .page-resources-789club-latest-updates__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-resources-789club-latest-updates__btn-primary,
  .page-resources-789club-latest-updates__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-789club-latest-updates__content-area,
  .page-resources-789club-latest-updates__video-section,
  .page-resources-789club-latest-updates__faq-section,
  .page-resources-789club-latest-updates__cta-bottom {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-resources-789club-latest-updates__section-title {
    font-size: 2em;
  }
  .page-resources-789club-latest-updates__card-image,
  .page-resources-789club-latest-updates img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size is kept */
    min-height: 200px !important; /* Ensure min size is kept */
  }
  .page-resources-789club-latest-updates__video,
  .page-resources-789club-latest-updates video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-789club-latest-updates__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-789club-latest-updates__faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources-789club-latest-updates__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-resources-789club-latest-updates__hero-title {
    font-size: 1.8em;
  }
  .page-resources-789club-latest-updates__section-title {
    font-size: 1.8em;
  }
  .page-resources-789club-latest-updates__cta-title {
    font-size: 1.8em;
  }
  .page-resources-789club-latest-updates__faq-question h3 {
    font-size: 1em;
  }
  .page-resources-789club-latest-updates__faq-toggle {
    font-size: 1.5em;
  }
}