/*
Theme Name: Geometry
Description: A theme by Geometry - Brussels - Visit us at http://www.geometry.be
Author: Geometry
Version: 1.0
*/

/* CSS RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
/* END CSS RESET */

/* -----------------------------------------
   TYPOGRAPHIE : DÉCLARATIONS @FONT-FACE
----------------------------------------- */

@font-face {
  font-family: 'HomonetaRegular';
  src: url('fonts/Homoneta-Regular.woff2') format('woff2'),
       url('fonts/Homoneta-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HomonetaLight';
  src: url('fonts/Homoneta-Light.woff2') format('woff2'),
       url('fonts/Homoneta-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaLight';
  src: url('fonts/Helvetica-Light.woff2') format('woff2'),
       url('fonts/Helvetica-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaLightItalic';
  src: url('fonts/Helvetica-Light-Italic.woff2') format('woff2'),
       url('fonts/Helvetica-Light-Italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
}

/* -----------------------------------------
   TYPOGRAPHIE
----------------------------------------- */

#signature,
.single-projet .right p,
.page-template-template-about .right p,
#table-projets td {
  font-size: 14px;
  line-height: 1.2em;
  color: #22190D;
  font-family: 'HelveticaLight', sans-serif;
  font-weight: 300;
  font-style: normal;
}

.half p,
#infos,
.news-content p {
  font-size: 20px;
  line-height: 1.2em;
  color: #22190D;
  font-family: 'HelveticaLight', sans-serif;
  font-weight: 300;
  font-style: normal;
}

p {
	margin-bottom: 1.2em;
}

p em {
	font-family: 'HelveticaLightItalic', sans-serif;
}

h2 em {
	font-style: oblique 10deg;
} 

a {
  color: #22190D;
  text-decoration: underline;
}

.single-projet h2,
.news-content h2 {
  font-size: 48px;
  line-height: 1em;
  color: #22190D;
  font-family: 'HomonetaRegular';
  margin: 0.3em 0;
}

#table-projets td h2,
.single-projet h3,
.page-template-template-about h3,
.news-short {
  font-size: 24px;
  line-height: 1em;
  color: #22190D;
  font-family: 'HomonetaRegular';
  margin: 0.3em 0;
}

.single-projet h3,
h3.newsletter {
  margin-top: 2em;
}

.menu a {
	font-size: 21px;
  color: #22190D;
  text-decoration: none;
  line-height: 1em;
  font-family: 'HomonetaRegular';
}

#intro,
.background-lines {
  font-size: 10vw;
  line-height: 0.9em;
  color: #ffffff;
  font-family: 'HomonetaRegular';
}

.rubrique a,
.home .news-title,
.news-date,
.news-location,
.news-city,
.news-country {
  text-decoration: none;
  font-size: 2.7vw;
  line-height: 1em;
  color: #ffffff;
  font-family: 'HomonetaRegular';
}

.news-date,
.news-location,
.news-city,
.news-country {
	display: block;
}

#news .news-date,
#news .news-location,
#news .news-city,
#news .news-country {
  color: #22190D;
}

#table-projets th {
  font-size: 38px;
  line-height: 1em;
  color: #22190D;
  font-family: 'HomonetaRegular';
}

.single-projet h1,
#news .news-title,
.play {
  font-size: 70px;
  line-height: 0.92em;
  color: #22190D;
  font-family: 'HomonetaRegular';
  margin-right: 15%;
  padding-bottom: 0.1em;
}

.play {
  color: #ffffff;
}

.news-post .news-short,
.news-post a {
  color: #ffffff;
}

:root {
	--size-1: 15px;
	--size-2: 30px;
}

/* -----------------------------------------
   STRUCTURE
----------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
}

html.no-scroll, 
body.no-scroll {
  overflow-y: hidden;
}

body {
  background-color: #DBDFE2; /* couleur de départ */
  transition: background-color 0.1s linear; /* rend la transition plus fluide */
}


