﻿@charset "UTF-8";
/* --- MASONRY LAYOUT (CSS COLUMNS) --- */
:root {
  --masonry-item-minwidth: 264px;
  --masonry-item-minheight: 132px;
  --masonry-item-portraitheight: 464px;
  --masonry-item-border-radius: 16px;
  --masonry-item-L-minwidth:480px;
  --masonry-item-L-minheight: 270px;
  --masonry-item-L-portraitheight: 664px;
  --masonry-item-L-border-radius: 16px;
}

.wall .masonry-sizer {
  width: 1%;
}

.wall.single .masonry-sizer {
  width: 100% !important;
}
.wall.single .masonry-item {
  width: 100% !important;
  max-width: 100% !important;
}

.wall.double .masonry-sizer {
  width: 50% !important;
}
.wall.double .masonry-item {
  width: 50% !important;
  max-width: 50% !important;
}

.wall .masonry-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}
.wall .masonry-item {
  float: left;
  background-color: var(--card-bg);
  border-radius: var(--masonry-item-border-radius);
  margin: 4px 10px 12px 4px;
  overflow: hidden;
  break-inside: avoid; /* Empêche de couper un élément en deux */
  box-shadow: rgba(0, 0, 0, 0.4) 3px 6px 7px 0px;
  transition: all 0.1s ease;
  position: relative;
  min-width: var(--masonry-item-minwidth);
  min-height: var(--masonry-item-minheight);
  max-width: var(--masonry-item-minwidth);
  width: var(--masonry-item-minwidth);
}
.wall .masonry-item a.extern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  height: 100%;
  width: 100%;
  z-index: 10;
}
.wall .masonry-item a.extern span {
  visibility: hidden;
}
.wall .items-3 .masonry-item {
  min-height: var(--masonry-item-L-portraitheight);
  height: var(--masonry-item-L-portraitheight);
  max-width: var(--masonry-item-L-minwidth);
  width: var(--masonry-item-L-minwidth);
  min-width: var(--masonry-item-L-minwidth);
}
.wall .social-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 200;
  pointer-events: none;
}
.wall .play-icon {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  z-index: 100;
  pointer-events: none;
  opacity: 0.6;
  transition: transform 0.2s; /* Animation */
}
.wall :hover .play-icon {
  transform: scale(2);
  opacity: 1;
}
.wall iframe {
  border: none;
  display: block; /* Supprime l'espace fantôme en bas */
  width: 100%;
}
.wall .reels-card {
  min-height: var(--masonry-item-portraitheight);
  height: var(--masonry-item-portraitheight);
}
.wall .story-card {
  position: relative;
  cursor: pointer;
  min-height: var(--masonry-item-portraitheight);
  height: var(--masonry-item-portraitheight);
}
.wall .story-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  min-height: var(--masonry-item-portraitheight);
  height: var(--masonry-item-portraitheight);
}
.wall .album-card {
  display: block;
  border-radius: 16px;
  min-height: var(--masonry-item-portraitheight);
  height: var(--masonry-item-portraitheight);
}
.wall .album-card .swiper-material {
  min-height: var(--masonry-item-portraitheight);
  height: var(--masonry-item-portraitheight);
  width: 100%;
}
.wall .items-3 .story-card, .wall .items-3 .story-image, .wall .items-3 .album-card {
  min-height: var(--masonry-item-L-portraitheight);
  height: var(--masonry-item-L-portraitheight);
}
.wall .slideshow-icon {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  z-index: 100;
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.2s; /* Animation */
}
.wall .insta .swiper-pagination-bullet {
  background-color: #ffffff;
  opacity: 0.5;
}
.wall .insta .swiper-pagination-bullet-active {
  background-color: #de0094;
  opacity: 0.9;
}
.wall .author-avatar.ring {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #E1306C; /* Couleur Insta */
  padding: 2px;
}
.wall .author-avatar.ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.wall .author-name {
  position: absolute;
  top: 15px;
  left: 35px;
  width: 40px;
  height: 40px;
  padding: 2px;
}
.wall .soundcloud .soundcloud-wrapper {
  position: relative;
  height: auto;
  display: block;
  border-radius: var(--masonry-item-border-radius);
}
.wall .soundcloud .soundcloud-wrapper iframe {
  border: 0;
  position: relative;
  z-index: 2;
}
.wall .soundcloud .soundcloud-wrapper a {
  color: rgba(0, 0, 0, 0);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.wall .plyr {
  z-index: 100;
  width: auto;
  height: auto;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}
.wall .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--masonry-item-border-radius);
}
.wall .video {
  width: 100%;
  height: auto !important;
}
.wall .youtube .plyr, .wall .video .plyr {
  position: absolute;
}
.wall .youtube .video-thumbnail, .wall .video .video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--masonry-item-border-radius);
  position: relative;
  z-index: 99;
  overflow: hidden;
}
.wall .youtube .video-thumbnail img, .wall .video .video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.wall .youtube.VIDEO .video-wrapper {
  position: relative;
}
.wall .youtube.LIVE {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--masonry-item-border-radius);
}
.wall .youtube.SHORT {
  display: block;
  border-radius: var(--masonry-item-border-radius);
}
.wall .youtube.SHORT .video-wrapper {
  position: relative;
  height: var(--masonry-item-portraitheight);
}
.wall .items-3 .story-card, .wall .items-3 .story-image, .wall .items-3 .album-card, .wall .items-3 .youtube.SHORT, .wall .items-3 .album-card .swiper-material .swiper-material-wrapper {
  min-height: var(--masonry-item-L-portraitheight);
  height: var(--masonry-item-L-portraitheight);
}
.wall .items-3 .video {
  height: var(--masonry-item-L-minheight);
  min-height: var(--masonry-item-L-minheight);
}
.wall .vimeo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--masonry-item-border-radius);
}
.wall .swiper-material-wrapper, .wall .swiper-material-image {
  border-radius: 0px !important;
}

@media (max-width: 600px) {
  /* Text Block */
  .wall .masonry-item {
    max-width: 90vw !important;
    min-width: 90vw !important;
    width: 90vw !important;
    max-height: 120vw !important;
    min-height: 120vw !important;
    height: 120vw !important;
  }
  .wall .items-3 .story-card, .wall .items-3 .story-image, .wall .items-3 .album-card, .wall .items-3 .album-card .swiper-material, .wall .items-3 .album-card .swiper-material .swiper-material-wrapper {
    max-width: 90vw !important;
    min-width: 90vw !important;
    width: 90vw !important;
    max-height: 120vw !important;
    min-height: 120vw !important;
    height: 120vw !important;
  }
  .wall .masonry-item.video, .wall .youtube.LIVE {
    max-height: 50vw !important;
    min-height: 50vw !important;
    height: 50vw !important;
  }
  .wall .youtube.SHORT .video-wrapper {
    position: relative;
    height: 100vw !important;
    min-height: 100vw !important;
  }
}
