.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color);
}

.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

.page-resources__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

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

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  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-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-resources__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-resources__btn-link {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources__btn-link:hover {
  background-color: #1f8ac7;
}

.page-resources__content-section {
  padding: 60px 0;
}

.page-resources__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: #26A9E0;
}

.page-resources__light-bg .page-resources__section-title {
  color: #26A9E0;
}

.page-resources__dark-bg .page-resources__section-title {
  color: #ffffff;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: inherit;
}

.page-resources__light-bg .page-resources__section-intro {
  color: #555555;
}

.page-resources__dark-bg .page-resources__section-intro {
  color: #f0f0f0;
}

.page-resources__article-block {
  margin-bottom: 60px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: #333333;
}

.page-resources__dark-bg .page-resources__article-block {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__article-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: inherit;
}

.page-resources__article-subtitle {
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #26A9E0;
}

.page-resources__dark-bg .page-resources__article-subtitle {
  color: #ffffff;
}

.page-resources__article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-resources__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  min-width: 200px;
  min-height: 200px;
}

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

.page-resources__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources__dark-bg .page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

.page-resources__dark-bg .page-resources__faq-question {
  color: #ffffff;
}

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

.page-resources__dark-bg .page-resources__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-resources__dark-bg .page-resources__faq-answer {
  color: #cccccc;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-resources__faq-answer p {
  margin-bottom: 0;
  padding-top: 10px;
}

.page-resources__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-resources__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

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

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

  .page-resources__article-subtitle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources__btn-link,
  .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;
  }

  .page-resources__cta-buttons,
  .page-resources__button-group,
  .page-resources__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;
  }

  .page-resources__content-section {
    padding: 40px 0;
  }

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

  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources__section-intro {
    margin-bottom: 40px;
  }

  .page-resources__article-block {
    padding: 20px;
    margin-bottom: 40px;
  }

  .page-resources__article-subtitle {
    font-size: 1.3em;
  }

  .page-resources__article-image,
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }

  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-resources__cta-section {
    padding: 60px 15px;
  }

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

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

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__section-title {
    font-size: 1.5em;
  }

  .page-resources__article-subtitle {
    font-size: 1.2em;
  }

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

  .page-resources__faq-answer {
    padding: 0 15px;
  }

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px;
  }
}