/*
Theme Name: Active History
Theme URI: https://activehistory.ca
Author: Quentin Castellano
Description: Custom theme for Active History (activehistory.ca), designed and developed by Quentin Castellano. Built on BlankSlate by Web Guy (https://github.com/webguyio/blankslate), a minimalist WordPress starter theme.
Tags: custom-menu, featured-images, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

Active History theme 2026, based on the BlankSlate WordPress Theme 2011-2026.
BlankSlate is distributed under the terms of the GNU GPL; this theme is too.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');

:root{
    --color-green:#0e7c3f;
    --color-white: #FEEFDD;
    --color-brow: #6d4c3d;
    --color-orange: #ff8427;
    --color-blue: #004777;
    --font1: "Inter", sans-serif;
    --font2: "Libre Baskerville", serif;
    --font-text: "Inter", sans-serif;
}
body{
    background-color: var(--color-white);  
    margin: 0; 
        overflow-x: hidden;
}

.ah-button{
    font-family: var(--font1);
    color:white!important;
    padding: 0.5em;
    background-color:var(--color-green);
    border-radius: 0.25em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

/* Home */

section#podcasts{
    margin-bottom: 32px;
}
/* HEADER */
.header-inner{
    display: flex;  
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
}
.header-nav-link-parent {
    cursor: pointer;    
}
.header-logo-container {
  display: block;
  height: 80px;
  text-decoration: none;
  width: auto;
}
.header-logo-container svg{
    display: block;
    height: 100%;
    width: auto;
}
header .logo-short{
    display: none;
}
/* Logo colors — moved out of the SVG so they're editable here. */
.svg-ah-logo path{
    fill: var(--color-green);
}
.svg-ah-text1 path{
    fill: var(--color-green);
}
.svg-ah-text2 path{
    fill: #666666;
}

.header-nav{
    font-size: 18px;
    display: flex;
    gap:1.5em;
    align-items: center;

    
}

.header-right{
    display: flex;
    gap:16px;
    align-items: center;
}
.search-panel-open svg {
    color: var(--color-green);
}
.ah-white-header .search-panel-open svg{
    color: var(--color-white);
}
.header-nav{
    color:var(--color-green);
}
.header-nav a,
.header-nav-link{
    color: inherit;
    font-family: var(--font1);
    font-weight: bold;
    text-decoration: none;
}
.header-nav-link{
    padding: 0.5em 0;
}
.header-nav-dropdown{
    position: absolute;
    background-color: var(--color-green);
    right: 0;
    z-index: 99;
    top: calc(100%);
    overflow: hidden;
    height: 0;
}
.header-nav-link-parent{
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25em;
}
.header-nav-dropdown-inner{
    padding: 0.5em 0.5em;
}
.header-nav-dropdown a{
    color: inherit;
    font-weight: 300;
    width: max-content;
    display: block;
    padding: 0;
}
.header-nav-dropdown-item{
    padding: 0.25em;
    color: var(--color-white);
    border-bottom: 1px solid;
}
.header-nav-dropdown-item:last-child{
    border-bottom: none;
}
.header-nav-dropdown-item a{
    transition: 0.3s;
}
.header-nav-dropdown-item a:hover{
    transform: translatex(0.1em)
}

/*first-post and post-grid*/
.first-post-container{
    padding: 0 32px
}
.first-post.post-card .post-title{
    font-size: max(24px, 3vw);

}
.post-card.first-post{
    min-height: 75vh;
    border-top-left-radius:3.5vw;

}

.post-card{
    position: relative;
    min-height: 50vh;
    overflow:hidden;
    margin-bottom: 16px;
}

.post-card img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}
.post-card::after{
    content:'';
    position: absolute;
    width:100%;
    height:100%;
    background-color:#666666;
    z-index: 2;
    opacity: 0.65;
    pointer-events: none;
}
/* Stretched link: covers the whole card. The overlay/infos let clicks fall through
   to it (pointer-events:none), while the author links opt back in below. */
.post-card-link{
    position: absolute;
    inset: 0;
    z-index: 1;
}
.post-card .post-infos{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 32px);
    pointer-events: none;
}
.post-card .post-title{
    font-family: var(--font1);
    color: white;
    font-weight: bold;
    font-size: max(22px, 2vw);
    text-align: center;
}
.post-card .post-meta{
    margin-top: 32px;
    color:white;
    font-family: var(--font2);
    justify-content: center;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.5;
    font-size: max(14px, 1vw);
    text-align: center;

}
.post-card .post-meta .post-readtime:before{
    content: '\2022';
      display: inline-block;
      padding: 0 7px 0 7px;
      position: relative;
}
.post-card .post-meta .post-author:before{
    content: '\2022';
      display: inline-block;
      padding: 0 7px 0 7px;
      position: relative;
}
.post-card .post-author a{
    color:white;
    font-weight: bold;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
}
.post-grid{
    display: grid;
    grid-template-columns:  1fr 1fr;
    padding: 0 32px;
    column-gap: 16px
}

