*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    background: #DADDD8;
    -webkit-font-smoothing: antialiased;
    /* padding: 20px 0; */
}

:root {
    --step--1: clamp(0.7813rem, 0.7531rem + 0.125vw, 0.85rem);
    --step--2: clamp(0.651rem, 0.6392rem + 0.0527vw, 0.68rem);
    --step-0: clamp(0.9375rem, 0.8864rem + 0.2273vw, 1.0625rem);
    --step-1: clamp(1.125rem, 1.0419rem + 0.3693vw, 1.3281rem);
    --step-2: clamp(1.35rem, 1.2231rem + 0.5639vw, 1.6602rem);
    --step-3: clamp(1.62rem, 1.4338rem + 0.8276vw, 2.0752rem);
    --step-4: clamp(1.944rem, 1.6781rem + 1.1818vw, 2.594rem);
    --step-5: clamp(2.3328rem, 1.9607rem + 1.654vw, 3.2425rem);
}

h1, h2 {
    color: #333;
}

.card h2{
    font-size: var(--step-1);
}

.cardpost h1{
    font-size: var(--step-2);
}

.cardpost h2{
    font-size: var(--step-1);
    line-height: 2;
    margin-top: 20px;
}

.cardpost h3{
    margin-top: 15px;
    padding-left:0px;
}

.cardpost ul, .cardpost ol {
    margin-left: 30px;
}

