/* ==========================
   taille de police globale
   ========================== */

html {
  font-size: 16px;
  box-sizing: border-box;
}

/* ==========================
   archive location
   ========================== */

/* on définit la largeur maximale du bloc d’archive et on le centre */
.archive-location {
  max-width: calc(100% - 12.5rem); /* 100% - (6.25rem * 2) */
  margin-left: auto;
  margin-right: auto;
}

/* on enlève les marges latérales pour forcer un rendu full-bleed du bandeau */
.archive-location .no-archive-margins {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding-left: 0;
  padding-right: 0;
}

/* responsive : on redéfinit les marges sur mobile */
@media (max-width: 768px) {
  .archive-location {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .location-item {
    flex-direction: column;
    gap: 1rem;
  }

  .location-image,
  .location-image img {
    width: 100%;
    height: auto;
  }

  .animated-title,
  .static-title,
  #breadcrumbs {
    margin-left: 30px;
    margin-right: 30px;
  }

  .animated-title {
    font-size: 2rem;
  }

  .static-title {
    font-size: 1.2rem;
  }
}

/* ==========================
   éléments individuels de location
   ========================== */

.location-item {
  display: flex;
  align-items: center;
  margin-bottom: 4.5rem;
  gap: 1.5rem;
  transition: transform 0.2s ease;
}

.location-item:hover {
  transform: scale(1.01);
}

.location-item-title {
  font-size: 1.25rem;
  font-family: 'Anton', sans-serif;
  color: var(--rouge);
  font-weight: 700;
}

/* ==========================
   image dans un item
   ========================== */

.location-image {
  width: 240px;
  height: 135px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.location-image img {
  width: 240px;
  height: 135px;
  object-fit: contain;
  border-radius: 6px;
}

/* ==========================
   texte informatif dans un item
   ========================== */

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info p {
  margin: 0.3rem 0;
  font-size: 1rem;
  font-weight: 400;
}

.location-info strong {
  font-weight: 600;
}

/* ==========================
   titres spécifiques à la page Location
   ========================== */

.animated-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.static-title {
  font-size: 1.8rem;
}

/* ==========================
   image manquante
   ========================== */

.elementor-widget-image img[src=""] {
  display: none;
}
