.page-resources {
  color: #333333; /* Dark text for light body background */
}

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  text-align: center;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.page-resources__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-content {
  max-width: 800px;
}

.page-resources__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-resources__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

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

.page-resources__btn--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-resources__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources__articles-section,
.page-resources__deep-content-section,
.page-resources__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-resources__section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 15px;
}

.page-resources__section-subtitle {
  font-size: 1.1rem;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources__article-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
}

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

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #000000;
}

.page-resources__article-title a {
  color: #000000;
  text-decoration: none;
}

.page-resources__article-title a:hover {
  color: #FCBC45;
}

.page-resources__article-summary {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__btn--read-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
  text-align: center;
  align-self: flex-start;
}

.page-resources__btn--read-more:hover {
  background-color: #333333;
}

.page-resources__deep-content-section {
  background-color: #f0f0f0;
}

.page-resources__content-heading {
  font-size: 2rem;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources__deep-content-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-resources__content-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444444;
}

.page-resources__content-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-resources__content-list strong {
  color: #000000;
}

.page-resources__content-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
}

.page-resources__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-resources__faq-question {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources__faq-answer {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

.page-resources__cta-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-resources__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}

.page-resources__cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources__cta-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3rem;
  }

  .page-resources__section-title {
    font-size: 2.2rem;
  }

  .page-resources__content-heading {
    font-size: 1.8rem;
  }

  .page-resources__cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }

  .page-resources__hero-container {
    padding: 60px 20px;
  }

  .page-resources__hero-title {
    font-size: 2.5rem;
  }

  .page-resources__hero-description {
    font-size: 1rem;
  }

  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn {
    width: 100%;
  }

  .page-resources__articles-section,
  .page-resources__deep-content-section,
  .page-resources__cta-section {
    padding: 40px 0;
  }

  .page-resources__section-title {
    font-size: 2rem;
  }

  .page-resources__section-subtitle {
    font-size: 0.95rem;
  }

  .page-resources__article-title {
    font-size: 1.4rem;
  }

  .page-resources__article-summary {
    font-size: 0.9rem;
  }

  .page-resources__content-heading {
    font-size: 1.6rem;
  }

  .page-resources__deep-content-section p,
  .page-resources__content-list li,
  .page-resources__faq-answer {
    font-size: 1rem;
  }

  .page-resources__faq-question {
    font-size: 1.2rem;
  }

  .page-resources__cta-title {
    font-size: 2rem;
  }

  .page-resources__cta-description {
    font-size: 1rem;
  }

  .page-resources__container img {
    max-width: 100%;
    height: auto;
  }

  .page-resources__hero-image,
  .page-resources__article-image,
  .page-resources__content-image,
  .page-resources__cta-image {
    max-width: 100%;
    height: auto;
  }
  
  .page-resources__container {
    padding: 0 15px;
  }

  /* Ensure content images do not overflow on mobile */
  .page-resources__deep-content-section img,
  .page-resources__article-card img {
    max-width: 100%;
    height: auto;
  }
}