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

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

.page-resources__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-resources__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-resources__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources__btn--primary {
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

.page-resources__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-resources__btn--secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-2px);
}

.page-resources__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

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

.page-resources__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-resources__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-resources__article-image img {
  width: 100%;
  height: 100%;
  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.6em;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

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

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

.page-resources__read-more-btn {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__read-more-btn:hover {
  background-color: #0056b3;
}

.page-resources__deep-dive-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-resources__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-resources__content-block {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__content-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-resources__content-text {
  color: #444444;
  margin-bottom: 20px;
}

.page-resources__content-block img {
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
}

.page-resources__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
  background-color: #e9f7fe;
}

.page-resources__faq-section {
  padding: 60px 0;
}

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

.page-resources__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-resources__faq-answer {
  color: #555555;
}

.page-resources__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffc107;
}

.page-resources__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-resources__btn--cta {
  background-color: #ffc107;
  color: #000000;
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  border: 2px solid #ffc107;
}

.page-resources__btn--cta:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-resources__deep-dive-section .page-resources__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__hero-description {
    font-size: 1em;
  }

  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn {
    width: 100%;
    max-width: 280px;
  }

  .page-resources__section-title {
    font-size: 2em;
  }

  .page-resources__section-description {
    font-size: 0.95em;
  }

  .page-resources__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-resources__article-image {
    height: 200px;
  }

  .page-resources__article-title {
    font-size: 1.4em;
  }

  .page-resources__content-title {
    font-size: 1.8em;
  }

  .page-resources__cta-title {
    font-size: 2em;
  }

  .page-resources__cta-description {
    font-size: 1em;
  }

  .page-resources__btn--cta {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-resources__hero-image img,
  .page-resources__article-image img,
  .page-resources__content-block img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all images within .page-resources are responsive and not smaller than 200px */
  .page-resources img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

  .page-resources__article-image img {
    min- /* Card images can be slightly smaller if they maintain aspect ratio */
  }

  .page-resources__hero-image img {
    min-height: 250px;
  }

  .page-resources__content-block img {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__cta-title {
    font-size: 1.8em;
  }

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

  .page-resources__container {
    padding: 0 15px;
  }
}