.page-resources {
  color: #ffffff; /* Dark body background (#0a0a0a) requires light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a;
}

.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); /* Overlay for text readability */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Assuming shared.css does not set body padding-top */
}

.page-resources__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

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

.page-resources__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold brand color */
  line-height: 1.2;
}

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

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources__btn-primary {
  background-color: #FFD700; /* Gold brand color */
  color: #0a0a0a;
  border: 2px solid #FFD700;
}

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

.page-resources__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold brand color */
  border: 2px solid #FFD700;
}

.page-resources__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
}

.page-resources__btn-large {
  font-size: 20px;
  padding: 18px 35px;
}

.page-resources__section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-resources__section:nth-of-type(even) {
  background-color: #0a0a0a;
}

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

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

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

.page-resources__subtitle {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #FFD700;
}

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

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

.page-resources__card {
  background-color: #2a2a2a; /* Darker card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-resources__card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.page-resources__card-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: #FFD700;
  flex-grow: 1;
}

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

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

.page-resources__card-text {
  font-size: 15px;
  margin: 0 20px 20px 20px;
  color: #cccccc;
}

.page-resources__card-button {
  display: inline-block;
  background-color: #8B0000; /* Dark Red brand color */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-resources__card-button:hover {
  background-color: #a00000;
}

.page-resources__content-block {
  background-color: #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__content-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-resources__block-title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: #FFD700;
}

.page-resources__block-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-resources__block-text {
  font-size: 16px;
  margin: 0 20px 20px 20px;
  color: #cccccc;
  flex-grow: 1;
}

.page-resources__block-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-resources__block-button:hover {
  background-color: #a00000;
}

.page-resources__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 20px 20px 20px;
  color: #cccccc;
}

.page-resources__strategy-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-resources__strategy-list li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources__faq-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
  color: #ffffff;
}

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

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a;
}

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

.page-resources__faq-question:hover {
  background: #444444;
  border-color: #555555;
}

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

.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: 32px;
  height: 32px;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Plus sign to X */
}

.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;
  background-color: #2a2a2a;
  color: #cccccc;
}

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

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

.page-resources__cta-section {
  background: linear-gradient(90deg, #8B0000, #FFD700);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources__cta-container {
  max-width: 900px;
}

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

.page-resources__cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-resources__grid-2-columns {
    grid-template-columns: 1fr;
  }
}

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

  .page-resources__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 100px) !important; /* Adjust for mobile header offset */
  }

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

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

  .page-resources__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources a[class*="button"],
  .page-resources a[class*="btn"] {
    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 {
    padding: 40px 15px;
  }

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

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

  .page-resources__subtitle {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .page-resources__grid-3-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-resources__grid-2-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-resources__card-image-wrapper {
    height: 180px;
  }

  .page-resources__card-title {
    font-size: 20px;
    margin: 15px 15px 8px 15px;
  }

  .page-resources__card-text {
    font-size: 14px;
    margin: 0 15px 15px 15px;
  }

  .page-resources__card-button {
    margin: 0 15px 15px 15px;
  }

  .page-resources__content-image {
    height: 220px;
  }

  .page-resources__block-title {
    font-size: 22px;
    margin: 15px 15px 8px 15px;
  }

  .page-resources__block-text {
    font-size: 15px;
    margin: 0 15px 15px 15px;
  }

  .page-resources__block-button {
    margin: 0 15px 15px 15px;
  }

  .page-resources__strategy-list {
    margin: 0 15px 15px 15px;
  }

  .page-resources__strategy-list li {
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 20px;
  }

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

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

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

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

  .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: 15px;
  }

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

  .page-resources__cta-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-resources__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* General image and container responsiveness */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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