/*
header,
section,
footer {
  width: calc(100% - var(--size-2));
  margin: var(--size-2) auto 0 auto;
  position: relative;
  overflow: hidden;
}
 */

header,
section,
footer {
  width: calc(100% - var(--size-2));
  margin: 0;
  padding-top: var(--size-2);
  padding-left: var(--size-1);
  padding-right: var(--size-1);
  position: relative;
  overflow: hidden;
}

/*
.home section,
.page-template-template-about section {
  overflow: initial;
}
 */

header,
footer {
  overflow: hidden;
  padding: var(--size-1) 0 var(--size-1) 0;
  margin-left: var(--size-1);
  margin-right: var(--size-1);
  margin-top: 0;
}

/*
header,
footer {
  overflow: hidden;
  padding: var(--size-1) 0 var(--size-1) 0;
  margin-top: 0;
}
 */
 
.home header {
	display: none;
}

header {
	border-bottom: 1px solid #22190D;
}

footer {
	border-top: 1px solid #22190D;
	margin-top: calc(var(--size-2) * 2);
}

.home footer {
	margin-top: 0;
}

/* 
@keyframes heartbeat-light {
  0%   { opacity: 1; }
  30%  { opacity: 0.5; }
  100% { opacity: 1; }
}
*/

@keyframes heartbeat-light {
  0%   { opacity: 1; }
  50%  { opacity: 0.5; }
  100% { opacity: 1; }
}

.menu,
.social-icons {
  width: calc(20% - var(--size-2));
  padding: 0 var(--size-1);
  float: left;
  position: relative;
  overflow: hidden;
}

/* Pseudo-élément uniquement pour le fond */
.menu::before {
  content: '';
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  background-image: url('img/shadow.png');
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu a {
  display: inline-block;
  padding: var(--size-2) 0 var(--size-2) calc(var(--size-1) * 11 / 3);
}

.social-icons {
	height: 81px;
	position: relative;
	margin: 0 var(--size-1);
	padding: 0;
}

.half .social-icons {
	width: 50%;
	margin: 0;
	margin-right: 50%;
	display: none;
}

.social-icons > div {
	  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.social-icons a {
	display: block;
	float: left;
}

.social-icons img  {
  width: calc(100% - 6px);
  max-width: 35px;
  margin: 0 auto;
  height: auto;
  display: block;
}

#left-column .half .social-icons img  {
  width: calc(100% - 8px);
}

article {
  box-sizing: border-box; 
  margin-bottom: calc(var(--size-1) * 10);
  margin-left: var(--size-1);
 margin-right: var(--size-1);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  z-index: 1;
    opacity: 0;
  transition: opacity 0.4s ease;
}

#right-column article:last-child {
  margin-bottom: calc(var(--size-1) * 2);
}

article#projet,
article.masonry-visible {
  opacity: 1;
}

.small {
  width: calc(calc(20% - var(--size-2)) - var(--size-2));
}

.small.right {
  margin-left: 5%;
}

.small.left.square {
  margin-left: 25%;
}

.small.round.landscape {
  margin-left: 10%;
}

#right-column .small {
  width: calc(100% - var(--size-2));
}

.medium {
  width: calc(calc(40% - var(--size-2)) * 3 / 4 - var(--size-1));
}

.medium.right {
  width: calc(calc(30% - var(--size-2)) - var(--size-1));
  margin-left: 10%;
}

.medium.news-post {
  margin-left: 10%;
}

.large {
  width: calc(calc(40% - var(--size-2)) - var(--size-2));
}

.round {
border-radius: 50%;
}  

article > a {
  display: block;
  width: 100%; 
  height: 100%;
}

.distortion-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  margin: auto;
}

.distortion {
  width: 100%;
  height: 100%;
   display: block;
}

.distortion canvas {
  display: block;
  width: 100% !important;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain !important;
}

/* Spécifique pour les éléments .round */
article.round .distortion canvas {
  height: 100% !important;
  top: 0;
  transform: none;
  object-fit: cover;
}

article.portrait a {
	transform: rotate(-90deg);
}

