body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: #f5f5f5;
      color: #333;
    }

    header {
      background: #0f571c;
      color: whitesmoke;
      padding: 20px;
      text-align: center;
    }

    nav {
      background: #ffc999;
      padding: 10px;
      text-align: center;
    }

    nav a {
      margin: 0 15px;
      color: #0f571c;
      text-decoration: none;
      font-weight: bold;
    }

    section {
      padding: 10px 30px;
      max-width: 900px;
      margin: auto;
    }

    h2 {
      color: #0f571c;
    }

    .calendar {
      text-align: center;
      margin-top: 20px;
      width: 100%;
    }

    .calendar .elfsight-app {
      width: 100% !important;
      margin: auto;
    }

    @media (max-width: 768px) {
        .calendar .elfsight-app {
        max-height: 500px !important; /* limite la hauteur sur mobile */
        overflow-y: auto; /* ajoute une barre de scroll si contenu dépasse */
      }
    }

    iframe {
      border: none;
      width: 100%;
      height: 600px;
    }

    footer {
      background: #333;
      color: white;
      text-align: center;
      padding: 15px;
      margin-top: 30px;
    }

    /* === Galerie photos === */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }

    .gallery img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      transition: transform 0.3s ease, filter 0.3s ease;
      cursor: pointer;
    }

    .gallery img:hover {
      transform: scale(1.2);
      filter: brightness(1.1);
    }

     /* === Galerie photos Avis=== */
    .gallery_Avis {
      display:block ;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }

    .gallery_Avis img {
      width: 60%;
      height: 60%;
      object-fit:fill ;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      transition: transform 0.3s ease, filter 0.3s ease;
      cursor: pointer;
    }

    .gallery_Avis img:hover {
      transform: scale(1.2);
      filter: brightness(1.1);
    }

    /* === Lightbox === */
    .lightbox {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.9);
      justify-content: center;
      align-items: center;
      }

    .lightbox img {
      max-width: 80%;
      max-height: 80%;
      border-radius: 10px;
    }

    .lightbox .close {
      position: absolute;
      top: 20px; right: 30px;
      font-size: 40px;
      color: white;
      cursor: pointer;
    }
    /* Next & previous buttons */
    .prev, .next {
      position: absolute;
      top: 50%;
      font-size: 40px;
      font-weight: bold;
      color: white;
      cursor: pointer;
      padding: 10px;
      user-select: none;
    }

    .prev { left: 20px; }
    .next { right: 20px; }

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }

    table {
      border-collapse: collapse;
      border: 2px solid rgb(140 140 140);
      font-family: sans-serif;
      font-size: 0.8rem;
      letter-spacing: 1px;
    }
     
    thead,tfoot {
      background-color: rgb(228 240 245);
    }

    th,td {
      border: 1px solid rgb(160 160 160);
      padding: 8px 10px;
    }

    td:last-of-type {
      text-align: center;
    }

    tbody > tr:nth-of-type(even) {
      background-color: rgb(237 238 242);
    }

    #notionSection {
      padding: 20px;
      background: #fff;
      border-top: 2px solid #ccc;
    }

    .notion-item {
      margin-bottom: 15px;
      padding: 10px;
      border-left: 4px solid #0f571c;
      background: #f9f9f9;
    }
    
    .notion-table {
      margin-top: 20px;
      width: 100%;
     border-collapse: collapse;
    }

    .notion-table th,
    .notion-table td {
      padding: 8px;
      border: 1px solid #ccc;
      text-align: left;
    }

    .notion-table th {
      background-color: #0f571c;
      color: white;
    }