/*
=====================================
COMPONENTS
=====================================
*/
@layer components {


/** CHAPEAU */
.chapeau {
background-color:#a6a2a2ff;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: var(--space-2);
padding:var(--space-4);
margin-bottom:var(--space-4);
}
.chapeau > * {
border: solid 1px #000033;
padding: var(--space-4);
box-shadow: 0 0.6rem 0.3rem -0.3rem #3d3a3a;
flex: 1 1 350px;
}

/*--------ZONE TEXT-----------*/
.chapeau__title {
font-size:var(--font-size-1rem5a);
color: #068eee;
text-shadow: 2px 2px 2px #fbfbf2ff;
text-align: center;
margin-bottom: var(--space-4);
}

.chapeau__zonetext {
background-color: #fbfbf2ff;
font-size: var(--font-size-1rem5a);
color: #000033;
}

/*--------ZONE FOTO-----------*/

.chapeau__zonefoto{
background-color: #cfd2cdff;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}

.chapeau__figcaption {
font-size : var(--font-size-1rem);
text-align: center;}

/*--------MAIN-----------*/

main{
  background-color:#a6a2a2ff;
  padding: var(--space-4);
}

/* Texte côté gauche des photographies */
.section__actu{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1rem;
}

.section__actu__intro {
  margin-bottom: var(--space-6);
}

.section__actu__titre time {
  display: block;
  font-size: var(--font-size-1rem25);
  font-weight: 300;
  margin-top: var(--space-4);
}

/* Texte au-dessus des photographies */
.section__actu--vertical {
  flex-direction: column;
}

.section__actu > * {
  border: solid 1px #000033;
  min-width: 0;
}

.section__actu__text{
  background-color: #cfd2cdff;
  font-size: var(--font-size-1rem5a);
color: #000033;
border-left: solid 1rem rgb(112, 117, 106);
padding: 1rem;
flex: 3 1 350px;
}

.section__actu__titre {
  padding-bottom:1rem;
}

.section__actu__titre--deuil {
  background-color: #53025a;
    color: #ffffff;
    padding: var(--space-4);
    margin-bottom: var(--space-8);
}

.section__actu__titre h2 {
  font-size: var(--font-size-1rem5a);
}
.section__actu__titre h3 {
  font-size: var(--font-size-1rem25);
  font-weight: 300;
  margin-top: var(--space-4);
}

.particip {
margin-top: var(--space-6);
font-size: var(--font-size-1rem25);
font-family: "Courier New", Courier, monospace;
font-weight: 600;
color: #0b4387;
border: dashed 1px #063f6e;
padding: 1rem;
}

.section__actu--vertical > .section__actu__text,
.section__actu--vertical > .section__actu__foto {
  flex: none;
}

.section__actu__foto{
background-color: #cfd2cdff;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
padding:1rem;
}

/* Photographies disposées horizontalement */
.section__actu__foto--row figure {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}


.section__actu__foto--row img {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  height: auto;
}

.section__actu__foto {
  flex: 1 1 200px;
}

.section__actu__foto figure {
  width: 100%;
}
.section__actu__foto img {
  display: block;
  margin-inline: auto;
}
.section__actu__figcaption {
text-align: center;
font-size : var(--font-size-1rem);
color: #000033;
}


}