/*
Theme Name: Green Lanterns Podcast
Theme URI: https://www.greenlanternspodcast.com
Author: Hectorlizard
Description: Green Lanterns Podcast
Version: 1.1
*/


/* Petit ajustement pour la barre d'admin WP si tu es connecté */
.admin-bar body { top: 32px; position: relative; }


/* --- RESET & VARIABLES --- */
:root {
    --color-green: #9DE75E;
    --glp-green-lit: #E3FFA4;
    --color-card-bg: #1a1a1a;
    --color-bg: black;
    --color-links: #ffffff;
    
    /* Font Stack: SF Pro (Mac), Fallbacks */
    --font-heading: 'SF Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'SF Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --container-width: 1200px;
    
    /* Easing exact de la page statique */
    --easing: cubic-bezier(0.83, 0, 0.17, 1);
}

/* SF Pro Variable */
@font-face {
    font-family: "SF Pro";
    src: url("ui/font.ttf") format("truetype-variations");
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: url('ui/space.png');
    background-repeat: repeat;
    background-size: 1496px 1020px;
    background-position: top center;
    color: var(--glp-green-lit);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 0;
    background-color: black;
}


.site, 
.wrapper, 
.container, 
header, 
footer, 
article {
    background-color: transparent;
}


a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
ul { list-style: none; }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* --- PRELOADER --- */
.preload {
    display: block;
    position: fixed;
    width: 0;
    height: 0;
    background-image:
        url("ui/listen-apple-h.png"),
        url("ui/listen-yt-h.png"),
        url("ui/listen-spotify-h.png"),
        url("ui/social-tiktok-h.png"),
        url("ui/social-reddit-h.png"),
        url("ui/social-ig-h.png"),
        url("ui/social-threads-h.png"),
        url("ui/social-bluesky-h.png"),
        url("ui/footer-h.png"),
        /* Nouveaux boutons */
        url("ui/btn-seemore-h.png"),
        url("ui/btn-back-h.png");
    z-index: -9999;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.mt-60 { margin-top: 60px; }

/* --- HEADER --- */
header {
    padding: 10px 0 40px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.main-logo {
    width: 320px;
}

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
    padding-bottom: 10px;
}

/* --- SOCIAL ICONS (Style exact page statique) --- */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 5px; /* Petit ajustement d'alignement */
}

.social {
    display: inline-block;
    width: 53px;  /* Dimension exacte main.css */
    height: 53px; /* Dimension exacte main.css */
    background-size: cover;
    transition: all .3s var(--easing); /* Easing exact main.css */
    cursor: pointer;
}

.social:hover {
    transform: scale(1.3); /* Scale exact main.css */
}

/* Images Normales */
.social.tiktok { background-image: url("ui/social-tiktok.png"); }
.social.reddit { background-image: url("ui/social-reddit.png"); }
.social.ig { background-image: url("ui/social-ig.png"); }
.social.threads { background-image: url("ui/social-threads.png"); }
.social.bluesky { background-image: url("ui/social-bluesky.png"); }

/* Images Hover */
.social.tiktok:hover { background-image: url("ui/social-tiktok-h.png"); }
.social.reddit:hover { background-image: url("ui/social-reddit-h.png"); }
.social.ig:hover { background-image: url("ui/social-ig-h.png"); }
.social.threads:hover { background-image: url("ui/social-threads-h.png"); }
.social.bluesky:hover { background-image: url("ui/social-bluesky-h.png"); }


/* --- LISTEN BUTTONS (Style exact page statique) --- */
.listen-buttons {
    display: flex;
    gap: 10px; /* Conserve le gap layout mais utilise les tailles statiques */
    align-items: center;
}

.listen {
    display: inline-block;
    height: 50px; /* Hauteur exacte main.css */
    background-size: contain; /* Adapter l'image au conteneur */
    background-repeat: no-repeat;
    background-position: center;
    transition: all .5s var(--easing); /* Transition exacte main.css */
    cursor: pointer;
}

.listen:hover {
    transform: scale(1.1); /* Scale exact main.css */
}

