:root{
--font-sans:  'Acherus Grotesque', 'Muli', -apple-system, "Helvetica Neue", sans-serif;
  --font-mono:  "IBM Plex Mono", "Courier New", monospace;

  --color-bg:     rgb(250, 250, 248);
  /* --color-bg: #fffff2; */
  --color-text:        rgb(73, 4, 49);
  --color-text-medium: color-mix(in srgb, var(--color-text) 65%, #c0c0c0);
  --color-text-light:  color-mix(in srgb, var(--color-text) 22%, white);
  --color-text-xlight: #efefef;
  --color-muted:  rgb(26, 26, 26);
  --color-border: #e0e0dc;
  --color-accent: #F65058;   

  --color-black: rgb(26, 26, 26);
  --color-white: #FFFFFF;
  --color-red:        #F65058;   
  --color-red-medium: color-mix(in srgb, var(--color-red) 45%, white);
  --color-red-light:  color-mix(in srgb, var(--color-red) 12%, white);
  --color-blue:   #281f58;   
  --color-teal:   #977AB8;   
  --color-violet: #B87AA8;   



  --text-xs:   0.72rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.6rem;
  --text-2xl:  2.25rem;
   --text-3xl:  2.75rem;

   --container: 72rem;
  --content:   48rem;


  
}




/* round before */

/* ::before{
    --size: 10px;   
    border: 2px solid currentColor;
    width: var(--size);
    height: var(--size);
    border-radius: var(--size);
    content: "";
    display: inline-block;
    margin-right: 0.5ch;
    position: relative;
    top: 1px;

} */





/* BOX SHADOW SM */

/* display: inline-block;
    font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: currentColor 3.2px 3.2px 2.88px 0px;
  padding:  0rem 0.4rem;
  border-radius: 0.2rem; */





  /* BOX SHADOW LG */


   /* font-size: var(--text-lg);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 3rem;
  box-shadow: currentColor 3.2px 3.2px 2.88px 0px;
  padding:  0.15rem 0.8rem;
  border-radius: 0.2rem; *//* Reset ----------------------------------------------------  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    position: relative;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: currentColor; text-underline-offset: 2px;}
ul { list-style: none; padding: 0; margin: 0; }







/* BASE -------------------------------------------------------- */


body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}


.btn-default{

  --btn-color: var(--color-violet);
  
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  color: var(--btn-color);
  border: 1px solid var(--btn-color);
  padding: 0.22em 0.65em;
  border-radius: 4px;
  box-shadow:  2px 2px 0 var(--btn-color);
  display: inline-block;
  transition: all 0.1s;
}

.btn-default:hover {
  color: var(--color-red);
  border-color: var(--color-red);
   box-shadow:  2px 2px 0 var(--color-red-medium);
}



.title-list{
  font-weight: 600;
  font-size: var(--text-2xl);
  margin-bottom: 3rem;
  line-height: 1.1;

}


.title-label{
  display: inline-block;
    font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: currentColor 3.2px 3.2px 2.88px 0px;
  padding:  0rem 0.4rem;
  border-radius: 0.2rem;
}


.see-all a{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
 text-decoration: underline currentColor;
}

.see-all a:hover{
  text-decoration: underline dotted 2px;
}

.category-label{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  /* text-transform: uppercase;
  letter-spacing: 0.06em; */

  text-transform: capitalize;

  display: inline-block;
  background: var(--color-red-light);
  color: var(--color-accent);

  padding: 0.22em 0.65em;
  border-radius: 4px;
}


.link-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer
}


.filters-container{
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.btn-filter{
  font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-style: italic;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75ch;
    padding: 0rem 0.4rem;
    border: 1px solid currentColor;
    border-radius: 0.2rem;
    cursor: pointer;
}

.btn-filter:hover{
   box-shadow: var(--color-text) 3.2px 3.2px 2.88px 0px;
}#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}

#header nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: var(--text-sm);
}

.site-name {
  font-family: var(--font-sans);
  /* font-size: var(--text-sm); */
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  color: var(--color-accent);
}
.site-name:hover { color: var(--color-accent); }


.header-menu{
     margin-left: auto;
}

#header nav > ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

#header nav > ul a {
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
}
#header nav > ul a:hover { 
  color: var(--color-violet); 
}