.loadmore-container{
    display: flex;
    justify-content: center;
    padding: 32px
    
}
#loadmore{
    all:unset;
    font-family: var(--font1);
    text-transform: uppercase;
    font-weight: bold;
    background-color: #7b7a74;
    color:var(--color-white);
    font-size: clamp(32px, 2.5vw, 100px);
    padding: 0.25em;
    position: relative;
    border-radius: 0.15em;
    cursor: pointer;
}
@media(max-width:768px){
    .post-grid{
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    .subject-card{
    order: 0;
    margin-top: 1em;
    margin-bottom: 2em!important;
    }
    .post-card{
        order: 1
    }
    .first-post-container{
    padding: 0 16px
    }
}

/* Load more spinner: label hides, ellipsis centers over the button while loading. */
#loadmore .lds-ellipsis{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
}
#loadmore.is-loading .loadmore-label{
    visibility: hidden;
}
#loadmore.is-loading .lds-ellipsis{
    display: inline-block;
}

.lds-ellipsis,
.lds-ellipsis div{
    box-sizing: border-box;
}
.lds-ellipsis{
    width: 80px;
    height: 80px;
}
.lds-ellipsis div{
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1){
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2){
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3){
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4){
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1{
    0%   { transform: scale(0); }
    100% { transform: scale(1); }
}
@keyframes lds-ellipsis3{
    0%   { transform: scale(1); }
    100% { transform: scale(0); }
}
@keyframes lds-ellipsis2{
    0%   { transform: translate(0, 0); }
    100% { transform: translate(24px, 0); }
}



/* AH TITLE */
.ah-title{
    font-family: var(--font1);
    color: var(--color-green);
    margin-top: 32px;
    width: max-content;
    margin-left: calc(64px + 5vw);
    position: relative;
}
.ah-title h2{
    font-size: max(36px, 3vw);
    font-weight: 900;
    line-height: 1;
}
#podcasts .ah-title h2{
    margin-bottom: 0;
}
.lines-before{
    position: absolute;
    height:100%;
    width: calc(48px + 5vw);
    right: calc(100% + 16px);
    display: flex;
}
.lines-after{
    position: absolute;
    height:100%;
    width: calc(95vw - 48px - 32px - 100%);
    left: calc(100% + 16px);
    display: flex;
    top:0;
}
.lines-container{
    width: 100%;
    position: relative;
}
.lines-container .line:nth-child(1){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    background-color: var(--color-green)
}
.lines-container .line:nth-child(2){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    top: calc((100% / 11)*2);
    background-color: var(--color-green)
}
.lines-container .line:nth-child(2){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    top: calc((100% / 11)*2);
    background-color: var(--color-green)
}
.lines-container .line:nth-child(3){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    top: calc((100% / 11)*4);
    background-color: var(--color-green)
}
.lines-container .line:nth-child(4){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    top: calc((100% / 11)*6);
    background-color: var(--color-green)
}
.lines-container .line:nth-child(5){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    top: calc((100% / 11)*8);
    background-color: var(--color-green)
}
.lines-container .line:nth-child(6){
    position: absolute;
    height: calc(100% / 11);
    width: 100%;
    top: calc((100% / 11)*10);
    background-color: var(--color-green)
}

.lines-full{
    height: max(36px, 3vw);
}
.lines-full .lines-container{
    height: max(36px, 3vw);
}

@media(max-width:768px){
    .ah-title{
        margin-left: 64px;
    }
    .lines-after{
        width: calc(100vw - 48px - 32px - 100%);
    }
    .lines-full{
    height: max(30px, 3vw);
    }
    .lines-full .lines-container{
        height: max(30px, 3vw);
    }
    .ah-title h2{
        font-size: max(30px, 3vw);;
    }
}


/*FOOTER*/

.footer-inner{
    margin-top: 32px;
    background-color: var(--color-green);
    position: relative;
    overflow: hidden;
    padding-bottom: calc(8.5vw + 32px);
}
.footer-logo{
    width:100%;
    height: auto;
    display: flex;
}
.footer-bigtext{
    font-family: var(--font2);
    font-weight: 900;
    color: var(--color-white);
    position: absolute;
    bottom: 0;
    left:50%;
    width: 100%;
    text-align: center;
    transform: translate(-50%, 0);
    font-size: 8.5vw;
    line-height: 0.6;
}
.footer-grid{
    padding-left: calc(10vw + 32px);
    padding-right: 32px;
    padding-top: 2vw;
    color: black;
    font-family: var(--font-text);
    display: flex;
    justify-content: space-around;
    background-color: var(--color-white);
    margin: 32px;
    padding: 32px 16px;
    border-radius: 16px;
}

footer a{
    color: inherit;
}

.footer-social-inner{
    display: flex;
    gap:1em;
    align-items: center;
    width: max-content;
}
.footer-social-container{
    display: flex;
    flex-direction: column;
    width: max-content;
    align-items: center;
    gap:0.5em;
}
.footer-social{
    height: 32px;
    display: flex;
}
.footer-social svg{
    fill:black
}
.newsletter-button{
    all:unset;
    padding: 0.25em 0.5em;
    background-color: var(--color-green);
    color: var(--color-white);
    font-weight: bold;
    cursor: pointer;
    border-radius: 0.35em;
    height: 2em;
    margin-top: 0.5em;
}
.footer-about p{
    margin: 0;
    font-size: 1em;
}
.footer-about{
    display: flex;
    flex-direction: column;
    gap:0.75em;
    text-align: center;
}
.footer-col{
    flex-basis: 30%;
}

.footer-col1{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}
.footer-col2{ 
    max-width: 35%;
    display: flex;

}
.footer-col3{ 
max-width: 25%;
    display: flex;
    justify-content: center;
}
.footer-separator{
    background-color: var(--color-white);
    width: 1px
}
.footer-menu-container{
    display: flex;
    justify-content: space-around;
    width: 100%;
    font-size: 1.25em;
}
.footer-menu-inner{
    display: flex;
    flex-direction: column;
    gap:0.5em;
    font-weight: 300
}