/* Dimensions spécifiques main.css */
.listen.apple { 
    width: 183px; 
    background-image: url("ui/listen-apple.png");
}
.listen.apple:hover { 
    background-image: url("ui/listen-apple-h.png"); 
}

.listen.yt { 
    width: 183px; 
    background-image: url("ui/listen-yt.png");
}
.listen.yt:hover { 
    background-image: url("ui/listen-yt-h.png"); 
}

.listen.spotify { 
    width: 183px; 
    background-image: url("ui/listen-spotify.png");
}
.listen.spotify:hover { 
    background-image: url("ui/listen-spotify-h.png"); 
}


/* --- FILTER BAR --- */
.filter-bar {
    margin-top: 20px;
    border-bottom: 1px solid rgba(227,255,164,0.5);
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-stretch: 130%;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--glp-green-lit);
}

.browse-filter {
    color: var(--glp-green-lit);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.browse-filter:hover { color: white; }


/* --- HERO SECTION --- */
.hero-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    /* align-items: center; */
    text-decoration: none;
}
.hero-card:hover .hero-title {
    transition: 0.3s;
}


.hero-card:hover .hero-image {
    transform: scale(1.01);
}

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

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    transition: transform 0.6s var(--easing); 
}

.hero-content {
    padding-right: 20px;
    padding-top: 35px;
}

.meta-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag {
    color: var(--glp-green-lit);
    font-weight: 800;
    font-stretch: 130%;
}

.tag.green { color: var(--glp-green-lit); }
.date { color: var(--glp-green-lit);; font-weight: 400; }

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-stretch: 130%;
    font-size: 35px;
    line-height: 1.1;
    color: var(--glp-green-lit);
    transition: color 0.3s;
}

/* --- GRIDS --- */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
    width: 100%;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.card-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: #222;
    position: relative;
    width: 100%;
    transition: transform 0.6s var(--easing); 
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--easing);
}

.hero-image::after,
.card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px; /* Doit être identique au parent */
    
    /* IMPORTANT : permet de cliquer au travers de l'ombre sur le lien/image */
    pointer-events: none; 
    
    z-index: 2; /* S'assure d'être au-dessus de l'image */
    
    /* L'ombre de base (contour blanc fin) */
    box-shadow: inset 0 0 1px 0 rgba(255, 255, 255, 0.50);
    
    /* IMPORTANT : permet d'animer l'apparition du glow vert */
    transition: box-shadow 0.6s var(--easing); 
}

/* On cible le survol du lien parent (.card / .hero-card) pour déclencher l'effet sur le pseudo-élément */
.card:hover .card-image::after,
.hero-card:hover .hero-image::after {
    /* On cumule les deux ombres (séparées par une virgule) */
    box-shadow: 
        inset 0 0 1px 0 rgba(255, 255, 255, 0.50), /* On maintient le contour blanc */
        inset 0 0 66px 0 rgba(29, 172, 36, 0.20);  /* On ajoute le glow vert */
}

.card:hover .card-image img {
    /* ransform: scale(1.05); */
}

.card:hover h3 { transition: 0.3s; }

.card-image.placeholder {
    background: linear-gradient(180deg, #2a3a2a 0%, #1a1a1a 100%);
}

.card-content h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 25px;
    line-height: 1.4;
    color: var(--glp-green-lit);
    transition: color 0.3s;
}

/* --- LOAD MORE BUTTON --- */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 100px;
}

.btn-green {
    background-color: var(--glp-green-lit);
    color: #000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
    transition: transform 0.2s, background-color 0.2s;
}



/* --- BUTTON FIX (Anti-Parasite WP) --- */

/* On cible a.btn-green pour être plus spécifique que les styles WP par défaut */
a.btn-green,
button.btn-green,
.btn-green {
    display: inline-flex; /* Assure un bon centrage flex */
    align-items: center;
    justify-content: center;
    
    /* Force les couleurs */
    background-color: var(--glp-green-lit) !important;
    color: #000000 !important;
    
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none !important; /* Retire le soulignement WP */
    box-shadow: none !important;      /* Retire les ombres parasites WP */
    
    transition: transform 0.2s, background-color 0.2s;
}

