.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8; /* Light background for the page */
}

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

.page-resources__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources__section:nth-of-type(odd) {
  background-color: #f0f0f0;
}

.page-resources__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #2C3E50;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources__sub-title {
  font-size: 24px;
  color: #2C3E50;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources__inline-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-resources__list-item {
  font-size: 16px;
  margin-bottom: 10px;
}

/* HERO Section */
.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #2C3E50 0%, #0a111a 100%); /* Darker background for hero */
  color: #ffffff;
}

.page-resources__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold text for title */
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #2C3E50;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-resources__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-button--secondary {
  background: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources__cta-button--secondary:hover {
  background: #FFD700;
  color: #2C3E50;
  border-color: #FFD700;
}

/* Grid Layout for Guides */
.page-resources__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 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__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-resources__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2C3E50;
  line-height: 1.3;
}

.page-resources__card-title a {
  color: #2C3E50;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  color: #FFD700;
}

.page-resources__card-text {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD700;
  color: #2C3E50;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-resources__card-button:hover {
  background-color: #e6c200;
}

/* Mobile Betting Section */
.page-resources__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-resources__mobile-text {
  flex: 1;
}

.page-resources__mobile-image {
  flex: 1;
  text-align: center;
}

.page-resources__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsible Gaming Section */
.page-resources__responsible-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-resources__responsible-text {
  flex: 1;
}

.page-resources__responsible-image {
  flex: 1;
  text-align: center;
}

.page-resources__responsible-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Latest News Section */
.page-resources__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__news-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 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__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__news-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-resources__news-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2C3E50;
  line-height: 1.3;
}

.page-resources__news-title a {
  color: #2C3E50;
  text-decoration: none;
}

.page-resources__news-title a:hover {
  color: #FFD700;
}

.page-resources__news-date {
  font-size: 14px;
  color: #888888;
  margin-bottom: 15px;
}

.page-resources__news-excerpt {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__news-readmore {
  display: inline-block;
  padding: 8px 15px;
  background: #2C3E50;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-resources__news-readmore:hover {
  background-color: #FFD700;
  color: #2C3E50;
}

.page-resources__view-all-news {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-resources__faq-section {
  background-color: #f8f8f8;
}

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

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #FFD700;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #2C3E50; /* Dark text for gold background */
}

.page-resources__faq-question:hover {
  background: #e6c200;
  border-color: #d0d0d0;
}

.page-resources__faq-question:active {
  background: #d4b200;
}

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #2C3E50; /* Dark text for gold background */
}

.page-resources__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #2C3E50;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Changed to rotate for a more visual effect */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 40px;
  }

  .page-resources__section-title {
    font-size: 30px;
  }

  .page-resources__mobile-content,
  .page-resources__responsible-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-resources__mobile-text, .page-resources__responsible-text {
    order: 2;
  }
  .page-resources__mobile-image, .page-resources__responsible-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__hero-title {
    font-size: 32px;
  }
  .page-resources__hero-description {
    font-size: 16px;
  }
  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__cta-button, .page-resources__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-resources__text-block {
    font-size: 15px;
  }
  .page-resources__list-item {
    font-size: 15px;
  }

  .page-resources__grid-layout, .page-resources__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources__card-image, .page-resources__news-image {
    height: 180px;
  }
  .page-resources__card-content, .page-resources__news-content {
    padding: 20px;
  }
  .page-resources__card-title, .page-resources__news-title {
    font-size: 18px;
  }

  .page-resources__mobile-image img, .page-resources__responsible-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources__mobile-content, .page-resources__responsible-content,
  .page-resources__card, .page-resources__news-card,
  .page-resources__faq-item, .page-resources__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources__faq-answer {
    padding: 0 15px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure all images are responsive and do not cause horizontal scroll */
.page-resources img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-resources__section, .page-resources__card, .page-resources__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* No filter on images */
.page-resources img {
  filter: none; /* Ensure no filters are applied */
}