.lang-switch {
 
  display: flex;
  align-items: baseline;
  font-size: var(--text-xs);
  font-weight: 800;
  margin-left: 1rem;
  gap: 0.25rem!important;
  position: relative;
  top: -1px;
}

.lang-switch a, 
.lang-switch span {
    text-transform: uppercase;
     font-weight: 600;

        
    padding: 0rem 0.4rem;
    border-radius: 0.2rem;


}


.lang-switch a:hover { 
    color: var(--color-violet)!important; 
}
.lang-switch .active { 
 box-shadow: currentColor 3.2px 3.2px 2.88px 0px;
}



/* Burger menu — hidden on desktop */
.menu-toggle {
  display: none;
}

.menu-burger {
  display: none;
}

@media (max-width: 820px) {
  .menu-burger {
    display: flex;
    align-items: center;
    margin-left: auto;
    cursor: pointer;
    color: var(--color-accent);
  }

  .menu-burger .close-icon {
    display: none;
  }

  .menu-toggle:checked ~ .menu-burger .burger-icon {
    display: none;
  }

  .menu-toggle:checked ~ .menu-burger .close-icon {
    display: flex;
  }

  #header nav > ul {
    display: none;
  }

  #header nav .menu-toggle:checked ~ .header-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-left: 0;
    padding-block: 0.5rem;
  }

  #header nav .menu-toggle:checked ~ .lang-switch {
    display: flex;
    width: 100%;
    margin-left: 0;
    padding-bottom: 1rem;
  }
}


#footer{
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  font-weight: 500;
}


#footer .container{
  max-width: var(--container);
  margin-inline: auto;
  margin-top: 2rem;
  padding-bottom: 6rem;

  display: flex;
  gap: 4rem;

}



#footer .socials ul li::after{
  content: "↗";
  padding-left: 0.5ch;

}

#footer .socials ul {
  margin-block: 1rem;
}

.text-content{
      max-width: var(--content);
}


.text-content ul{
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-left: 2em;
}


.text-content h2 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}


.text-content figure{
    margin-block: 3em;
}

.text-content figure.border img{
 border: 1px solid #444;
}

.text-content figure figcaption{
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--text-xs);
    font-style: italic;
    /* color: var(--color-text-medium); */
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 4rem;
    max-width: 72ch;
    margin-inline: auto;
    line-height: 1.25;
}


.text-content p{
    margin-block: 0.75rem;
}
   
.text-content video{
    width: 100%;
    margin-top: 3em;
      margin-bottom: 3em;
}

.text-content video.border-video {
    border: 4px solid #bfbfbf;
    border-bottom: 5px solid #bfbfbf;
    border-radius: 10px;
}

.text-content a:hover{
    text-decoration: underline dotted 2px;

}

iframe{
        width: 100%;
    height: 1000px;
    max-height: 60vh;
}

.text-content p code, 
.text-content li code {
    font-size: .8em;
    padding: 1px 8px 3px;
    vertical-align: baseline;
    border-radius: 3px;
    background-color: var(--color-text-xlight);
    font-family: var(--font-mono);
    font-style: italic;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1;
}


.text-content ul ul{
    list-style-type: circle;
    margin-block-start: 0em;
}
.pub-year {
  font-family: var(--font-mono);

  font-weight: 500;
  padding-top: 0.15rem;
  white-space: nowrap;
}


.home-publications .pub-year{
  color: var(--color-red);

}

 

.pub-content { min-width: 0; }

.pub-authors, 
.pub-venue {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
    font-style: italic;
    font-weight: 500;
  margin-bottom: 0;

}

.pub-venue::before{
  content: '→ '
}



/* home */

.publications-cards { 
  margin: 0; 
}



@media screen and (min-width: 820px){
  .publication-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.1s;
}

}

@media screen and (max-width: 820px){
  .publication-card {
    padding-top: 0.5rem;
    padding-bottom: 1rem;

  border-bottom: 1px solid var(--color-border);
}

}

.publication-card .pub-year{
 font-size: var(--text-xs);
}

.publication-card .pub-authors, 
.publication-card .pub-venue {
  font-size: var(--text-xs);
}

.publication-card:first-of-type{
   border-top: 1px solid var(--color-border);
}

.publication-card .pub-title {
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  white-space: normal;
}



/* list */

.publication-card--full {
  grid-template-columns: 3.5rem 1fr auto;
  padding: 1.25rem 0;
  align-items: start;
}