article.landscape a {
	transform: rotate(-180deg);
}


.background-container {
	display: none;
}

.home .background-container,
.single-projet .background-container,
.page-template-template-about .background-container {
	display: block;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.background-lines {
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 100%;
  height: 5vh;
  display: flex;
  flex-direction: column;
}

.background-lines > div {
  width: calc(100% - 0.5em);
  padding: 0 0.25em;
  white-space: nowrap;
   transition: filter 0.2s ease;
  will-change: filter, transform;
  transform: translateZ(0); /* ou translate3d(0, 0, 0); */
}

.background-lines > div:nth-child(6n + 1),
.background-lines > div:nth-child(6n + 4) {
  text-align: center;
}

.background-lines > div:nth-child(6n + 2),
.background-lines > div:nth-child(6n + 5) {
  text-align: right;
}

.background-lines > div:nth-child(6n + 3),
.background-lines > div:nth-child(6n + 6) {
  text-align: left;
}

/* Pour affichier uniquement la colonne de droite du BG */

.single-projet .background-container,
.page-template-template-about .background-container {

    -webkit-mask-image: linear-gradient(to right,
    transparent calc(var(--size-1) + 83% - calc(var(--size-1) * 4)),
    black calc(var(--size-1) + 83%)
  );
  mask-image: linear-gradient(to right,
    transparent calc(var(--size-1) + 83% - calc(var(--size-1) * 4)),
    black calc(var(--size-1) + 83%)
  );
  
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* END Pour affichier uniquement la colonne de droite du BG */


.rubrique,
.news-post {
  position: relative;
  z-index: 0; /* pour que les autres articles passent devant */
  overflow: visible; /* important pour voir le débordement */
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
  text-align: center;
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.shadow-bg,
.news-post::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 270%; /* deux fois plus grand */
  height: 270%;
  background-image: url('img/shadow.png'); /* remplace par ton image */
  background-size: cover;
  background-position: center;
  z-index: -100; /* en dessous de tout */
  pointer-events: none; /* ne bloque pas les clics */
  background-repeat: no-repeat;
}

.rubrique.externe .shadow-bg {
  width: 150%;
  height: 150%;
}

.news-post::before {
  content: "";
}

.rubrique a,
.news-post .content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#intro .rubrique .shadow-bg,
.rubrique:hover .shadow-bg,
.news-post:hover::before,
.menu:hover::before,
.single-news header .menu:nth-of-type(2),
.single-news footer .menu:nth-of-type(2),
.menu.active::before {
  animation: heartbeat-light 2.2s ease-in-out infinite;
}

.rubrique.externe {
	opacity: 1;
  width: 80%;
  margin: 0 20% 0 0;
}

.rubrique.externe::before {
  width: 100%;
  height: 100%;
}

.rubrique.externe a span {
  width: 55%;
}

.news-post {
  display: block;
  aspect-ratio: auto;
  text-align: left;
}

.news-post::before {
  width: 500%;
  height: 500%;
  background-size: contain;
transform: translate(-55%, -50%);
}

.news-post a {
  display: inline-block;
  width: auto;
  height: auto;
}

article.medium a,
article.large a {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

article.round.medium a,
article.round.large a {
  background-size: cover;
}










#table-projets tr.expandable {
  cursor: pointer;
}
#table-projets tr.expandable.ouvert {
}
#table-projets tr.contenu-cache td {

}



.icone-accordeon {
  text-align: right;
  width: var(--size-2);
}
.toggle-icon {
  cursor: pointer;
  display: inline-block;
}

.contenu-interne img {
  max-width: 200px;
  float: left;
}




/* Animation douce à l’ouverture/fermeture */
.contenu-cache {
  display: none;
}

#table-projets {
  width: 100%;
}

#table-projets tr td,
#table-projets tr th {
  width: 8%;
}

#table-projets tr td:nth-child(2),
#table-projets tr th:nth-child(2) {
  width: 16%;
}

