* { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      background-image: url('/media/img/map.webp');
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .header-title {
      color: #AABE78;
      font-size: 18px;
      font-weight: bold;
    }

    .header-subtitle {
      color: #333;
      font-size: 11px;
      font-weight: normal;
    }

    h1 {
      padding: 0 0 5px 0;
      color: #AABE78;
    }

    h1.blog-posts {
      margin-bottom: 20px;
      padding: 0;
    }

    h3 {
      color: #AABE78;
      font-size: 17px;
      margin-bottom: 20px;
    }

    h4 {
      color: #6192D1;
      font-size: 14x;
      margin: 30px 0 5px 0;
    }

    a {
      color: #8FA366;
    }

    p,
    ul {
      color: #333;
      font-size: 14px;
      line-height: 1.6;
      margin: 15px 0;
    }

    ul.post-feed,
    ul.gallery-grid,
    ul.gallery-grid li,
    ul.post-feed li {
      margin: 0;
    }

    ul {
      list-style-type: disc;
    }

    ul li {
      margin: 0 0 10px 15px;
    }

    header {
      padding: 10px 15px 10px 15px;
      margin-bottom: 120px;
      background: #fff;
    }

    header.posts-header {
      margin-bottom: 0;
      padding: 0;
    }

    .container {
      width: 100%;
      margin: 0 auto;
      background: white;
      border-radius: 0;
      padding: 10px 15px;
      box-shadow: none;
      height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .main-content {
      margin: 0 auto 80px auto;
      max-width: 800px;
      border-radius: 12px;
      background: #fff;
      padding: 40px 60px;
    }

    .main-content h1 {
      font-size: 26px;
      margin-bottom: 20px;
    }

    .main-content h2 {
      color: #6695ca;
      font-size: 17px;
    }

    .main-content h3 {
      color: #444;
      font-size: 14px;
    }

    .posts-header > h1 {
      margin-bottom: 20px;
    }

    .main-content article {
      margin-bottom: 40px;
    }

    .main-content article > header > a {
      color: #AABE78;
      text-decoration: none;
    }

    .main-content footer,
    #byline {
      font-size: 12px;
      color: #666;
    }

    #byline {
      margin-bottom: 25px;
    }

    .main-content footer.readmore {
      font-size: 12px;
      border-radius: 12px;
      background-color: #6695ca;
      padding: 5px 10px;
      width: fit-content;
    }

    .main-content footer.readmore a {
      color: #fff;
      font-weight: bold;
      text-decoration: none;
    }

    .main-content footer.readmore:hover {
      background-color: #4c83c1;
    }

    .post-feed {
      list-style-type: none;
    }

    .header-logo-menu > a {
      text-decoration: none;
    }

    .header-logo-menu, 
    .header-logo-menu ul {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
    }

    .header-logo-menu ul {
      font-size: 13px;
      list-style-type: none;
    }

    .header-logo-menu ul li {
      margin: 0 10px 0 0;
    }

    .header-logo-menu ul li a {
      text-decoration: none;
      color: #667eea;
    }

    .header-logo-menu ul li a:hover {
      color: #3759d7;
    }

    .header-logo-menu ul li a.active {
      padding-bottom: 3px;
      border-bottom: 1px solid currentColor;
    }

    .logo-baseline {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .subtitle {
      color: #666;
      margin-bottom: 20px;
      font-size: 14px;
    }

    /* Bouton retour en haut */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 1000;
    }

    .back-to-top:hover {
        opacity: 0.7;
    }

    .back-to-top svg {
        width: 1.5rem;
        height: 1.5rem;
        fill: #666;
    }

    /* Responsive */
    @media (max-width: 768px) {
        
        .back-to-top {
            position: static;
            transform: none;
            display: block;
            margin: 1rem auto 0;
        }
    }

    /*-----------------------------------------------------------------------------*/
    /* Image gallery
    /*-----------------------------------------------------------------------------*/

    .gallery-grid {
      display: grid;
      list-style: none;
      grid-gap: 16px;
      line-height: 0;
      grid-template-columns: repeat(1, 1fr);
      grid-auto-flow: dense;
      margin-top: 2rem;
    }
    .gallery-grid li {
      position: relative;
      --cols: 1;
      --rows: 1;
      overflow: hidden;
      line-height: 0;
    }
    .gallery-grid li:first-child {
      --cols: 2;
      --rows: 2;
    }
    .gallery-grid li:nth-child(5) {
      --cols: 2;
    }
    .gallery-grid li:nth-child(6) {
      --rows: 2;
    }
    .gallery-grid li:nth-child(7) {
      --cols: 2;
    }
    .gallery-grid a {
      display: block;
      height: 10rem;
    }
    .gallery-grid img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.3s;
      border-radius: 3px;
      cursor: pointer;
    }
    .gallery-grid figcaption {
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      color: #fff;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      line-height: 1;
      text-align: center;
      background: rgba(0, 0, 0, 0.5);
    }

    @media screen and (min-width: 45em) {
      .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .gallery-grid li {
        grid-column-start: span var(--cols);
        grid-row-start: span var(--rows);
      }
      .gallery-grid a {
        padding-bottom: 52.65%;
      }
    }