.publication-card--full .pub-title {
  font-size: var(--text-lg);
  max-width: 52ch;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  white-space: normal;
}

.publication-card--full .pub-year,
.publication-card--full .pub-authors, 
.publication-card--full .pub-venue {
  font-size: var(--text-sm);
}

/* .publication-card--full .pub-authors, 
.publication-card--full .pub-venue {
  color: var(--color-black);

} */




/* .pub-title a { text-decoration: none; } */
/* .pub-title a:hover { color: var(--color-accent); } */



/* ── Actions & toggles ── */

.pub-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}



.pub-btns a, .pub-btns label{
   font-family: var(--font-mono);
  font-size: var(--text-xs);
    font-style: italic;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75ch;
  padding:  0rem 0.4rem;
    border: 1px solid currentColor;
  border-radius: 0.2rem;
  text-transform: capitalize;
}

.pub-btns label:hover{
    box-shadow: var(--color-text) 3.2px 3.2px 2.88px 0px;
    cursor: pointer;
}

.pub-btns a:hover{
  box-shadow: var(--color-red) 3.2px 3.2px 2.88px 0px;
   cursor: pointer;
 /* box-shadow: var(--color-text-light) 3.2px 3.2px 2.88px 0px; */
}

.pub-btns a{
  color: var(--color-red);
    box-shadow:  2px 2px 0 var(--color-red);
  text-decoration: none; 
}


.pub-toggle:has(:checked) {
  background-color: var(--color-text);
  color: var(--color-bg);
  box-shadow: var(--color-text) 3.2px 3.2px 2.88px 0px;
  border-color: var(--color-bg);
}



.icon{
   font-size: var(--text-base);
}

.pub-check-cite,
.pub-check-abstract {
  display: none;
}

.pub-panel {
  display: none;
  margin-top: 0.75rem;
}

.pub-pane-cite    { display: none; }
.pub-pane-abstract { display: none; }

.pub-actions:has(.pub-check-cite:checked) .pub-panel      { display: block; }
.pub-actions:has(.pub-check-cite:checked) .pub-pane-cite   { display: block; }

.pub-actions:has(.pub-check-abstract:checked) .pub-panel         { display: block; }
.pub-actions:has(.pub-check-abstract:checked) .pub-pane-abstract  { display: block; }


.pub-pane-cite, 
.pub-pane-abstract{
  padding-top: 1rem;
}
.activites-list-page .activity-date{
    font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;

}


.activites-list-page .filters-container{
    margin-top: -1.5rem;

}

.activity-item-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-violet);
  border: 4px solid var(--color-teal);
  border-radius: 8px;
}

.activity-item-img img { 
  width: 100%; height: 100%; object-fit: cover; display: block; 
  /* filter: grayscale(0.3); */
  filter: grayscale(1);
  mix-blend-mode: screen;

}

.activity-item-img::before{
  /* content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--color-text);
  z-index: 10;
  opacity: 0.2;
  mix-blend-mode: multiply; */
}
.activite-img-placeholder { width: 100%; height: 100%; background: var(--color-text); }



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

.activity-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
  transition: background 0.1s;
}

.activites-list{
      border-top: 1px solid var(--color-border);
}

}

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

  .activites-list{
      padding-top: 2rem;
}

  .activity-item {
    border-bottom: 1px solid var(--color-text-medium);
    padding-bottom: 2rem;
    margin-bottom: 1rem;
  }

  .activity-item-img{
    margin-bottom: 1rem;
    max-width: 300px;
    margin-inline: auto;
  }

  }


.activity-item-content { 
    display: flex; flex-direction: column; gap: 0.5rem; 
}

.activity-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.activity-item h2,
.activity-item h3{
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    max-width: 52ch;
}



.activity-item h2 a,
.activity-item h3 a{
    text-decoration: none;
}

.activity-item p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-black);
  line-height: 1.55;
  margin: 0;
  max-width: 68ch;
}

.activity-item:hover { 
    background: var(--color-white);
 }

 .activity-item:hover h3{ 
    color: var(--color-red);
    text-decoration: underline 1px;
    text-underline-offset: 2px;
 }


.intervention-item{
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 0 1rem;
    align-items: baseline;
    margin: 2rem 0;
}



