/* Version: 20-09-2026-16-46 */
html, #loader {
  background-color: var(--portfolios-theme-bg-main, var(--portfolios-bg-main-color, var(--portfolios-color-bg-main, #fafafa)));
}

body {
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--portfolios-theme-bg-main, var(--portfolios-bg-main-color, var(--portfolios-color-bg-main, #fafafa)));
}

#portfolio_page {
  position: relative;
}

@media screen and (max-width: 900px) {

  .member-item .member-img {
      width: 60px;
      height: 60px;
  }

  .close-content-button {
      top: 8%;
      right: 10%;
  }

  .close-content-button img {
      width: 50px;
  }

}

#portfolio_page main {
  background-color: initial!important;
  border: 0px!important;
}

#hero {
  position: relative;
  background-size: cover;
  background-position: center;
}

#title-illustration {
  position: absolute;
  background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#hero #title-star {
    display: flex;
    align-items: flex-start;
    min-height: 50vh;
}

#hero #title-star #title-about {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    flex: 1;
    max-width: 40%;
    margin: 0px;
}

#hero #title-star #title-about h1,
#hero #title-star #title-about h2,
#hero #title-star #title-about h3,
#hero #title-star #title-about h4,
#hero #title-star #title-about p {
  text-align: left!important;
  text-shadow: 2px 2px 7px #000000;
}

#hero.hero-plain #title-star {
  min-height: 0;
}

#hero.hero-plain #title-star #title-about h1,
#hero.hero-plain #title-star #title-about h2,
#hero.hero-plain #title-star #title-about h3,
#hero.hero-plain #title-star #title-about h4,
#hero.hero-plain #title-star #title-about p {
  text-shadow: none;
}

#hero #title-star #title-about h3 {
    padding: 0px;
    margin: 0px;
}

#hero #title-star > #pochette {
  --pochette-size: min(200px, 20%);
  width: var(--pochette-size);
  height: var(--pochette-size);
  max-width: 200px;
  max-height: 200px;
  min-height: 0;
  padding: 0;
  flex: 0 0 var(--pochette-size);
  align-self: flex-start;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero #pochette:hover,
#hero #pochette:active {
  transform: none;
  filter: none;
}

#hero #profil {
  background-size: cover;
  width: 50px;
  height: 50px;
  background-color: var(--portfolios-color-bg-dark);
  border-radius: var(--portfolios-border-radius-full);
  margin-right: var(--portfolios-margin-base);
}

#hero .festivals {
  margin-top: 20px;
}

@media screen and (max-width: 700px) {

  /* Pochette album audio masquée en mobile : voir modules/audios/show.css.
   * Productions : pochette verticale visible (modules/videos/productions.css). */

  #hero #title-illustration {
    width: 100%;
  }

  #hero #title-star {
    padding-top: 50px;
  }

  #hero #title-star #title-about {
    width: 80%;
    max-width: 80%;
    margin-left: 0px!important;
  }

}

/* Portrait « à propos » / auteur : préférer <img class="about-artist-img" alt="…"> (sémantique, SEO, lecteurs d’écran).
   Contours (bordure, ombre, radius) : design/thumbnails/main.css — mêmes tokens que .vertical-grid-item */
.about-artist-img {
  height: 150px;
  width: 150px;
  margin-right: 25px;
  background-color: var(--portfolios-content-bg-color, var(--portfolios-bg-alt-color, transparent));
  flex-shrink: 0;
  box-sizing: border-box;
  cursor: default;
}

img.about-artist-img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Avatar d'auteur d'article : rond. Ciblé sur le lien d'avatar car la classe
   .about-artist-img sert aussi au portrait de la page « à propos », qui reste carré. */
.title-article-author__avatar-link .about-artist-img {
  border-radius: 50%;
}

/* Initiales affichées quand l'auteur n'a pas de photo. Les couleurs viennent des
   tokens de thème : le contraste avec le fond s'inverse donc tout seul entre
   portfolios-light.css et portfolios-night.css. */
.about-artist-img.portfolios-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  color: var(--portfolios-text-main-color, inherit);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  user-select: none;
}

/* Page à propos — hero : le portrait suit align_title_about_custom (bloc empilé, sans marge latérale). */
#portfolio_page main#about #about-hero.about-align-left img.about-artist-img,
#portfolio_page main#about #about-hero.title-align-left img.about-artist-img,
#portfolio_page main#about #about-hero.text-align-left img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.about-align-left img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.title-align-left img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.text-align-left img.about-artist-img {
  margin-left: 0;
  margin-right: 0;
}