.footer-menu-title{
    text-transform: uppercase;
    font-weight: 900;
    font-family: var(--font1);
    margin-bottom: 0.75em;
    background-color: var(--color-green);
  width: max-content;
  color: var(--color-white);
  padding: 0.25em;
}
.footer-menu a{
    text-decoration: none
}




.footer-partners-row{
    color: var(--color-white);
    font-family: var(--font1);
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 2em;
    padding: 0 32px;

}

.footer-credits{
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: center;
    max-width: 500px
}
.footer-credits p{
    margin: 0;
}
.footer-partners-img {
    display: flex;
}
.footer-partners-img img {
    height: 80px;
}
.footer-faq{
    margin-top: 3em;
    display: none;
}
.footer-faq p{
    text-align: left;
}
.footer-sshrc a{
    display: flex;
}
.footer-sshrc img{
max-height: 100px;
  max-width: 100%;
  height: auto;
}
.footer-tags{
    color: var(--color-white);
    background-color: var(--color-green);
    width: max-content;
    padding: 0.25em 0.25em;
    font-family: var(--font1);
    margin-bottom: 0.5em!important;
    margin-top: 1em!important;
    display: block;
    
    
}
@media(max-width:1024px){
    .footer-grid{
        flex-wrap: wrap;
    }
    .footer-col3{
        max-width: unset;
        flex-basis: 100%;
        padding-top: 2.5em;
    }
    .footer-col1, .footer-col2{
        flex-basis: 50%;
        max-width: unset;
    }
}
@media(max-width:768px){
    .footer-grid{
        margin: 32px 16px;
    }
    .footer-col1, .footer-col2{
        flex-basis: 100%;
    }
    .footer-logo svg{
        width: 75%;
    }
    .footer-logo{
        justify-content: center;
    }
    .footer-about{
        width: 75%;
        text-align: center!important;
    }
    .footer-faq p, .footer-tags{
        text-align: center!important;
    }
    .footer-faq{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1em;
    }
    .footer-col3{
        order: 2;
    }
    .footer-col2{
        order: 3;
        margin-top: 3em;
    }
    .footer-partners-row{
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-credits{
        text-align: center;
    }

}
@media(max-width:500px){
    .footer-menu-container{
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
        display: flex;
        
    }
    .footer-menu, 
    .footer-menu-title, 
    .footer-menu-inner{
        justify-content: center;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .footer-logo svg{
        width: 90%;
    }
}
/*Single post*/


.single-grid {  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: max-content 1fr;
  max-width: 1000px;
  margin: auto;
  font-family: var(--font1);
  gap: 0px 32px;
  grid-auto-flow: row;
  grid-template-areas:
    "single-about single-content"
    "single-share-container single-content";
  padding: 0 32px;
}

.single-about { grid-area: single-about; }

.single-content { grid-area: single-content; }

.single-share-container { grid-area: single-share-container; }

.wp-caption{
    max-width: 100%;
}
.single-content{
    min-width: 0;
}
.entry-content{
    line-height: 2;
    font-size: 16px;
}
.single-grid a{
    color: var(--color-green);
    text-decoration: none;
    font-weight: bold;
}
.entry-content a sup,
.single-about a{
    font-weight: normal;
}
.single-authors{
    border-bottom: 1px solid;
    margin-bottom: 1em;
}
.single-about{
    border-bottom: 1px solid;
    padding-bottom: 1em;
}
.single-about h2{
    margin: 0;
    color: var(--color-green);
    font-family: var(--font2);
    font-size: 1.25em;
    font-weight: 500;
    padding-bottom: 1em;
    border-bottom: 1px solid #666666;
    margin-bottom: 1em;
    line-height: 1.35;
}
.single-about h2 a{
    font-weight: 900;
    text-wrap: nowrap;

}
.entry-content figure.aligncenter{
    margin: auto;
    text-align: center;
}
.entry-content figcaption{
    font-size: 0.75em;
}
.entry-series{
    font-weight: bold;
    margin-top: 0
}
.single-separator{
    height:1px;
    background-color: black
}
.single-author p{
    font-size: 0.9re;
    font-style: italic;
}
.single-buttons{
    display: flex;
    justify-content: space-between;
}

.single-pdf-button{
    flex-basis: calc(50% - 8px);
  color: var(--color-green);
  border: 2px solid;
  padding: 0.25em;
  box-sizing: border-box;
  text-align: center;
  font-weight: bold!important;
  margin-bottom: 1em;
}
.single-buttons button{
    all:unset;
    flex-basis: calc(50% - 8px);
    color:var(--color-green);
    border: 2px solid;
    padding: 0.25em;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1em;
}
.single-tags{
    display: flex;
    flex-direction: column;
    gap:0.5em;
    font-family: var(--font2);
    font-size: 0.9em;
}
.single-author-img{
    display: flex;
}
.single-author img{
    max-width: 40%;
    margin: auto;
    text-align: center;
    border-radius: 100%;
    aspect-ratio: 1;
  object-fit: cover;
}

#comments-section{
    background-color: var(--color-green);
    padding: 16px;
    border-radius: 16px;
    margin-top: 32px;
}
.comments-title{
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}
.comments{
    display: flex;
    flex-direction: column;
    gap:1em;
}
.comment-content{
    overflow-wrap: break-word;
    word-break: break-word;
}

.comment{
    background: white;
    padding: 0.5em;
    border-radius: 0.5em;
}
.comment-info{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.comment-time{
    font-weight: 300;
    font-size: 0.75em;
}
.comment-author{
    font-weight: bold
}
.comment-answer{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 0.5em;
}

.comment-notice{
    color: white;
    font-weight: bold;
    font-size: 0.85em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.comment-fields-row{
    display: flex;
    gap: 0.5em;
}
.comment-fields-row .comment-field{
    flex: 1;
    min-width: 0;
}
.comment-field{
    all: unset;
    display: block;
    box-sizing: border-box;
    width: 100%;
    background: white;
    padding: 0.6em 0.75em;
    border-radius: 0.25em;
    font-family: var(--font1);
    font-size: 0.95em;
    line-height: 1.4;
}
.comment-field::placeholder{
    color: #9a9a9a;
}
.comment-field:focus-visible{
    outline: 2px solid rgba(255,255,255,0.9);
    outline-offset: 1px;
}
.comment-field-text{
    height: 6em;
    resize: vertical;
}
.comment-submit{
    all:unset;
    margin-left: auto;
    background-color: white;
    padding: 0.5em 1.25em;
    border-radius: 0.25em;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.1s ease;
}
.comment-submit:hover{
    opacity: 0.85;
}
.comment-submit:active{
    transform: translateY(1px);
}
/* Hide WordPress' default "Required fields are marked *" note — the theme shows its own .comment-notice. */
.comment-answer .comment-notes{
    display: none;
}
/* "Logged in as …" line: tone it down to match. */
.comment-answer .logged-in-as{
    color: rgba(255,255,255,0.85);
    font-size: 0.8em;
    margin: 0;
}
.comment-answer .logged-in-as a{
    color: white;
    font-weight: 600;
}
/* Jetpack Subscriptions checkboxes — hidden (also removed in PHP, this is a fallback). */
.comment-subscription-form{
    display: none;
}

.comment-mobile-opener{
    display: none
}

.single-share{
    display: flex;
    gap:1em;
    
}
.single-share svg{
    width: 32px;
    height: 32px;
}
.single-share .single-share-icon{
    color: #000;             /* override .single-grid a (green) — keep the original black */
    text-decoration: none;
}
.single-share-inner{
    display: flex;
    flex-direction: column;
    margin-top:1em;
    position: sticky;
    top:32px;
}
.single-share-title{
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}
.single-link-to-comment{
    color: white;
    background-color: var(--color-green);
    width: max-content;
    padding: 0.35em;
    border-radius: 0.25em;
    margin-top: 0.5em;
}
.single-tag{
    background-color:var(--color-green);
    color:var(--color-white)!important;
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
    width: max-content;
    max-width: 100%;
}
.single-citation-button{
    cursor: pointer!important;
}
@media(max-width:1024px){
    .single-grid {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: max-content max-content max-content;
  grid-template-areas:
    "single-about"
    "single-content"
     "single-share-container";
}
.single-tags{
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    flex-wrap:wrap; 
}
.single-about h2{
    text-align: center;
}
.single-share-inner{
    align-items: center;
    margin-top: 32px;
}
.single-share-title{
    font-size: 1.5em;
}
}
@media(max-width:600px){
    .single-grid {  
        padding: 0 16px;;
}
}


/*Taxs*/


.single-tax-container{
    padding: 32px;
    box-sizing: border-box;
}
.single-tax-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.single-tax-infos{
    position: relative;
    box-sizing: border-box;
}
.single-tax-infos-inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 32px;
    box-sizing: border-box; 
}
.single-tax-name{
    display: flex;
    font-family: var(--font1);
    align-items: center;
    gap:16px;
}
.single-tax-infos h1{
    font-weight: 900;
    font-size: 48px;
    margin-top: 0;
    text-align: center;
}
.tax-author-img{
    max-width: 25%
}
.tax-author-img img{
    max-width: 100%;
    aspect-ratio:1;
    object-fit: cover;
    border-radius: 100%;
}

.tax-author-social{
    display: flex;
    gap:16px;
    align-items: center;
    border-top: 1px solid;
    padding-top: 12px;
}
.tax-author-social-icon svg{
    height: 32px;
    width: 32px;
}
.tax-author-social-button{
    background-color: var(--color-green);
    font-weight: bold;
    color:var(--color-white);
    font-family: var(--font1);
    padding: 0.25em;
    font-size: 1.15em;
    border-radius: 0.25em;
    
}
.tax-author-social-facebook svg,
.tax-author-social-bluesky svg,
.tax-author-social-linkedin svg path{
    fill:black;
}

.tax-author-social-mail svg path,
.tax-author-social-mail svg rect{
stroke: black;
}
.single-tax-desc figure{
    width: 75% !important;
  margin: auto;
  height: auto;
}
.single-tax-desc figure img{
    width: 100%!important;
    height: auto !important;
}
.single-tax-desc  img{
    width: 75%!important;
    height: auto !important;
    margin: auto;
}
.single-tax-desc figcaption{
    font-size: 0.75em;
    text-align: center;
}
.single-tax-desc a{
    text-decoration: none;
    color: var(--color-green);
    font-weight: 600;
}

.single-tax-desc{
    font-family: var(--font1);
    font-size: 1.2em;
    line-height: 2;
    margin-top: 1em;
}

.single-tax-series h1{
    font-size: 48px;
    text-align: center;
    margin-bottom: 0;
}

.single-tax-series-data-text{
    font-family: var(--font2);
    margin-top: 1em;
    border-top: 1px solid;
    padding: 0.5em;
    text-align: center;
    
    
}
.single-tax-series-data-text a{
    color: inherit;
}
.tax-serie-social{
    display: flex;
    gap:16px;
}
.tax-serie-social-share{
    text-align: center;
    font-family: var(--font1);
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 0.35em;
}

@media (max-width: 768px){
    .single-tax-grid{
        grid-template-columns: 1fr;  
    }
    .single-tax-infos{
        order: -1;   /* remonte le panneau infos au-dessus de la liste */
        margin-bottom: 32px;
    }
    .single-tax-infos-inner{
        padding-left: 0;
    }
    .single-tax-container{
    padding: 32px 16px;
    }
    .podcast-row-num{
    display: none
    }

}

/*Subject*/

.grid-subject{
    margin-top:32px;
}
.subject-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    gap:16px;
    position: relative;
}
.subject-card h1{
    margin: 0;
    font-family: var(--font1);
    font-size: clamp(28px, 3.4vw, 56px);
    margin-top: auto;
}
 .archive.tag .subject-card h1,
 .archive.category .subject-card h1{
    margin-top: unset
}
.subject-intro{
    font-family: var(--font2);
    font-style: italic;
    color: #6b6b6b;
    font-size: max(16px , 1.1vw);
    margin-top: auto;
}
.subject-chips{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    max-width: 90%;
}
.subject-chip{
    display: inline-flex;
    align-items: baseline;
    gap: 0.4em;
    font-family: var(--font1);
    font-weight: 600;
    font-size: max(16px , 1.1vw);
    padding: 0.4em 0.9em;
    border: 2px solid var(--color-green);
    border-radius: 2em;
    color: var(--color-green);
}
.subject-chip-label{
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .7em;
    opacity: .65;
}
.subject-chip-query{
    font-family: var(--font1);
    font-weight: 900;
    font-size: clamp(28px, 3.4vw, 56px);
    color: #111;
    text-align: center;
    line-height: 1.1;
}
.subject-count{
    font-family:var(--font2);
    font-size: max(18px, 1.25vw);
}
.subject-count span{
    font-weight: 900;
    color: var(--color-green);
}
.subject-card .ah-button{
    margin-bottom: 16px;
    margin-top: auto;
}
.series-infos-card h1{
    margin-top: unset;
    text-align: center
}
/*Podcast Archive*/
.tax-podcast_series  header{
    position: absolute;
    width: 100%;
    z-index: 2;
}

.podcast-header .podcast-logo{
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
}
.podcast-header{
    background-color: #0B5EBA;
    position: relative;
    height: 80vh;
    display: flex;
    align-items: flex-end
}
.podcast-header .podcast-desc{
    max-width: 600px;
    color: white;
    font-family: var(--font1);
    line-height: 1.5;
}
.podcast-header .podcast-desc a{
    color: inherit;
}
.podcast-header .podcast-infos{
    padding-left: 32px;
    padding-bottom: 32px;
    z-index: 2;
    position: relative;
    width: 100%;
}
.podcast-header .podcast-title{
    color: white;
    font-family: var(--font1);
    font-weight: bold;
    font-size: max(24px, 2.5vw);
}
.podcast-header .podcast-infos:before{
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(40, 51, 64, 1) 100%);
    content:'';
    position: absolute;
    height:125%;
    width: 100%;
    z-index: -1;
    bottom: 0;
    left: 0;
}

