article {
  width: 100%;
  border-bottom: 0px solid #eee;
  margin-bottom: 100px;
  padding-top: 50px;
}
.post-content {
width: 100%;
position: relative;
display: flex;
grid-template-columns: repeat(2, 2fr);
}
.post-img-full {
  width: 50%;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;       /* empêche l'image de dépasser */
  order: 1;
  background-color: #F5F5F5;
}
.post-img-full img.post-header-image {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
z-index: 1;
cursor: zoom-in;
transition: transform 1.2s ease, filter 0.6s ease;
filter: brightness(1) contrast(1) invert(0);
}

/* Effet hover simulant mix-blend-mode: difference */
.post-img-full img.post-header-image:hover {
  filter: brightness(1) contrast(1) invert(0);
}

.post-img-full img.post-header-image.scrolled {
}
/* On cible uniquement les liens externes dans le contenu */
.post-content p a {
color: #0D01E1;
}
.post-txt {
width: 50%;
order: 2;
}
.post-txt-in {
padding: 50px 10px 60px 10px;
opacity: 1;
transform: translateY(0px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.post-txt-date {
  position: fixed;
  z-index: 999;
  top: 0;
  background-color: #000;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.post-txt-date.hidden-date {
  opacity: 0;
  pointer-events: none;
}

.post-txt-date p {
    color: #fff;
    margin: 0;
}

.post-txt-in.show {
  opacity: 1;
  transform: translateY(0);
}
.post-txt-in p {
margin-bottom: 10px;
margin-top: 0px;
}
.lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: all;
}
.lightbox {
display: flex;
position: fixed;
inset: 0;
z-index: 9999;
background: rgba(0, 0, 0, 1);
justify-content: center;
align-items: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
#lightbox-img {
max-height: 100vh;
width: auto;
height: auto;
display: block;
transform: scale(1);
transition: transform 0.3s ease;
cursor: zoom-in;
}

.lightbox.show #lightbox-img {
  transform: scale(1);
}
.lightbox-close {
position: absolute;
top: 5px;
right: 10px;
color: #F5F5F5;
font-size: 40px;
cursor: pointer;
user-select: none;
z-index: 10000;
font-weight: bold;
mix-blend-mode: difference;
font-size: 26px;
text-transform: uppercase;
}
.lightbox-content-legend {
position: absolute;
bottom: 10px;
left: 20px;
display: none;
}
.lightbox-content-legend p{
  margin: 0;
  padding: 0;
  color: #F5F5F5;
  mix-blend-mode: difference;
}
/* --- Structure générale des bandeaux défilants --- */
/* --- Structure générale des bandeaux --- */
.marquee {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 7;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Positions initiales */
.marquee-top { top: 40px; transform: translateY(-100%); }
.marquee-bottom { bottom: 0; transform: translateY(100%); }

.marquee-bottom .marquee__inner {
  animation-delay: -3s; /* décale le départ de 3 secondes vers la gauche */
}

/* Apparition au hover */
.hover-zone:hover .marquee-top,
.hover-zone:hover .marquee-bottom {
  transform: translateY(0);
  pointer-events: auto;
}

/* --- Contenu texte défilant --- */
.marquee__inner {
  display: flex;
  align-items: center;
  height: 100%;
  animation-name: marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--marquee-duration, 20s);
}

.marquee__group {
  display: inline-flex;
  white-space: nowrap;
}
.marquee__group p {
margin: 0;
padding: 0 2px;
color: #F5F5F5;
text-transform: uppercase;
font-weight: bold;
}

/* Animation horizontale droite → gauche */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--marquee-shift, 0px) * -1)); }
}
.page-content{
  width: 100%;
  margin-top: 40px;
padding-bottom: 40px;
  background-color: #0D01E1;
}
.page-content p, h1, h2, h3, h4 {
color: #fff;
padding: 40px 40px 0px 40px;
margin: 0;
margin-left: auto;
margin-right: auto;
}
