/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --color-orange: #EF3C01;
    --color-orange-alt: #ff3200;
    --color-bg-main: #222222;
    --color-bg-dark: #171717;
    --color-bg-card: #252525;
    --color-text-main: #B6B6B6;
    --color-text-muted: #999999;
    --color-white: #FFFFFF;
    
    --font-main: 'Scada', sans-serif;
    --header-height: 90px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    background-color: var(--color-bg-main);
    background-image: url('../images/bgr_test.jpg'); 
    background-attachment: scroll;
    background-position: center;
    font-family: var(--font-main);
}

img { 
    border: 0; 
    max-width: 100%;
}

.orange { 
    color: #666666;
    font-weight: bold;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.header {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-bg-dark);
}
    
#logo,
#logo a {
    cursor: pointer;
    z-index: 999;
    position: fixed;
    left: 28px;
    top: 15px;
    margin: 0;
    width: 161px;
    height: 65px;
}

.menu {
    position: fixed;
    top: 0; 
    right: 0;
    width: 100%;
    height: var(--header-height);
    text-align: right; 
    vertical-align: middle;
}

/* ==========================================================================
   2. HEADER & NAVIGATION DESKTOP
   ========================================================================== */

/* Items du menu standard */
div.linkmenu {
    position: relative;
    float: right;
    width: 100px;
    height: 90px;
    background-color: var(--color-bg-dark);
    /* Ligne verticale de séparation subtile à gauche */
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

div.linkmenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 5px;
    color: var(--color-text-main);
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Ligne orange au-dessus du menu (top: 0) */
div.linkmenu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-orange);
    opacity: 0;
    transition: opacity 0.2s ease;
}

div.linkmenu a:hover,
div.linkmenu a.current {
    color: var(--color-white);
    background-color: #1f1f1f;
}

div.linkmenu a:hover::after,
div.linkmenu a.current::after {
    opacity: 1;
}

/* Item "TICKETS" (Case entièrement orange) */
div.linkmenu2 {
    float: right;
    width: 100px;
    height: 90px;
    background-color: var(--color-orange);
    /* Séparateur subtil à gauche aussi pour isoler le bouton */
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

div.linkmenu2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-white);
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

div.linkmenu2 a:hover,
div.linkmenu2 a.current {
    background-color: #d63500;
    color: var(--color-white);
}

/* ==========================================================================
   3. HERO / HOME IMAGES
   ========================================================================== */

/* Conteneur principal du Hero */
.ImgHome {
    position: relative;
    top: var(--header-height);
    left: 0;
    width: 100%;
    /* 100svh adapte parfaitement la hauteur sur les navigateurs mobiles */
    height: calc(100vh - var(--header-height)) !important;
    height: calc(100svh - var(--header-height)) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image de fond en arrière-plan */
.ImgHome1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-card);
    background-image: url('https://pict.myclubplasma.be/Galeries/4729/6H7A7822.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: 1;
}

/* Wrapper interne centré (Texte + Flèche) */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Bloc Texte principal */
.ImgHome2 {
    text-align: center;
    max-width: 850px;
    margin-top: auto;
    margin-bottom: auto;
}

.ImgHome3 {
    color: var(--color-white);
    font-size: 40px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-family: var(--font-main);
}

