:root {
  --container-size: 1460px;
}

#profile-page {
  background-color: var(--bg-color);
}
#profile-page > .profile-container {
  width: 100%;
  max-width: var(--container-size);
  margin: auto;

  display: grid;
  grid-template-columns: 270px 1fr 270px;
}

.stars-display {
  margin-top: 10px;
  font-size: 1.5em; /* Taille des étoiles */
  color: #f4b400; /* Couleur des étoiles */
}

.button-63 {
    background: linear-gradient(to top,#bf953f,#fcf6ba,#b38728);
    padding: 5px 10px; border-radius: 4px;
    box-shadow: 5px 5px 5px #000;
    font-weight: bold; color:#000000;
}

.button-container {
  display: flex;
  align-self: center;
  justify-content: space-between;
  gap: 2rem;
}

.center-container {
  border-top: #f9f9f9;
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coming-soon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Make sure it overlays other elements */
}

.coming-soon-popup {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.coming-soon-popup h2 {
  color: black;
  margin: 0 0 10px;
}

.coming-soon-popup button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background-color: #007bff; /* Change color as needed */
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.coming-soon-popup button:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

.comment-card {
  border: 1px solid #ddd;
  color : #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.comment-heading {
  display: flex;
  justify-content: space-between;
  color : #333;
  align-items: center;
  margin-bottom: 8px;
}

.comment-details-grid {
  display: grid;
  color : #333;
  grid-template-columns: 1fr 1fr; /* 2 colonnes */
  gap: 10px; /* Espacement entre les cellules */
  margin-top: 10px;
}

.comment-details-grid p {
  color : #333;
  margin: 0; /* Enlever les marges pour un alignement propre */
}

.comment-text {
  color : #333;
  margin-top: 10px;
  font-size: 1em;
  text-align: justify;
}

.comment-stars {
  font-size: 1.2em;
}

/* Profile */
#profile-page > .profile-container .profile {
  margin-block: 20px;
}
#profile-page > .profile-container .profile .info {
  text-align: center;
}
#profile-page > .profile-container .profile .info .picture {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  overflow: hidden;
  margin: auto;
  border: 2px solid transparent;
  background-image: linear-gradient(45deg, #8f3700 20%, #42e4fa 100%);
  background-origin: border-box;
  box-shadow: 0 0 20px 12px #00000066;
}
#profile-page > .profile-container .profile .info .picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  margin: 0;
}

