.page-resources {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Assuming body background from shared is black */
}

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

/* HERO Intro Section - No image, just text */
.page-resources__hero-intro-section {
  padding-top: 0; /* Assuming shared.css handles body padding-top: var(--header-offset) */
  padding-bottom: 60px;
  background: #0A2240;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.page-resources__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources__intro-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources__intro-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__intro-description a:hover {
  text-decoration: underline;
}

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

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

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

.page-resources__btn-primary:hover {
  background: #e6c200;
  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: #0A2240;
  transform: translateY(-2px);
}

/* Common Section Styles */
.page-resources__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources__highlight {
  color: #FFD700;
}

.page-resources__section-description {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-resources__section-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__section-description a:hover {
  text-decoration: underline;
}

.page-resources__dark-section {
  background-color: #0A2240;
  color: #ffffff;
}

/* Guide Section */
.page-resources__guide-section {
  padding: 80px 20px;
}

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

.page-resources__guide-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__guide-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources__guide-card .page-resources__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin: 25px 25px 15px 25px;
  line-height: 1.3;
}

.page-resources__guide-card .page-resources__card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-resources__guide-card p {
  font-size: 15px;
  color: #f0f0f0;
  margin: 0 25px 20px 25px;
  flex-grow: 1;
}

.page-resources__guide-card p a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources__guide-card p a:hover {
  text-decoration: underline;
}

.page-resources__card-link {
  display: inline-block;
  margin: 0 25px 25px 25px;
  padding: 10px 20px;
  background: #FFD700;
  color: #0A2240;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

/* Policy Section */
.page-resources__policy-section {
  padding: 80px 20px;
  background-color: #000000;
}

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

.page-resources__policy-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #f0f0f0;
  display: block;
  height: 100%;
  box-sizing: border-box;
}

.page-resources__policy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__policy-card .page-resources__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources__policy-card p {
  font-size: 15px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-resources__policy-card p a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources__policy-card p a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 80px 20px;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-resources__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources__faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.page-resources__faq-answer p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__faq-answer p a:hover {
  text-decoration: underline;
}

/* Contact Section */
.page-resources__contact-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000;
}

/* Blog Preview Section */
.page-resources__blog-preview-section {
  padding: 80px 20px;
}

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

.page-resources__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources__blog-card .page-resources__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin: 25px 25px 15px 25px;
  line-height: 1.3;
}

.page-resources__blog-card .page-resources__card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-resources__blog-card p {
  font-size: 15px;
  color: #f0f0f0;
  margin: 0 25px 20px 25px;
  flex-grow: 1;
}

.page-resources__blog-card p a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources__blog-card p a:hover {
  text-decoration: underline;
}

.page-resources__view-all-button {
  text-align: center;
  margin-top: 50px;
}

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

  .page-resources__section-title {
    font-size: 32px;
  }

  .page-resources__guide-card img {
    height: 220px;
  }

  .page-resources__blog-card img {
    height: 200px;
  }
}

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

  .page-resources__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources__hero-intro-section {
    padding-top: 0 !important; /* Ensure no double padding if shared.css sets body padding-top */
    padding-bottom: 40px;
    min-height: 280px;
  }

  .page-resources__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources__intro-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-resources__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-resources__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-resources__guide-section,
  .page-resources__policy-section,
  .page-resources__faq-section,
  .page-resources__contact-section,
  .page-resources__blog-preview-section {
    padding: 50px 15px;
  }

  .page-resources__guide-grid,
  .page-resources__policy-grid,
  .page-resources__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources__guide-card img {
    
  }

  .page-resources__guide-card .page-resources__card-title,
  .page-resources__policy-card .page-resources__card-title,
  .page-resources__blog-card .page-resources__card-title {
    font-size: 20px;
    margin: 20px 20px 10px 20px;
  }

  .page-resources__guide-card p,
  .page-resources__policy-card p,
  .page-resources__blog-card p {
    font-size: 14px;
    margin: 0 20px 15px 20px;
  }

  .page-resources__card-link {
    margin: 0 20px 20px 20px;
  }

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

  .page-resources__faq-question h3 {
    font-size: 16px;
  }

  .page-resources__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

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

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

  .page-resources__faq-answer p {
    font-size: 14px;
  }

  .page-resources__blog-card img {
    
  }

  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources__section,
  .page-resources__card,
  .page-resources__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure images within content sections are not smaller than 200px */
.page-resources__guide-card img, 
.page-resources__blog-card img {
  min-width: 200px;
  min-height: 200px;
}