#table-projets tr td:nth-child(3),
#table-projets tr th:nth-child(3) {
  width: 36%;
}

#table-projets tr td:nth-child(4),
#table-projets tr th:nth-child(4),
#table-projets tr td:nth-child(5),
#table-projets tr th:nth-child(5) {
  width: 22%;
}

#table-projets tr td:nth-child(6),
#table-projets tr th:nth-child(6) {
  width: 4%;
}


#table-projets tr td,
#table-projets tr th {
  width: calc(100% / 6);
}

.tablesorter-header-inner,
#table-projets tr td span {
  padding: 10px 27px;
  display: inline-block;
}

#table-projets tr td span {
  padding: 10px 1em 10px 0;
}

#table-projets th {
  background-image: url('img/sort-bottom.png');
  background-size: auto 12px;
  background-position: left center;
  background-repeat: no-repeat;
}

#table-projets th.tablesorter-headerUnSorted {
  background-image: url('img/sort-top.png');
}

#table-projets th {
  cursor: pointer;
}


#table-projets th.no-sort {
  background: none;
    cursor: auto;
}






#table-projets th {
  text-transform: lowercase;
  text-align: left;
}



#table-projets td {
  width: calc(100% / 6);
}


tbody tr {
  border-top: 1px solid #22190D;
}



tbody tr.contenu-cache {
  border: none;
}





body.fade-out {
  pointer-events: none;
  overflow: hidden;
}


.ligne-projet.cliquable {
  cursor: pointer;
}

.ligne-projet .projet-title span {
 text-decoration: underline;
}

.ligne-projet .projet-title {
 text-decoration: underline;
}

.contenu-cache td {
  vertical-align: top;
  padding-top: 10px;
  padding-bottom: 20px;
}

.contenu-interne {
  overflow: hidden; /* pour contenir les floats */
  clear: both;      /* ← force le retour à la ligne après les floats */
}

.contenu-interne img {
  max-width: 90%;
  height: auto;
  display: block;
}







.single-projet h1 {
	width: calc(70% - var(--size-2));
	margin: var(--size-1);
	margin-right: calc(30% + var(--size-1));
}

#left-column {
	width: 80%;
	float: left;
}

#left-column > div:first-child {
	width: calc(100% - var(--size-2));
	margin: 0 var(--size-1);
}

#left-column img {
	max-width: 100%;
	height: auto;
	width: auto;
	max-height: 75vh;
	display: block;
}

#left-column .image-wrapper img {
  max-height: 75vh;
  width: auto;
}

.single-projet img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.single-projet img.loaded {
  opacity: 1;
}

#right-column {
	width: 20%;
	float: right;
}

#right-column article {
  opacity: 0;
}

#right-column article.masonry-visible {
  opacity: 1;
}


#right-column article {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
}




.half {
	width: calc(50% - var(--size-1));
	margin: var(--size-2) 0;
}

.half.left {
	margin-right: var(--size-1);
	float: left;
}

.half.right {
	margin-left: var(--size-1);
	float: right;
}

.half p:last-child {
	margin-bottom: 0;
}



.grid-galerie {
  width: 100%;
  clear: both;
  position: relative;
overflow: inherit;
height: auto;
}

.grid-galerie article {
  margin-bottom: var(--size-2);
  aspect-ratio: auto;
  opacity: 1;
}

.grid-galerie article.moyen.left {
	float: left;
}

.grid-galerie article.moyen.right {
	float: right;
}

/* Taille de base des items */
.grid-galerie .grid-sizer,
.grid-galerie .moyen {
  width: calc(50% - var(--size-2)); /* 30px total entre deux éléments */
}

.grid-galerie .large {
  width: calc(100% - var(--size-2))
}

.single-projet .right h3,
.single-projet .right p,
.page-template-template-about .right h3,
.page-template-template-about .right p {
	width: 70%;
}

