body{margin:0;background:#000;color:#fff;font-family:Arial;}

.ctm-header{
    position:fixed;top:0;left:0;right:0;z-index:1000;
    background:#000;padding-bottom:10px;
}

/* LOGO PERFECT CENTERED */
.ctm-logo{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center; 
    padding: 10px 10px 10px 10px;
}
.ctm-logo img{
    height:50px;
    padding:10px 0;}

/*.ctm-topnav a{
    color:#808080;
    text-decoration:none;
    font-size:12px;
    padding:10px;
    opacity:.8;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
}*/
.ctm-topnav a.ctm-active{
    opacity:1;
    color: #fff;
}

.ctm-inline{
    margin-top:43px;
    background:#000;
    position:fixed;
    top: calc(100px + 43px);
    left:0;
    right:0;
    z-index:999;
    overflow:hidden;
    max-height: calc(100vh - 145px);
    overflow-y:auto;
}
.darkbg .ctm-inline{
    border-bottom:1px solid #393939;
}

.ctm-first{
    display:none;
    width:100%;
    
}

.ctm-row,.ctm-sub-row{
    padding:6px 10px 15px 20px;
    cursor:pointer;
}
.ctm-row:hover,.ctm-sub-row:hover{
    background:#1a1a1a;
}

/* ctm-label {
    flex: 1;
    text-align: right;
    line-height: 20px;
    opacity: 0.6;
    font: inherit;
    font-size: 12px;
} */
.ctm-chevron{
    opacity:.6;
    margin: -6px 13px 0 0px;
    float: left;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.ctm-second,.ctm-third{
    position:absolute;
    top:0;
    left:100%;
    width:100%;
    background:#111;
    min-height:100%;
    transition:all .25s ease;
}
.ctm-active{left:0;}

.ctm-second-header,.ctm-third-header{
    padding:6px 10px 6px 10px;
    border-bottom:1px solid rgba(255,255,255,0.1);
    display:flex;
    align-items:center;
    gap:10px;
}
.ctm-back{
  transform: rotate(180deg);
  font-size: 17px;
  cursor: pointer;
  position: relative;
  top: 3px;
  color: rgba(255, 255, 255, 0.3);
}
.ctm-back-text{
    cursor:pointer;
    font-size: 11px;
    line-height: 20px;
   opacity: 0.6;
   font-weight: 700;
   color: rgba(255, 255, 255, 0.3);
}

.full-cont{
    margin-top: 6rem;
}
.nolang .ctm-header {
    display: none;
}
.nolang #corpInside {
  padding: 0px;
}
.mobilecss-ctl{
    padding: 150px 22px 30px 22px !important;
    margin-top: 0;
}
.nav-buttons-cls {
  display: flex;
  justify-content: space-between;
  padding: 0px 20px 20px;
  color: #a1a1a1;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}
.nav-buttons-cls a{
    text-decoration: none !important;
}

.project-nav-buttons-cls {
  display: none;
  justify-content: space-between;
  padding: 15px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  border-top: 1px solid #333;
}

.project-nav-buttons-cls a {
  color: #a1a1a1;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.project-nav-buttons-cls a:hover {
  color: #ffffff;
}

.project-nav-buttons-cls .project-prev {
  text-align: left;
}

.project-nav-buttons-cls .project-next {
  text-align: right;
}

/* PhotoSwipe Captions */
.pswp__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 44px;
}
.pswp__caption__center {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    font-size: 13px;
    padding: 10px;
    line-height: 20px;
    color: #CCC;
}
span.comment-s1.media-title {
    font: 10px Arial, Helvetica, sans-serif;
    text-transform: lowercase;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

/* PhotoSwipe - Keep close button always visible */
.pswp__ui--hidden .pswp__button--close {
    opacity: 1 !important;
}

/* PhotoSwipe Project Header - Logo and Title */
.pswp__project-header {
    display: none;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1500;
}

/* Show header only on project and parution pages */
body.cls-en-project .pswp__project-header,
body.cls-fr-project .pswp__project-header,
body.cls-en-editions .pswp__project-header,
body.cls-fr-editions .pswp__project-header,
body.cls-en-presse .pswp__project-header,
body.cls-fr-presse .pswp__project-header,
body.cls-en-monographie .pswp__project-header,
body.cls-fr-monographie .pswp__project-header {
    display: block !important;
}

.pswp__project-logo {
    height: 30px;
    opacity: 0.8;
    display: block;
    margin: 0 auto 10px;
    filter: brightness(0) invert(1);
}

.cls-ppro-title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Add top margin to images on project pages */
/*body.cls-en-project .pswp__img,
body.cls-fr-project .pswp__img {
    margin-top: 100px !important;
}*/

/* Custom Navigation for Project Pages Only */
.pswp__project-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
    z-index: 1550;
}
.pswp__project-header {
    position: fixed;
    top: 12px;
}

/* Show nav buttons only on project and parution pages */
body.cls-en-project .pswp__project-nav,
body.cls-fr-project .pswp__project-nav,
body.cls-en-editions .pswp__project-nav,
body.cls-fr-editions .pswp__project-nav,
body.cls-en-presse .pswp__project-nav,
body.cls-fr-presse .pswp__project-nav,
body.cls-en-monographie .pswp__project-nav,
body.cls-fr-monographie .pswp__project-nav {
    display: flex !important;
}
/*
.pswp__project-prev,
.pswp__project-next {
    background: none;
    border: 0px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 20px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border-radius: 3px;
}
*/
.pswp__project-prev, .pswp__project-next {
    background: none;
    border: 0px;
    color: #a1a1a1;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 15px;
    transition: color 0.3s ease;
}

.pswp__project-prev:hover,
.pswp__project-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Responsive Queries */
@media (max-width:992px) {
  .cls-hd-css{
    display: none;
  }
  .full-cont{
    margin-top: -1rem;
    background: #000;
    position: fixed;
    width: 100%;
    padding: 20px 0px 20px 0px;
}
.swipeGallery{
    margin-top: 12rem;
}
.cls-en-collaborateurs .swipeGallery, .cls-fr-collaborateurs .swipeGallery{
 margin-top: 3rem;
}
.cls-en-monographie .swipeGallery,.cls-fr-monographie .swipeGallery {
 margin-top: 18rem;
}
.cls-en-editions .swipeGallery,.cls-fr-editions .swipeGallery {
   margin-top: 17rem;  
}

.cls-en-agence .swipeGallery, .cls-fr-agence .swipeGallery{
    margin-top: 0rem;
}
.mobile-list-image img{
  width: 95% !important;
}
.mobile-list-image{
    width: 40% !important;
}
.mobile-list-item-even .mobile-list-item-wrap {
  flex-direction: row !important;
  align-items: end !important;
}
.mobile-list-item-odd .mobile-list-item-wrap {
  flex-direction: row-reverse !important;
  align-items: flex-end !important;
  gap: 10px !important;
}
.mobile-list-title{
    font-size: 12px !important;
    margin-bottom: 0px !important ;
}
  .mobilecss-ctl {
        padding-top: 50px !important;
    }
    .mobilecss-ctl .mobile-project-list{
        margin-top: 60px !important;
    }
        .mobilecss-ctl .full-cont{
        margin-top: 4rem !important;
    }
    .mark-css{
        padding-top: 70px !important;
    }

}

.justify-content-center.d-flex.text-pst {
    padding-right: 40px;
}
.nav-fix-css {
    margin-top: 10px;
}
#selectLang {
    width: 100%;
}