#portfolio_page main#about #about-hero.about-align-center img.about-artist-img,
#portfolio_page main#about #about-hero.title-align-center img.about-artist-img,
#portfolio_page main#about #about-hero.text-align-center img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.about-align-center img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.title-align-center img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.text-align-center img.about-artist-img {
  margin-left: auto;
  margin-right: auto;
}

#portfolio_page main#about #about-hero.about-align-right img.about-artist-img,
#portfolio_page main#about #about-hero.title-align-right img.about-artist-img,
#portfolio_page main#about #about-hero.text-align-right img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.about-align-right img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.title-align-right img.about-artist-img,
#theme-visualiser #portfolio_page main#about #about-hero.text-align-right img.about-artist-img {
  margin-left: auto;
  margin-right: 0;
}

div.about-artist-img {
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 700px) {

  .about-artist-img {
    height: 100px;
    width: 100px;
  }

}

.open-graph-card {
  border-bottom: none!important;
  background: var(--portfolios-content-bg-color, var(--portfolios-bg-alt-color, #e2e2e2));
  border-radius: var(--portfolios-border-radius-m, 8px);
  box-shadow: var(--portfolios-box-shadow-s, 0 0 0 0.2rem rgba(0,0,0,0.08));
}

.open-graph-card .open-graph-illustration {
  width: 100%;
  height: 45vh;
  background-size: cover;
  background-position: center;
  
  transition: 0.2s linear;
}

.open-graph-card .open-graph-illustration::after {
	position: absolute;
	bottom: 0;
	content: "¶";
	height: 100%;
	width: 100%;
	font-size: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: 0.2s linear;
}

.open-graph-card:hover .open-graph-illustration::after {
	bottom: 0px;
	opacity: 1;
}

.open-graph-card .open-graph-infos {
  padding: 15px 25px;
}

.open-graph-card .open-graph-infos p {
  margin-bottom: 0px!important;
}

.open-graph-card .open-graph-infos h4 {
  margin-top: 0px!important;
}

/* TECHNIQUE */

#technique article ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

#technique article ul li {
  max-width: 30%;
}

#technique article ul li:first-child {
  font-weight: bold;
  text-align: left;
}

#technique article ul li:last-child {
  text-align: right;
}

#technique article ul .dots {
  flex: 1;
  max-width: none;
  border-bottom: 2px dotted;
  margin: 0 10px;
  height: 0;
  opacity: 0.4;
}

#goto article a.platform-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 14px 16px;
  transition: 0.2s linear;
}

#goto article a:not(.platform-link) {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  transition: 0.2s linear;
}

#goto svg {
  max-height: 35px;
  max-width: 60px;
  margin-bottom: 15px;
}

@media screen and (max-width: 800px) {

  #goto svg {
    width: 25px;
  }

  #goto article {
    grid-template-columns: 1fr 1fr 1fr;
  }

}


@media screen and (max-width: 500px) {

  #goto article {
    grid-template-columns: 1fr 1fr;
  }

}

@media screen and (max-width: 350px) {

  #goto article {
    grid-template-columns: 1fr;
  }

}

/* LOADER */

#portfolio_page .loader div {
    border: 4px solid #bdbdbd;
}


/* FRONTS */

#portfolio_page p, #portfolio_page span, #portfolio_page *, #portfolio_page svg {
    color: var(--portfolios-theme-bg-contrast);
}

#portfolio_page .blog-page-content * {
    color: #bdbdbd;
}


/* FOOTER */

/* ARTICLES */

#portfolio_page main section:first-child {
    border-top: none;
}

#portfolio_page main section:last-child {
    border-bottom: none;
}

#portfolio_page .bg-color,
#profil-modal-root .bg-color {
    background: var(--portfolios-theme-bg-main, #272727)!important;
}

#portfolio_page .bg-color-alt,
#profil-modal-root .bg-color-alt {
    background: var(--portfolios-theme-bg-alt, #272727)!important;
}

