@font-face {
    font-family: TANNimbus;
    src: url("font/TAN-NIMBUS.otf") format("opentype");
    src: url("font/TAN-NIMBUS.ttf") format("truetype");
}

@font-face {
    font-family: Glacial;
    src: url("font/GlacialIndifference-Regular.otf") format('opentype');
    src: url("font/GlacialIndifference-Regular.ttf") format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Glacial;
    src: url("font/GlacialIndifference-Bold.otf") format('opentype');
    src: url("font/GlacialIndifference-Bold.ttf") format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: Glacial;
    src: url("font/GlacialIndifference-Italic.otf") format('opentype');
    src: url("font/GlacialIndifference-Italic.ttf") format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: Lovelo;
    src: url("font/LoveloBlack.otf") format('opentype');
    src: url("font/LoveloBlack.ttf") format('opentype');
}

@font-face {
    font-family: Montserrat;
    src: url("font/Montserrat.otf") format('opentype');
    src: url("font/Montserrat.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Montserrat;
    src: url("font/Montserrat.otf") format('opentype');
    src: url("font/Montserrat.ttf") format('truetype');
    font-weight: 400;
    font-style: italic;
}

img.modal-img {
    width: 100%;
}

.navbar.navbar-dark.bg-dark, .dropdown-menu.dropdown-menu-dark {
    --bs-dark-rgb: 0,0,0;
    --bs-navbar-color: rgb(255, 255, 255);
    --bs-dropdown-link-color: #fff;
    --bs-dropdown-bg: #181818;
    background-color: #181818 !important;
}

.navbar a {
    font-family: Montserrat, serif;
}

body {
    font-family: "Glacial", sans-serif;
    margin-right: -5px;
    margin-left: -5px;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "TANNimbus", serif;
}

ol {
    font-family: initial;
}


.logo-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10%;
    height: 100%;
    width: 100%;
}

div.text-section figure img  {
	height: auto !important;
	width: auto !important;
	max-width: 50%;
}
  

.top-info h1 {
    color: #fff;
    font-family: "TANNimbus", serif;
    position: relative;
    opacity: 0;
    animation: fadeIn ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: 1s;
    font-size: 40px;
}