@media (max-width: 992px) {
    .ctm-inline {
        top: 70px;
        max-height: calc(100vh - 135px);
    }
        .mobilecss-ctl .mobile-project-list{
        margin-top: 60px !important;
    }
    .mobilecss-ctl .full-cont{
        margin-top: 44px!important;
        z-index: 3;
    }
        .mark-css{
        padding-top: 70px !important;
    }
    .mobilecss-ctl {
        padding-top: 50px !important;
    }
    .swipeGallery figure:last-child .img-skeleton-box{
        margin-bottom: 80px !important;
    }
}

/* Ensure the menu slides properly */
.ctm-inline.slide-down {
    animation: slideDown 0.3s ease-out;
}

.pswp__ui--hidden .pswp__top-bar, .pswp__ui--hidden .pswp__caption, .pswp__ui--hidden .pswp__button--arrow--left, .pswp__ui--hidden .pswp__button--arrow--right {
    opacity: 1!important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.cls-en-collaborateurs .pswp__img.pswp__img--placeholder {
    display: none;
}

button.pswp__button.pswp__button--arrow--right {
    position: absolute;
    bottom: 22px!important;
    top: auto;
    /* background: red; */
    padding: 0;
    height: 36px;
    z-index: 99999;
    right: 28px;
        opacity: 1 !important;
    visibility: initial;
}
 
button.pswp__button.pswp__button--arrow--left {
    position: absolute;
    bottom: 22px !important;
    top: auto;
    padding: 0;
    height: 36px;
    z-index: 99999;
    left: 21px;
    width: 100px;
    visibility: initial;
}
button.pswp__button.pswp__button--arrow--right::before,button.pswp__button.pswp__button--arrow--left::before {
display:none;
}
button.pswp__button.pswp__button--close {
    position: fixed;
    bottom: 10px !important;
    top: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.mobile-list-title {
    text-transform: lowercase;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: pre;
}
.mobile-list-item {
    text-decoration: none!important;
}
.mobile-list-location {
    font-size: 9px;
}
.pswp__top-bar {
    z-index: 9999;
}


/* The Overlay Effect */
body.ctm-overlay-active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 998; /* Sit behind the menu but above everything else */
    display: block;
}

body.ctm-overlay-active .project-nav-buttons-cls {
z-index: 9;
}
body::after {
    /* ... existing styles ... */
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* Ignore clicks when hidden */
}

body.ctm-overlay-active::after {
    opacity: 1;
    pointer-events: auto; /* Catch clicks when visible */
}

.text-paru.comment-s1.comment-media-subtitle {
    font-size: 10px;
}
.cls-prevnext-add #mobileContentContainer{
    margin-bottom: 110px;
}