article.news-item {
	margin: 0;
  margin-bottom: calc(var(--size-1) * 4);
  aspect-ratio: auto;
  overflow: hidden;
  width: calc(100% / 3);
  border-bottom: 1px solid #22190D;
}

  /* Tout visible sans JS */
  #news-grid .news-item { display: block; }

  /* Quand JS est prêt, on ne montre que les .visible */
  #news-grid.script-ready .news-item { display: none; }
  #news-grid.script-ready .news-item.visible { display: block; }

article.news-item .news-item-content {
  margin-left: var(--size-1);
  margin-right: var(--size-1);
}

.news-image {
  margin: var(--size-1) 0;
}

.news-image img {
  width: auto;
  height: auto;
  max-height: 75vh;
  max-width: 100%;
}

.news-post .news-title {
  display: block;
}

.news-item .bloc {
	margin-bottom: 0.8em;
}

.news-post .bloc {
	margin: 0.4em 0;
}

.news-post .news-short {
	margin-top: 0.2em;
	display: block;
	width: 80%;
}

article.medium a img,
article.large a img {
	width: 100%;
}

/* Intro plein écran */
#intro {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease; /* pour le fade */
  text-decoration: none;
}

#intro article {
	opacity: 1;
	width: 30%;
	margin: 0;
}

.news-post .news-title,
.news-post .news-short,
.news-post .bloc {
	cursor: default;
}

/* Masquer le site au départ */
.home .hidden {
  visibility: hidden;
}

/* Quand l'intro est en train de disparaître */
#intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Contenu du site caché au départ */
.home .site-content {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.site-content.visible {
  opacity: 1;
}


.embed-bandcamp {
  position: relative;
  width: 80%;
  padding-bottom: 120px; /* 460/340 ≈ 1.35 */
  height: 0;
  z-index: 1000;
}

.embed-bandcamp iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
}

.video-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* ratio 16:9 */
    aspect-ratio: 16 / 9;
    height: 0;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.video-container span {
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000000;
    transition: opacity 0.3s;
}

.video-container .play {
    text-align: center;
    pointer-events: none;
    margin: 0;
}

.video-container .bg_video_play {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
}

.news-item .news-content {
  margin-top: 0.8em;
}

.grid-galerie article.large.video .video-container {
  aspect-ratio: 16 / 9; /* adapte à ton besoin */
  width: 100%;
}
.grid-galerie article.large.video iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.grid-galerie article.large.video .video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* ou 4/3 si tu veux */
  overflow: hidden;
}

.grid-galerie article.large.video iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

#no-galerie {
	width: 100%;
	height: calc(2.5 * var(--size-2));
	clear: both;
}

.menu.mobile,
.menu-toggle,
#menu-expand {
	display: none;
}

#news-grid {
	position: relative;
}

.fallback-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}




















@media only screen and (min-width : 1500px) {

.small {
  width: calc(calc(14% - var(--size-2)) - var(--size-2));
}

.medium {
  width: calc(calc(23% - var(--size-2)) - var(--size-1));
}

.medium.right {
  width: calc(calc(23% - var(--size-2)) - var(--size-1));
  margin-left: 6%;
}

.large {
  width: calc(calc(29% - var(--size-2)) - var(--size-2));
}

#intro,
.background-lines {
  font-size: 8.5vw;
  line-height: 0.9em;
}

.rubrique a,
.home .news-title,
.news-date,
.news-location,
.news-city,
.news-country {
  font-size: 2vw;
  line-height: 1em;
}

article.news-item {
  width: calc(100% / 4);
}
	
}











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

:root {
	--size-1: 9px;
	--size-2: 18px;
}

#signature,
.single-projet .right p,
.page-template-template-about .right p,
#table-projets td {
  font-size: 14px;
  line-height: 1.2em;
}

.half p,
#infos,
.news-content p {
  font-size: 20px;
  line-height: 1.2em;
}

p {
	margin-bottom: 1.2em;
}

#table-projets td h2,
.single-projet h3,
.page-template-template-about h3,
.news-short {
  font-size: 24px;
  line-height: 1em;
  margin: 0.3em 0;
}