/* Episode list (series archive) — full-width accordion, spectremedia.org style */
.podcast-archive-grid{
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Each row is a 3-column grid: number | title | duration.
   The header and the dropdown reuse those columns via `subgrid`,
   so the description always lines up under the title on its own. */
.podcast-row{
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 22px;
}
.podcast-row + .podcast-row{
    border-top: 1px solid black;
}
.podcast-row-head:hover{
    background: rgba(0,0,0,.035);
}

.podcast-row-head{
    all: unset;
    cursor: pointer;
    grid-column: 1 / -1;             /* span all three columns */
    display: grid;
    grid-template-columns: subgrid;  /* reuse the row's columns */
    align-items: baseline;
    padding-block: 11px;
    font-family: var(--font1);
}

.podcast-row-num{
    grid-column: 1;
    color: black;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    font-weight: 200;
  font-size: 1.15em;
  padding: 16px;
}
.podcast-row-title{
    grid-column: 2;
    line-height: 1.35;
    font-size: 1.5em;
    color: black;
    font-weight: bold;
}
.podcast-row-dur{
    grid-column: 3;
    white-space: nowrap;
    color: rgba(0,0,0,.45);
    font-size: 1em;
    padding: 16px;
}

/* Dropdown panel — also a subgrid, so its content sits in the title column. */
.podcast-row-panel{
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
}
.podcast-row-panel-inner{
    grid-column: 2 / -1;   /* from the title column to the right edge */
    padding-block: 2px 26px;
}
.podcast-row-by{
    font-family: var(--font1);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .7rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 10px;
}
.podcast-row-desc{
    margin: 0 0 16px;
    max-width: 820px;
    font-family: var(--font1);
    font-size: .95rem;
    line-height: 1.65;
    color: rgba(0,0,0,.75);
    width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
}
.podcast-row-desc p{
    margin: 0 0 .8em;
}
.podcast-row-desc a{
    text-decoration: none;
    font-weight: 600;
    color:var(--color-green);
}
.podcast-row-desc p:last-child{
    margin-bottom: 0;
}
.podcast-row-link{
    font-family: var(--font1);
    font-weight: 700;
    font-size: .9rem;
    color: var(--color-green);
    text-decoration: none;
}
.podcast-row-link:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 640px){
    .podcast-row{
        column-gap: 14px;
    }
}
.podcast-archive-episode-img{
    position: relative;
    display: flex;
    margin-bottom: 0.25em;
}
.podcast-archive-episode-img img{
    width: 100%
}
.podcast-archive-episode{
    position: relative
}
.podcast-archive-episode-data{
    font-family: var(--font2);
    font-size: 0.9em;
}
.podcast-archive-episode-title{
    font-family: var(--font1);
    font-weight: 900;
}
.podcast-archive-episode-sepatator{
    height: 1px;
    background-color: black;
    margin-bottom: 0.25em;
}
.podcast-archive-episode-infos-inner{
    display: flex;
    flex-direction: column;
    gap:0.25em
}
.podcast-archive-episode-desc{
    position: absolute;
    top:0;
    padding:16px;
    width:100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    font-family: var(--font1);
    line-height: 1.5;
    z-index: 3;
    color: #FDAF3E;
    font-weight: bold;
}
.podcast-archive-episode-desc:before{
    content:'';
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0B5EBA;
    z-index:-1;
}
.podcast-archive-episode-img .ah-button{
    position: absolute;
    z-index: 4;
    background-color: #FDAF3E;
    color: #0B5EBA;
    bottom:16px;
    left:50%;
    transform: translateX(-50%);
}
.podcast-archive-episode-img .ah-button,
.podcast-archive-episode-desc{
    opacity: 0;
    cursor: pointer;
}
.podcast-archive-episode:hover .podcast-archive-episode-img .ah-button,
.podcast-archive-episode:hover .podcast-archive-episode-desc{
    opacity: 1;
}
/* Citation popup (SweetAlert) */
.ah-cite{
    text-align: left;
}
.ah-cite-block{
    margin-bottom: 1.25em;
}
.ah-cite-label{
    font-family: var(--font1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .8em;
    color: var(--color-green);
    margin-bottom: .35em;
}
.ah-cite-text{
    margin: 0;
    line-height: 1.5;
    font-size: .95em;
}
.ah-cite-downloads{
    display: flex;
    gap: .5em;
    flex-wrap: wrap;
    margin-top: 1.5em;
    border-top: 1px solid #eee;
    padding-top: 1.25em;
}
.ah-cite-dl{
    all: unset;
    cursor: pointer;
    font-family: var(--font1);
    font-weight: 700;
    font-size: .85em;
    color: var(--color-green);
    border: 2px solid var(--color-green);
    border-radius: .25em;
    padding: .4em .9em;
    transition: background-color .15s, color .15s;
}
.ah-cite-dl:hover{
    background-color: var(--color-green);
    color: #fff;
}
/* PDF "generating" popup (SweetAlert) */
.ah-pdf-loading{
    display: flex;
    justify-content: center;
    padding: 1em 0;
}
.ah-pdf-loading-icon{
    color: var(--color-green);
    animation: ah-spin 1s linear infinite;
}
@keyframes ah-spin{
    to{ transform: rotate(360deg); }
}


/*Page content */

.page.ah-white-header header{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
}
.ah-white-header header .header-nav{
    color:var(--color-white);
}
.ah-white-header header .header-nav-dropdown-item{
    color:var(--color-green);
}
.ah-white-header header .header-nav-dropdown{
    background-color: var(--color-white);
}
.ah-white-header header .header-logo-container svg path{
    fill: var(--color-white);
}
.page .content-header{
    background-color: var(--color-green);
    padding-top: 300px;
    display: flex;
    align-items: flex-end;
}
.page .content-header h1{
  margin-top: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  font-family: var(--font2);
  font-weight: 900;
  color: var(--color-white);
  font-size: 4em;
  max-width: 800px;
}
.page .page-classic-content{
    max-width: 800px;
    margin: auto;
    font-family: var(--font1);
    line-height: 1.5;
    margin-top: 32px;
}
.page .page-classic-content a{
    text-decoration: none;
    color:var(--color-green);
    font-weight: 600;
}
.page-content-subtitle{
  font-family: var(--font2);
  font-weight: 900;
  color: var(--color-green);
  font-size: 4em;
  text-align: right;
  max-width: 800px;
  margin: auto;
}
.page figure{
    width: 75% !important;
    margin: auto;

}
.page figure img{
    width: 100% !important;;
}
.page figcaption{
    font-size: 0.75em;
    text-align: center;
}



@media (max-width: 832px) {
  .page-content-subtitle {
    padding: 0 16px;
  }
}
@media (max-width: 600px) {
  .page-content-subtitle {
    font-size: 3em;
  }
}


/* Menu mobile */

#mobile-menu{
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100%;
    background-color: var(--color-green);
    display: flex;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
}
#mobile-menu.is-open{
    pointer-events: auto;
}