/* État Hover */
a.btn-green:hover,
button.btn-green:hover,
.btn-green:hover {
    background-color: var(--glp-green-lit) !important;
    color: #000000 !important;
    transform: scale(1.05);
    text-decoration: none !important;
}

/* État Visité (souvent le coupable violet) */
a.btn-green:visited {
    color: #000000 !important;
}

/* Force la couleur de la flèche SVG en noir */
.btn-green svg path {
    stroke: #000000 !important;
}





/* --- FOOTER --- */
footer {
    position: relative;
    width: 100%;
}

.footer-bg-container {
    width: 102%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: -2px;
}

.footer-bg-img {
    min-width: 100%;
    width: auto;
    max-width: 2944px;
    height: auto;
    display: block;
}

.footer-inner {
    width: 100%;
    z-index: 10;
    position: relative;
    padding-bottom: 250px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

/* Bouton Footer Logo (Dimensions exactes main.css) */
.footer-logo-div {
    display: inline-block;
    width: 244px; /* Exact main.css */
    height: 171px; /* Exact main.css */
    background-image: url("ui/green-lanterns-podcast-logo.png"); /* Image par défaut */
    background-size: cover;
    transition: all .3s var(--easing); /* Easing exact main.css */
    cursor: pointer;
}

.footer-logo-div:hover { 
    opacity: 1; /* Reset opacity car on change l'image */
}

.footer-bottom {
    border-top: 1px solid rgba(227,255,164,0.5);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-credits {
    font-size: 12px;
    color: var(--glp-green-lit);
    line-height: 1.6;
    text-align: left;
}

/* Conteneur des deux colonnes */
.footer-links-container {
    display: flex;
    gap: 80px; /* Espace entre la colonne "About" et "Instagram" */
    text-align: left; /* Le texte à l'intérieur est aligné à gauche */
}

/* Style des colonnes */
.footer-column {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px; /* Espacement vertical entre les liens */
}

.footer-column a {
    font-family: var(--font-body);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablette (max 1024px) */
@media (max-width: 1024px) {
    .hero-title { font-size: 32px; }
    .grid-3-cols { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .header-actions {
        align-items: center;
    }
    
    /* Pour le mobile, on adapte les icones géantes si besoin, 
       mais le prompt demande les tailles exactes. 
       Flex-wrap permettra d'éviter que ça déborde si l'écran est très petit */
    .listen-buttons {
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-2-cols, 
    .grid-3-cols {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-credits, .footer-links-list { text-align: center; }
    .footer-left { width: 100%; display: flex; justify-content: center; }

    .footer-links-container {
        gap: 40px; /* Réduit l'espace entre colonnes sur mobile */
        text-align: center; /* Centre le texte sur mobile si souhaité, ou garder left */
        justify-content: center; /* Centre le bloc entier */
    }
}




.listen {
display: inline-block;
height: 50px;
background-size: 183px;
background-position: top left;
transition: all .5s cubic-bezier(0.83, 0, 0.17, 1);
background-repeat: no-repeat;
}




































































































/* =========================================
   ARTICLE PAGE STYLES
   ========================================= */

/* --- ARTICLE HEADER --- */
/* Alignement vertical spécifique pour le header article */
.header-inner.align-center {
    align-items: center; 
}

/* Logo Construct (Micro) */
.logo-construct {
    width: 171px;
    height: 171px;
    display: block;
    /* Transition douce si redimensionnement responsive */
    transition: transform 0.3s var(--easing);
}

/* --- ARTICLE HERO SECTION --- */
.article-hero-section {
    margin-top: 30px;
    margin-bottom: 0;
}

.article-title-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* ~60% / 40% */
    gap: 60px;
    align-items: flex-end; /* Alignement bas maintenu */
}

.article-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-stretch: 130%;
    font-size: 54px; /* Très gros titre */
    line-height: 0.95;
    color: var(--glp-green-lit);
    max-width: 600px;
}
/* Le mot "LANTERNS" en bas du titre semble plus "pop" ou blanc sur certaines variantes, 
   mais ici tout est vert clair selon la maquette fournie */

.article-intro {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 525;
    line-height: 1.5;
    margin-bottom: 0; /* Petit ajustement optique */
    max-width: 450px;
}

.mt-40 { margin-top: 50px; }

/* --- ARTICLE CONTENT BODY --- */


    /* =========================================
       ARTICLE CONTENT WIDTHS (Desktop)
       ========================================= */



.article-hero-section .hero-image {
    margin-bottom: 50px;
}

    .article-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre tout le monde */
        margin-bottom: 80px;
    }

    /* 1. Le Texte : Limité à 800px */
    .article-content > p,
    .article-content > ul,
    .article-content > ol,
    .article-content > blockquote,
    .article-content > h2,
    .article-content > h3,
    .article-content > h4 {
        width: 100%;
        max-width: 800px;
        margin-bottom: 25px;
        
        font-family: var(--font-body);
        font-size: 16px;
        line-height: 1.6;
        color: var(--glp-green-lit);
    }

    /* 2. Les Images WP : Prennent toute la largeur du container (1200px) */
    .article-content > figure.wp-block-image {
        width: 100%;
        max-width: 100%; /* Déborde du 800px pour aller jusqu'à 1200px */
        margin: 50px 0;
        position: relative;
        border-radius: 20px;
        overflow: hidden;
    }

    .article-content > figure.wp-block-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 20px;
    }

    /* Ombre interne & Glow (Réplique du Hero) */
    .article-content > figure.wp-block-image::after {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: 20px;
        pointer-events: none;
        z-index: 2;
        box-shadow: inset 0 0 1px 0 rgba(255, 255, 255, 0.50);
        transition: box-shadow 0.6s var(--easing);
    }

    .article-content > figure.wp-block-image:hover::after {
        box-shadow: 
            inset 0 0 1px 0 rgba(255, 255, 255, 0.50),
            inset 0 0 66px 0 rgba(29, 172, 36, 0.20);
    }

    /* L'auteur reprend la largeur du texte */
    .article-author {
        width: 100%;
        max-width: 800px;
    }




.text-block {
    max-width: 800px; /* Largeur de lecture */
    width: 100%;
    margin: 50px 0;
}

.text-block p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.text-block p:last-child { margin-bottom: 0; }

/* --- VIDEO PLACEHOLDER --- */
.video-placeholder {
    width: 100%;
    max-width: 100%; /* Prend toute la largeur conteneur comme l'image hero */
    aspect-ratio: 16/9;
    background: linear-gradient(180deg, #1a2e1a 0%, #0d1a0d 100%); /* Dégradé vert sombre */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin: 0 0;
}

/* Réutilisation de l'ombre interne et glow via pseudo-element */
.video-placeholder::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
    /* Glow vert statique comme sur la maquette */
    box-shadow: 
        inset 0 0 1px 0 rgba(255, 255, 255, 0.30),
        inset 0 0 80px 0 rgba(29, 172, 36, 0.15);
}

/* --- AUTHOR CREDIT --- */
.article-author {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
}

/* --- BACK BUTTON --- */
.back-btn {
    display: flex;
    align-items: center;
    /* Surcharge padding si besoin */
}

/* --- RESPONSIVE ARTICLE --- */

/* Desktop Large : Décalage logo */
@media (min-width: 1300px) {
    .logo-construct-link {
        margin-left: -64px; /* Le décalage demandé */
    }
}

/* Tablette & Mobile */
@media (max-width: 1024px) {
    .article-title-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-title {
        font-size: 48px;
    }
    
    .article-intro {
        max-width: 100%;
    }
    
    .logo-construct {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 36px;
    }
    
    .header-inner.align-center {
        align-items: center; /* Reste centré en mobile */
    }
    
    /* En mobile, on cache peut-être le décalage négatif s'il gêne, 
       mais le media query min-width gère déjà ça. */
}

.wp-block-image {
    margin-top: 50px;
    margin-bottom: 50px;
}



/* =========================================
   STANDARD WP IMAGES & EMBEDS
   ========================================= */

/* 1. LES IMAGES (Largeur Max 100% / 1200px) */
.article-content > figure.wp-block-image {
    width: 100%;
    max-width: 100%; 
    margin: 50px 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* 2. LES VIDÉOS / EMBEDS (Largeur Max 800px + Ratio 16/9) */
.article-content > figure.wp-block-embed {
    width: 100%;
    max-width: 800px; /* Alignement avec le texte */
    margin: 50px 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
    
    /* Force le ratio 16:9 moderne */
    aspect-ratio: 16 / 9; 
}

/* S'assurer que l'iframe remplit bien le conteneur 16/9 */
.article-content > figure.wp-block-embed iframe,
.article-content > figure.wp-block-embed .wp-block-embed__wrapper {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* Styles communs pour le contenu (Image IMG) */
.article-content > figure.wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* 3. L'OMBRE INTERNE & GLOW (Commun Images + Vidéos) */
.article-content > figure.wp-block-image::after,
.article-content > figure.wp-block-embed::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    pointer-events: none; /* Important pour cliquer sur Play */
    z-index: 2;
    box-shadow: inset 0 0 1px 0 rgba(255, 255, 255, 0.50);
    transition: box-shadow 0.6s var(--easing);
}

/* Hover Effect (Glow Vert) */
.article-content > figure.wp-block-image:hover::after,
.article-content > figure.wp-block-embed:hover::after {
    box-shadow: 
        inset 0 0 1px 0 rgba(255, 255, 255, 0.50),
        inset 0 0 66px 0 rgba(29, 172, 36, 0.20);
}

/* --- MOBILE EDGE-TO-EDGE (Images & Vidéos) --- */
@media (max-width: 768px) {
    .article-content > figure.wp-block-image,
    .article-content > figure.wp-block-embed {
        /* On annule le padding du container */
        margin-left: -20px; 
        margin-right: -20px;
        
        /* On force la largeur à dépasser */
        width: calc(100% + 40px);
        max-width: none; /* Important pour que la vidéo s'étende aussi */
        
        /* On retire les arrondis */
        border-radius: 0;
    }

    .article-content > figure.wp-block-image img {
        border-radius: 0;
    }

    /* On retire les arrondis sur l'ombre interne */
    .article-content > figure.wp-block-image::after,
    .article-content > figure.wp-block-embed::after {
        border-radius: 0;
        box-shadow: inset 0 0 1px 0 rgba(255, 255, 255, 0.30); 
    }
}













/* --- HEADER HOME (Par défaut) --- */
header {
    padding: 10px 0 40px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Aligné en bas pour la Home */
}

/* Sur la Home, les actions sont en colonne (Socials au-dessus des boutons) */
.header-actions {
    display: flex;
    flex-direction: column; 
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 10px;
}

/* --- ARTICLE HEADER SPECIFICS --- */
.article-header {
    /* Padding spécifique si besoin */
    padding: 20px 0;
}

/* Sur l'article, on veut centrer verticalement */
.article-header .header-inner {
    align-items: center; 
    height: 100px;
    position: relative;
}

/* Sur l'article, les actions sont sur une ligne (Socials à côté du bouton Apple) */
.article-header .header-actions {
    flex-direction: row; 
    align-items: center;
    gap: 30px; /* Espace entre les icones sociales et le bouton Apple */
    margin-left: auto; /* Pousse tout à droite */
    padding-bottom: 0;
}

.logo-construct-link {
    position: absolute;
    top: 0; left: 0;
    z-index: 10;
}



.logo-construct-link {
    left: -46px;
    top: -36px;
}

@media (min-width: 1300px) {
    .logo-construct-link {
        left: 20px;
        top: -36px;
    }
}






/* =========================================
   IMAGE NAVIGATION BUTTONS (See More / Back)
   ========================================= */

.nav-btn {
    display: inline-block;
    width: 220px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    /* Mêmes animations que les boutons Listen */
    transition: all .5s var(--easing); 
    cursor: pointer;
    
    /* On cache le texte HTML pour ne montrer que l'image */
    text-indent: -9999px; 
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.nav-btn:hover {
    transform: scale(1.1); /* Même scale que les boutons Listen */
}

/* --- SEE MORE BUTTON --- */
.nav-btn.seemore {
    background-image: url("ui/btn-seemore.png") !important;
}
.nav-btn.seemore:hover {
    background-image: url("ui/btn-seemore-h.png") !important;
}

/* --- BACK BUTTON --- */
.nav-btn.back {
    background-image: url("ui/btn-back.png") !important;
}
.nav-btn.back:hover {
    background-image: url("ui/btn-back-h.png") !important;
}









/* =========================================
   MOBILE EDGE-TO-EDGE IMAGES
   ========================================= */

@media (max-width: 768px) {
    /* On cible le Hero et les images dans l'article */
    .hero-image,
    .article-content > figure.wp-block-image {
        /* On annule le padding du container (20px) avec des marges négatives */
        margin-left: -20px; 
        margin-right: -20px;
        
        /* On force la largeur à dépasser le conteneur */
        width: calc(100% + 40px);
        max-width: none;
        
        /* On retire les arrondis */
        border-radius: 0;
    }

    /* On retire les arrondis sur l'image elle-même */
    .hero-image img,
    .article-content > figure.wp-block-image img {
        border-radius: 0;
    }

    /* On retire les arrondis sur l'ombre interne */
    .hero-image::after,
    .article-content > figure.wp-block-image::after {
        border-radius: 0;
        /* Optionnel : réduire l'ombre sur mobile si elle est trop forte */
        box-shadow: inset 0 0 1px 0 rgba(255, 255, 255, 0.30); 
    }
}




/* WIthout green glow, only white highlight */
.article-content figure.wp-block-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 1px 0 rgba(255, 255, 255, 0.50);
}

/* Permanent green glow */
.article-content > figure.wp-block-image::after {
    box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 1px 0px inset, rgba(29, 172, 36, 0.2) 0px 0px 66px 0px inset;
}





/* =========================================
   BROWSE DROPDOWN
   ========================================= */

.browse-container {
    position: relative; /* Pour positionner la liste en absolu par rapport à lui */
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    color: #ccc;
}

/* Le bouton déclencheur */
.browse-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    user-select: none;
}

.browse-filter:hover {
    color: var(--color-green);
}

/* Animation de la flèche quand ouvert */
.browse-container.active .browse-arrow {
    transform: rotate(180deg);
}
.browse-arrow {
    transition: transform 0.3s ease;
}

/* La liste déroulante */
.browse-list {
    display: none; /* Caché par défaut */
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px; /* Petit espace sous le bouton */
    background-color: #0a0a0a; /* Fond très sombre */
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    z-index: 100; /* Passe au-dessus du Hero */
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* Afficher la liste quand actif */
.browse-container.active .browse-list {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

/* Les liens dans la liste */
.browse-list li {
    margin: 0;
}

.browse-list li a {
    display: block;
    padding: 8px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.browse-list li a:hover {
    background-color: rgba(157, 231, 94, 0.1); /* Vert très léger */
    color: var(--color-green);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   FOOTER LIZARD ICON
   ========================================= */

.design-by {
    display: flex;
    align-items: center; /* Centre verticalement texte et image */
    margin-bottom: 10px;
}

#lizard-icon {
    width: 38px;
    height: auto; /* Garde le ratio */
    margin-left: 4px; /* Espace avant le texte "Hectorlizard" */
    margin-right: 0;
    display: inline-block;
    
    /* Petit ajustement si l'image semble trop haute/basse par rapport au texte */
    position: relative;
    top: -1px; 
}

/* On enlève le soulignement du lien global */
.design-link {
    text-decoration: none !important;
    color: inherit;
    display: inline-block;
}










/* =========================================
   PRIVACY PAGE STYLES
   ========================================= */

.privacy-text h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--glp-green-lit);
    border-bottom: 1px solid rgba(227,255,164,0.2);
    padding-bottom: 10px;
}

.privacy-text h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--glp-green-lit);
}

.privacy-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
    color: var(--glp-green-lit);
}