.top-info h2 {
    color: #fff;
    font-size: 26px;
    font-family: 'TANNimbus', serif;
    z-index: 1;
    position: relative;
    opacity: 0;
    animation: fadeIn ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

.top-info p {
    color: #fff;
    font-size: 24px;
    font-family: Montserrat, serif;
    text-align: center;
    margin: 2rem 0 0 0;
    opacity: 0;
    animation: fadeIn ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes reveal-slide-castle {
    from {
        opacity :0;
        transform: translate(0, 10%);
    }
    to {
        opacity :1;
        transform: translate(0,0);
    }
}

@keyframes reveal-slide {
    from {
        opacity :0;
        transform: translate(0, 100%);
    }
    to {
        opacity :1;
        transform: translate(0,0);
    }
}

@keyframes reveal-rotation {
    from {
        opacity :0;
        transform: rotate(0);
    }
    to {
        opacity :1;
        transform: rotate(90deg);
    }
}

.name-event {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}



.event-logo {
    display: flex;
    flex-direction: row;
    z-index: 1;
    position: relative;
}

.logo-background {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo {
    opacity: 0;
    animation: reveal-rotation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}
.main-title div {
    margin-top: 10%;
}

.main-title div h2 {
    margin: 0 0 0 0;
    text-align: center;
}

header.top-info {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/photos/2025/6/MGigon_KIF25_insta-5723.jpg") no-repeat center center / cover;}

.show-date {
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-align: end;
}

.event-date {
    background-color: black;
    padding: 20px;

}

.event-date h3 {
    font-family: "TANNimbus", serif;
    letter-spacing: 2px;
    color: rgba(0,200,255,0.8);
    margin: 0 0 0 40px;
    padding: 5px;
}

nav.middle-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: black;
    position: sticky;
    z-index: 100;
    top:0;
    overflow: hidden;
    height: 70px;
}
nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0 15px 0;
}

nav ul li {
    display : flex;
    align-items: center;
    padding: 10px 0 10px 0;
    text-align: center;
}

nav ul li a  {
    font-family: "TANNimbus", serif;
    display: inline-block;
    position: relative;
    color: white;
    text-decoration : none;
    transition: text-decoration .3s ease-in-out;
}

nav ul li a:active  {
    color: black;
}

li a:hover {
    text-decoration: underline;
    color: gray;
}
nav ul li a::after  {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: -6px;
    background: black;
    border-radius: 80px;
    transform: scale(0);
    transition: transform .3s
}

.navigation-footer nav li a {
    font-size: var(--bs-body-font-size);
}

.button-soutenir {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.soutiens-button {
    right: 0;
    top: 0;
    height: 70%;
    background-color: #FF914D;
    color: black;
    border: none;
    padding: 0 20px;
    border-radius: 48px;
    font-size: 16px;
    font-weight: bold;
    font-family: "TANNimbus", serif;
}

/*
nav ul li a:hover::after  {
    transform: scale(1);
    color: black;
}
*/

/* Hamburger Fun */
.menu > li {
    margin: 0 1rem;
}

.menu-button-container {
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 10px;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: black;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

.post-content .text {
    background-color: transparent;
    line-height: 2;
    padding: 0;
    margin-bottom: 16px;
    margin-top: 16px;
}

.post-content .text p {
    margin-bottom: 16px;
    margin-top: 16px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

.header-section {
    padding: 7% 0 0 0;
    text-align: center;
    font-family: "TANNimbus", serif;
}

.header-section > hr {
    border: 1px solid #000;
    width: 200px;
    margin: auto auto 50px auto;
    opacity: initial;}


.edition2024 {
    position: relative;
    overflow: hidden;
    background-color: rgb(255,152,34);
    background: linear-gradient(0deg, rgba(0, 200, 255, 1) 60%, rgba(254, 145, 78, 1) 100%);
    line-height: 2;
    font-family: "TANNimbus", serif;
    z-index: 2;
}

section.programmation {
    background: black;
}

.section-header h2 {
    font-family: "TANNimbus", serif;
}

.steps .steps-container .date {
    font-family: "TANNimbus", serif;
    box-shadow: 0 16px 27px rgb(0 11 30 / 10%)
}

.text-section {
    position: relative;
    background-color: rgba(255, 254, 254, 0.66);
    border-radius: 40px;
    box-shadow:4px 4px 4px #000000;
    padding: 50px;
    z-index: 2;
}

.text-section {
    margin-bottom: 2em ;
}

.map {
    width: 104px;
    transition: width .5s;
}
.map:hover {
    width: 85px;
}

.background-img {
    position: absolute;
    z-index: -99;
    height:14%
}

.waves {
    display:block;
    height:400px;
    background: url("../img/customWave.svg") no-repeat;
    background-size: 100%;
    background-color: #FE914E ;
    margin-top: -10px;
    margin-bottom:-10px;
    text-align: center;
}

.teams {
    background-color: #FE914E;
    position: relative;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(0, 200, 255, 1) 0%, rgba(254, 145, 78, 1) 40%);
    /*text-align: center;*/
    line-height: 2;
    font-family: "TANNimbus", serif;
    z-index: 2;
}



.team-portrait button {
    all: unset;
}



.vs-versus{
    color: #FF914D;
}

.flamme {
    color: #E35F1B;
}

.roche {
    color: #FFC699;
}

.cascade {
    color:#71DBE4;
}

.rafale {
    color: #DCD8D6
}

.sponsoring .header-section hr {
    border: 1px solid white
}

.modal-body.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin: 0
}

.selected-team-portrait.team-flamme {
    background: url("../img/team/18.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #AF1717;
}

.team-presentation {
    display: flex;
    flex-direction: column;
}

.team-photo img{
    max-width:100%;
}

.members-presentation {
    display: grid;
    place-items: center center;
    place-content: center center;

}

.member-photo {
    margin: 20px auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px #000000;

}

.member-photo > h3 {
    text-align: center;
    font-family: "TANNimbus", serif;
    font-size: 0.9rem;
}

.member-photo img{
    max-width: 100%;
    border-radius: 60px;
    box-shadow: 0 5px 30px rgb(0 11 30 / 50%);
}


.team-presentation.team-flamme {
    background-color: #AF1717;
}

.team-presentation.team-cascade {
    background-color: #1745BB;
}

.team-presentation.team-rafale {
    background-color: #F3DFC0;
}

.team-presentation.team-roche {
    background-color: #A06307;
}



.selected-team-portrait img {
    max-height: 660px;
}

.portraits {
    display: grid;
    grid: 1fr 1fr / 1fr 1fr;
    place-items: center start;
}

.team-cascade ~ .portraits {
    background: #1745BB;
}

.team-flamme ~ .portraits {
    background: #AF1717;
}
.team-rafale ~ .portraits {
    background: #F3DFC0;
}
.team-roche ~ .portraits {
    background: #A06307;
}



.program {
    position: relative;
    background-color: rgba(0, 200, 255, 1);
    padding: 150px 150px 100px 150px;
    margin-top: -20px;
}

.portraits img {
    max-height: 250px;
    border-radius: 60px;
    box-shadow: 0 5px 30px rgb(0 11 30 / 50%);
}

footer {
    background-color: #181818;
    padding: 40px 15px;
    display: grid;
}

.footer-div {
    padding-left: 20px;
}

.arrow {
    border: solid #fff;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
}

.down {
    transform: rotate(45deg) translate(0,-5px);
    -webkit-transform: rotate(45deg) translate(0,-5px);
}


.logo-footer {
    color: #fff;
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: column;
}

footer h1 {
    text-align: start;
    font-size:18px
}

footer p {
    font-size: 16px;
    font-family: "Montserrat", serif;
    margin: 0
}
footer p a {
    color: #fff;
    text-decoration: none;
}
footer p a:hover {
    color: #fff;
    text-decoration: underline;
}

footer span p{
    padding-left: 20px;
}

footer h1, footer h3 {
    font-family: "TANNimbus", serif;
}
footer h3 {
    font-size: 1rem;
}

footer nav {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: #fff;
    list-style: none;
    gap: 8px;
}

footer form {
    margin-right: 25px;
}

.ernst {
    min-height: 100px;
}

div.sponsors {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 30px;
    place-items: center center;
    place-content: center center;
}

/* Pagination links */
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

/* Style the active/current link */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a.active {
    background-color: black;
    color: white;
    border-radius: 10px;
}

.pagination a.arrow {
    font-size: 3em;
}

/* Add a grey background color on mouse-over */
.pagination a:hover:not(.active) {background-color: #ddd;}

div.photos-dates {
    display: flex;
    justify-content: space-evenly;
}

div.photos-dates.years {
    margin-bottom: 2em;
}

div.photos-dates > a {
    color: black;
    text-decoration: none;
    padding: 3px;
}

div.photos-dates > a:hover {
    background-color: #ddd;
    border-radius: 5px;
}

div.photos-dates > a.active {
    color: #fff;
    background-color: black;
    border-radius: 5px;
}

ul.infos-gen {
    text-align: start;
}
.infos-gen li {
    list-style-type: disc;
    margin-bottom: 16px;
}

.infos-gen li p {
    margin: 0;
}
/*Modal treatment */

.row  {
    justify-content: center;
    gap: 2%;
}

.row:after {
    content: '';
    display: table;
    clear: both;
}

/*create fourequal columns*/
.row > .blur-load.column{
    float: left;
    max-width: 30%;
}

/* the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* modal content */
.modal-content {
    position: relative;
    background-color: #000!important;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;

}

/* close button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size:35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/*hides slides by default */
.mySlides {
    display: none;
}

/* next & previous buttons*/
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
}

/* position next button to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* add seethrough and black on hover prev next */
.next:hover,
.prev:hover {
    background-color: rgba(171, 171, 171, 0.8);
}

/*numbers*/
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    left:0;
}



/*credits*/
.credittext {
    color: #f2f2f2;
    font-size: 1em;
    padding: 8px 12px;
    position: absolute;
    bottom: 0;
    right: 0 ;
}

.credit-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}


img.hover-shadow{
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);;
}

/* Photo optimization */
.blur-load {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.member-photo > .blur-load {
    display: flex;
    justify-content: center;
    background-repeat: no-repeat;
    border-radius: 60px;
    max-width: 50%;
}

/*
div.blur-load.mySlides {
    max-height: 700px;
}

 */

.blur-load > img.loaded {
    opacity: 1;
}
.blur-load > div.credittext.loaded {
    opacity: 1;
}
.blur-load > div.numbertext.loaded {
    opacity: 1;
}

.blur-load > img {
    opacity: 0;
    transition: opacity 250ms ease-in-out;
    max-height: 700px;
    max-width: 100%
}

.team-presentation > .blur-load.team-photo {
    background-size: cover;
}

.team-photo.blur-load > img {
    max-height: none;
}

.blur-load > .credittext {
    opacity:0;
    transition: opacity 250ms ease-in-out;
}

.blur-load > .numbertext {
    opacity:0;
    transition: opacity 250ms ease-in-out;
}

.column.blur-load {
    border-radius: 0.375rem;
    padding: 0;
    border: 4px solid #fff;
    background-color : #fff;
}

.img-thumbnail.img-fluid {
    background: none;
    border: none;
    padding: 0;
}

.galley-pointer {
    margin-top: 4em;
}


.text {
    background-color: #fff;
    color: black;
    font-size: 16px;
    padding: 16px 32px;
}

#myModal {
    padding: 1em;
}

.btn.btn-primary:hover {
    color: #000;
    background-color: #EF9458B5;
}


/* Fade-in and out*/
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* CKEditor stuff */

.image-small {
    max-width: 25%;
    height: auto;
}

.image-medium {
    max-width: 50%;
    height: auto;
}

.image-large {
    max-width: 75%;
    height: auto;
}

/* Add this to your site's CSS */
.ck-content .image {
    clear: both;
    text-align: center;
    margin: 1em 0;
}

.ck-content .image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.ck-content .image.image_resized {
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

.ck-content .image.image_resized img {
    width: 100%;
}

.ck-content .image.image_resized > figcaption {
    display: block;
}

/* Add support for image styles */
.ck-content .image-small {
    max-width: 25%;
}

.ck-content .image-medium {
    max-width: 50%;
}

.ck-content .image-large {
    max-width: 75%;
}
.cke_image_resizer {
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -5px;
    right: -5px;
    background: #000;
    outline: 1px solid #fff;
    cursor: se-resize;
}

.cke_image_resizer_wrapper {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.mySlides {
    display: none;
    position: relative;
    text-align: center;
    height: 80%;
    margin-top: 5%;
}

.mySlides img {
    max-height: 100%;
    max-width: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


.flash-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.flash-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        animation: fadeInOut 5s forwards;
    position: fixed;
    top: 104px;
    right: 20px;
    z-index: 9999;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.flash-message.success {
    background-color: #4CAF50;
    color: white;
}

.flash-message.error {
    background-color: #f44336;
    color: white;
}

figure.image {
    text-align: center;
}

/* Presse stuff  */
    .press-archive {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .press-section {
        margin-bottom: 3rem;
    }

    .press-section h2 {
        font-family: "TANNimbus", serif;
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
        text-shadow: 0 0 7px #ff914d;
    }

    /* Press Releases Styles */
    .press-releases-list {
        display: grid;
        gap: 1.5rem;
    }

    .press-release-card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .press-release-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(255, 145, 78, 0.3);
    }

    .press-release-card h3 {
        font-family: "TANNimbus", serif;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .press-release-card h3:hover {
	color: #00c8ff;

    }

    .press-release-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .press-release-date, .press-release-year {
        background: #ff914d;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-weight: bold;
        color: white;
    }

    .press-release-actions {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }

    .btn-download, .btn-external {
        padding: 0.5rem 1rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-download {
        background: #ff914d;
        color: white;
    }

    .btn-download:hover {
        background: #e67e22;
        transform: scale(1.05);
    }

    .btn-external {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .btn-external:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    /* Articles Grid Styles */
    .articles-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .article-card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        overflow: hidden;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(164, 235, 253, 0.3);
    }

    .article-image {
        max-width: 100% !important;
	max-height: 100%;
        object-fit: cover !important;
        transition: transform 0.3s ease;
        display: block;
    }

    .article-card:hover .article-image {
        transform: scale(1.05);
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-family: "TANNimbus", serif;
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #000;
    }

    .article-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .article-title a:hover {
        color: #00c8ff;
    }

    .article-description {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .article-photos {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .article-photo-thumb {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        border-radius: 4px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .article-photo-thumb:hover {
        transform: scale(1.1);
    }

    /* Year Filter Styles */
    .year-filter {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .year-filter-btn {
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .year-filter-btn:hover,
    .year-filter-btn.active {
        background: #ff914d;
        border-color: #ff914d;
        transform: scale(1.05);
    }

    /* Press Summary Styles */
    .press-summary {
        text-align: center;
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .press-summary p {
        color: rgba(0, 0, 0, 0.8);
        font-size: 1.1rem;
        margin: 0;
        font-weight: 500;
    }

    .press-summary span {
        color: black ;
        font-weight: 600;
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 3rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .empty-state h3 {
        font-family: "TANNimbus", serif;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .kif-logo {
        max-width: 100px;
    }

    .line-logo {
        margin-top: 19px;
    }

    .logo-partner {
        display: flex;
        flex-direction: column;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .ic-logo {
            margin-top: 19px;
        }

        .press-archive {
            padding: 1rem;
        }

        .articles-grid {
            grid-template-columns: 1fr;
        }

        .press-release-actions {
            flex-direction: column;
        }

        .year-filter {
            flex-direction: column;
            align-items: center;
        }
    }

/* Media stuff*/
@media only screen and (max-width: 600px) {
    /* Responsive text justification */
    .ckeditor-content {
            text-align: left; /* Switch to left align on small screens */
            hyphens: none;
        }

    figure.image > img {
        max-width: 100%;
        max-height: 120px;
    }

    div.text-section figure > img  {
        max-width: 100%;
	max-height:100%;
}


    #samaritain + .text-section  {
        font-size: 0.8rem
    }

    div.row {
        flex-direction: column;
        margin-bottom: 8px;
        padding-top: 0!important;
        padding-bottom: 0!important;
    }
    .row > .blur-load.column {
        max-width: 100%;
    }

    div.photos-dates > a {
        font-size: 0.5em;
    }
    .pagination {
        font-size: 0.3em
    }

    :root {
        --bs-nav-link-font-size: 0.7rem;
    }

    nav ul.dropdown-menu li {
        font-size: 0.7rem;
    }
    .d-flex.justify-content-between.w-100 {
        flex-direction: column;
        text-align: center;
    }
    .navbar-nav {
        margin-left: auto;
        margin-top: 1rem;
    }
    header {
        height: 400px;
        flex-direction: column;
    }

    .top-info .logo-title h2 {
        font-size: 1.5rem;
    }

    .top-info h1 {
        text-align: center;
        font-size: 24px;
        z-index: 1;
        padding: 0 20px 0 20px;
    }

    .top-info h2 {
        font-size: .5rem;
        letter-spacing: 2px;
        margin-left: 20px;
        text-align: center;
    }

    .name-event {
        position: relative;
        top:-20%;
    }

    .name-event .season2 {
        text-align: center;
        text-transform: uppercase;
        font-size: 1.5rem;
    }

    .show-date {
        justify-content: end;
    }

    .show-date h2 {
        right: 9%;
        top: -40%;
        text-align: end;
        font-size: 1rem;
    }

    .center-logo {
        order:-1;
    }

    .main-title h2 {
        font-size: 1rem;
    }

    .logo {
        height: 160px;
    }

    .logo-background {
        position:absolute;
        left: 50%;
        top:25%;
        width: 150px;
        height: 150px;
    }

    .event-date h3 {
        font-size: 1rem;
    }

    .castle-img {
        position: absolute;
        bottom: 0;
    }

    .castle-img img {
        width: 70%;
        margin-left: 5%;
        animation: reveal-slide-castle 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .menu-button-container {
        display: flex;
    }

    .button-soutenir {
        display: block;
        height: 50px;
    }

    ul.menu {
        display: none;
    }
    nav {
        flex-direction: column;
        gap: 2rem;
	    font-size: var(--bs-body-font-size);
    }

    .navigation-footer  {
    }


    ul.menu > li {
        color: white;
        background-color: black;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    .edition2024 {
        padding: 20px 50px 20px 50px;
    }

    .header-section h1 {
        font-size: 1rem;
    }

    .header-section img {
        height: auto !important;
        width: auto!important;
        max-width: 50%;

    }

    .edition2024 .text-section {
        padding: 25px 40px 25px 40px;
    }

    .text-section p {
        font-size: 0.8rem;
    }

    .background-img.img1 {
        top: 60%;
        left: -5%;
    }

    .background-img.img2 {
        top: 20%;
        right: -5%;
	height: 6%;
    }

    .background-img.img3 {
        position: relative;
        z-index: 3;
        height: 80%;
	bottom: 40%
    }

    .edition2024 ~ .waves {
        height: 200px;
    }


    .teams {
        padding: 20px 50px 100px 50px;
    }

    .photo-teams.text-section {
        display: grid;
        grid: 1fr 1fr 1fr 1fr / auto;
        gap: 40px;
        padding: 50px 0 50px 0;
    }

    .team-portrait img {
        height: 200px;
        border-radius: 40px;
        box-shadow: 0 16px 15px rgb(0 11 30 / 50%);
    }

    .background-img.img4 {
        top: 20%;
        left: -27%;
    }

    .background-img.img5 {
        top: 60%;
        right: -27%;
    }

    .teams ~ .program {
        z-index:3;
        padding-top: 0;
    }
    #special-hr {
        width: 100px;
    }

    .selected-team-portrait {
        display: none;
    }
    .modal-body .portraits {
        place-items: center center;
    }

    .modal-body .portraits img {
        max-height: 200px;
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }
    .modal-content .modal-body.main-container {
        grid-template-columns: 1fr;
    }

    .program {
        padding: 20px 50px 100px 50px;
    }

    .program .text-section {
        padding: 8px;
    }

    .team-versus {
        font-family: "TANNimbus", serif;
        font-size: 1rem;
        text-align: center;
        margin-top: 15px;
    }

    .vs-versus {
        font-family: "TANNimbus", serif;
        font-size: 1.2rem;
        text-align: center;
        margin-top: 15px;
    }


    .background-img.img6 {
        top: 55%;
        right: 50%;
    }

    .background-img.img7 {
        top: 15%;
        left: 40%;
    }
    .main-title div h2 {
        margin: 0 0 10% 0;
    }


    .text-section img.kifspital {
        width: 100%;
    }

    div.sponsors img {
        max-width: 160px;
        max-height: 120px;
    }

    .edition2024 div.text-section.program-section {
        padding: 25px 10px 25px 10px
    }

    .logo-footer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    footer {
        padding: 20px 20px;
        text-align: center;
        grid-template-columns: none;
        grid-template-areas:
"a"
"b"
"c"
"d"
"e";
        gap: 2.5rem
    }

    footer h1 {
        text-align: center;
    }

    footer form {
        margin: 25px;
    }
    .newsletter-style2 {
        order: -3;
    }

    .contact-list {
        order: -2
    }

    .contacts {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    footer nav {
        gap: 0;
    }

    .navigation-footer {
        display: flex;
        justify-content: center;
    }

}

.newsletter-style2 {
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-style2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.newsletter-style2 h1 {
    margin-bottom: 30px;
}

.newsletter-style2 .newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;

}

.newsletter-style2 .newsletter-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 48px;
    padding-left: 40px;
}

.newsletter-style2 .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-style2 .newsletter-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #FF914D;
    color: black;
    border: none;
    padding: 0 20px;
    border-radius: 48px;
    font-size: 12px;
    font-weight: bold;
    font-family: "TANNimbus", serif;
}

.newsletter-style2 .alert {
    margin-bottom: 20px;
    border-left: 4px solid;
}

.newsletter-style2 .alert-success {
    border-color: #4CAF50;
}

.newsletter-style2 .alert-error {
    border-color: #f44336;
}

.footer-style2 {
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn.button-aakif {
    --bs-btn-bg: #f47022;
    --bs-btn-border-color: #f47022;
    --bs-btn-hover-bg: #FE914E;
    --bs-btn-hover-border-color: #FE914E;
    border-radius: 9999px;
}




/* Responsive */

@media only screen and (max-width: 600px) {
    .newsletter-style2 .newsletter-form {
        flex-direction: column;
        align-items: center;
    }


    .newsletter-style2 .newsletter-button {
        position: static;
        width: 100%;
        margin-top: 10px;
        height: auto;
        padding: 15px;
        max-width: 200px;
    }

    .newsletter-style2 .newsletter-input {
        padding-left: 0;
        text-align: center;
        max-width: 400px
    }

    .background-img  {        
        height: 6%;
    }

    .top-info p {
        padding: 0 30px 0 30px;
        font-size: 16px
    }
}


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


    :root {
        --bs-nav-link-font-size: 0.7rem;
    }

    nav ul.dropdown-menu li {
        font-size: 0.7rem;
    }
    .d-flex.justify-content-between.w-100 {
        flex-direction: column;
        text-align: center;
    }
    header {
        height: 350px;
        flex-direction: column;
    }

    .navbar-nav {
        margin-left: auto;
        margin-top: 1rem;
    }

    .top-info .logo-title h2 {
        font-size: 2.5rem;
    }

    .top-info h1 {
        letter-spacing: 0;
        font-size: 30px;
        z-index: 1;
        margin: 2rem 1rem 0 1rem;
        text-align: center;
    }

    .top-info h2 {
        font-size: 20px;
    }

    .top-info p {
        padding: 0 30px 0 30px;
        font-size: 16px;
    }

    .name-event {
        position: relative;
        top:-20%;
    }

    .name-event .season2 {
        text-align: center;
        text-transform: uppercase;
        font-size: 1.5rem;
    }

    .show-date {
        justify-content: end;
    }

    .show-date h2 {
        right: 9%;
        top: -40%;
        text-align: end;
        font-size: 1.5rem;
    }

    .center-logo {
        order:-1;
    }

    .main-title h2 {
        font-size: 1.5rem;
    }

    .logo {
        height: 80px;
    }

    .logo-background {
        position: absolute;
        left: 34%;
        width: 200px;
        height: 200px;
    }

    .event-date h3 {
        font-size: 1rem;
    }

    .castle-img {
        position: absolute;
        bottom: 0;
    }

    .castle-img img {
        width: 70%;
        margin-left: 5%;
        animation: reveal-slide-castle 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .menu-button-container {
        display: flex;
    }

    ul.menu {
        display: none;
    }
    .nav {
        flex-direction: column;
        gap: 2rem;
    }
    ul.menu > li {
        color: white;
        background-color: black;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    .edition2024 {
        padding: 20px 50px 100px 50px;
    }

    .header-section h1 {
        font-size: 1.5rem;
    }

    .edition2024 .text-section {
        padding: 40px 80px 40px 80px;
    }
    .text-section p {
        font-size: 0.5rem;
    }

    .background-img {
        height:50%;
    }
    .background-img.img1 {
        top: 50%;
        left: 0;
    }

    .background-img.img2 {
        top: 20%;
        right: 0;
    }

    .background-img.img3 {
        position: relative;
        z-index: 3;
        height: 80%;
	bottom: 30%
    }

    /*
    .edition2024 ~ .waves {
        height: 200px;
    }
    */

    .teams {
        padding: 20px 50px 100px 50px;
    }

    .photo-teams {
        display: grid;
        grid: 1fr 1fr / 1fr 1fr;
        gap: 40px;
    }

    .team-portrait img {
        height: 200px;
        border-radius: 40px;
        box-shadow: 0 16px 15px rgb(0 11 30 / 50%);
    }

    .background-img.img4 {
        top: 20%;
        left: -19%;
        max-height: 223px;
    }

    .background-img.img5 {
        top: 60%;
        right: -19%;
        max-height: 223px;
    }

    .teams ~ .program {
        z-index:3;
        padding-top: 0;
    }
    #special-hr {
        width: 100px;
    }

    .modal-body .portraits {
        place-items: center center;
    }

    .modal-body .portraits img {
        max-height: 200px;
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }
    .modal-content .modal-body.main-container {
        grid-template-columns: 1fr;
    }

    .program {
        padding: 20px 50px 100px 50px;
    }

    .program .text-section {
        padding: 8px;
    }

    .team-versus {
        font-family: "TANNimbus", serif;
        font-size: 1rem;
        text-align: center;
        margin-top: 15px;
    }

    .vs-versus {
        font-family: "TANNimbus", serif;
        font-size: 1.2rem;
        text-align: center;
        margin-top: 15px;
    }


    .background-img.img6 {
        top: 55%;
        right: 50%;
    }

    .background-img.img7 {
        top: 15%;
        left: 50%;
    }

    li img.kifspital {
        width: 100%;
    }



    div.sponsors img {
        max-width: 240px;
        max-height: 200px;
    }

    .members-presentation {
        flex-basis: 230%;
        grid: 1fr 1fr / 1fr 1fr;
    }

    footer {
        max-height: none;
        display: grid;
        grid-template-columns: none;
        grid-template-areas:
"a"
"b"
"c"
"d"
"e";
        gap: 1rem;
    }

    footer nav.suivez-nous {
        margin-top: 50px;
    }

    footer form {
        margin: 20px 80px;
    }

    footer h1 {
        text-align: center;
    }

    .navigation-footer {
        text-align: center;
    }

    .newsletter-style2 {
        grid-area: a;
    }



}



@media only screen and (max-width: 768px) {
    .navigation-footer {
        display: flex;
        justify-content: center;
    }
}

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


    .navbar.navbar-dark.bg-dark .logos-link {
        display: flex;
        justify-content: center;
    }

    .button-soutenir {
        display: block;
        height: 50px;
    }

    .navbar.navbar-dark.bg-dark .logos-link a {
        display: flex;
    }

    .navbar.navbar-dark.bg-dark .logos-link img {
        max-width: 100%;
    }

    .navbar.navbar-dark.bg-dark .d-flex {
        gap: 20px;
    }
    .navbar.navbar-dark.bg-dark ul {
        gap: 20px;
    }

    .menu-button-container {
        display: none;
    }

    header {
        height: 550px;
        flex-direction: row;
    }

    .d-flex.justify-content-between.w-100 {
        flex-direction: column;
    }

    .top-info .logo-title h2 {
        font-size: 3.5rem;
    }

    .top-info h1 {
        letter-spacing: 0;
        font-size: 40px;
        z-index: 1;
        margin:2rem 1.5rem 0 1.5rem;
        text-align: center;
    }
    .top-info h2 {
        font-size: 2rem;
        margin-left: 35px;
        margin-top: 80px;
    }

    .name-event .season2 {
        margin: 0 0 0 30px;
        text-align: center;
        text-transform: uppercase;
        font-size: 2.5rem;
    }

    .name-event h2 {
        font-size: 0.9rem;
        margin-top: 60px;
        margin-left: 45px;
    }

    ul.menu {
        display: flex;
        align-items: center;
    }

    .logo {
        height: 200px;
    }
    .logo-background {
        position: static;
        width: 400px;
        height: 400px;
        margin-top: -35%;
    }

    .center-logo {
        order:0;
    }


    .show-date h2 {
        position: relative;
        right: 30px;
        top: 15%;

    }


    .castle-img {
        position: absolute;
        bottom: 0;
    }

    .castle-img img {
        width: 70%;
        margin-left: 5%;
        animation: reveal-slide-castle 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .text-section p {
        font-size: 1rem;
    }

    .background-img  {
        height: 100%;
    }

    .background-img.img1 {
        top: 20%;
        left: 0;
    }

    .header-section h1 {
        font-size: 2.2rem;
    }
    .background-img.img2 {
        top: 60%;
        right: 0;
    }

    .background-img.img3 {
        position: relative;
        height: 75%;
	bottom: 30%;

    }


    .background-img.img4 {
        top: 0;
        left: -15%;
    }

    .background-img.img5 {
        top: 40%;
        right: -15%;
    }

    .team-portrait img {
        height: 300px;
        border-radius: 40px;
        box-shadow: 0 16px 15px rgb(0 11 30 / 50%)
    }

    .team-versus {
        font-family: "TANNimbus", serif;
        font-size: 2rem;
        text-align: center;
    }

    .vs-versus {
        font-family: "TANNimbus", serif;
        font-size: 2.5rem;
        text-align: center;
    }


    .background-img.img6 {
        top: 55%;
        right: 50%;
    }

    .background-img.img7 {
        top: 15%;
        left: 50%;
    }

    .photo-teams {
        display: grid;
        grid: 1fr 1fr / 1fr 1fr;
        justify-content: center;
        gap: 15px
    }

    .modal-content .modal-body.main-container {
        grid-template-columns: 1fr 1fr;
    }

    .modal-body .portraits img {
        max-height: 250px;
    }

    .team-presentation {
        flex-direction: row;
    }


    .team-presentation.team-reverse {
        flex-direction: row-reverse;
    }

    .team-photo {
        flex: 0 230%;
    }

    footer {
        grid: 1fr / 0.75fr 0.75fr 0.75fr 0.75fr 1.5fr;
        max-height: 400px
    }

    footer .logo-footer {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    footer .logo-footer .logos-link {

    }

    footer nav, .navigation-footer {
        text-align: start;
    }

    footer h1 {
        text-align: start;
    }

    footer form {
        margin: auto;
        margin-right: 25px ;
    }

    .navbar.navbar-dark.bg-dark, .dropdown-menu.dropdown-menu-dark {
        padding-left: 10px;
    }
}

@media only screen and (max-width: 950px) {
    .navbar.navbar-expand-lg {
        margin-top: -5px;
    }
        .press-section h2 {
        font-size: 1.5rem;
    }
    .press-release-meta {
        font-size: 0.7rem;
    }
 
    div.text-section figure img {
       height: auto !important;
       width: auto !important;
       max-width: 100%;
   }
}

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

    :root {
        --bs-nav-link-font-size: 0.9rem;
    }

    .d-flex.justify-content-between.w-100 {
        flex-direction: row;
        justify-content: flex-end;
    }
    .top-info h2 {
        font-size: 2rem;
        margin-left: 35px;
        margin-top: 80px;
    }
    .show-date h2 {
        right: 50px;
        top: 0;
    }

    .photo-teams {
        grid: 1fr 1fr / 1fr 1fr;
        gap:15px;
    }


    .team-portrait img {
        height: 400px;
    }

    .center-logo {
        order:0;
        margin-right: 0;
    }

    .member-photo > .blur-load {
        max-width:70%;
    }

    .button-soutenir {
        display: flex;
        height: auto;
    }

    .navbar.navbar-dark.bg-dark, .dropdown-menu.dropdown-menu-dark {
        padding-right: 60px;
        padding-left: 60px;
    }

    .navbar.navbar-dark.bg-dark ul {
        margin-left: 0;
    }
}

@media only screen and (min-width: 768px)  and (max-width: 1200px) {
    footer {
        max-height: none;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
    "a a a a"
    "b c d e";
        gap: 1rem;
    }

    .newsletter-style2 {
        grid-area: a;
        margin-bottom: 2rem;
    }

    .newsletter-style2 h1 {
        text-align: center;
    }

    .newsletter-style2 .newsletter-form {
        max-width: 320px;
    }
}

@media only screen and (min-width: 1200px) {
    header {
        height: 550px;
    }
    .top-info h1 {
        letter-spacing: 0;
        font-size: 40px;
        z-index: 1;
        margin: 2rem 0 0 0;
        text-align: center;
    }

    .top-info h2 {
        font-size: 26px;
        margin-left: 35px;
        margin-top: 80px;
    }

    .top-info p {
        color: #fff;
        font-size: 24px;
        font-family: Montserrat, serif;
        text-align: center;
        margin: 2rem 0 0 0;
    }

    .name-event .season2 {
        text-align: center;
        text-transform: uppercase;
        font-size: 3rem;
        margin: -10px 0 0 15px;
    }

    .name-event h2 {
        font-size: 1.2rem;
        margin-top: 60px;
        margin-left: 15px;
    }

    .logo {
        height: 200px;
    }
    .logo-background {
        width: 600px;
        height: 600px;
        margin-top: -40%;
    }

    .show-date h2 {
        right: 20%;
    }

    .castle-img {
        position: absolute;
        bottom: 0;
    }

    .castle-img img {
        width: 70%;
        margin-left: 5%;
        animation: reveal-slide-castle 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .background-img.img1 {
        top: 10%;
        left: -20%;
        max-width: 10%
    }

    .background-img.img2 {
        top: 10%;
        right: -20%;
        max-width: 10%
    }

    .background-img.img4 {
        top: 0;
        left: -20%;
    }

    .background-img.img5 {
        top: 40%;
        right: -20%;
    }

    .text-section.photo-teams {
        gap: 100px 0;
        padding: 100px;
    }

    footer {
        grid-template-columns: repeat(4, 0.75fr) 1.5fr;
        grid-template-areas:
"b c d e a";
    }
}

    .soutiens-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }

    .soutiens-section {
        margin-bottom: 4rem;
    }

    .soutiens-section h2 {
        font-family: "TANNimbus", serif;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        align-items: center;
        justify-items: center;
        margin-top: 2rem;
    }

    .logo-item {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 120px;
    }

    .logo-item:hover {
        transform: translateY(-5px);
    }

    .logo-item img {
        max-width: 100%;
        max-height: 80px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .logo-item:hover img {
        transform: scale(1.05);
    }

    .rich-text-content {
        width: 100%;
        text-align: center;
    }

    .rich-text-content img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .rich-text-content p {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .rich-text-content h1,
    .rich-text-content h2,
    .rich-text-content h3,
    .rich-text-content h4,
    .rich-text-content h5,
    .rich-text-content h6 {
        display: none;
    }

    /* Hide text content, only show images */
    .rich-text-content p:not(:has(img)) {
        display: none;
    }

    .rich-text-content {
        font-size: 0;
        line-height: 0;
    }

    .rich-text-content * {
        font-size: 0;
        color: transparent;
    }

    .rich-text-content img {
        font-size: initial;
    }

    .rich-text-content figure {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .section-description {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .soutiens-container {
            padding: 1rem;
        }

        .logos-grid {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
        }

        .logo-item {
            padding: 1rem;
            min-height: 100px;
        }

        .logo-item img,
        .rich-text-content img {
            max-height: 100px;
        }

        .soutiens-section h2 {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .logos-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        }

        .logo-item {
            padding: 0.75rem;
            min-height: 80px;
        }

        .logo-item img,
        .rich-text-content img {
            max-height: 50px;
        }
    }