#mobile-menu-inner{
    width: 100%;
    max-height: 100vh;
  overflow: scroll;
}

.mobile-menu-logo .header-logo-svg path{
    fill:white;
}
/* Menu lists (level 1 → 3). Sub-levels are collapsed until their parent .is-open. */
#mobile-menu-inner ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
#mobile-menu-inner a{
    display: block;
    padding: 0.75em 1em;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font1);
    font-weight: bold;
}
#mobile-menu-inner .menu-item{
}
.mobile-menu-list > li{
    border-top: 1px solid var(--color-white);
    border-bottom: 1px solid var(--color-white);
    margin-top: -1px;
    font-size: clamp(16px, 6vw, 40px);
}
/* Items that open a level: link + chevron on one row, sub-menu wraps below. */
#mobile-menu-inner .menu-item-has-children{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#mobile-menu .sub-menu .menu-item  a{
    font-weight: 300!important;
}

/* +/- toggle (markup from PHP, drawn in CSS). Vertical bar hides when open → minus. */
.mobile-submenu-toggle{
    position: relative;
    flex: 0 0 auto;
    width: 0.8em;
    height: 0.8em;
    margin-right: 1em;
    cursor: pointer;
    color: var(--color-white);
}
.mobile-submenu-toggle::before,
.mobile-submenu-toggle::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}
.mobile-submenu-toggle::before{
    width: 100%;
    height: 2px;   /* horizontal bar (always shown) */
}
.mobile-submenu-toggle::after{
    width: 2px;
    height: 100%;  /* vertical bar (hidden when open → minus) */
}
#mobile-menu-inner .is-open > .mobile-submenu-toggle::after{
    display: none;
}
/* Whole parent row is tap-to-toggle. */
#mobile-menu-inner .menu-item-has-children > a{
    cursor: pointer;
}
#mobile-menu-inner .sub-menu{
    flex-basis: 100%;
    height: 0;
    overflow: hidden;    /* GSAP animates the height open/closed (see main.js) */
    padding-left: 1em;   /* indent each nested level */
}