.privacy-text li {
    margin-bottom: 10px;
}

.privacy-text a {
    color: var(--color-green);
    text-decoration: underline;
    cursor: pointer;
}

.privacy-text a:hover {
    color: #fff;
}






/* =========================================
   STANDARD CONTENT LINKS ANIMATION
   (Articles & Privacy)
   ========================================= */

/* 1. KEYFRAMES (Adaptés avec la couleur blanche) */

@keyframes body-link-out {
    from { box-shadow: inset -100px 0 0 0 var(--color-links); }
    to   { box-shadow: inset 0 0 0 0 var(--color-links); }
}

@keyframes body-link-in {
    from { box-shadow: inset 0 0 0 0 var(--color-links); }
    to   { box-shadow: inset 250px 0 0 0 var(--color-links); }
}

/* 2. STYLE DES LIENS (Typo Variable) */
.article-content p a,
.article-content li a,
.privacy-text p a,
.privacy-text li a,
.text-block p a {
    position: relative;
    text-decoration: none;
    display: inline;
    cursor: pointer;
    
    /* Couleur & Typo demandées */
    color: var(--color-links) !important;
    font-family: var(--font-heading); /* SF Pro */
    
    /* Variable Font Settings */
    font-weight: 760;
    font-stretch: 132%;
    font-variation-settings: 'wght' 760, 'wdth' 132;
}

