.page-resources {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #000000;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-resources__hero-section {
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

.page-resources__hero-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 30px;
}

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

.page-resources__hero-button--register {
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources__hero-button--register:hover {
  background-color: #333333;
}

.page-resources__intro-section,
.page-resources__responsible-gaming-section,
.page-resources__advantage-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__intro-heading,
.page-resources__articles-heading,
.page-resources__responsible-gaming-heading,
.page-resources__advantage-heading,
.page-resources__cta-heading {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources__intro-text,
.page-resources__responsible-gaming-text,
.page-resources__advantage-text,
.page-resources__cta-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__articles-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

.page-resources__article-card:hover {
  transform: translateY(-5px);
}

.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.5em;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: bold;
}

.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-abstract {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__article-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__article-button:hover {
  background-color: #333333;
}

.page-resources__responsible-gaming-button,
.page-resources__advantage-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-resources__responsible-gaming-button:hover,
.page-resources__advantage-button:hover {
  background-color: #333333;
}

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

.page-resources__cta-heading {
  color: #FFFFFF;
}

.page-resources__cta-text {
  color: #f0f0f0;
}

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

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

.page-resources__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources__cta-button--register:hover {
  background-color: #f0f0f0;
}

.page-resources__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources__cta-button--login:hover {
  background-color: #e0a53b;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-description {
    font-size: 1.2em;
  }
  .page-resources__intro-heading,
  .page-resources__articles-heading,
  .page-resources__responsible-gaming-heading,
  .page-resources__advantage-heading,
  .page-resources__cta-heading {
    font-size: 2em;
  }
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px 30px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__intro-section,
  .page-resources__responsible-gaming-section,
  .page-resources__advantage-section,
  .page-resources__cta-section {
    padding: 40px 0;
  }
  .page-resources__intro-heading,
  .page-resources__articles-heading,
  .page-resources__responsible-gaming-heading,
  .page-resources__advantage-heading,
  .page-resources__cta-heading {
    font-size: 1.8em;
  }
  .page-resources__intro-text,
  .page-resources__responsible-gaming-text,
  .page-resources__advantage-text,
  .page-resources__cta-text {
    font-size: 0.95em;
  }
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__article-image {
    height: 200px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
  .page-resources__article-abstract {
    font-size: 0.9em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-resources__content-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-resources__article-card img {
    max-width: 100%;
    height: auto;
  }
  .page-resources__responsible-gaming-button,
  .page-resources__advantage-button {
    width: 80%;
    margin: 20px auto 0;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__hero-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-resources__intro-heading,
  .page-resources__articles-heading,
  .page-resources__responsible-gaming-heading,
  .page-resources__advantage-heading,
  .page-resources__cta-heading {
    font-size: 1.5em;
  }
  .page-resources__intro-text,
  .page-resources__responsible-gaming-text,
  .page-resources__advantage-text,
  .page-resources__cta-text {
    font-size: 0.85em;
  }
  .page-resources__cta-button {
    width: 90%;
  }
  .page-resources__responsible-gaming-button,
  .page-resources__advantage-button {
    width: 90%;
  }
}