#profile-page > .profile-container .profile .info h1 {
  color: transparent !important; /* Make the text color transparent */
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 24px;
  font-style: italic;
  background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
  -webkit-background-clip: text; /* Apply the gradient to the text */
  background-clip: text; /* Apply the gradient to the text */
}
#profile-page > .profile-container .profile .info a {
  text-decoration: none;
}
#profile-page > .profile-container .profile .info a .phone {
  background-color: var(--dark-grey);
  border-radius: 20px;
  padding-block: 10px;
  padding-inline: 30px;
  margin: auto;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  transition: all 0.25s ease-in-out;
}
#profile-page > .profile-container .profile .info a .phone:hover {
  background-color: var(--dark-black);
}
#profile-page > .profile-container .profile .info a .phone span {
  color: #16a34a;
  height: 24px;
}
#profile-page > .profile-container .profile .info a .phone span svg {
  width: 20px;
  height: inherit;
}
#profile-page > .profile-container .profile .info p {
  font-weight: 400;
  font-size: 12px;
  margin-block: 5px;
}
#profile-page > .profile-container .profile .info p i {
  font-style: italic;
}
#profile-page > .profile-container .profile .info .seguir {
  background-color: transparent;
  border: 1px solid var(--bg-mobile-menu);
  border-radius: 10px;
  color: var(--grey);
  font-weight: 600;
  margin: auto;
  padding-block: 5px;
  padding-inline: 20px;
  cursor: pointer;
  margin-block: 15px;
  /* transition: all 0.25s ease-in-out; */
  display: flex;
  align-items: center;
  gap: 5px;
}
#profile-page > .profile-container .profile .info .seguir span {
  display: flex;
}
#profile-page > .profile-container .profile .info .seguir.seguindo {
  border-color: transparent;
  color: #16a34a;
}
#profile-page > .profile-container .profile .info .seguir span svg {
  width: 20px;
  height: 20px;
  fill: var(--grey);
}
#profile-page > .profile-container .profile .info .seguir.seguindo span svg {
  width: 20px;
  height: 20px;
  fill: #16a34a;
}
/* #profile-page > .profile-container .profile .info .seguir:hover {
  background-color: var(--dark-black);
} */
#profile-page > .profile-container .profile .info .seguir:hover {
  background-color: transparent;
  color: #39ec7b;
}
#profile-page > .profile-container .profile .info .seguir:hover span svg {
  fill: #39ec7b;
}
#profile-page > .profile-container .profile .info .seguir.seguindo:hover {
  fill: var(--grey);
  color: var(--grey);
}
#profile-page
  > .profile-container
  .profile
  .info
  .seguir.seguindo:hover
  span
  svg {
  fill: var(--grey);
  color: var(--grey);
}
#profile-page > .profile-container .profile .info .status {
  display: flex;
  justify-content: space-evenly;
  margin-block: 20px;
  font-weight: 300;
  color: white;
  font-size: 14px;
}
#profile-page > .profile-container .profile .info .status p span:first-child {
  font-weight: 900;
  font-size: 15px;
}
#profile-page > .profile-container .profile .acordeons {
}
#profile-page > .profile-container .profile .acordeons .acordeon {
  transition: all 0.25s ease-in-out;
  margin-block: 10px;
  margin-inline: 5px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 3px 3px 3px 0px #0000001f;
}
#profile-page > .profile-container .profile .acordeons .acordeon .label {
  background-color: var(--dark-black);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  display: block;
}
#profile-page > .profile-container .profile .acordeons .acordeon .label:hover {
  background-color: var(--bg-mobile-menu);
}
#profile-page > .profile-container .profile .acordeons .acordeon .label > h2 {
  padding: 15px;
  margin: 0;
  font-size: 18px;
  display: flex;
  font-weight: 400;
  font-family: var(--fonte) !important;
  color: var(--font-color);
}
#profile-page
  > .profile-container
  .profile
  .acordeons
  .acordeon
  .label
  h2
  span {
  margin-left: auto;
  display: flex;
  align-items: center;
}
#profile-page
  > .profile-container
  .profile
  .acordeons
  .acordeon
  .label
  h2
  span
  svg {
  width: 10px;
  height: 10px;
  transform: rotate(0deg);
  fill: white;
}

#profile-page > .profile-container .profile .acordeons .acordeon.active {
}
#profile-page
  > .profile-container
  .profile
  .acordeons
  .acordeon
  .label
  h2
  span
  svg {
  transition: all 0.25s ease-in-out;
}
#profile-page
  > .profile-container
  .profile
  .acordeons
  .acordeon.active
  .label
  h2
  span
  svg {
  transform: rotate(90deg);
}
#profile-page > .profile-container .profile .acordeons .acordeon .list {
  height: 100%;
  max-height: 0px;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
  background-color: rgb(35, 34, 34);
}
#profile-page > .profile-container .profile .acordeons .acordeon.active .list {
  max-height: 1000px;
}
#profile-page > .profile-container .profile .acordeons .acordeon .list ul {
  list-style-type: none;
  padding: 0px;
  margin: 0;
}
#profile-page > .profile-container .profile .acordeons .acordeon .list ul li {
  padding: 10px;
  color: var(--primary-color);
}
#profile-page
  > .profile-container
  .profile
  .acordeons
  .acordeon
  .list
  ul
  li
  span {
  color: var(--font-color);
}
#profile-page
  > .profile-container
  .profile
  .acordeons
  .acordeon
  .list
  ul
  li:nth-child(even) {
  background-color: rgb(39, 39, 39);
}
/* Fim profile */

/* Posts */
#profile-page > .profile-container .posts {
  border: 1px solid var(--dark-grey);
  border-top: none;
  border-bottom: none;
  padding-top: 20px;
  padding-bottom: 200px;
}
#profile-page > .profile-container .posts .mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 5px;
  padding-bottom: 15px;
  padding-inline: 2px;
}
#profile-page > .profile-container .posts .mosaic .grid-img {
  cursor: pointer;
}
#profile-page > .profile-container .posts .mosaic .grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#profile-page > .profile-container .posts .feed {
}
#profile-page > .profile-container .posts .feed .post-card {
  padding: 23px;
  padding-block: 30px;
}

