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

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

.page-resources .highlight {
  color: #007bff;
  font-weight: bold;
}

/* Hero Section */
.page-resources__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

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

.page-resources__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

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

.page-resources__hero-cta-btn {
  display: inline-block;
  background-color: #ffc107;
  color: #212529;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__hero-cta-btn:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-resources__hero-image-wrapper {
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 1;
}

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

/* Introduction Section */
.page-resources__introduction {
  padding: 60px 0;
  background-color: #fff;
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-resources__intro-text {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #555;
}

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

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

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

.page-resources__article-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px 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-thumbnail {
  width: 100%;
  height: 200px;
  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-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.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-meta {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 15px;
}

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

.page-resources__btn-read-more {
  display: inline-block;
  background-color: #ffc107;
  color: #212529;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources__btn-read-more:hover {
  background-color: #e0a800;
}

/* Pagination */
.page-resources__pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 10px;
}

.page-resources__pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-resources__pagination-link:hover {
  background-color: #e9ecef;
  border-color: #007bff;
}

.page-resources__pagination-link--active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  pointer-events: none;
}

/* Call to Action Banner */
.page-resources__cta-banner {
  background: linear-gradient(90deg, #007bff, #ffc107);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.page-resources__cta-banner .page-resources__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-resources__cta-content {
  max-width: 800px;
}

.page-resources__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-resources__cta-title .highlight {
  color: #212529; /* Darker highlight for contrast on gradient */
}

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

.page-resources__cta-btn {
  display: inline-block;
  background-color: #212529;
  color: #ffc107;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-btn:hover {
  background-color: #000;
  transform: translateY(-3px);
}

.page-resources__cta-btn .highlight {
  color: #fff;
}

.page-resources__cta-image-wrapper {
  max-width: 500px;
  width: 100%;
}

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

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-resources__hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 80px 40px;
  }

  .page-resources__hero-content {
    max-width: 50%;
    margin-right: 40px;
  }

  .page-resources__hero-image-wrapper {
    margin-top: 0;
    max-width: 45%;
  }

  .page-resources__cta-banner .page-resources__container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-resources__cta-content {
    max-width: 55%;
  }

  .page-resources__cta-image-wrapper {
    max-width: 40%;
  }
}

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

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

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

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

  .page-resources__hero-cta-btn, .page-resources__cta-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}