.hero-description {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* Bloc Flèche de défilement vers le bas */
.rockerill-scroll-down {
    cursor: pointer;
    margin-top: 20px;
    padding-bottom: 10px;
    z-index: 10;
}

.scroll-down-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-down-text {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-align: center;
}

.scroll-down-arrow {
    font-size: 22px;
    line-height: 1;
    color: #EF3C01;
    display: inline-block;
    animation: bounceDown 2s infinite;
}

/* Animation douce de la flèche */
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Adaptations Mobile */
@media screen and (max-width: 768px) {
    .hero-content-wrapper {
        padding: 20px 15px 15px 15px;
    }

    .ImgHome3 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .scroll-down-text {
        font-size: 10px;
    }

    .scroll-down-arrow {
        font-size: 18px;
    }
}

/* ==========================================================================
   4. STRUCTURE & TYPOGRAPHIE
   ========================================================================== */
.content {
    position: relative;
    margin-top: 100px;
}
 
.centerwrapper {
    width: 97%;
    margin: 0 auto; 
} 

.centerwrapper p,
.centerwrapper li {
    color: var(--color-text-muted);
    font-size: 13px; 
    font-weight: normal;
}   

h1 {    
    margin: 0 5px 20px 5px;
    padding: 0;
    color: var(--color-text-main);
    font-size: 30px; 
    font-weight: normal;
}

h2 {
    margin: -12px 5px 20px 5px;
    padding: 0;
    color: var(--color-text-main);
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
}

h3 {
    margin: 0;
    padding: 0;
    color: var(--color-orange-alt);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

h4 {    
    padding-top: 30px; 
    /*padding-left: 25px;*/
    color: #D4D4D4; 
    font-size: 20px; 
    font-weight: normal;
}

h5 {    
    padding: 0;
    color: #555555; 
    font-size: 14px; 
    font-weight: normal;
}

div.pageFullHeight {
    float: left;
    margin-bottom: 70px;
}

div.pageFullHeight h1 {
    clear: both;
}

/* ==========================================================================
   5. MENU RESPONSIVE & MOBILE
   ========================================================================== */

/* Bouton Burger */
.icon-burger {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 36px;
    cursor: pointer;
    padding: 10px 20px;
    margin-top: 15px;
    transition: color 0.2s ease;
}

.icon-burger:hover {
    color: var(--color-orange);
}

/* Container du menu mobile (caché par défaut) */
.MenuResp {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg-dark);
    z-index: 99;
    overflow-y: auto;
}

/* Quand la fonction JS myFunction() bascule la classe / ou si tu gères via JS */
.MenuResp.open,
.menu.responsive .MenuResp {
    display: block;
}

/* Navigation en Flexbox vertical */
.menu-resp-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
}