#profile-page > .profile-container .posts .feed .post-card .heading .img {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  overflow: hidden;
}
#profile-page > .profile-container .posts .feed .post-card .heading .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}
#profile-page > .profile-container .posts .feed .post-card .heading .details {
  line-height: 25px;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .heading
  .details
  .name {
  color: white;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .heading
  .details
  .name
  .since {
  color: var(--grey);
  margin-left: 10px;
  font-size: 14px;
}

#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .heading
  .details
  .since {
  color: var(--grey);
  font-size: 14px;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .heading
  .details
  .at {
  color: var(--grey);
  font-weight: 600;
  font-size: 16px;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .heading
  .details
  .at
  .fixed-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

#profile-page > .profile-container .posts .feed .post-card {
  border-block: 1px solid var(--dark-grey);
}
#profile-page > .profile-container .posts .feed .post-card .card-body .grid-img {

}

.post-img-container {
  overflow: hidden;        /* Hide any overflow from the image */
  width: 100%;             /* Adjust container width */
  max-height: 670px;       /* Restrict the maximum height of the container */
}

.post-img {
  width: auto;             /* Maintain proportional width */
  height: 100%;            /* Scale height to fit container */
  object-fit: contain;     /* Ensure the entire image is visible */
  transform: none;         /* Reset any previous transformations */
}

#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-text {
  margin-block: 20px;
  line-height: 20px;
  font-weight: 400;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-content {
  cursor: pointer;
  height: 500px;
  display: flex;
  justify-content: center;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-content
  .video-container {
  width: 100%;
  height: 100%;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-content
  .video-container
  .vjs-big-play-button {
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  border: none;
  background: var(--primary-color);
  border-radius: 100px;
  width: 50px;
  height: 50px;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-content
  .video-container
  .vjs-big-play-button:before {
  text-shadow: none;
  line-height: unset;
  text-align: unset;
  width: 30px;
  height: 30px;
  left: 57%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-content
  img {
  height: 100%;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-actions {
  padding-block: 10px;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-actions
  .like
  p {
  display: flex;
  align-items: center;
  gap: 10px;
}
#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-actions
  .like
  p
  span {
  height: 30px;
}

#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-actions
  .like
  p
  span
  svg {
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

#profile-page
  > .profile-container
  .posts
  .feed
  .post-card
  .card-body
  .post-actions
  .like
  p
  span
  svg:hover {
  fill: red;
  stroke: red;
}

@media (max-width: 768px) {
  #profile-page
    > .profile-container
    .posts
    .feed
    .post-card
    .card-body
    .post-actions
    .like
    p {
    justify-content: flex-start;
  }

  #profile-page
    > .profile-container
    .posts
    .feed
    .post-card
    .card-body
    .post-actions
    .like
    p
    span {
    width: auto; /* Allow natural width for small screens */
  }

  #profile-page
    > .profile-container
    .posts
    .feed
    .post-card
    .card-body
    .post-actions
    .like
    p
    span svg {
    width: 25px; /* Smaller size for mobile */
    height: 25px;
  }
}

#profile-page > .profile-container .posts .denunciar {
  padding: 25px;
  display: flex;
  justify-content: center;
}
#profile-page > .profile-container .posts .denunciar button {
  border: 1px solid var(--dark-grey);
  background-color: transparent;
  color: var(--grey);
  border-radius: 5px;
  padding-inline: 15px;
  padding-block: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  font-weight: 400;
  font-size: 14px;
}
#profile-page > .profile-container .posts .denunciar button:hover {
  background-color: var(--dark-black);
  color: red;
  border-color: red;
}
#profile-page > .profile-container .posts .denunciar button span {
  display: block;
  height: 16px;
  width: 16px;
}

#profile-page > .profile-container .posts .related {
  padding-inline: 20px;
}
#profile-page > .profile-container .posts .related h3 {
  color: var(--font-color);
  margin: 0;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 400;
}
#profile-page > .profile-container .posts .related .recomendations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 10px;
  row-gap: 20px;
  margin-inline: 7px;
}
#profile-page
  > .profile-container
  .posts
  .related
  .recomendations
  .recomendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  font-size: 14px;
}
#profile-page > .profile-container .posts .related .recomendations .recomendation-card a img {
  max-height: 180px;
  min-height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
  width: 100%;
}