.mobile-menu-logo path{
    fill:var(--color-white);
}
.mobile-menu-logo{
display: flex;
  width: auto;
  height: 80px;
}
.mobile-menu-top{
    display: flex;
    justify-content: space-between;
    padding: 16px;
    align-items: center;
    font-size: 6vw;
    margin-bottom: 1em;
}
.mobile-menu-top .hamburger-inner::before,
.mobile-menu-top .hamburger-inner::after,
.mobile-menu-top .hamburger-inner{
    background-color: var(--color-white)!important;
    height:2px;
}

.mobile-menu-open .hamburger-inner, .mobile-menu-open .hamburger-inner::before, .mobile-menu-open .hamburger-inner::after{
    height:1px;
    background-color:var(--color-green);
}
.mobile-menu-open{
    display: none;
}

@media(max-width:1024px){
   .mobile-menu-open{
    display: block;
    } 
    .header-nav{
        display: none;
    }
}
@media(max-width:768px){
    .header-inner{
        padding: 16px;
    }
}
@media(max-width:600px){
    header .logo-short{
        display: block;
    }
    header svg:not(.logo-short, .lucide-search){
        display: none;
    }
}

/* Page editors */

.editor-item{
    display: flex;
    gap:32px;
    padding: 1em 0;
    border-bottom: 1px solid #666666;
}
.editor-item:last-of-type{
    border-bottom: none;
}
.editor-img{
    flex: 0 0 25%;   /* pas de grow, pas de shrink, base 25% fixe */
}
.editor-img img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1em;
}
.editors-listing > :nth-child(2n){
    flex-direction: row-reverse;
}
.editors-listing {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px
}
.page-editor-content h2{
    font-size: 3em;
    font-family: var(--font2);
    font-weight: 900!important;
    color: var(--color-green);
    margin: 0;
}
.podcast-header.no-logo{
    height: 50vh;
}
.podcast-row-link{
    color:var(--color-white);
    background-color:var(--color-green);
    padding: 1em;
    border-radius: 1em;
    box-sizing: border-box;
    margin-top: 1em;
    display: block;
    width: max-content;
}
iframe{
    max-width: 100%;
}
.embed-youtube iframe{
    aspect-ratio: 16/9;
    height: auto;
}
.podcast-ep-more h2{
    margin-bottom: 0;
}
.tax-podcast_series .podcast-logo img{
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.ah-white-header .mobile-menu-open .hamburger-inner::before,
.ah-white-header .mobile-menu-open .hamburger-inner,
.ah-white-header .mobile-menu-open .hamburger-inner::after{
    background-color:white;
}


#search-panel{
    background:var(--color-green);
    position: fixed;
    height:100svh;
    width:50vw;
    z-index: 100;
    right:-50vw; /* closed position, defined in plain CSS — no JS needed for this state */
    top: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}