/* Liens du menu mobile */
.menu-resp-link {
    display: block;
    padding: 15px 25px;
    color: var(--color-text-main);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    text-align: right;
    border-top: 1px solid #222222;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-resp-link:hover,
.menu-resp-link:active {
    background-color: #252525;
    color: var(--color-white);
}

/* Bouton Tickets distinct sur mobile */
.menu-resp-link.btn-tickets {
    background-color: var(--color-orange);
    color: var(--color-white);
    margin-top: 10px;
}

.menu-resp-link.btn-tickets:hover {
    background-color: #d63500;
}

/* Container de la barre Newsletter (Badge sombre détaché) */
.news-top-bar {
    position: fixed;
    top: 102px;
    right: 15px;
    z-index: 90;
    background-color: #252525;
    padding: 6px 16px 6px 20px;
    
    /* Découpe biseautée propre */
    clip-path: polygon(15px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Label NEWS en orange pour rappeler la charte proprement */
.news-label {
    color: var(--color-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Alignement Flexbox du formulaire */
.subscribe-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.news-label {
    color: var(--color-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Groupe Champ + Bouton */
.news-input-group {
    display: flex;
    align-items: center;
    background-color: #171717;
    border: 1px solid #333333;
    border-radius: 3px;
    padding: 2px;
    overflow: hidden;
}

.subscribe-form .attributeinput {
    border: none;
    outline: none;
    padding: 4px 8px;
    font-size: 12px;
    font-family: var(--font-main);
    width: 130px;
    color: var(--color-white);
    background: transparent;
}

.subscribe-form .attributeinput::placeholder {
    color: #777777;
}

/* Bouton submit avec la touche orange */
.subscribe-form .submitbut {
    border: none;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.subscribe-form .submitbut:hover {
    background-color: #d63500;
}

/* Masquage automatique sur petits écrans */
@media screen and (max-width: 768px) {
    .news-top-bar {
        display: none;
    }
}


/* ==========================================================================
   6. MEDIA QUERIES (BREAKPOINT MOBILE/TABLET)
   ========================================================================== */
@media screen and (max-width: 992px) {
    /* Masquer le menu desktop horizontal */
    .linkmenu, 
    .linkmenu2 {
        display: none !important;
    }

    /* Afficher le bouton burger */
    .icon-burger {
        display: inline-block;
    }
    
    /* Masquer la bande newsletter sur très petits écrans si besoin */
    .news-top-bar {
        display: none;
    }
}

/* ==========================================================================
   BARRE DES RÉSEAUX SOCIAUX (Flottante en bas à droite)
   ========================================================================== */

.social-bar {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Retrait du fond sombre pour laisser ressortir les carrés de couleur, ou garde-le si tu préfères */
    background-color: transparent; 
    padding: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

/* Classe ajoutée en JS pour masquer la barre sous le footer */
.social-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

/* Style des icônes : Carrés aux coins arrondis */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px; /* Carré arrondi */
    color: #FFFFFF !important;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Effets au survol */
.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.15);
}

/* Couleurs officielles par réseau (selon la classe ou le href) */
.social-link.facebook,
.social-link[href*="facebook.com"] {
    background-color: #1877F2;
}

.social-link.instagram,
.social-link[href*="instagram.com"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.bandcamp,
.social-link[href*="bandcamp.com"] {
    background-color: #629aa9;
}

.social-link.youtube,
.social-link[href*="youtube.com"] {
    background-color: #FF0000;
}

/* Adaptations petits écrans */
@media screen and (max-width: 480px) {
    .social-bar {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 6px;
    }
}

/* Masquer le badge Google reCAPTCHA v3 */
.grecaptcha-badge { 
    visibility: hidden !important;
}

/* ==========================================================================
   FOOTER (SECTION PRINCIPALE)
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-dark, #171717);
    color: var(--color-text-main, #B6B6B6);
    padding-top: 50px;
    border-top: 3px solid var(--color-orange, #EF3C01);
    font-family: var(--font-main, 'Scada', sans-serif);
}

/* Grille 4 Colonnes */
.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Style des Titres de Colonnes */
.footer-col h4 {
    color: var(--color-white, #FFFFFF);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Listes de Liens */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col a {
    color: var(--color-text-main, #B6B6B6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover,
.footer-col a:hover {
    color: var(--color-orange, #EF3C01);
    padding-left: 4px;
}

/* Marges utilitaires */
.footer-col .margin-top-small { margin-top: 15px; }
.footer-col .margin-top-large { margin-top: 30px; }

/* Adresse */
.footer-col address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-muted, #999999);
}

/* Formulaire Newsletter Intégré au Footer */
.footer-col .subscribe-form {
    display: flex;
    gap: 5px;
}

.footer-col .subscribe-form .attributeinput {
    flex: 1;
    background-color: #252525;
    border: 1px solid #333333;
    padding: 8px 12px;
    color: #FFFFFF;
    border-radius: 3px;
    font-size: 12px;
    outline: none;
}

.footer-col .subscribe-form .attributeinput:focus {
    border-color: var(--color-orange, #EF3C01);
}

.footer-col .subscribe-form .submitbut {
    background-color: var(--color-orange, #EF3C01);
    color: #FFFFFF;
    border: none;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer-col .subscribe-form .submitbut:hover {
    background-color: #d63500;
}

/* ==========================================================================
   BOUTONS RÉSEAUX SOCIAUX DU FOOTER (CARRÉS ARRONDIS & EN COULEUR)
   ========================================================================== */

/* Alignement en grille ou flex avec un plus grand espace */
.footer-col .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

/* Base des boutons carré-arrondis */
.footer-col .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px; /* Coins bien arrondis */
    color: #FFFFFF;
    font-size: 24px; /* Icône bien visible et grande */
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

/* Effet au survol : léger grossissement & brillance */
.footer-col .social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.15);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    padding-left: 0; /* Annule l'effet de décalage des liens classiques du footer */
}

/* Couleurs officielles par réseau */
.footer-col .social-icon.facebook,
.footer-col .social-icon[title="Facebook"] {
    background-color: #1877F2;
}

.footer-col .social-icon.instagram,
.footer-col .social-icon[title="Instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-col .social-icon.bandcamp,
.footer-col .social-icon[title="Bandcamp"] {
    background-color: #629aa9;
}

.footer-col .social-icon.youtube,
.footer-col .social-icon[title="YouTube"] {
    background-color: #FF0000;
}

/* ==========================================================================
   PARTENAIRES
   ========================================================================== */
.partner-section {
    background-color: #0f0f0f;
    padding: 25px 20px;
    border-top: 1px solid #222222;
}

.partner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partner-item img {
    max-height: 35px;
    width: auto;
    /* Met tous les logos en nuances de blanc/gris pour une esthétique épurée */
    filter: grayscale(100%) brightness(1.5) opacity(0.5);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

/* ==========================================================================
   OVERLAY DE CHARGEMENT (FREEZER)
   ========================================================================== */
#freezer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.freezer-inner img {
    width: 40px;
    height: 40px;
}

/* ==========================================================================
   RESPONSIVE FOOTER (MOBILE & TABLETTE)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4 {
        border-bottom: none;
        margin-bottom: 10px;
    }

    .footer-col .subscribe-form {
        justify-content: center;
    }

    .footer-col .social-links {
        justify-content: center;
    }
}

/* ==========================================================================
   GRILLE DES ÉVÉNEMENTS (SLIDE-UP OVERLAY - FIX RENDU)
   ========================================================================== */

.home_header {
    padding-top: 40px;
    margin-bottom: 30px;
}
.home_header h1 {
    font-size: 2.2rem;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    font-weight: 800;
}
.home_header h2 {
    font-size: 1.1rem;
    color: #EF3C01;
    text-transform: uppercase;
    margin: 0;
}

/* Grille Responsive */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    margin-bottom: 40px;
}

/* Conteneur Carte */
.event {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #181818;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Force le rendu GPU pour éviter les artefacts sur les coins arrondis */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.event:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(239, 60, 1, 0.3);
}

/* Image de fond */
.event-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.event:hover .event-img img {
    transform: scale(1.06);
}

/* Icône de catégorie en haut à droite */
.eventicone {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 45px;
    text-align: right;
    padding: 8px;
    background: linear-gradient(135deg, transparent 20%, rgba(0, 0, 0, 0.85));
    z-index: 5;
    border-top-right-radius: 8px;
}

/* ==========================================================================
   NOUVELLE GRILLE ISOLÉE ROCKERILL (.rk-*)
   ========================================================================== */

/* Grille */
.rk-events-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
    margin-bottom: 40px !important;
}

/* Carte Globale */
.rk-card-event {
    position: relative !important;
    background-color: #141414 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important; /* Empilage strict : Poster au-dessus, Texte en-dessous */
    border: 1px solid #222222 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.rk-card-event:hover {
    transform: translateY(-5px) !important;
    border-color: #EF3C01 !important;
    box-shadow: 0 10px 22px rgba(239, 60, 1, 0.25) !important;
}

/* Zone Image / Poster en Haut */
.rk-card-poster {
    position: relative !important;
    width: 100% !important;
    height: 240px !important; /* Hauteur fixe garantie */
    background-color: #0d0d0d !important;
    flex-shrink: 0 !important; /* Bloque tout écrasement */
    overflow: hidden !important;
}

.rk-card-poster img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important; /* Affiche le haut du visuel */
    display: block !important;
    transition: transform 0.4s ease !important;
}

.rk-card-event:hover .rk-card-poster img {
    transform: scale(1.05) !important;
}

/* Icône de catégorie haut-droite */
.rk-card-icon {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 5px !important;
    border-radius: 4px !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
}

/* Zone Texte en bas (Fond sombre solide) */
.rk-card-body {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background-color: #141414 !important;
    box-sizing: border-box !important;
}

/* Date */
.rk-card-date,
.rk-card-date a {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #EF3C01 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
}

/* Titre */
.rk-card-title {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}
.rk-card-title a {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.25 !important;
    display: block !important;
}

/* Artistes */
.rk-card-artists {
    margin-bottom: 15px !important;
}
.rk-card-artists a {
    text-transform: uppercase;
    font-size: 11px !important;
    color: #AAAAAA !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    display: block !important;
}

/* Pied de carte : Infos + Bouton Tickets */
.rk-card-footer {
    margin-top: auto !important; /* Pousse en bas de la carte */
    padding-top: 12px !important;
    border-top: 1px solid #222222 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.rk-card-meta {
    display: flex !important;
    flex-direction: column !important;
}

.rk-meta-item {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    line-height: 1.3 !important;
}

/* Bouton Ticket */
.rk-btn-ticket {
    background-color: #EF3C01 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    display: inline-block !important;
}

.rk-btn-ticket:hover {
    background-color: #FF551A !important;
    transform: scale(1.04) !important;
}

/* Responsive Mobile */
@media screen and (max-width: 600px) {
    .rk-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 15px !important;
    }
    .rk-card-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .rk-btn-ticket {
        width: 100 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   BOUTON AGENDA COMPLET
   ========================================================================== */

.agenda-more-wrapper {
    text-align: center;
    margin: 40px 0 60px 0;
    width: 100%;
}

.btn-agenda-complet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: #1a1a1a;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 1px;
    border-radius: 6px;
    border: 1px solid #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.btn-agenda-complet:hover {
    background-color: #EF3C01; /* Orange Rockerill */
    border-color: #EF3C01;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 60, 1, 0.35);
}

.btn-agenda-complet:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239, 60, 1, 0.2);
}

/* Version Mobile */
@media screen and (max-width: 600px) {
    .agenda-more-wrapper {
        margin: 25px 0 40px 0;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .btn-agenda-complet {
        display: block;
        width: 100%;
        padding: 14px 16px;
        box-sizing: border-box;
    }
}