.page-resources-latest-promotions-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
}

.page-resources-latest-promotions-deep-dive__hero-section {
  position: relative;
  background-color: #017439;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-latest-promotions-deep-dive__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.page-resources-latest-promotions-deep-dive__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-promotions-deep-dive__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-latest-promotions-deep-dive__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-latest-promotions-deep-dive__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-latest-promotions-deep-dive__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-latest-promotions-deep-dive__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-latest-promotions-deep-dive__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-latest-promotions-deep-dive__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-resources-latest-promotions-deep-dive__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-latest-promotions-deep-dive__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-resources-latest-promotions-deep-dive__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-latest-promotions-deep-dive__card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-resources-latest-promotions-deep-dive__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-latest-promotions-deep-dive__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-latest-promotions-deep-dive__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-latest-promotions-deep-dive__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-latest-promotions-deep-dive__btn-primary,
.page-resources-latest-promotions-deep-dive__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-resources-latest-promotions-deep-dive__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-latest-promotions-deep-dive__btn-primary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

.page-resources-latest-promotions-deep-dive__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-latest-promotions-deep-dive__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2f;
  border-color: #005f2f;
}

.page-resources-latest-promotions-deep-dive__hero-buttons .page-resources-latest-promotions-deep-dive__btn-primary,
.page-resources-latest-promotions-deep-dive__hero-buttons .page-resources-latest-promotions-deep-dive__btn-secondary {
  min-width: 180px;
}

.page-resources-latest-promotions-deep-dive__video-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-resources-latest-promotions-deep-dive__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  cursor: pointer;
}

.page-resources-latest-promotions-deep-dive__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #555555;
}

.page-resources-latest-promotions-deep-dive__how-to-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
  position: relative;
}

.page-resources-latest-promotions-deep-dive__how-to-step {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
}

.page-resources-latest-promotions-deep-dive__step-number {
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-promotions-deep-dive__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-latest-promotions-deep-dive__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-latest-promotions-deep-dive__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  grid-column: 1 / -1; /* Span full width in grid */
  margin-top: 30px;
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-latest-promotions-deep-dive__terms-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  font-size: 1.1em;
  color: #555555;
}

.page-resources-latest-promotions-deep-dive__terms-list li {
  margin-bottom: 10px;
}

.page-resources-latest-promotions-deep-dive__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-latest-promotions-deep-dive__advantage-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-resources-latest-promotions-deep-dive__advantage-item:hover {
  transform: translateY(-3px);
}

.page-resources-latest-promotions-deep-dive__advantage-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-latest-promotions-deep-dive__advantage-description {
  font-size: 0.95em;
  color: #555555;
}

.page-resources-latest-promotions-deep-dive__faq-container {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-latest-promotions-deep-dive__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-latest-promotions-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #017439;
  transition: background-color 0.3s ease;
}

.page-resources-latest-promotions-deep-dive__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-latest-promotions-deep-dive__faq-title {
  margin: 0;
  color: #017439;
  font-size: 1em; /* Adjust to fit within parent font size */
}

.page-resources-latest-promotions-deep-dive__faq-toggle {
  font-size: 1.5em;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-resources-latest-promotions-deep-dive__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-latest-promotions-deep-dive__faq-item.active .page-resources-latest-promotions-deep-dive__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-resources-latest-promotions-deep-dive__faq-item.active .page-resources-latest-promotions-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-latest-promotions-deep-dive__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

.page-resources-latest-promotions-deep-dive__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-latest-promotions-deep-dive__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-promotions-deep-dive__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Custom colors for register/login buttons if they were separate */
.page-resources-latest-promotions-deep-dive__btn-register {
  background-color: #C30808; /* Red for register */
  color: #FFFF00; /* Yellow font */
  border: 2px solid #C30808;
}

.page-resources-latest-promotions-deep-dive__btn-register:hover {
  background-color: #a00707;
  border-color: #a00707;
}

.page-resources-latest-promotions-deep-dive__btn-login {
  background-color: #C30808; /* Red for login */
  color: #FFFF00; /* Yellow font */
  border: 2px solid #C30808;
}

.page-resources-latest-promotions-deep-dive__btn-login:hover {
  background-color: #a00707;
  border-color: #a00707;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-latest-promotions-deep-dive__hero-title {
    font-size: 2.4em;
  }
  .page-resources-latest-promotions-deep-dive__section-title {
    font-size: 2em;
  }
  .page-resources-latest-promotions-deep-dive__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-promotions-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-latest-promotions-deep-dive__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-latest-promotions-deep-dive__hero-title {
    font-size: 2em;
  }
  .page-resources-latest-promotions-deep-dive__hero-description {
    font-size: 1em;
  }
  .page-resources-latest-promotions-deep-dive__hero-buttons,
  .page-resources-latest-promotions-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-latest-promotions-deep-dive__hero-buttons a,
  .page-resources-latest-promotions-deep-dive__cta-buttons a {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-resources-latest-promotions-deep-dive__content-area {
    padding: 40px 15px;
  }
  .page-resources-latest-promotions-deep-dive__section-title {
    font-size: 1.8em;
  }
  .page-resources-latest-promotions-deep-dive__sub-title {
    font-size: 1.4em;
  }
  .page-resources-latest-promotions-deep-dive__card,
  .page-resources-latest-promotions-deep-dive__how-to-step,
  .page-resources-latest-promotions-deep-dive__advantage-item {
    padding: 20px;
  }
  .page-resources-latest-promotions-deep-dive__card-image,
  .page-resources-latest-promotions-deep-dive__guide-image,
  .page-resources-latest-promotions-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-latest-promotions-deep-dive__video-wrapper {
    margin-left: 15px;
    margin-right: 15px;
    max-width: calc(100% - 30px) !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
    padding-bottom: calc((100% - 30px) * 9 / 16) !important; /* Adjust padding-bottom for 16:9 aspect ratio */
  }
  .page-resources-latest-promotions-deep-dive video,
  .page-resources-latest-promotions-deep-dive__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-latest-promotions-deep-dive__faq-question {
    padding: 15px 20px;
  }
  .page-resources-latest-promotions-deep-dive__faq-answer {
    padding: 0 20px;
  }
  .page-resources-latest-promotions-deep-dive__faq-item.active .page-resources-latest-promotions-deep-dive__faq-answer {
    padding: 15px 20px;
  }
  .page-resources-latest-promotions-deep-dive__cta-title {
    font-size: 2em;
  }
  .page-resources-latest-promotions-deep-dive__cta-description {
    font-size: 1em;
  }
  .page-resources-latest-promotions-deep-dive__promotion-grid,
  .page-resources-latest-promotions-deep-dive__how-to-guide,
  .page-resources-latest-promotions-deep-dive__advantage-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-latest-promotions-deep-dive__btn-primary,
  .page-resources-latest-promotions-deep-dive__btn-secondary,
  .page-resources-latest-promotions-deep-dive a[class*="button"],
  .page-resources-latest-promotions-deep-dive 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;
    padding-right: 15px;
  }
  .page-resources-latest-promotions-deep-dive__cta-buttons,
  .page-resources-latest-promotions-deep-dive__button-group,
  .page-resources-latest-promotions-deep-dive__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}