.page-resources {
  color: #333333;
  background-color: var(--secondary-color); /* #FFFFFF */
}

.page-resources__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
}

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

.page-resources__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-resources__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-resources__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-resources__button--login {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-resources__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-resources__content-section,
.page-resources__why-trust-section,
.page-resources__holistic-approach-section,
.page-resources__responsible-gaming-section {
  padding: 60px 20px;
  background-color: var(--secondary-color);
}

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

.page-resources__content-title,
.page-resources__why-trust-title,
.page-resources__holistic-approach-title,
.page-resources__responsible-gaming-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-resources__content-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #333333;
}

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

.page-resources__article-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.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: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__button--read-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9em;
  align-self: flex-start;
  border: 2px solid #000000;
}

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

.page-resources__why-trust-description,
.page-resources__holistic-approach-description,
.page-resources__responsible-gaming-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #333333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-resources__why-trust-image,
.page-resources__holistic-approach-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-resources__cta-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-resources__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__content-title,
  .page-resources__why-trust-title,
  .page-resources__holistic-approach-title,
  .page-resources__responsible-gaming-title {
    font-size: 2em;
  }
  .page-resources__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-image {
    margin-bottom: 30px;
  }
  .page-resources__hero-cta,
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .page-resources__content-section,
  .page-resources__why-trust-section,
  .page-resources__holistic-approach-section,
  .page-resources__responsible-gaming-section {
    padding: 40px 15px;
  }
  .page-resources__content-title,
  .page-resources__why-trust-title,
  .page-resources__holistic-approach-title,
  .page-resources__responsible-gaming-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__content-intro,
  .page-resources__why-trust-description,
  .page-resources__holistic-approach-description,
  .page-resources__responsible-gaming-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    text-align: left;
  }
  .page-resources__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-resources__article-image {
    height: 200px;
  }
  .page-resources__article-title {
    font-size: 1.2em;
  }
  .page-resources__article-summary {
    font-size: 0.9em;
  }
  .page-resources__button--read-more {
    padding: 8px 18px;
    font-size: 0.85em;
  }
  .page-resources__why-trust-image,
  .page-resources__holistic-approach-image {
    margin: 30px auto;
  }
  .page-resources__cta-section {
    padding: 60px 15px;
  }
  .page-resources__cta-title {
    font-size: 2em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }

  /* Ensure all images under .page-resources are responsive and do not cause overflow */
  .page-resources img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__content-title,
  .page-resources__why-trust-title,
  .page-resources__holistic-approach-title,
  .page-resources__responsible-gaming-title {
    font-size: 1.5em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
}