/* Resources Page Styles */

/* Main Content */
.resources-main {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .section-heading {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
  }
  
  .section-heading h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .section-heading p {
    color: var(--dark-light);
    font-size: 1.125rem;
  }
  
  /* Featured Case Study */
  .featured-case-study {
    margin-bottom: 4rem;
  }
  
  .featured-case-study h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .featured-card {
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--secondary);
  }
  
  .featured-link {
    display: block;
  }
  
  .featured-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
  }
  
  .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .featured-link:hover .featured-image img {
    transform: scale(1.05);
  }
  
  .featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .featured-content {
    padding: 1.5rem;
  }
  
  .featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .featured-content p {
    color: var(--dark-light);
    margin-bottom: 1rem;
  }
  
  .read-more {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  /* Articles Grid */
  .articles-section {
    margin-bottom: 4rem;
  }
  
  .articles-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }
  
  .article-card {
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--secondary);
    height: 100%;
  }
  
  .article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .article-image {
    height: 12rem;
    overflow: hidden;
  }
  
  .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .article-link:hover .article-image img {
    transform: scale(1.05);
  }
  
  .article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .article-content p {
    color: var(--dark-light);
    margin-bottom: 1rem;
    flex-grow: 1;
  }
  
  /* Newsletter Section */
  .newsletter-section {
    margin-bottom: 4rem;
  }
  
  .newsletter-card {
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--secondary);
    text-align: center;
  }
  
  .newsletter-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .newsletter-card p {
    color: var(--dark-light);
    margin-bottom: 1.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 36rem;
    margin: 0 auto;
  }
  
  .newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--secondary);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
  }
  
  .newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(8, 133, 67, 0.2);
  }
  
  /* Media Queries */
  @media (min-width: 768px) {
    .featured-image {
      height: 20rem;
    }
  
    .articles-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .newsletter-form {
      flex-direction: row;
    }
  
    .newsletter-form input {
      flex-grow: 1;
    }
  }
  
  @media (min-width: 1024px) {
    .articles-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  