.intervention-item .intervention-date{
    font-family: var(--font-mono);
    font-weight: 500;

    padding-top: 0.15rem;
    white-space: nowrap;
    font-size: var(--text-xs);
}

.intervention-item .intervention-titre{
        font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

.intervention-coauteurs,
.intervention-context,
.intervention-dates{
     font-family: var(--font-mono);
    font-weight: 500;
     font-size: var(--text-xs);
}

.intervention-liens{
    font-family: var(--font-mono);
    font-weight: 500;
     font-size: var(--text-xs);
     margin-top: 0.25rem;
}

.intervention-liens a{
    margin-right: 2rem;
     color: var(--color-accent);
     
}

.intervention-liens a:hover{
    text-decoration: 2px underline dotted;

}



/* LIST PAGE */

.talks-page{

    max-width: var(--content);

}

.talks-page .interventions-section{
    margin-bottom: 6em;
}

.talks-page .interventions-section h2{
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01rem;
    /* padding-top: 6rem; */
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.talks-page .interventions-section h2::before{
    content: "⟡";
    padding-right: 1ch;
    /* display: inline-block; */
    position: relative;
    top: -1px;
}.activites-list_header{
    display: flex;
    gap: 3em;
    margin-top: 12em;
    margin-bottom: 2em;
}





.page-activity .activity-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
    max-width: var(--content);
}


.page-activity .activity-meta{
        display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;

}
.page-activity .activity-date{
    font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;

}


.page-activity .activity-header h1 {
    font-family: var(--font-sans);
    font-size: var(--text-3xl);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.page-activity  .activity-description {
      font-size: var(--text-lg);
    font-weight: 600;
    /* color: var(--color-muted); */
    line-height: 1.25;

}


.page-activity .activity-meta-list{
    font-family: var(--font-mono);
    font-weight: 500;
        font-size: var(--text-sm);
        font-style: italic;
        line-height: 1.25;

        margin-top: 1.5rem;
}


.page-activity .activity-meta-list li{
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
}

.page-activity .activity-meta-list li::before{
    content: "⟡";
    position: absolute;
    left: 0rem;
    top: -2px;
    font-weight: 700;
    font-style: normal;
    font-size: var(--text-base);
}


 .activity-meta-list a:hover{
    text-decoration: underline dotted 2px;

}.home-header-wrapper {

  padding-bottom: 2.5rem;
  margin-bottom: 0;
}

@media screen and (min-width: 820px){
  .home-header-wrapper {
 display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 0;
  align-items: start;
  padding-bottom: 2.5rem;
  margin-bottom: 0;
  }

 .home-intro {
  padding-right: 2.5rem;
  margin-bottom: 2rem;
}

}

@media screen and (max-width: 820px){
  .is-home main{
    padding-inline: 0px!important;
    width: 100vw;

  }

   .home-header-wrapper {
  padding: 0em 16px;
  margin-bottom: 4rem;
}

 .home-intro {
  margin-bottom: 2rem;
}

 
}



.home-intro p {
  font-size: var(--text-lg);
  line-height: 1.55;
  font-weight: 600;
}

.home-intro p strong{
  font-weight: 600; 
  color: var(--color-red);
}

.home-intro p + p{
  margin-top: 0.25lh;
}

.home-intro a {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

.home-intro a:hover{
  text-decoration: underline dotted 2px;

}



/* CAPSULES ------------------------------------- */


@media screen and (min-width: 820px){
.home-capsules{
    padding-left: 2rem;
}

}




.home-capsules ul{
  margin-bottom: 2rem;
  padding-left: 1.25rem;
}
.home-capsules ul li{
  margin-bottom: 0.5rem;
   font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  /* font-style: italic; */
  line-height: 1.25;
}

.home-capsules ul li a{
  position: relative;
}

.home-capsules ul li a::before{

     content: "⟡";
    position: absolute;
    left: -1.25rem;
    top: -3px;
    font-weight: 700;
    font-size: var(--text-base);

}

.home-capsules ul li a:hover{
  text-decoration: underline dotted 2px;

}









/* SECTIONS ----------------------------------------------------- */




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

.home-section {
  padding: 4rem 0;
}

.home-section_header{
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
    margin-bottom: 3rem;
    gap: 2em;
}
}

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

  .home-section {
  padding: 4rem 16px;
}

  .home-section_header{
    padding-inline: 10px!important;
  }
.home-section_header .count{
  display: block;
 
}

.home-section_header > h2{
  margin-bottom: 1rem;
  }

  .home-section_header{
  margin-bottom: 1rem;
  }
}





.home-section_header > h2{
  font-size: var(--text-lg);
  font-weight: 600;

  display: inline-block;

  box-shadow: currentColor 3.2px 3.2px 2.88px 0px;
  padding:  0.15rem 0.8rem;
  border-radius: 0.2rem;
}


.home-section_header .count{
 font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-decoration: none;
}





/* HOME THESIS ----------------------------------------------------- */


.home-thesis-eyebrow{
 display: inline-block;
    font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: currentColor 3.2px 3.2px 2.88px 0px;
  padding:  0rem 0.4rem;
  border-radius: 0.2rem;
}


@media screen and (min-width: 820px){
.home-thesis {
  border: 10px solid var(--color-white);
  margin: 2.5rem 0;
}

.home-thesis-body {
  padding: 2rem 2.5rem;
}

}




@media screen and (max-width: 820px){
  .home-thesis {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-text-medium);
      border-bottom: 1px solid var(--color-text-medium);
      padding: 2em 16px;
  }

}