#profile-page
  > .profile-container
  .posts
  .related
  .recomendations
  .recomendation-card
  a {
  text-decoration: none;
  color: white;
  line-height: 30px;
  font-family: var(--fonte) !important;
  font-weight: 600;
}
#profile-page
  > .profile-container
  .posts
  .related
  .recomendations
  .recomendation-card
  a:hover {
  color: var(--primary-color);
}
/* Fim posts */

/* Extras */
#profile-page > .profile-container .extras {
}
#profile-page > .profile-container .extras {
  padding: 10px;
}
#profile-page > .profile-container .extras .extra-recomendations {
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container {
  background-color: var(--dark-black);
  border-radius: 10px;
  margin-bottom: 20px;
  padding-inline: 5px;
  overflow: hidden;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  h3 {
  color: var(--font-color);
  font-weight: 600;
  font-size: 16px;
  font-family: var(--fonte) !important;
  margin: 0;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
  padding-inline: 10px;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title
  .slider-control-buttons {
  display: flex;
  gap: 15px;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title
  .slider-control-buttons
  svg {
  fill: white;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title
  .slider-control-buttons
  .prev-btn,
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title
  .slider-control-buttons
  .next-btn {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title
  .slider-control-buttons
  .prev-btn:hover
  svg,
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-title
  .slider-control-buttons
  .next-btn:hover
  svg {
  fill: var(--primary-color);
}

#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider {
  display: inline-flex;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  a {
  text-decoration: none;
  color: var(--primary-color);
  width: 100%;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .slide-profile-img {
  position: absolute;
  top: 270px;
  left: 10px;
  width: 75px;
  height: 75px;
  border-radius: 100px;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 3px 3px 3px 0px #00000075;
  box-sizing: content-box;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .slide-profile-img
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  margin: 0;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .splide-banner-img {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 325px;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .splide-banner-img
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .slide-title {
  width: 100%;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .slide-title
  p {
  margin-top: 10px;
  font-weight: 600;
  font-size: 15px;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider
  .extra-recomendations-slide
  .slide-title
  p
  span {
  width: 90px;
  display: inline-block;
}

#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider-bullets {
  padding-block: 15px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-inline: 10px;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider-bullets
  .bullet {
  width: 8px;
  height: 8px;
  background-color: var(--bg-color);
  border-radius: 100px;
  cursor: pointer;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider-bullets
  .bullet.active,
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-slider-container
  .extra-recomendations-slider-bullets
  .bullet:hover {
  background-color: var(--dark-grey);
}

#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-card {
  background-color: var(--dark-black);
  border-radius: 10px;
  margin-block: 20px;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-card
  h3 {
  padding-block: 20px;
  padding-inline: 15px;
  font-family: var(--fonte) !important;
  font-weight: 600;
  font-size: 16px;
  color: var(--font-color);
  margin: 0;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-card
  a {
  text-decoration: none;
  text-align: center;
  color: var(--primary-color);
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-card
  a:hover {
  text-decoration: underline;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-card
  a
  img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}
#profile-page
  > .profile-container
  .extras
  .extra-recomendations
  .extra-recomendations-card
  a
  p {
  padding-block: 10px;
  font-weight: 400;
}
/* Fim extras */

/* Post slider */
#profile-page .swiper {
  overflow: clip;
}
#profile-page .dialog-slider {
  position: fixed;
  background-color: transparent;
  border: 0;
  overflow: hidden;
}

#profile-page .dialog-slider::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
}
#profile-page .dialog-slider .swiper-slider {
  position: relative;
  height: 90vh;
  width: calc(100% - 80px);
  margin: auto;
  background: transparent;
  transform: scale(0);
  z-index: 10;
}
#profile-page .dialog-slider[open] .swiper-slider {
  animation: scaleAnimation 0.2s ease forwards;
  animation-delay: 0.4s;
}
@keyframes scaleAnimation {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
#profile-page .dialog-slider .swiper-slider .post-img-slider .post-slide {
  height: 100%;
  text-align: center;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
#profile-page .dialog-slider .swiper-slider .post-img-slider .post-slide img {
  width: auto;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
}
#profile-page .dialog-slider .controls {
  position: absolute;
  inset: 0;
}
#profile-page .dialog-slider .controls > div {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  outline: transparent;
}
#profile-page .dialog-slider .controls > div:hover {
  cursor: pointer;
}
#profile-page .dialog-slider .controls > div svg {
  fill: white;
}
#profile-page .dialog-slider .controls > div:hover svg {
  fill: var(--primary-color);
}
#profile-page .dialog-slider .controls > .prev-post-btn {
  left: 15px;
}
#profile-page .dialog-slider .controls > .next-post-btn {
  right: 15px;
}
#profile-page .dialog-slider button[data-close-modal] {
  position: absolute;
  z-index: 2;
  top: 0px;
  right: 15px;
  width: 35px;
  height: 35px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
#profile-page .dialog-slider button[data-close-modal] svg {
  width: 100%;
  height: 100%;
  fill: var(--light-grey);
}

