.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

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

.page-resources__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #0A2463, #000000);
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #E0B34C;
  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: #E0B34C;
  border-radius: 2px;
}

.page-resources__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources__dark-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 60px 0;
}

.page-resources__light-bg {
  background-color: #f0f0f0;
  color: #333333;
  padding: 60px 0;
}

.page-resources__light-bg .page-resources__section-title {
  color: #0A2463;
}

.page-resources__light-bg .page-resources__section-title::after {
  background-color: #0A2463;
}

.page-resources__light-bg .page-resources__text-block {
  color: #333333;
}

.page-resources__btn-primary, .page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: #E0B34C;
  color: #0A2463;
  border: 2px solid #E0B34C;
}

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

.page-resources__btn-secondary {
  background-color: transparent;
  color: #E0B34C;
  border: 2px solid #E0B34C;
  margin-left: 15px;
}

.page-resources__btn-secondary:hover {
  background-color: #E0B34C;
  color: #0A2463;
}

.page-resources__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  object-fit: cover;
}

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

.page-resources__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources__card-title {
  font-size: 1.5em;
  color: #E0B34C;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources__card-title a {
  color: #E0B34C;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  text-decoration: underline;
}

.page-resources__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__flex-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-resources__text-column {
  flex: 1;
}

.page-resources__image-column {
  flex: 1;
}

.page-resources__image-responsive {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources__strategy-list li {
  background: rgba(10, 36, 99, 0.8);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
  border-left: 5px solid #E0B34C;
}

.page-resources__strategy-list li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__strategy-list li a:hover {
  color: #E0B34C;
}

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

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

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

.page-resources__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #0A2463;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

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

.page-resources__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E0B34C;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 25px;
}

.page-resources__faq-answer p {
  margin: 0;
  color: #333333;
}

.page-resources__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(45deg, #0A2463, #071c4d);
}

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

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

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

  .page-resources__flex-content {
    flex-direction: column;
  }

  .page-resources__text-column, .page-resources__image-column {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed 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__grid-container {
    grid-template-columns: 1fr;
  }

  .page-resources__btn-primary, .page-resources__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
    margin: 0;
  }

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

  .page-resources__cta-buttons .page-resources__btn-secondary {
    margin-left: 0;
  }

  /* 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;
  }
  
  /* 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;
  }
  
  /* Containers for responsive content */
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__video-section,
  .page-resources__video-container,
  .page-resources__video-wrapper,
  .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;
    overflow: hidden !important;
  }

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