.ctm-label {
    flex: 1;
    text-align: right;
    line-height: 20px;
    font-family: Arial, Helvetica, sans-serif!important;
    font: inherit;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}
.ctm-chevron {
    color: rgba(255, 255, 255, 0.6);

}
.ctm-topnav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 10px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
.ctm-row.ctm-pl-custom {
    padding-left: 20px;
/*    text-transform: uppercase;*/
}

/* code 16-12-2025 - Mobile Content Container Styles */
body #mobileContentContainer{
  background:#000;
}
body.nolang #mobileContentContainer{
  background:transparent;
}
#mobileContentContainer {
    min-height: 100vh;
    padding: 20px;
    color: #fff;
    display: block !important;
}

#mobileContentContainer.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Make language switcher items clickable */
.cls-lang-switcher #selectLang span[data-lang] {
    cursor: pointer;
}

.cls-lang-switcher #selectLang span[data-lang].on {
    color: #fff;
}

.cls-lang-switcher #selectLang span[data-lang]:not(.on) {
    color: #666;
}

/* Debug styles for testing */
.ctm-row {
    cursor: pointer;
    padding: 10px;
/*    border-bottom: 1px solid #333;*/
}

.ctm-row:hover {
    background-color: #000;
}

/* skelaton ends */

/* Skeleton box */


.mobile-list-image.skeleton {
    pointer-events: none;
}

.mobile-list-image {
    position: relative;
    width: 95%;
    max-width: 85%;
    margin-bottom: 10px;
}

/* Skeleton overlay - REMOVED ANIMATION */
.mobile-list-image.skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    width: 95%;
}

/* Image */
.mobile-list-image img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: none;
    position: relative;
    z-index: 2;
}

/* Loaded state - Keep dark background, fade in image */
.mobile-list-image.loaded::before {
    background: #000;
}

.mobile-list-image.loaded img {
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* skelaton ends */
.ctm-first {
    overflow: hidden;
}

#mobile_bio_list .mobile-list-image {
  max-width: 100%;
  width: 100% !important;
  margin-bottom: 0px;
}
#mobile_bio_list .mobile-list-image img {
  width: 100% !important;
}
.agence-box {
    margin-top: 70px;
}
.cls-contact-page {
    margin-top: 4rem;
}
.cls-contact-page a {
    text-transform: lowercase;
    text-decoration: none;
}
.cls-contact-page p {
    margin-bottom: 0px;
}

.darkbg {
    background-color: #000 !important;
}
.ctm-toplink.active {
    color: #fff;
}
/*.ctm-label {
    font-size: 10px;
}*/

.center-aligned .comment-s1.comment-media-subtitle {
    display: block;
    font: 10px Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 10px;
    line-height: normal;
    text-transform: lowercase;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #bbbbbb;
    margin-top: 10px;
}
.cls-banner-img {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    width: 100%;
    /* height: 354px; */
    /* display: none; */
}
.mobile-list-item-odd .media_list-links.media_link_mb li {
    width: 42px;
    text-align: left;
    margin: 0 auto;
    margin-right: 0px;
    white-space: nowrap;
}
.mobile-list-title br {
    display: none;
}
.mobile-list-item-even .mobile-list-image.skel-img.skeleton.loaded {
    
    min-width: 90px;
}
.mobile-list-item-odd .mobile-list-image.skel-img.skeleton.loaded {
  
    min-width: 90px;
}

.mobile-list-item-even .mobile-list-desc {
    text-align: left;
    padding-left: 2px;
}
.mobile-list-title {
    line-height: 12px;
    white-space: break-spaces;
}
.cls-en-editions .mobilecss-ctl ,.cls-fr-editions .mobilecss-ctl {
    padding-left: 15px !important;
    padding-right: 10px !important;
}

.ctm-logo img {
    filter: brightness(0) invert(1);
}
.swipeGallery {
    padding-left: 1.5px;
}
.cls-en-monographie #mobileContentContainer .center-aligned,.cls-fr-monographie #mobileContentContainer .center-aligned{
    display: none;
}

.cls-en-editions #mobileContentContainer .comment-media-subtitle,.cls-fr-editions #mobileContentContainer .comment-media-subtitle, .cls-en-presse #mobileContentContainer .comment-media-subtitle, .cls-fr-presse #mobileContentContainer .comment-media-subtitle {
    display: none;
}

.pswp__ui--idle .pswp__top-bar {
    opacity: 1!important;
}

@media (min-width:550px) and (max-width:992px) {

.darkbg .ctm-inline {
    border-bottom: 0px;
}
}


@media (max-width:360px) {
    .ctm-topnav a {
        font-size: 10px;
        padding: 10px 0px;
    }

  .ctm-inline {
    top: 60px;
    max-height: calc(100vh - 135px);
  }
}


