.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

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

.page-resources .highlight {
  color: #FFCC00;
}

.page-resources .page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-resources .page-resources__btn--primary {
  background-color: #FFCC00; /* Wealth Gold */
  color: #003366; /* Betting Blue */
  border: 2px solid #FFCC00;
}

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

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

.page-resources .page-resources__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-resources .page-resources__btn--read-more {
  background-color: #003366;
  color: #fff;
  border: 1px solid #003366;
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-resources .page-resources__btn--read-more:hover {
  background-color: #002244;
  border-color: #002244;
}

.page-resources .page-resources__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-resources .page-resources__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources__hero {
  background: linear-gradient(135deg, #003366 0%, #002244 100%); /* Betting Blue gradient */
  color: #fff;
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-resources__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern,dark]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-resources__hero-content {
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

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

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

.page-resources__hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources__hero-image-wrapper {
  z-index: 1;
}

.page-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.page-resources__overview {
  padding: 80px 0;
  background-color: #fff;
}

.page-resources__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-resources__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.page-resources__feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.page-resources__feature-text {
  color: #666;
  font-size: 1em;
}

/* Articles Section */
.page-resources__articles {
  padding: 80px 0;
  background-color: #f4f7f6;
}

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

.page-resources__article-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources__article-thumbnail {
  width: 100%;
  height: 220px;
  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: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* CTA Banner Section */
.page-resources__cta-banner {
  background: linear-gradient(90deg, #003366, #004488);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.page-resources__cta-banner .page-resources__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-resources__cta-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-resources__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-resources__cta-image-wrapper {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }
  .page-resources__hero-content {
    text-align: center;
  }
  .page-resources__hero-cta-group {
    justify-content: center;
  }
  .page-resources__hero-image-wrapper {
    margin-top: 30px;
  }
  .page-resources__overview, .page-resources__articles, .page-resources__cta-banner {
    padding: 60px 0;
  }
  .page-resources__section-description {
    margin-bottom: 40px;
  }
  .page-resources__article-list {
    grid-template-columns: 1fr;
  }
  .page-resources__article-item {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-resources__cta-banner .page-resources__container {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__cta-content {
    text-align: center;
  }
  .page-resources__cta-buttons {
    justify-content: center;
  }
  .page-resources__cta-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-description {
    font-size: 1em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-resources__feature-item {
    padding: 20px;
  }
  .page-resources__article-title {
    font-size: 1.3em;
  }
}