#profile-page .dialog-slider button[data-close-modal]:hover svg {
  fill: var(--font-color);
}

#profile-page .dialog-slider button[data-close-modal]:before  {
  content: '';
  position: absolute;
  top: -10px; /* Adjust to increase the clickable area */
  bottom: -10px; /* Adjust to increase the clickable area */
  left: -10px; /* Adjust to increase the clickable area */
  right: -10px; /* Adjust to increase the clickable area */
  background: transparent;
}
/* Fim Post slider */

@media (min-width: 1024px) {
  #profile-page > .profile-container .posts .feed .post-card .card-body .grid-img img {
    width: 500px;
    height: auto;
  }
}

@media only screen and (max-width: 1024px) {
  #profile-page > .profile-container .posts .feed .post-card .card-body .grid-img img  {
    width: 100%;
    height: auto;
  }
}

@media only screen and (max-width: 1200px) {
  #profile-page > .profile-container .posts .mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
  #profile-page > .profile-container .posts .related .recomendations {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 1024px) {
  #profile-page > .profile-container .posts {
    padding-bottom: 100px;
  }
  #profile-page > .profile-container .posts .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
  #profile-page > .profile-container .posts .related .recomendations {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 768px) {
  #profile-page > .profile-container {
    grid-template-columns: 270px 1fr;
  }
  #profile-page > .profile-container .extras {
    display: none;
  }
  #profile-page .dialog-slider .swiper-slider {
    width: 100%;
    height: 100vh;
}

#profile-page .dialog-slider .swiper-slider .post-img-slider .post-slide img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

#profile-page > .profile-container .posts .feed .post-card .card-body .grid-img img {
  width: auto;
  height: auto;
}
}
@media only screen and (max-width: 600px) {
  #profile-page > .profile-container .profile .info {
    display: grid;
    grid-template-areas: "profile-img name" "profile-img phone" "profile-img call-to-action" "profile-img seguir" "status status";
  }
  #profile-page > .profile-container .profile .info .picture {
    grid-area: profile-img;
    width: 150px;
    height: 150px;
  }
  #profile-page > .profile-container .profile .info .header-container {
    margin-left: 50px;
    display: flex;
    align-items: center;
  }
  #profile-page > .profile-container .profile .info .header-container img {
    margin-left: 15px; /* Espace entre le texte et l'image */
    max-height: 50px;
  }

  #profile-page > .profile-container .profile .logos-container {
    display: flex; 
    justify-content: center; 
    align-items: center;  
    gap : 8px;
  }

  #profile-page > .profile-container .profile .info h1 {
    grid-area: name;
    font-size: 20px;
  }
  #profile-page > .profile-container .profile .info a {
    grid-area: phone;
  }
  #profile-page > .profile-container .profile .info a .phone {
    font-size: 14px;
    padding-inline: 35px;
  }
  #profile-page > .profile-container .profile .info p {
    grid-area: call-to-action;
  }
  #profile-page > .profile-container .profile .info .seguir {
    width: fit-content;
    justify-self: center;
    grid-area: seguir;
  }
  #profile-page > .profile-container .profile .info .status {
    grid-area: status;
    background-color: var(--dark-black);
    padding-block: 10px;
  }
  #profile-page > .profile-container {
    grid-template-columns: 1fr;
  }
  #profile-page > .profile-container .posts {
    padding-bottom: 70px;
  }
  #profile-page > .profile-container .profile {
    margin-bottom: 0;
  }
  #profile-page > .profile-container .profile .acordeons {
    display: block;
  }
  #profile-page > .profile-container .posts .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  #profile-page > .profile-container .posts .mosaic .grid-img {
    height: 300px; 
  }
}
@media only screen and (max-width: 425px) {
  #profile-page > .profile-container .posts .mosaic {
    /* grid-template-columns: repeat(2, 1fr); */
  }
}