/* 3. L'ÉLÉMENT DE SOULIGNEMENT (::before) */
.article-content p a::before,
.article-content li a::before,
.privacy-text p a::before,
.privacy-text li a::before,
.text-block p a::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: -1px; /* Ajustement position */
    width: 100%;
    height: 1px;
    
    /* État initial (Sortie) */
    box-shadow: inset -100px 0 0 0 var(--color-links);
    animation-name: body-link-out;
    animation-duration: .4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 0;
}

/* 4. ÉTAT HOVER (Entrée) */
.article-content p a:hover::before,
.article-content li a:hover::before,
.privacy-text p a:hover::before,
.privacy-text li a:hover::before,
.text-block p a:hover::before {
    animation-name: body-link-in;
    animation-duration: .4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 0;
    width: 100%;
}











/* =========================================
   SMALL CARDS STYLING (Grid 3 cols)
   ========================================= */

/* Espacement Meta - Titre réduit (6px) */
.grid-3-cols .card-content .meta-line {
    margin-bottom: 6px;
}

/* Titres plus petits */
.grid-3-cols .card-content h3 {
    font-size: 16px;
    letter-spacing: -0.07px;
    line-height: 20px;
}

/* Catégorie (Tag) plus petite */
.grid-3-cols .card-content .tag {
    font-size: 11px;
    letter-spacing: -0.05px;
}