hr{
    margin-top: 20px;
    border: 0;
    border-bottom: 2px dashed #DADDD8;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}


header {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

footer {
    flex-shrink: 0;
    background-color: #725E54;
    text-align-last: center;
    padding: 5px;
    color: white;
    font-size: small;
}

.band {
    width: 95%;
    max-width: 1240px;
    margin: 80px auto 20px auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 15px;
}

@media (min-width: 30em) {
    .band {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 60em) {
    .band {
        grid-template-columns: repeat(4, 1fr);
    }
}

@keyframes skeleton-loading {
    0% {
        background-color: #F5F5F5; /* FROM Color 1 */
    }
    100% {
        background-color: #E2E2E2; /* TO Color 2 */
    }
}
.card-load-anim{
    animation: skeleton-loading 1s linear infinite alternate;
}

.card,.cardpost {
    background: white;
    text-decoration: none;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all 0.1s ease-in;
    border-radius:10px;

    background-image: url(../images/skin/bgCard.png);
    background-repeat: no-repeat;
    background-position: bottom 5px right 5px;;
    background-size: 50%;
}

.card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}
.card article,.cardpost article {
    padding: 20px;
    justify-content: space-between;
    /*     font-size: 17px; */
    font-size: var(--step-0);
}

.cardpost article {
    text-align:justify;
}

.card article {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h1{
    font-size: var(--step-1);
/*     animation: skeleton-loading 1s linear infinite alternate; */
    margin-bottom:3px;
}

.card p {
    flex: 1;
    line-height: 1.4;
    font-size: var(--step-0);
/*     animation: skeleton-loading 1s linear infinite alternate; */
}

/* .card .breadcrumbs , .cardpost .breadcrumbs { */
.breadcrumbs, .breadcrumbs a {
    font-size: var(--step--1);
    font-weight: bold;
    color: #585858;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
/*     animation: skeleton-loading 1s linear infinite alternate; */
}

.card span{
    margin: 2em 0 0 0;
}

.card .carddate, .cardpost .carddate  {
    margin: 0 0 0 0;
    text-align:right;
    font-size:var(--step--1);
    color: #585858;
    letter-spacing: 0.05em;
/*     animation: skeleton-loading 1s linear infinite alternate; */
}

.card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
    border-radius:10px 10px 0px 0px;
/*     animation: skeleton-loading 1s linear infinite alternate; */
}

.prevNextThumb {
    position: absolute;
    width: 100%;
    text-align: center;
    padding-top: 20%;
    text-shadow: -1px -1px 1px #333, 1px -1px 1px #333, -1px 1px 1px #333, 1px 1px 1px #333; 
    z-index:10
}
.prevNextThumb h2{
    color: white;
}

.item-span4 {
    grid-column: span 4;
}

@media (min-width: 60em) {
    .item-span2 {
        grid-column: span 2;
    }
    .item-span2 h1 {
        font-size: 24px;
    }
}

main {
    flex: 1 0 auto;
}

.row1L-CssBorder img, .row2L-CssBorder img, .row3L-CssBorder img, .row4L-CssBorder img, .row5L-CssBorder img,
.row1L-CssBorder video, .row2L-CssBorder video, .row3L-CssBorder video, .row4L-CssBorder video, .row5L-CssBorder video,
.cssBorder img{
    border : clamp(2px, 0.5vw, 5px) solid white;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.5); 
}

.row1L img, .row2L img, .row3L img, .row4L img, .row5L img, .row1L-CssBorder img, .row2L-CssBorder img, .row3L-CssBorder img, .row4L-CssBorder img, .row5L-CssBorder img {
    margin-top: 3px;
}

.row2L img, .row3L img, .row4L img, .row5L img, .row2L-CssBorder img, .row3L-CssBorder img, .row4L-CssBorder img, .row5L-CssBorder img,
.row2L video, .row3L video, .row4L video, .row5L video, .row2L-CssBorder video, .row3L-CssBorder video, .row4L-CssBorder video, .row5L-CssBorder video{
    margin-left: 2px;
    margin-right: 3px;
}

.row1L-CssBorder img, .row1L-CssBorder video{   width: calc(100% - 10px);          }
.row2L-CssBorder img, .row2L-CssBorder video{   width : clamp( 107px, calc((100% - 10px) / 2 ), 595px);  }
.row3L-CssBorder img, .row3L-CssBorder video{   width : clamp(72px, calc((100% - 15px) / 3), 395px);  }
.row4L-CssBorder img, .row4L-CssBorder video{   width : clamp(51px, calc((100% - 20px) / 4 ), 295px);  }
.row5L-CssBorder img, .row5L-CssBorder video{   width : clamp( 45px,  calc((100% - 25px) / 5), 235px);  }


.row1L img, .row1L video{  width: 100%;                        }
.row2L img, .row2L video{  width : clamp( 107px, calc((100% - 10px) / 2), 595px);   }
.row3L img, .row3L video{  width : clamp( 72px,  calc((100% - 15px) / 3), 395px);   }
.row4L img, .row4L video{  width : clamp( 51px,  calc((100% - 20px) / 4), 295px);   }
.row5L img, .row5L video{  width : clamp( 45px,  calc((100% - 25px) / 5), 235px);   }


.wrapimg770{
    text-align: center;
}
.wrapimg770 img{
    width: clamp(50px, 100%, 770px);
}

.imgWrapper{
    clear:both;
    text-align: center;
    margin-top:2px;
    margin-bottom:5px;
    /*display:inline-block;*/
}



.h2gradient{
    margin:30px 0 15px 0;
    padding : 3px;
    background-color:#B0A8A9;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: -webkit-linear-gradient(right,rgba(176,168,169,0),rgba(176,168,169,1)); /*Safari 5.1-6*/
    background: -o-linear-gradient(left,rgba(176,168,169,0),rgba(176,168,169,1)); /*Opera 11.1-12*/
    background: -moz-linear-gradient(left,rgba(176,168,169,0),rgba(176,168,169,1)); /*Fx 3.6-15*/
    background: linear-gradient(to left, rgba(176,168,169,0), rgba(176,168,169,1)); /*Standard*/
}

/* .cardpost article { */
/*     font-size: var(--step-0); */
/* } */

.cardpost p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

/* Youtube Responsive */
.embed-youtube-pellicule { width:clamp(50px, 100%, 770px); position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin-top:5px; margin-bottom:5px} 
.embed-youtube-pellicule iframe, .embed-youtube-pellicule object, .embed-youtube-pellicule embed { position: absolute; top: 0; left: 8.36%; width: 83.5%; height: 100%; } 
.embed-youtube-pellicule-L{position:absolute;left:2%;width:6.36%} 
.embed-youtube-pellicule-R{position:absolute;right:2%;width:6.36%}

.embed-youtube-border, .embed-youtube-border169  { width:clamp(50px, 100%, 770px); position: relative; padding-bottom: 75%; height: 0; overflow: hidden; margin:5px 0 5px 0; border:5px solid white; box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.5);}
.embed-youtube-border iframe, .embed-youtube-border object, .embed-youtube-border embed, .embed-youtube-border169 iframe,  .embed-youtube-border169 object, .embed-youtube-border169 embed  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.embed-youtube-border169  { padding-bottom: 55%;} /* videos in 16/9 format */

/*new version 2026*/
.youtube-container { width: clamp(50px, 100%, 770px); margin: 5px 0 5px 0; border: 5px solid white; box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.5); padding: 0px;}
.youtube-container iframe { width: 100%; height: 100%; aspect-ratio:1.33; }

