.page-resources {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources__hero-section {
  background-color: #000000; /* Black background for hero */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

.page-resources__button--register {
  background-color: #FCBC45; /* Login color for register */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources__button--register:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-resources__button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Overlay for text readability */
}

.page-resources__articles-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-resources__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #000000;
}

.page-resources__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources__article-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__article-card img {
  width: 100%;
  height: 225px; /* Ensuring >= 200px */
  object-fit: cover;
  display: block;
}

.page-resources__article-card-content {
  padding: 25px;
}

.page-resources__article-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources__article-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #FCBC45;
}

.page-resources__article-summary {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-resources__button--read-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 0.95em;
}

.page-resources__button--read-more:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources__deep-content {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #333333;
}

.page-resources__sub-section-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
}

.page-resources__deep-content p {
  margin-bottom: 15px;
}

.page-resources__deep-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__deep-content a:hover {
  text-decoration: underline;
}

.page-resources__list {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-resources__list li {
  margin-bottom: 8px;
  color: #444444;
}

.page-resources__keyword {
  font-weight: bold;
  color: #000000;
}

.page-resources__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-resources__cta-section--bottom {
  margin-top: 60px;
}

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-resources__button--signup {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources__button--signup:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-resources__button--download {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources__button--download:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__sub-section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-card img,
  .page-resources__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-resources__deep-content,
  .page-resources__articles-section,
  .page-resources__cta-section {
    padding: 40px 15px;
  }
  .page-resources__sub-section-title {
    font-size: 1.5em;
  }
  .page-resources__deep-content p,
  .page-resources__list li {
    font-size: 1em;
  }
  .page-resources__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__button {
    width: 90%;
    padding: 12px 20px;
  }
}