/* =============================================================================
   ML Voyages – Style général & structure
   ============================================================================= */

/* === Grille globale pour les listings === */
.mlv-voyages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.mlv-voyages-grid .mlv_box {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.mlv-voyages-grid .mlv_box:hover {
    transform: translateY(-4px);
}

/* === Image dans les contenus === */
.mlv_img_float {
    float: left;
    margin: 0 1rem 1rem 0;
}
.mlv_img_float img {
    border-radius: 6px;
    max-width: 150px;
}

/* === PARTIALS JOUR === */
.mlv-partial-jour {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: "Segoe UI", sans-serif;
}
.mlv-partial-jour .header {
    text-align: center;
    margin-bottom: 2rem;
}
.mlv-partial-jour .title {
    font-size: 2.2rem;
    color: #003f63;
    font-weight: bold;
}
.mlv-partial-jour .infos span {
    display: inline-block;
    margin: 0.25rem 0.75rem;
    font-size: 1rem;
    color: #555;
}
.mlv-partial-jour .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}
.mlv-partial-jour .section {
    margin-bottom: 2.5rem;
}
.mlv-partial-jour .section h2 {
    font-size: 1.5rem;
    color: #003f63;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.mlv-partial-jour .btn {
    display: inline-block;
    background-color: #003f63;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}
.mlv-partial-jour .btn:hover {
    background-color: #00507a;
}

/* === Template full largeur 16:9 === */
.mlv-jour-template {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    box-sizing: border-box;
}
.mlv-hero {
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 9;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}
.mlv-hero-image {
    background-size: cover;
    background-position: center;
    flex: 1;
    min-height: 300px;
}
.mlv-hero-content {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.mlv-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.mlv-meta span {
    margin-right: 1rem;
    font-size: 1rem;
}
.dispo-green {
    color: #2ecc71;
}
.dispo-orange {
    color: #f39c12;
}
.dispo-red {
    color: #e74c3c;
}

/* === Layout 2 colonnes === */
.mlv-layout-2col {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
}

.mlv-col-left {
  flex: 0 0 360px;
  max-width: 380px;
}

.mlv-col-right {
  flex: 1 1 auto;
  min-width: 0;
}

/* === Colonne de droite === */
.mlv-col-right {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #eee;
  color: #444;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: justify;
  text-justify: inter-word;
}
.mlv-col-right p {
  margin-bottom: 1rem;
}
.mlv-col-right a {
  color: #0073aa;
  text-decoration: underline;
  transition: color 0.2s;
}
.mlv-col-right a:hover {
  color: #00507a;
}

/* === Bloc Autres infos === */
.mlv-bloc-autres {
  font-size: 0.95rem;
  color: #555;
  margin-top: 1rem;
  font-style: italic;
}

/* === Responsive === */
@media (max-width: 768px) {
  .mlv-layout-2col {
    flex-direction: column;
  }
}

/* === Safety fix === */
html, body {
  overflow-x: hidden;
  width: 100%;
}