.page-resources__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); /* Fixed header spacing */
  background: linear-gradient(135deg, #2F4F4F 0%, #000000 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 2;
}

.page-resources__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background: #FFD700;
  color: #2F4F4F;
  border: 2px solid #FFD700;
}

.page-resources__btn-primary:hover {
  background: #e6c200;
  color: #2F4F4F;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources__btn-secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources__btn-secondary:hover {
  background: #FFD700;
  color: #2F4F4F;
  transform: translateY(-2px);
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #2F4F4F;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-resources__section-title--light {
  color: #FFD700;
}

.page-resources__section-title--light::after {
  background-color: #ffffff;
}

.page-resources__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources__text-block--light {
  color: #f0f0f0;
}

.page-resources__introduction-section,
.page-resources__guide-section,
.page-resources__platform-advantages,
.page-resources__faq-section {
  padding: 80px 0;
  background: #ffffff; /* light background */
  color: #333333;
}

.page-resources__video-section,
.page-resources__strategies-section,
.page-resources__news-events {
  padding: 80px 0;
  background: #2F4F4F; /* dark background */
  color: #ffffff;
}

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

.page-resources__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-resources__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources__card-title {
  font-size: 1.4em;
  color: #2F4F4F;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-resources__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__card-link {
  display: block;
  text-align: center;
  padding: 15px 20px;
  background: #FFD700;
  color: #2F4F4F;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.page-resources__card-link:hover {
  background: #e6c200;
}

/* Dark background card specific styles */
.page-resources__card--dark-bg {
  background: #2F4F4F;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__card--dark-bg .page-resources__card-title--light {
  color: #FFD700;
}

.page-resources__card--dark-bg .page-resources__card-description--light {
  color: #f0f0f0;
}

.page-resources__card--dark-bg .page-resources__card-link--light {
  background: #FFD700;
  color: #2F4F4F;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.page-resources__card--dark-bg .page-resources__card-link--light:hover {
  background: #e6c200;
}

.page-resources__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block; /* Ensure it behaves as a block element */
}

.page-resources__guide-item {
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources__guide-subtitle {
  font-size: 1.8em;
  color: #2F4F4F;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-resources__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
  line-height: 1.6;
}

.page-resources__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources__advantage-item {
  background: #f9f9f9;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 5px solid #FFD700;
}

.page-resources__advantage-subtitle {
  font-size: 1.5em;
  color: #2F4F4F;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

.page-resources__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: #2F4F4F;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.3s ease;
}

.page-resources__faq-question:hover {
  background: #f0f0f0;
}

.page-resources__faq-heading {
  margin: 0;
  font-size: 1.2em;
  color: #2F4F4F;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(45deg);
  color: #2F4F4F;
}

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

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__card-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__text-block,
  .page-resources__ordered-list li,
  .page-resources__card-description {
    font-size: 1em;
  }

  .page-resources__feature-cards,
  .page-resources__strategy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources__card-image {
    height: 180px;
  }

  /* Mobile image responsiveness */
  .page-resources img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness */
  .page-resources video,
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding for mobile */
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-resources__cta-button,
  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources a[class*="button"],
  .page-resources 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;
    text-align: center;
  }
  
  .page-resources__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-resources__container {
    padding: 0 15px;
  }

  .page-resources__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
}