.commentBlock{
    margin-bottom: 12px;
    border: 1px solid #DADDD8;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}
.commentBlockDate{}
.commentBlockAuthor{
    font-style: italic;
}
.commentBlockAuthorLink{}
.commentBlockText{
    display: block;
}
.commentBlockResponse{
    display: block;
    margin-left: 5%;
    border-left: 1px solid #DADDD8;
    padding: 1%;
    margin-top: 5px;
}

.commentForm {
    display: flex; 
    flex-direction: column;
    border: 1px solid #787878;
    background-color:#DADDD8;
    padding: 10px;
    border-radius: 10px;
    max-width: 700px;
    text-align: left;
    margin-top: 20px;
}
.commentForm span{
    margin-top:10px;

}



/* FancyBox ALERT button css */

.btn {
/*     background: #5B5A62; */
    border-width: 0;
    color: #fff;
    text-decoration: none;
    padding: 7px 20px;
    line-height: 1.5;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 100%;
    font-weight: 700;
    margin: 5px 5px 5px 0;
    display: inline-block;
    cursor: pointer;
    outline: none;
    transition: all .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn:hover {
    text-decoration: none;
}

a + .btn {
    margin-left: 10px;
}

.fc-container .fancybox-bg {
    background: #eee;
}

.fancybox-is-open.fc-container .fancybox-bg {
    opacity: 0.95;
}

.fc-content {
    margin: 20px;
    max-width: 550px;
    padding: 50px;
    box-shadow: 10px 10px 60px -25px;
    border-radius: 4px;
}

.fc-content h2 {
    margin-top: 0;
    font-size: 1.6em;
    letter-spacing: normal;
}

.fc-content p {
    color: #666;
    line-height: 1.5;
}

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

.fc-content ul {
    margin: 10px;
}



/* Custom animation */
.fancybox-fx-material.fancybox-slide--previous,
.fancybox-fx-material.fancybox-slide--next {
    transform: translateY(-60px) scale(1.1);
    opacity: 0;
}

.fancybox-fx-material.fancybox-slide--current {
    opacity: 1;
    transform: translateY(0) scale(1);
}



@media screen and (max-width: 600px) {
    .card article,.cardpost article {
        padding: 12px;
    }


    .row1L img, .row2L img, .row3L img, .row4L img, .row5L img, .row1L-CssBorder img, .row2L-CssBorder img, .row3L-CssBorder img, .row4L-CssBorder img, .row5L-CssBorder img{
        margin-top: 3px;
    }

    .row2L img, .row3L img, .row4L img, .row5L img, .row2L-CssBorder img, .row3L-CssBorder img, .row4L-CssBorder img, .row5L-CssBorder img,
    .row2L video, .row3L video, .row4L video, .row5L video, .row2L-CssBorder video, .row3L-CssBorder video, .row4L-CssBorder video, .row5L-CssBorder video{ 
        margin-left: 1px;
        margin-right: 2px;
    }

    .row1L-CssBorder img{                            width : calc(100% - 6px );          }
    .row2L-CssBorder img, .row4L-CssBorder img,
    .row2L-CssBorder video, .row4L-CssBorder video{  width : calc((100% - 8px) / 2 );   /*was -18*/}
    .row3L-CssBorder img,
    .row3L-CssBorder video{                            width : calc((100% - 10px) / 3 );   /*was -27*/}

    .row2L img, .row4L img{                      width : calc((100% - 6px) / 2 );    }
    .row3L img{                                  width : calc((100% - 9px) / 3 );    }

    .row1L-CssBorder img, .row2L-CssBorder img, .row3L-CssBorder img, .row4L-CssBorder img, .row5L-CssBorder img,
    .row1L-CssBorder video, .row2L-CssBorder video, .row3L-CssBorder video, .row4L-CssBorder video, .row5L-CssBorder video,
    .embed-youtube-border ,
    .cssBorder img{
        border : 2px solid white;
    }
    .imgWrapper{
        margin-bottom:3px;
    }

    .row5L a:nth-child(-n+2) > img {
        width : calc((100% - 6px) / 2 );
    }
    .row5L-CssBorder a:nth-child(-n+2) > img{
        width : calc((100% - 6px) / 2 );
    }
    .row5L a:nth-child(n+3) > img{
        width : calc((100% - 9px) / 3 );
    }
    .row5L-CssBorder a:nth-child(n+3) > img{
        width : calc((100% - 9px) / 3 );
    }

    .embed-youtube-border { border:3px solid white; }    
}

/* Optimisation pour mobiles */
@media screen and (max-width: 480px) {
    .card article,.cardpost article {
        padding: 8px;
    }
    .band {
        width: 98%;
        margin: 75px auto 20px auto;    
    }
}