 /* CSS POUR BLOG HOOKED */
 span.number {
    font: 400 18.75rem Moderat, sans-serif;
    letter-spacing: -.04em;
    line-height: .9;
    }
    .text-titreprojets {
    font-size: 2.175rem;
}
  .menu-container {
      display: flex;
      justify-content: left;
      gap: 20px;
      margin-bottom: 30px;
  }
  .menu-item {
      font-weight: bold;
      cursor: pointer;
      padding: 10px 20px;
      border-radius: 25px;
      transition: background 0.3s;
  }
  .menu-item:hover {
      background: #ddd;
  }
  .work-card {
      position: relative;
      overflow: hidden;
      margin-bottom: 30px;
      border-radius: 25px;
  }
  .work-card img {
      width: 100%;
      transition: transform 0.3s;
      
  }
  /*.work-card:hover img {
      transform: scale(1.05);
  }*/
  .work-card .overlay {
      position: absolute;
      bottom: 0;
      color: white;
      width: 100%;
      padding: 10px;
      text-align: left;
  }
  .work-info {
      margin-top: 15px;
      text-align: left;
      margin-bottom: 25px;
  }
 /* .row .col-md-6:nth-child(even) {
      transform: translateY(20%);
  }*/
    .navbar {
        width: 100%;
    }
      * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f7f7f7;
      color: #666;
    }
    .sticky-top.p-4.bg-light.rounded {
        border-radius: 25px;
    }


    .sidebar {
      width: 260px;
      padding: 20px;
      background-color: #f5f5f5 !important;
      border-right: 1px solid #eee;
      position: sticky;
      top: 0;
      height: 100vh;
    }

    .sidebar h2 {
      font-size: 18px;
      margin-bottom: 15px;
    }

    .sidebar ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    ul {
        color: #4f5795!important;
    }

    .sidebar li {
      margin: 10px 0;
    }

    .sidebar a {
      text-decoration: none;
      color: #0066cc;
      font-weight: 500;
    }

    a.nav-link {
    color: #111;
    line-height: 1rem;
    }
    a.nav-link:hover {
    color: #4f5795;
    line-height: 1rem;
    }

    main {
      flex: 1;
      padding: 40px 30px;
    }

    h1, h2, h3 {
      color: #4f5795;
    }
    p {
        color: #111;;
    }
    .blockquote {
        color:#4f5795;
        font-weight: 500;
    }

    section {
      margin-bottom: 60px;
    }

    .reading-time {
      font-size: 14px;
      margin-top: 20px;
      color: #111;
    }

    .image-placeholder {
      width: 100%;
      height: 200px;
      background-color: #ddd;
      margin: 20px 0;
      border-radius: 8px;
      text-align: center;
      line-height: 200px;
      color: #777;
      font-style: italic;
    }

.banner-container {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Titre responsive aligné à gauche et saut de ligne à 50% */
.banner-title {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  max-width: 50vw;
  font-size: clamp(1.8rem, 4vw, 4rem);
  word-break: break-word;
  white-space: normal;
}

@media (max-width: 991.98px) {
  aside.col-lg-3 {
    display: none !important;
  }
}


/* Appliquer seulement sur tablette et mobile */
@media (max-width: 991.98px) {
  .banner-wrapper {
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .banner-wrapper img {
    height: 100%;
    width: auto;
    border-radius: 25px;
    object-fit: cover;
  }

  .banner-title {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    max-width: 90%;
  }
}

