/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
  }
  
  .hero-link {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }
  
  .hero-content {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    margin: 20px;
    max-width: 800px;
  }
  
  .hero-content h1 {
    font-size: 3rem; /* Adjust font size as needed */
    margin: 0;
  }
  
  .hero-content .hero-excerpt {
    font-size: 1.2rem; /* Adjust font size as needed */
    margin: 10px 0;
  }
  
  .hero-content .hero-date {
    font-size: 1rem; /* Adjust font size as needed */
    margin: 10px 0 0;
  }
  
  /* Supporting Posts */
  .supporting-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  
  .supporting-post {
    height: 25vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
  }

  .supporting-post:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
  
  .post-content {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    margin: 10px;
    width: 90%;
  }
  
  .post-content h2 {
    font-size: 1.2rem;
    margin: 0;
  }

  .link-supporting-post {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  /* Our Other Posts Section */
  .other-posts-section {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    margin-top: 40px;
  }
  
  .other-posts-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .other-posts {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  
  .fiche {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: background-color 0.3s ease;
  }
  
  .fiche-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .fiche:hover {
    background-color: #f9f9f9; /* Slight gray out on hover */
  }
  
  .thumbnail {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
  }
  
  .category {
    padding: 5px 10px;
    background-color: #007BFF; /* Default color */
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    margin: 10px;
    border-radius: 4px;
    display: inline-block;
  }
  
  .fiche h3 {
    font-size: 1.2rem;
    margin: 10px;
    color: #333;
  }
  
  .fiche .excerpt {
    font-size: 0.9rem;
    margin: 10px;
    color: #666;
  }

  @media (max-width: 768px) {
    .hero-banner {
      height: 60vh;
    }
  
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-content .hero-excerpt {
      font-size: 1rem;
    }
  
    .supporting-posts {
      grid-template-columns: repeat(2, 1fr); /* 2 posts per row on smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .supporting-posts {
      grid-template-columns: 1fr; /* 1 post per row on mobile */
    }
  }

  @media (max-width: 768px) {
    .fiche {
      flex: 1 1 calc(50% - 20px); /* 2 fiches per row on smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .fiche {
      flex: 1 1 100%; /* 1 fiche per row on mobile */
    }
  }