.single-projet h3,
h3.newsletter {
  margin-top: 1em;
}

.menu a {
  font-size: 19px;
  line-height: 1em;
}

#table-projets th {
  font-size: 30px;
  line-height: 1em;
}

.single-projet h2,
.news-content h2 {
  font-size: 40px;
  line-height: 1em;
  margin: 0.3em 0;
}

.single-projet h1,
#news .news-title,
.play {
  font-size: 55px;
  line-height: 0.92em;
}

#news .news-title {
  margin-bottom: 0.35em;
}

#intro,
.background-lines {
  font-size: 9vw;
  line-height: 0.9em;
}

.rubrique a,
.home .news-title,
.news-date,
.news-location,
.news-city,
.news-country {
  font-size: 3.5vw;
  line-height: 1em;
}

.small {
  width: calc(calc(25% - var(--size-2)) - var(--size-2));
}

.medium {
  width: calc(calc(30% - var(--size-2)) - var(--size-1));
}

.medium.right {
  width: calc(calc(30% - var(--size-2)) - var(--size-1));
  margin-left: 5%;
}

.large {
  width: calc(calc(50% - var(--size-2)) - var(--size-2));
}

.menu {
  width: calc(25% - var(--size-2));
}

footer .social-icons{
	display: none;
}

#left-column {
  width: 75%;
}

#right-column {
  width: 25%;
}

article.news-item {
  width: 50%;
}

table td:nth-child(5),
table th:nth-child(5) {
  display: none;
}

#table-projets tr td,
#table-projets tr th {
  width: 10%;
}

#table-projets tr td:nth-child(2),
#table-projets tr th:nth-child(2) {
  width: 18%;
}

#table-projets tr td:nth-child(3),
#table-projets tr th:nth-child(3) {
  width: 35%;
}

#table-projets tr td:nth-child(4),
#table-projets tr th:nth-child(4) {
  width: 33%;
}

#table-projets tr td:nth-child(6),
#table-projets tr th:nth-child(6) {
  width: 4%;
}

#table-projets th {
  background-size: auto 10px;
}

.tablesorter-header-inner {
  padding-left: 21px;
  padding-right: 21px;
}

.half,
.half.right,
.half.left {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.half.left {
  margin-bottom: 0;
}

.rubrique.externe {
  width: 50%;
}

.menu a {
  padding: var(--size-2) 0 var(--size-2) calc(var(--size-2) * 2.5);
}

.half .social-icons {
	display: block;
}

}

















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

:root {
	--size-1: 6px;
	--size-2: 12px;
}

#signature,
.single-projet .right p,
.page-template-template-about .right p,
#table-projets td {
  font-size: 12px;
  line-height: 1.2em;
}

.half p,
#infos,
.news-content p {
  font-size: 16px;
  line-height: 1.2em;
}

p {
	margin-bottom: 1.2em;
}

#table-projets td h2,
.single-projet h3,
.page-template-template-about h3,
.news-short {
  font-size: 24px;
  line-height: 1em;
  margin: 0.3em 0;
}

.single-projet h3,
h3.newsletter {
  margin-top: 1em;
}

.menu a {
  font-size: 6vw;
  line-height: 1em;
  padding: calc(var(--size-2) * 2.5) 0 calc(var(--size-2) * 2.5) calc(var(--size-1) * 11 / 3 * 3);
}

#table-projets th {
  font-size: 22px;
  line-height: 1em;
}

.single-projet h2,
.news-content h2 {
  font-size: 35px;
  line-height: 1em;
  margin: 0.3em 0;
}

.single-projet h1,
#news .news-title,
.play {
  font-size: 55px;
  line-height: 0.92em;
}

#intro,
.background-lines {
  font-size: 15vw;
  line-height: 0.9em;
}

.rubrique a,
.home .news-title,
.news-date,
.news-location,
.news-city,
.news-country {
  font-size: 7vw;
  line-height: 1em;
}

.small {
  width: calc(calc(40% - var(--size-2)) - var(--size-2));
}

.small.right {
  margin-left: 10%;
}

