/* Container max width and centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  /* Grid for the posts: automatically adjusts columns for responsiveness */
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 2rem;
  }
  
  /* Make the entire card clickable (a link) */
  .post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06),
      0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
  }
  
  .post-card:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04),
      0 0 0 1px rgba(0, 0, 0, 0.05);
  }
  
  .post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .post-card:hover::before {
    opacity: 1;
  }
  
  /* Press release badge in upper left corner */
  .press-release-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #333;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  
  /* Card image area (cover background) */
  .card-image {
    width: 100%;
    height: 250px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
  
  /* The body of the card */
  .post-body {
    padding: 1rem;
    flex: 1 1 auto; /* so the footer can be pinned lower if needed */
  }
  
  .post-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
  }
  
  .post-description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
  }
  
  /* Date at the bottom of the card */
  .post-date {
    padding: 1rem;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
    text-align: right;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  /* Pagination */
  .pagination {
    margin-top: 2rem;
    text-align: center;
  }
  
  .pagination a,
  .pagination span {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    transition: background-color 0.2s ease;
  }
  
  .pagination a:hover {
    background-color: #f5f5f5;
  }
  
  .pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
  }
  