/* =============== developers.css =============== */

/* Assumes listserv.css is linked first */

.developers-page {
    padding-bottom: 4rem; /* Only need bottom padding as header has space */
  }
  
  /* Developer Hero Section */
  .dev-hero {
    background-color: var(--bg-secondary); /* Subtle background contrast */
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
  }
  
  .dev-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .dev-hero p.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem; /* Center and limit width */
    line-height: 1.6;
  }
  
  .dev-hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* Section Styling */
  .dev-section {
      padding: 3rem 0;
      border-bottom: 1px solid var(--border-color);
  }
  .dev-section:last-of-type {
      border-bottom: none;
      padding-bottom: 0; /* No extra padding at the very end */
  }
  
  .dev-section .section-header {
      text-align: center;
      margin-bottom: 2.5rem;
  }
  
  .dev-section .section-title {
      font-size: 1.75rem;
      margin-bottom: 0.75rem;
  }
  
  .dev-section .section-subtitle {
      font-size: 1rem;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
  }
  
  
  /* Resource Grid (for Docs, API, Tools etc.) */
  .resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem; /* Space after section header if not centered */
  }
  
  .resource-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
  }
  
  .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
    border-color: var(--accent-color);
  }
  
  .resource-icon {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    width: 48px; /* Consistent icon area */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
  }
  
  .resource-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .resource-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Push link to bottom */
    line-height: 1.5;
  }
  
  .resource-card a.learn-more {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-color);
    display: inline-flex; /* Align icon nicely */
    align-items: center;
    gap: 0.3rem;
  }
  
  .resource-card a.learn-more i {
    transition: transform 0.2s ease-in-out;
  }
  
  .resource-card a.learn-more:hover i {
    transform: translateX(3px);
  }
  
  /* API Showcase */
  .api-showcase .code-block {
      margin-top: 1.5rem;
  }
  
  /* Community Section */
  .community-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
  }
  
  .community-card {
      /* Similar styling to resource-card but potentially simpler */
      background-color: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: var(--border-radius);
      padding: 1.5rem;
      text-align: center;
  }
  .community-card i {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: var(--text-secondary);
  }
  .community-card h3 {
      font-size: 1.1rem;
      margin-bottom: 1rem;
  }
  .community-card p {
      font-size: 0.875rem;
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
  }
  .community-card .btn {
      width: 100%;
  }
  
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .dev-hero {
      padding: 3rem 0;
    }
    .dev-hero h1 {
      font-size: 2rem;
    }
    .dev-hero p.subtitle {
      font-size: 1rem;
    }
    .dev-section .section-title {
      font-size: 1.5rem;
    }
  }