#search-panel.is-open{
    pointer-events: auto;
}
@media (max-width: 768px){
    #search-panel{
        right: -100vw;
        width: 100vw;
    }
}
#search-panel-controls{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 24px;
    flex-shrink: 0;
}
#search-panel .hamburger.is-active .hamburger-inner, #search-panel .hamburger.is-active .hamburger-inner::before, #search-panel .hamburger.is-active .hamburger-inner::after {
    background-color: white;
}
#search-panel-controls div{
    color: white;
    font-family: var(--font2);
    font-weight: 700;
    font-size: 3em
}
#search-panel-form{
    padding: 0px 24px;
    flex-shrink: 0;
}
#search-panel-form form{
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding-top: 2em;
}
.search-form-bloc{
    display: flex;
    flex-direction: column;
    gap:0.5em;
    position: relative;
}
.search-form-bloc input{
    background:none;
    border: none;
    border-bottom: white 1px solid;
    color:white;
    font-size: 1.5em;
    font-family: var(--font1);
    font-weight: 200;
}
.search-form-main input{
    font-size: 2.2em;
    font-weight: 300;
    border-bottom-width: 2px;
    padding-bottom: 0.2em;
}
.search-form-main-row{
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.search-form-main-row input{
    flex: 1;
    min-width: 0;
}
.search-submit-btn{
flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  padding: 0;
  border-radius: 50%;
  background-color: white;
  outline: none;
  border: 0;
  display: flex;
  color: var(--color-green);
  cursor: pointer;
}
.search-submit-btn svg{
    width: 55%;
    height: 55%;
}
#search-panel-form input::placeholder{
    color: white;
    font-style: italic;
}
#search-panel-form input:focus{
    outline: none;
}
.search-tax-item{
    color: white;
    font-family: var(--font1);
    font-weight: 300;
    padding: 0.5em 1em;
    border: 2px solid;
    width: max-content;
    border-radius: 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.25em
}
.search-tax-item svg{
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
}
.search-tax-item-label{
    font-weight: 700;
    opacity: .75;
    text-transform: uppercase;
    font-size: .8em;
    letter-spacing: .04em;
}
.search-tax-items{
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}
#search-suggest{
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin-top: 1.5em;
    border-top: 1px solid rgba(255,255,255,.25);
}
.search-suggestion{
    display: flex;
    align-items: center;
    gap: 0.6em;
    color: white;
    font-family: var(--font1);
    font-size: 1em;
    padding: 0.7em 1.5em;
    border-bottom: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
}
.search-suggestion:hover{
    background: rgba(255,255,255,.15);
}
.search-suggestion-more{
    color: rgba(255,255,255,.55);
    font-family: var(--font1);
    font-style: italic;
    font-size: .85em;
    padding: 0.8em 0.4em;
    cursor: default;
}
.search-suggestion-kind{
    flex-shrink: 0;
    width: 8em;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .65em;
    color: rgba(255,255,255,.6);
}
.search-suggestion-count{
    margin-left: auto;
    font-size: .75em;
    color: rgba(255,255,255,.55);
    font-variant-numeric: tabular-nums;
}
.search-suggestion-empty{
  font-style: italic;
  color: rgba(255,255,255,.7);
  cursor: default;
  font-family: var(--font1);
  padding: 24px;
}
.search-suggestion-empty.search-loading{
  display: flex;
  justify-content: center;
}
.search-loading-icon{
  width: 28px;
  height: 28px;
  animation: ah-search-spin 1.6s linear infinite;
}
@keyframes ah-search-spin{
  to{ transform: rotate(360deg); }
}
.search-suggestion-empty:hover{
    background: none;
}
.ah-cite-text,
.swal2-title{
    font-family: var(--font1);
}