.logos-container {
  display: flex; 
  justify-content: center; 
  align-items: center;  
  gap : 10px;
}

.header-container {
  margin-left: 50px;
  display: flex;
  align-items: center;
}
.header-container img {
  margin-left: 15px; /* Espace entre le texte et l'image */
  max-height: 50px; /* Taille maximale de l'image */
}

.like-button.liked svg {
  fill: red;
}

.statusd {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-left: 75px;
}

.statusd .ball {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
 }

.statusd.disponible .ball {
  background-color: green;
}

.statusd.indisponible .ball {
  background-color: red;
}

#profile-page > .profile-container .posts .feed .post-card {
  padding: 15px;
  border-block: 1px solid var(--dark-grey);
  background-color: var(--dark-black);
  border-radius: 10px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Header layout with avatar and name + tag */

#profile-page > .profile-container .posts .feed .post-card .heading .img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

#profile-page > .profile-container .posts .feed .post-card .heading .img img {
  width: 100%;
  height: 100%;
  object-position: top;
  object-fit: cover;
}

#profile-page > .profile-container .posts .feed .post-card .heading .details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative; /* needed for absolute positioning inside */
}

#profile-page > .profile-container .posts .feed .post-card .heading .details .name {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.service-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
  justify-content: flex-start; /* ou center/space-between selon ton style */
}

.service-badge {
  background-image: linear-gradient(144deg, #AF40FF, #5B42F3 50%, #00DDEB);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  line-height: 1;
  box-sizing: border-box;

  flex: 0 1 auto;
  max-width: 100%;     /* pas plus large que son conteneur */
  overflow: hidden;    /* ne pas déborder */
  text-overflow: ellipsis; /* si trop long → "…" */
  white-space: nowrap; /* garder le texte sur une ligne */
}

/* Responsive: full width per line on small screens */
@media (max-width: 768px) {
  .service-badge {
    height: 24px;
    font-size: 13px;        /* réduire un peu la taille */
    padding: 4px 10px;      /* padding plus petit */
    max-width: 100%;        /* reste limité à l’écran */
  }
  #profile-page > .profile-container {
    display: block;
  }
}
.service-badge i {
  margin-right: 6px;
  font-size: 1rem;
  flex-shrink: 0;
}

#profile-page div.info p.phone {
  border: 1px solid #1d6639 !important;
  box-shadow: 2px 2px 5px #000000 !important;
  font-weight: bold !important;
  background: #153900 !important;
}

#profile-page > .profile-container .posts .feed .post-card .heading .details .since {
  color: var(--grey);
  font-size: 12px;
}

#profile-page > .profile-container .posts .feed .post-card .heading .details .badge {
  font-size: 11px;
  padding: 2px 8px;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
}

/* Post media container */
.post-img-container, .story {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: black;
}

.post-img-container img,
.story video {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Post actions */
.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-size: 14px;
  color: white;
}

.post-actions .like svg {
  width: 24px;
  height: 24px;
  fill: var(--grey);
  transition: 0.3s;
}

.post-actions .like svg:hover {
  fill: red;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  #profile-page > .profile-container .posts .feed .post-card {
    padding: 10px;
    gap: 12px;
  }

  #profile-page > .profile-container .posts .feed .post-card .heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .post-img-container img,
  .story video {
    max-height: 425px;
  }

  .post-actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .post-img-container img,
  .story video {
    width: 80% !important;
  }
}