#anuncios {
  container-type: inline-size;
  margin-block: 30px;
  margin-inline: auto;
  font-family: var(--fonte);
  width: 100%;
  max-width: var(--container-size);
  padding-inline: 20px;
}

#anuncios .catalogo {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
#anuncios .catalogo .anuncio a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#anuncios .catalogo .anuncio a .image {
  display: block;
  height: 300px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

/** Bas de cadre premium **/
#anuncios .premium-zone .premium-item a .title {
  background-color: var(--dark-black); !important;
}

/** FavGirls border **/
#anuncios > div.catalogo.premium-zone > div > div {
  background-color: #f74380;
  color: #FFD700;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', sans-serif;
}


#anuncios .premium-zone {
  margin-bottom: 1.5rem;
}

#anuncios .catalogo .anuncio a .image {
  display: block;
  height: 300px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  border: 1px solid transparent; /* <- compensation pour la grille */
}

#anuncios .catalogo .premium-item a .image {
  border: 7px solid #3e2355;
}


#anuncios .catalogo .premium-item  {
  border-radius: 0;
}

#anuncios .catalogo .anuncio a .image img {
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  margin: 0;
}

#anuncios .catalogo .anuncio a .title {
  color: var(--primary-color);
  text-align: center;
  background-color: var(--dark-black);
}
#anuncios .catalogo .anuncio a .title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 18px;
  padding-block: 5px;
  margin: 0;
}

#anuncios .catalogo .anuncio a .title:hover p {
  text-decoration: underline;
}

@container (max-width: 1024px) {
  #anuncios .catalogo {
    grid-template-columns: repeat(5, 1fr);
  }
}
@container (max-width: 768px) {
  #anuncios .catalogo {
    grid-template-columns: repeat(4, 1fr);
  }
}
@container (max-width: 600px) {
  #anuncios .catalogo {
    grid-template-columns: repeat(3, 1fr);
  }
}
@container (max-width: 425px) {
  #anuncios .catalogo {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (max-width: 325px) {
  #anuncios .catalogo {
    grid-template-columns: repeat(1, 1fr);
  }
}

.anuncio {
  position: relative; /* Ensures the badge is positioned relative to this container */
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.title {
  text-align: center;
  padding: 10px;
  background-color: var(--dark-black);
}

.anuncio .text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.location i {
  margin-right: 5px;
  color: rgba(192, 192, 192, 0.5); /* Silver color with 50% opacity */
  font-size: 14px;
  font-weight: bold;
}

.new-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  /* Make it a circle */
  width: 40px;
  height: 40px;
  border-radius: 50%;

  /* Appearance */
  background-color: #FF5161; /* Circle color */
  color: white;              /* Text color */
  font-weight: bold;         /* Bold text */

  /* Center the text “O” inside */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1; /* Ensure it's above the image */
}

.vip-badge {
  position: absolute;
  top: 35px;
  left: 5px;
  /* Make it a circle */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0.8;
  border: white 2px solid;
  /* Appearance */
  background-color: #504d4d; /* Circle color */
  color: #e2b24d;              /* Text color */
  font-weight: bold;         /* Bold text */
  text-shadow:
          1px 1px 0 black,
          -1px 1px 0 black,
          1px -1px 0 black,
          -1px -1px 0 black;

  /* Center the text “O” inside */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1; /* Ensure it's above the image */
}

.review-badge {
  position: absolute;
  top: 35px;
  font-size: 8px;
  left: 5px;
  /* Make it a circle */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0.6;
  border: white 2px solid;
  /* Appearance */
  background-color: #6591e5; /* Circle color */
  color: #ffffff;              /* Text color */
  font-weight: bold;         /* Bold text */
  text-shadow:
          1px 1px 0 black,
          -1px 1px 0 black,
          1px -1px 0 black,
          -1px -1px 0 black;

  /* Center the text “O” inside */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1; /* Ensure it's above the image */
}

.review-badge-last {
  position: absolute;
  top: 65px;
  font-size: 8px;
  left: 5px;
  /* Make it a circle */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0.6;
  border: white 2px solid;
  /* Appearance */
  background-color: #6591e5; /* Circle color */
  color: #ffffff;              /* Text color */
  font-weight: bold;         /* Bold text */
  text-shadow:
          1px 1px 0 black,
          -1px 1px 0 black,
          1px -1px 0 black,
          -1px -1px 0 black;

  /* Center the text “O” inside */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1; /* Ensure it's above the image */
}

.vip-badge-alone {
  position: absolute;
  top: 5px;
  left: 5px;
  /* Make it a circle */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: white 2px solid;
  opacity: 0.8;
  text-shadow:
          1px 1px 0 black,
          -1px 1px 0 black,
          1px -1px 0 black,
          -1px -1px 0 black;
  /* Appearance */
  background-color: #504d4d; /* Circle color */
  color: #e2b24d;              /* Text color */
  font-weight: bold;         /* Bold text */

  /* Center the text “O” inside */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1; /* Ensure it's above the image */
}


@media (max-width: 768px) {
  .new-badge {
    font-size: 12px; /* Ajustez la taille du badge pour les écrans plus petits */
  }
}

@media (max-width: 425px) {
  .new-badge {
    font-size: 10px; /* Ajustez la taille du badge pour les très petits écrans */
  }
}