.small.left.square {
  margin-left: 57%;
}

.small.round.landscape {
  margin-left: 30%;
}

.medium {
  width: calc(calc(55% - var(--size-2)) - var(--size-1));
}

.medium.right {
  width: calc(calc(55% - var(--size-2)) - var(--size-1));
  margin-left: 15%;
}

.large,
.medium.news-post {
  width: calc(calc(100% - var(--size-2)) - var(--size-2));
}

.medium.news-post {
  width: calc(calc(70% - var(--size-2)) - var(--size-2));
  margin-left: 15%;
  margin-right: 15%;
}

.menu {
  width: calc(25% - var(--size-2));
}

header,
footer {
  display: none;
}

.menu-toggle,
#menu-expand {
	display: block;
}


  :root { --dur: 600ms; --ease: ease-in-out; }

  /* --- Bouton hamburger (3 barres) --- */
  .menu-toggle{
    position:fixed; top:16px; right:16px; z-index:1002;
    width:44px; height:44px; border:0; background:transparent; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }
  
  .menu-toggle:focus-visible{ outline:2px solid #000; outline-offset:2px; }

  .burger{ position:relative; width:26px; height:18px; }
  .burger .bar{
    position:absolute; left:0; right:0; height:2px; border-radius:2px; background:#000;
    transform-origin:center;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
  }
  .burger .bar:nth-child(1){ top:0; }
  .burger .bar:nth-child(2){ top:8px; }
  .burger .bar:nth-child(3){ top:16px; }

  /* Burger → croix quand ouvert */
  .menu-toggle[aria-expanded="true"] .bar:nth-child(1){ top:8px; transform:rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity:0; }
  .menu-toggle[aria-expanded="true"] .bar:nth-child(3){ top:8px; transform:rotate(-45deg); }


  /* --- Menu expand au-dessus (pas de fond) --- */
  #menu-expand {
    position:fixed; inset:0; z-index:1001;
    padding: 0;
    opacity:0; pointer-events:none;
    transition: opacity var(--dur) var(--ease);
      background-color: #DBDFE2;
  }
  /* Ouverture: le menu fade-in pendant que la section fade-out */
  body.menu-open #menu-expand{
    opacity:1; pointer-events:auto;
  }
  /* Fermeture (séquencée): on lance le fade-out du menu d'abord */
  body.menu-open.menu-closing #menu-expand{
    opacity:0; pointer-events:none;
  }

  @media (prefers-reduced-motion: reduce){ *{ transition:none !important; } }


#menu-expand #menu-big {
  position: absolute;
  top: 50%; /* poussé de la moitié de hauteur du référent */
  transform: translateY(-50%);
}


#menu-expand .menu {
    width: 80%;
    margin: 0 10%;
    padding: 0;
}


#menu-expand .social-icons {
	position: absolute;
	bottom: 0;
	gap: 0;
	justify-content: center;
    width: 80%;
    margin: 0 10%;
    padding: 0;
}

.menu.mobile {
	display: block;
	width: 100%;
}

article.news-item {
    width: 100%;
}

table td:nth-child(4),
table th:nth-child(4) {
  display: none;
}

#table-projets tr td:nth-child(1),
#table-projets tr th:nth-child(1) {
  width: 14%;
}

#table-projets tr td:nth-child(2),
#table-projets tr th:nth-child(2) {
  width: 34%;
}

#table-projets tr td:nth-child(3),
#table-projets tr th:nth-child(3) {
  width: 48%;
}

#table-projets th {
  background-size: auto 8px;
}

.tablesorter-header-inner {
  padding-left: 17px;
  padding-right: 17px;
}

.embed-bandcamp {
  width: 100%;
}

.half .social-icons {
	display: none;
}

}












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

.menu a {
  font-size: 8vw;
  line-height: 1em;
}

.rubrique a,
.home .news-title,
.news-date,
.news-location,
.news-city,
.news-country {
  font-size: 8vw;
  line-height: 1em;
}

}




