.page-resources {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --login-color: #EA7C07;

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-resources__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--text-light);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

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

.page-resources__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-resources__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

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

.page-resources__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-resources__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-resources__section-title--light {
  color: var(--text-light);
}

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

.page-resources__card {
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

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

.page-resources__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources__section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 40px;
  object-fit: cover;
}

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

.page-resources__guide-item, .page-resources__news-item {
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: left;
  color: var(--text-dark);
}

.page-resources__guide-title, .page-resources__news-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.page-resources__strategy-card {
  background-color: var(--bg-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: left;
  color: var(--text-dark);
}

.page-resources__strategy-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources__section--faq {
  background-color: #f9f9f9;
}

.page-resources__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-resources__faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  padding: 10px 0;
}

.page-resources__faq-question:hover {
  color: var(--primary-color);
}

.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 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

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

.page-resources__section--cta {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 20px;
}

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

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources__section--contact {
  padding: 60px 20px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-resources__contact-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-resources__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources__btn-secondary--light {
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources__btn-secondary--light:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-resources__btn-link {
  background-color: transparent;
  color: var(--primary-color);
  border: none;
  padding: 0;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
}

.page-resources__btn-link::after {
  content: '→';
  margin-left: 8px;
  transition: margin-left 0.3s ease;
}

.page-resources__btn-link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-resources__btn-link:hover::after {
  margin-left: 12px;
}

/* Image sizing for content areas - min 200x200px */
.page-resources img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary, .page-resources__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__card, .page-resources__guide-item, .page-resources__news-item, .page-resources__strategy-card {
    padding: 20px;
  }
  .page-resources__faq-question {
    font-size: 1.1em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
  
  /* Mobile image responsiveness */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__section, .page-resources__card, .page-resources__container, .page-resources__guide-list, .page-resources__strategy-grid, .page-resources__news-list, .page-resources__faq-list, .page-resources__cta-content, .page-resources__contact-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile video responsiveness */
  .page-resources video, .page-resources__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    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;
  }
  .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__cta-buttons {
    flex-direction: column !important;
  }
}