.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text */
  background-color: #1a1a1a; /* Dark background */
  line-height: 1.6;
}

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #8B0000, #4a0000); /* Darker red gradient for hero */
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero text */
  position: relative;
  overflow: hidden;
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,patterns,dark]');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-resources__hero-section > div {
  position: relative;
  z-index: 1;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-weight: bold;
}

.page-resources__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #F0F0F0;
}

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

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-resources__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources__btn--secondary {
  background-color: #8B0000; /* Burgundy */
  color: #FFD700; /* Gold text for burgundy button */
  border: 2px solid #8B0000;
}

.page-resources__btn--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-3px);
}

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

.page-resources__article {
  background-color: #2a2a2a; /* Slightly lighter dark background for article */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold */
  margin-top: 50px;
  margin-bottom: 25px;
  border-left: 5px solid #8B0000; /* Burgundy accent */
  padding-left: 15px;
  font-weight: bold;
}

.page-resources__article h2:first-of-type {
  margin-top: 0;
}

.page-resources__article p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-resources__highlight {
  color: #FFD700; /* Gold for highlights */
  font-weight: bold;
}

.page-resources__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__image-half-width {
  width: 48%; /* Adjust for spacing */
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  float: left;
  margin-right: 4%;
}

.page-resources__image-half-width.page-resources__image-right {
  float: right;
  margin-right: 0;
  margin-left: 4%;
}

.page-resources__resource-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-resources__resource-item {
  background-color: #3a3a3a; /* Slightly lighter for list items */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #FFD700;
}

.page-resources__resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__item-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__item-description {
  font-size: 1em;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.page-resources__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #8B0000; /* Burgundy */
  color: #FFD700; /* Gold */
  border: none;
}

.page-resources__btn--small:hover {
  background-color: #6a0000;
}

.page-resources__cta-banner {
  background: linear-gradient(90deg, #8B0000, #FFD700); /* Red to gold gradient */
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  margin: 60px 0;
  color: #1a1a1a; /* Dark text for bright banner */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__cta-banner-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #1a1a1a;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.page-resources__cta-banner-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

.page-resources__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
  margin: 0 10px;
}

.page-resources__btn--large.page-resources__btn--outline {
  background-color: transparent;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
}

.page-resources__btn--large.page-resources__btn--outline:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
}

.page-resources__inline-link {
  color: #FFD700; /* Gold link */
  text-decoration: none;
  font-weight: bold;
}

.page-resources__inline-link:hover {
  text-decoration: underline;
  color: #e6c200;
}

/* Clearfix for floated images */
.page-resources__article::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__image-half-width {
    width: 100%;
    float: none;
    margin: 20px 0;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__article {
    padding: 25px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__resource-item {
    padding: 20px;
  }
  .page-resources__cta-banner {
    padding: 40px;
  }
  .page-resources__cta-banner-title {
    font-size: 2em;
  }
  .page-resources__cta-banner-description {
    font-size: 1em;
  }
  .page-resources__btn--large {
    width: 90%;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-section {
    padding: 60px 0;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__btn {
    width: 95%;
  }
  .page-resources__article {
    padding: 15px;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__resource-list {
    grid-template-columns: 1fr;
  }
  .page-resources__cta-banner {
    padding: 30px 15px;
  }
  .page-resources__cta-banner-title {
    font-size: 1.6em;
  }
  .page-resources__btn--large {
    width: 100%;
    font-size: 1.1em;
  }
}