.home-thesis-title::after{
  content: ","
}
.home-thesis-title,
.home-thesis-subtitle{
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.25;
}

.home-thesis-titles{
  margin-bottom: 1em;
}

.home-thesis-details{
   margin-bottom: 1em;
   max-width: var(--content);
}


.home-thesis-meta{


  margin-bottom: 2rem;
}

.home-thesis-meta li{
     font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.25;
  max-width: var(--content);
  padding-block: 0.5rem;
      border-bottom: 1px solid var(--color-border);
        font-style: italic;
}

.home-thesis-meta li:first-of-type{
 border-top: 1px solid var(--color-border);
}


/* SELECTION */


.intervention-section_header{
      display: flex;
    align-items: baseline;
    justify-content: flex-start;
    /* margin-bottom: 3rem; */
    gap: 2em;
}

.home-interventions .intervention-item{
      margin: 1rem 0;
}


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

  .home-interventions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}

}

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

.intervention-section{
  border-bottom: 1px solid var(--color-text-medium);
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;

}
}


.home-interventions  .home-section_header{
  margin-bottom: 1em;
  /* border-bottom: 1px solid var(--color-border); */

}

.home-interventions  .intervention-item .intervention-date{
    color: var(--color-accent);
    }


.home-interventions .interventions-list{
  /* border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); */
}
.home-interventions .intervention-item{
    grid-template-columns: 3rem 1fr;
      /* border-bottom: 1px solid var(--color-border); */
      margin: 0;
      padding-block: 1rem;
}

.home-interventions .etc{
  margin-left: 4rem;
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  
}

.home-interventions .etc a{
  text-decoration: none;
}

.home-interventions .etc:hover{
  color: var(--color-red)
}/* ── Code blocks ── */

code, pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.chroma {
  background-color: var(--color-text-xlight);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  padding: 1rem 1.25rem;
  border-radius: 0.25rem;
  overflow-x: auto;
}

/* Comments */
.chroma .c,
.chroma .c1,
.chroma .cm,
.chroma .cs,
.chroma .ch,
.chroma .cp,
.chroma .cpf,
.chroma .c1 { color: var(--color-text-medium); font-style: italic; }

/* Keywords */
.chroma .k,
.chroma .kc,
.chroma .kd,
.chroma .kn,
.chroma .kp,
.chroma .kr,
.chroma .kt { color: var(--color-text); font-weight: 600; }

/* Strings */
.chroma .s,
.chroma .s1,
.chroma .s2,
.chroma .sb,
.chroma .sc,
.chroma .dl,
.chroma .sd,
.chroma .se,
.chroma .sh,
.chroma .si,
.chroma .sx,
.chroma .sr,
.chroma .ss { color: var(--color-red); }

/* Numbers */
.chroma .m,
.chroma .mb,
.chroma .mf,
.chroma .mh,
.chroma .mi,
.chroma .mo { color: var(--color-text-medium); }

/* Functions & names */
.chroma .nf,
.chroma .nc,
.chroma .nd { color: var(--color-text); font-weight: 500; }

/* Operators & punctuation */
.chroma .o,
.chroma .p  { color: var(--color-text-medium); }