#portfolio_page .section-bg-pair {
    background-color: var(--portfolios-section-color-pair, var(--portfolios-theme-bg-alt, var(--portfolios-bg-alt-color, #e2e2e2)));
}

#portfolio_page .section-bg-odd {
    background-color: var(--portfolios-section-color-odd, var(--portfolios-theme-bg-main, var(--portfolios-bg-main-color, #fafafa)));
}

#portfolio_page #head-article .date, #portfolio_page .article .main  p, #portfolio_page .article .main  img, #portfolio_page .youtube, #portfolio_page .vimeo {
    color: var(--portfolios-theme-border-light, #bdbdbd)!important;
}

/* POSTER */

#portfolio_page .audio-slider .audio-set .poster, #portfolio_page #gallery a, #portfolio_page #production-show-photos-grid a, #portfolio_page .book-slider .book-set .poster, #portfolio_page .video-slider .video-set .poster, #portfolio_page .photo-slider .photo-set .poster, #portfolio_page .card .thumb, #portfolio_page .open-graph-card .open-graph-illustration {
    transition: all 200ms linear;
}


#portfolio_page .horizontal-infos h4, #portfolio_page .vertical-infos h4, #portfolio_page .square-infos h4 {
    color: var(--portfolios-thumbnail-overlay-title-color, #ffffff) !important;
    text-shadow: var(--portfolios-thumbnail-overlay-text-shadow, none);
}

#portfolio_page .horizontal-infos p, #portfolio_page .vertical-infos p, #portfolio_page .square-infos p {
    color: var(--portfolios-thumbnail-overlay-description-color, #ffffff) !important;
    text-shadow: var(--portfolios-thumbnail-overlay-text-shadow, none);
}

/* GALLERY */

#portfolio_page .photo-slider .photo-set .poster {
    background-color: var(--portfolio-gallery-poster-bg, var(--portfolios-theme-bg-main, #e2e2e2));
}

#portfolio_page #swipebox-prev,
#portfolio_page #swipebox-next,
#portfolio_page #swipebox-close {
    background-color: var(--portfolios-theme-bg-main);
}
#portfolio_page #swipebox-title {
    color: var(--portfolios-theme-text-main, #ffffff);
    transition: 0.2s linear;
}
/* swipebox/photo-viewer styles moved to modules/photos/swipebox.css */



#portfolio_page #swipebox-prev:hover,
#portfolio_page #swipebox-next:hover,
#portfolio_page #swipebox-close:hover {
    color: var(--portfolios-theme-text-contrast, #000000);
}

/* VIDEOS */

#portfolio_page .video-slider .video-set .poster {
    background-color: var(--portfolio-video-poster-bg, var(--portfolios-theme-bg-alt, #e2e2e2));
}

/* GO TO — voir structure/layout/theme-advanced-colors.css */

/* SERVICES — voir structure/layout/theme-advanced-colors.css */

/* MEMBERS */

#portfolio_page .close-content-button {
    filter: invert(1);
}

/* FAQ */

#portfolio_page .faq button[aria-expanded=true] {
    border-bottom: 2px solid var(--portfolios-ui-border-color, var(--portfolios-theme-border));
}

/* AGENDA */

#portfolio_page .agenda-item svg {
    fill: #c9c8c8;
}


@media screen and (max-width: 500px) {
    #portfolio_page .agenda-item-open svg {
        fill: var(--portfolios-theme-bg-hover);
    }
}

/* THEME HERO AUTOMATIQUE */

.hero-theme-dark {
    --portfolios-text-main-color: #ffffff !important;
    --portfolios-theme-bg-contrast: #ffffff !important;
    --dynamic-text-shadow: 0 2px 15px rgba(0,0,0,0.85);
    --portfolios-bg-contrast-transparence-color: rgba(0, 0, 0, 0.6) !important;
}

.hero-theme-light {
    --portfolios-text-main-color: #000000 !important;
    --portfolios-theme-bg-contrast: #000000 !important;
    --dynamic-text-shadow: 0 2px 15px rgba(255,255,255,0.85);
    --portfolios-bg-contrast-transparence-color: rgba(255, 255, 255, 0.6) !important;
}

.hero-theme-dark h1, .hero-theme-dark h2, .hero-theme-dark h3, .hero-theme-dark h4, .hero-theme-dark p, .hero-theme-dark span:not(.ariane span),
.hero-theme-light h1, .hero-theme-light h2, .hero-theme-light h3, .hero-theme-light h4, .hero-theme-light p, .hero-theme-light span:not(.ariane span) {
    text-shadow: var(--dynamic-text-shadow) !important;
    color: var(--portfolios-theme-bg-contrast) !important;
}

.hero-theme-dark a:not(.ariane a):not(.breadcrumbs a),
.hero-theme-light a:not(.ariane a):not(.breadcrumbs a) {
    text-shadow: var(--dynamic-text-shadow);
    color: var(--portfolios-theme-bg-contrast);
}

/* Forcer le style du fil d'ariane selon le thème */
.hero-theme-dark .ariane a, .hero-theme-dark .breadcrumbs a, .hero-theme-dark nav[aria-label="Fil d'ariane"] a {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

.hero-theme-light .ariane a, .hero-theme-light .breadcrumbs a, .hero-theme-light nav[aria-label="Fil d'ariane"] a {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #000000 !important;
    text-shadow: none !important;
}