.publication-card{
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 16px;
    border-radius: 16px;
    column-gap: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}
.publication-card:before{
    content:'';
    position: absolute;
    width: 100%;
    height:100%;
    background-color: #6666;
    z-index: -1;
    opacity: 0.65;
}

.publication-card-img{
    aspect-ratio: 2/3;
    display: flex;
    align-items: center;
}
.publication-card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.publication-card-title{
    font-size: 1.75em;
    font-family: var(--font2);
    font-weight: bold;
}
.publication-card-content{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.publication-card-buttons{
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    flex-wrap: wrap;   
}
@media(max-width:550px){
    .publication-card{
        grid-template-columns: 1fr;
    }
    .publication-card-img{
        width: 50%;
        margin: auto;
    }
}
@media(max-width:600px){
    .editor-item{
        flex-direction: column-reverse!important;
    }
    .editor-item img{
        width: 50%!important;
        margin: auto;
    }
    .page .content-header h1 {
        font-size: 3em;
    }
}
@media(max-width:650px){
    .tax-podcast_series .podcast-infos{
        padding: 16px;
    }
}
@media(max-width:832px){
    .page-template-content-page  .page-classic-content,
    .page-template-default  .page-classic-content{
        padding: 0 16px;
    }
    .page-template-content-page  h1,
    .page-template-default h1{
        padding: 0 16px;
    }
}
.grunion-field-name-wrap label,
.grunion-field-email-wrap label{
    display: none;
}
input.grunion-field{
    color: var(--color-white);
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid;
    width: 100%!important;
    padding-left: 0!important;
}
.grunion-field-wrap{
    margin-bottom: 16px;
    padding: 0 1em
}
.grunion-field-wrap label{
    color: var(--color-white);

}
.jetpack-contact-form__form{
    background-color: var(--color-green);
    padding: 16px;
    border-radius: 16px;
    width: calc(90%);
    margin: auto;
}
.jetpack-contact-form-container{
    margin-top: 32px;
}
.select.grunion-field select{
    color: black!important;
    background-color: var(--color-white)!important;
}
.grunion-field-wrap textarea{
    background-color: var(--color-white)!important;
}
.jetpack-contact-form__form .pushbutton-wide{
    width: max-content;
    margin: auto!important;
    display: block;
    background-color: var(--color-white);
    border:none;
    color:var(--color-green);
    font-weight: bold;
    font-size: 1.25em;
    padding: 0.5em;
    border-radius: 0.25em;
    cursor: pointer;
}