/* Date plus petite */
.grid-3-cols .card-content .date {
    font-size: 11px;
    letter-spacing: -0.05px;
}


/* =========================================
   MEDIUM CARDS STYLING (Grid 2 cols)
   ========================================= */

/* Espacement Meta - Titre (11px) */
.grid-2-cols .card-content .meta-line {
    margin-bottom: 11px;
}

/* Typographie Titres Moyens */
.grid-2-cols .card-content h3 {
    font-size: 24px;
    letter-spacing: -0.1px;
    line-height: 31px;
    /* On s'assure que la transition de couleur reste fluide */
    transition: color 0.3s;
}








/* --- ARTICLE HERO SECTION ADDITIONS --- */


/* La colonne qui contient Meta + Titre */
.title-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.article-title {
    /* ... tes styles existants ... */
    margin-top: 0; /* Important pour que le 19px du meta soit respecté */
}

/* Responsive Tablet/Mobile */
@media (max-width: 1024px) {
    .article-title-grid {
        grid-template-columns: 1fr; /* Stack vertical */
        gap: 30px;
        align-items: flex-start;
    }
}





/* ARTICLE POST RELEASE ADDITIONS  */


.wp-block-quote.is-layout-flow.wp-block-quote-is-layout-flow {
    border-left: 3px var(--glp-green-lit) solid;
    padding-left: 20px;
    /* font-weight: 300; */
    font-size: larger;
    letter-spacing: 0;
    line-height: 27px;
    margin-top: 15px;
    margin-bottom: 15px;
}


.wp-block-heading {
    font-family: var(--font-heading);
    font-weight: 760;
    font-stretch: 132%;
    font-variation-settings: 'wght' 760, 'wdth' 132;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 800px;
    margin-bottom: 25px;
    margin-top: 25px;
}