/* ==========================================================================
   Music Linker Stylesheet
   ========================================================================== */

/* --- 1. GLOBAL & BASE STYLES --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 40px 20px;
    line-height: 1.6;
    overflow-x: hidden;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.01;
    mix-blend-mode: overlay;
}

/* --- 2. LAYOUT & STRUCTURE --- */
.page-header-title {
    margin-bottom: 20px;
}

.page-header-title h1 {
    font-size: 2.5em;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.background-mosaic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.3);
    /* Darker brightness */
    transform: scale(1.1);
}

/* OVERRIDE pour la page d'accueil : Background spécifique + Flou léger */
body.home-body .background-mosaic {
    background-image: url('../images/bg1080.png') !important;
    filter: blur(3px) brightness(0.7) !important;
    /* Ajout du flou (3px) */
    transform: none !important;
}

.main-content {
    position: relative;
    z-index: 1;
}

.admin-container {
    max-width: 960px;
    margin: auto;
}

.edit-container {
    max-width: 700px;
    margin: auto;
}

/* --- 3. PAGE-SPECIFIC BODY LAYOUTS --- */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.collection-body {
    padding: 40px;
}

.public-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- 4. CARDS & CONTAINERS --- */
.card,
.edit-container,
.login-box,
.public-container,
.home-central-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(50px) saturate(1.4);
    -webkit-backdrop-filter: blur(50px) saturate(1.8);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.card,
.edit-container {
    padding: 15px;
    margin-bottom: 30px;
}

.login-box {
    width: 320px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    text-align: center;
}

.public-container {
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Effet de lumière sur les cartes */
.card::before,
.edit-container::before,
.login-box::before,
.public-container::before,
.home-central-container::before,
.mosaic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.card::before,
.edit-container::before,
.login-box::before,
.public-container::before,
.home-central-container::before {
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 40%);
}

/* --- 5. HEADER & NAVIGATION --- */
/* NEW THEME NAVIGATION STYLES */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.site-logo:hover img {
    opacity: 0.8;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.05);
    /* matches the theme's glassmorphism */
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-pill ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-pill li {
    margin: 0;
}

.nav-pill a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 5px 10px;
    border-radius: 20px;
}

.nav-pill a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-pill li.nav-current a {
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

/* Post page header: logo + subtle blobs */
.post-site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.post-blob-container {
    opacity: 0.45;
    width: 340px;
    height: 340px;
}

.post-site-header .blob-bg {
    width: 160px;
    height: 160px;
}

.post-site-header .blob-1 {
    width: 110px;
    height: 110px;
}

.post-site-header .blob-2 {
    width: 100px;
    height: 100px;
}

.post-site-logo {
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.post-site-tagline {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.06em;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.post-site-logo img {
    height: 50px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.post-site-header .nav-container {
    position: relative;
    z-index: 1;
}

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

.header h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #fff;
}

@media (min-width: 768px) {
    /* .admin-header media query removed/refactored for centered logo */
}

/* ADMIN HEADER CENTERED LOGO (VERTICAL STACK) */
.admin-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

/* Row 1: Back - Logo - Empty/Spacer */
.header-top-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-center {
    /* Logo in center */
    display: flex;
    justify-content: center;
}

/* Ensure logo size */
.admin-logo {
    height: 50px;
    /* Slightly larger for prominence */
    width: auto;
}

/* Back button in header-left */
.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Navigation Row (Centered below) */
.header-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.header-nav {
    display: flex;
    gap: 15px;
}

.admin-nav {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
}

.admin-nav-link {
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    position: relative;
}

.brand-container {
    display: contents;
}

.collection-logo {
    display: flex;
    align-items: center;
}

.collection-logo img {
    height: 35px;
    width: auto;
    transition: opacity 0.2s;
}

.collection-logo:hover img {
    opacity: 0.8;
}

/* New style for the description below header */
.page-intro-description {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    max-width: 600px;
    margin: -10px auto 40px auto;
}

.social-text-link {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.social-text-link:hover {
    color: #58a6ff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-logo {
    height: 35px;
}

/* .btn-logout-icon removed - replaced by footer text */

.admin-footer-logout {
    display: block;
    text-align: center;
    margin-top: 60px;
    padding-bottom: 20px;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: lowercase;
    opacity: 0.7;
}

.admin-footer-logout:hover {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    text-decoration: none;
    /* simple highlight */
}

.back-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.2s;
}

.back-link-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85em;
}

/* --- 6. FORMS & BUTTONS --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 8px;
    color: #eee;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea,
.login-box input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background-color: rgba(245, 245, 247, 0.9);
    border: 1px solid transparent;
    box-sizing: border-box;
    font-size: 1em;
    color: #1d1d1f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-box input {
    margin-bottom: 15px;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus,
.login-box input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.login-box button,
.form-group button[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 1em;
    font-weight: 600;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-box button {
    padding: 12px;
}

.form-group button[type="submit"] {
    margin-top: 10px;
}

.login-box button:hover,
.form-group button[type="submit"]:hover {
    background-color: #0056b3;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

input[type="date"] {
    position: relative;
    padding-right: 15px;
    color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    color: transparent;
    background: transparent;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.form-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    padding: 0;
    margin-top: 0;
}

.form-toggle label {
    margin-bottom: 0;
    font-size: 0.8em;
    color: #bbb;
}

.save-button {
    margin-top: 0;
    width: auto;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 1em;
    font-weight: 600;
    background-color: rgba(43, 244, 143, 0.9);
    color: #1d1d1f;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-button:hover {
    background-color: #fff;
    color: #000;
}

.platform-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
}

.search-label {
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
}

.search-label:hover {
    color: #58a6ff;
}


/* --- NEW THEME FEED STYLES --- */
.feed-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.featured-article {
    cursor: pointer;
    margin-bottom: 40px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-image-container {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
}

.featured-content.no-image {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.featured-title {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    color: #fff;
    line-height: 1.1;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
}

/* List Article */
.article-feed-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-article {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.list-article:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}


.list-content {
    display: flex;
    flex-direction: column;
    padding: 2px 0;
}

.list-title {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    line-height: 1.2;
    color: #fff;
}

.list-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
    .featured-title {
        font-size: 1.8rem;
    }
}

/* ============================================================
   FEED LAYOUT UPDATES
   ============================================================ */

/* Collection header (index feed) */
.collection-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collection-header .library-title {
    margin: 0;
    font-size: 1.5rem;
}

/* Feed section header (Latest News) */
.feed-section-header {
    margin: 2.5rem 0 1.2rem 0;
}

.feed-section-title {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* SQUARE THUMBNAILS — always square, never stretch */
.list-image-container {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
}

.list-image-container img,
.list-image-container .no-art {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.list-image-container .no-art {
    background: rgba(255, 255, 255, 0.08);
}

/* OST — zoom pour masquer les bords flous de la share image */
.list-image-container.ost-thumb {
    border-radius: 12px;
    overflow: hidden;
}

.list-image-container.ost-thumb img {
    border-radius: 0;
    transform: scale(1.28);
}

.pinned-article .list-image-container.ost-thumb img {
    width: 135px;
    height: 135px;
}

/* Index list article: use <a> tag */
.list-article {
    text-decoration: none;
    color: inherit;
}

/* Fix: remove meta-sep style as it was inline before  */
.meta-sep {
    margin: 0 8px;
}

/* Featured article as <a> */
.featured-article {
    display: block;
    text-decoration: none;
    color: inherit;
}


/* ============================================================
   CUSTOM PAGINATION
   ============================================================ */
.pagination-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 3rem 0 1rem 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.pagination-btn.disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.pagination-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}


/* ============================================================
   SITE FOOTER — Social links
   ============================================================ */
.site-footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.25);
}


/* ============================================================
   GLASSMORPHISM POST CARD (single article view)
   ============================================================ */
.post-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 10px 20px 60px 20px;
    position: relative;
}

.post-blob-container {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 0;
}

.post-blob-bg {
    position: absolute;
    border-radius: 50%;
    width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(100, 30, 170, 0.55) 0%, rgba(55, 10, 100, 0.35) 50%, transparent 75%);
    border: 1px solid rgba(130, 60, 220, 0.25);
    box-shadow: 0 0 120px rgba(110, 40, 210, 0.35), inset 0 0 60px rgba(60, 15, 110, 0.4);
    animation: blob-pulse 6s ease-in-out infinite;
}

.post-blob-1 {
    position: absolute;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    top: 8%;
    left: 8%;
    background: radial-gradient(circle, rgba(120, 45, 200, 0.2) 0%, transparent 70%);
    filter: blur(30px);
    animation: blob-float1 9s ease-in-out infinite;
}

.post-blob-2 {
    position: absolute;
    border-radius: 50%;
    width: 230px;
    height: 230px;
    bottom: 8%;
    right: 8%;
    background: radial-gradient(circle, rgba(80, 20, 170, 0.2) 0%, transparent 70%);
    filter: blur(28px);
    animation: blob-float2 11s ease-in-out infinite;
}

.single-post {
    position: relative;
    z-index: 1;
}

.post-card-backdrop {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    backdrop-filter: blur(50px) saturate(1.4);
    z-index: 0;
    pointer-events: none;
}

.post-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
}

/* ── Interview: page article — halo radial, sans backdrop-filter ── */
.single-post.tag-interview .post-card-backdrop {
    backdrop-filter: none;
}

.single-post.tag-interview .post-card {
    background: linear-gradient(135deg, rgb(41 34 55 / 75%), rgb(42 26 40 / 74%));
    box-shadow:
        0 0 100px rgba(167, 139, 250, 0.14),
        0 0 200px rgba(167, 139, 250, 0.06),
        0 24px 50px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.single-post.tag-interview::before {
    content: '';
    position: absolute;
    top: -80px;
    bottom: -80px;
    left: 0;
    right: 0;
    background: radial-gradient(ellipse at 50% 25%, rgba(167, 139, 250, 0.18) 0%, rgba(120, 80, 220, 0.06) 45%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Artwork: full-width, flush with card top */
.post-artwork-wrap {
    padding: 0;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

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

.post-card-body {
    padding: 30px 36px 36px 36px;
}

/* Post header: date first, then title */
.post-header {
    margin-bottom: 28px;
}

.post-meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 12px;
}

.meta-tag {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.meta-tag:hover {
    color: rgba(255, 255, 255, 0.75);
}

h1.post-title {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #fff;
}

.post-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 10px 0 0;
    line-height: 1.55;
    font-weight: 400;
    font-style: italic;
}

.post-content {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.post-content strong,
.post-content b {
    font-weight: 800;
    color: #fff;
}

.post-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s, color 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

@media (max-width: 600px) {
    .post-card-body {
        padding: 20px;
    }

    h1.post-title {
        font-size: 1.7rem;
    }
}

/* ============================================================
   LAYOUT WRAPPERS
   ============================================================ */
.layout-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ── Blob de fond sur les pages de post ── */
.post-page-blob {
    position: fixed;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    pointer-events: none;
    z-index: 0;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   FULL-WIDTH BANNER (Homepage Hero)
   ============================================================ */
.full-width-banner {
    position: relative;
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 60px 20px 40px 20px;
    box-sizing: border-box;
    z-index: 0;
}

.blob-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-bg {
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(60, 20, 90, 0.85) 0%, rgba(30, 10, 60, 0.5) 55%, transparent 80%);
    border: 1px solid rgba(130, 60, 220, 0.35);
    box-shadow: 0 0 80px rgba(100, 40, 200, 0.45), inset 0 0 50px rgba(50, 10, 80, 0.6);
    animation: blob-pulse 6s ease-in-out infinite;
}

.blob-1 {
    width: 220px;
    height: 220px;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(110, 40, 200, 0.25) 0%, transparent 70%);
    filter: blur(35px);
    animation: blob-float1 9s ease-in-out infinite;
}

.blob-2 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    right: 10%;
    background: radial-gradient(circle, rgba(80, 20, 160, 0.25) 0%, transparent 70%);
    filter: blur(30px);
    animation: blob-float2 11s ease-in-out infinite;
}

@keyframes blob-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.07);
        opacity: 1;
    }
}

@keyframes blob-float1 {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-22px) scale(1.08);
    }
}

@keyframes blob-float2 {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(16px) scale(0.94);
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.banner-logo {
    height: auto;
    width: auto;
    max-height: 120px;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
}

.banner-tagline {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================================
   PATREON BUTTON (nav / inline version)
   ============================================================ */
.patreon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.patreon-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.patreon-btn .patreon-icon {
    width: 18px;
    height: 18px;
    fill: #000;
    flex-shrink: 0;
    transition: fill 0.25s ease;
}

.patreon-btn:hover .patreon-icon {
    fill: #FF424D;
}

.kofi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease,
        gap 0.3s ease, padding 0.3s ease;
}

.kofi-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.kofi-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.kofi-text {
    display: inline-block;
    max-width: 60px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
    transition: max-width 0.3s ease, opacity 0.25s ease;
}

.kofi-btn.text-hidden {
    gap: 0;
    padding: 10px;
}

.kofi-btn.text-hidden .kofi-text {
    max-width: 0;
    opacity: 0;
}

.kofi-btn.text-hidden:hover {
    gap: 7px;
    padding: 10px 18px;
}

.kofi-btn.text-hidden:hover .kofi-text {
    max-width: 60px;
    opacity: 1;
}

/* ============================================================
   FEED GLASS CONTAINER
   ============================================================ */
.feed-glass-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(30px) saturate(1.3);
    -webkit-backdrop-filter: blur(30px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* ============================================================
   ARTICLE BADGES
   ============================================================ */
.list-header {
    margin-bottom: 8px;
}

.list-header .list-title {
    margin: 0;
}

.interview-badge,
.announcement-badge,
.featured-badge,
.vinyl-badge,
.news-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 6px;
}

.interview-badge {
    background: rgba(240, 185, 11, 0.18);
    color: #f0b90b;
    border: 1px solid rgba(240, 185, 11, 0.32);
}

.announcement-badge {
    background: rgba(255, 100, 120, 0.18);
    color: #ff7a8a;
    border: 1px solid rgba(255, 100, 120, 0.32);
}

.featured-badge {
    background: rgba(190, 80, 250, 0.18);
    color: #be50fa;
    border: 1px solid rgba(190, 80, 250, 0.32);
}

.vinyl-badge {
    background: rgba(192, 200, 216, 0.15);
    color: #c8d0e0;
    border: 1px solid rgba(192, 200, 216, 0.3);
}

.news-badge {
    background: rgba(255, 160, 110, 0.18);
    color: #ffaa7a;
    border: 1px solid rgba(255, 160, 110, 0.32);
}

/* ============================================================
   STICKY / PINNED ARTICLE
   ============================================================ */
.pinned-section {
    margin-bottom: 20px;
}

.pinned-article {
    margin-inline: -16px;
    padding: 15px;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 100, 150, 0.07), rgba(255, 60, 120, 0.02));
    border-color: rgba(255, 100, 150, 0.28);
}

.pinned-article:hover {
    background: rgba(255, 100, 150, 0.11);
    border-color: rgba(255, 100, 150, 0.45);
}

.pinned-article .list-image-container,
.pinned-article .list-image-container img,
.pinned-article .list-image-container .no-art {
    width: 135px;
    height: 135px;
    min-width: 135px;
    min-height: 135px;
}

.pinned-article .list-image-container img,
.pinned-article .list-image-container .no-art {
    border: 2px solid rgba(255, 100, 150, 0.3);
}

.pinned-article .list-title {
    font-size: 1.5rem;
}


/* ============================================================
   TAG FILTER / DROPDOWN
   ============================================================ */
.tag-filter {
    flex-shrink: 0;
}

.filter-dropdown {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.07);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 36px 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-family: inherit;
}

.filter-dropdown:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-dropdown option {
    background: #1a1020;
    color: #fff;
}

/* ============================================================
   FEATURED / TAGGED CARDS IN FEED
   Posts avec tags Interview, Announcement ou featured=true
   sont légèrement mis en valeur
   ============================================================ */

/* ── Shared: cards mis en avant (interview / announcement / featured / vinyl) ── */
.list-article.tag-interview,
.list-article.tag-announcement,
.list-article.tag-vinyl,
.list-article.featured {
    margin-inline: -16px;
    padding: 15px;
    gap: 20px;
}

.list-article.tag-interview .list-title,
.list-article.tag-announcement .list-title,
.list-article.tag-vinyl .list-title,
.list-article.featured .list-title {
    font-size: 1.5rem;
}

.list-article.tag-interview .list-image-container,
.list-article.tag-announcement .list-image-container,
.list-article.tag-vinyl .list-image-container,
.list-article.featured .list-image-container {
    width: 135px;
    height: 135px;
}

.list-article.tag-interview .list-image-container img,
.list-article.tag-interview .list-image-container .no-art,
.list-article.tag-announcement .list-image-container img,
.list-article.tag-announcement .list-image-container .no-art,
.list-article.tag-vinyl .list-image-container img,
.list-article.tag-vinyl .list-image-container .no-art,
.list-article.featured .list-image-container img,
.list-article.featured .list-image-container .no-art {
    width: 135px;
    height: 135px;
    min-width: 135px;
    min-height: 135px;
}

/* Interview — accent doré */
.list-article.tag-interview {
    background: rgba(240, 185, 11, 0.06);
    border-color: rgba(240, 185, 11, 0.25);
}

.list-article.tag-interview:hover {
    background: rgba(240, 185, 11, 0.1);
    border-color: rgba(240, 185, 11, 0.45);
}

.list-article.tag-interview .list-image-container img,
.list-article.tag-interview .list-image-container .no-art {
    border: 2px solid rgba(240, 185, 11, 0.35);
}

/* Announcement — accent corail/rose */
.list-article.tag-announcement {
    background: rgba(255, 100, 120, 0.06);
    border-color: rgba(255, 100, 120, 0.2);
}

.list-article.tag-announcement:hover {
    background: rgba(255, 100, 120, 0.1);
    border-color: rgba(255, 100, 120, 0.35);
}

.list-article.tag-announcement .list-image-container img,
.list-article.tag-announcement .list-image-container .no-art {
    border: 2px solid rgba(255, 100, 120, 0.3);
}

/* Vinyl — accent argenté */
.list-article.tag-vinyl {
    background: rgba(192, 200, 216, 0.05);
    border-color: rgba(192, 200, 216, 0.22);
}

.list-article.tag-vinyl:hover {
    background: rgba(192, 200, 216, 0.09);
    border-color: rgba(192, 200, 216, 0.4);
}

.list-article.tag-vinyl .list-image-container img,
.list-article.tag-vinyl .list-image-container .no-art {
    border: 2px solid rgba(192, 200, 216, 0.3);
}

/* Featured (Don't miss!) — accent violet */
.list-article.featured {
    background: rgba(190, 80, 250, 0.06);
    border-color: rgba(190, 80, 250, 0.22);
}

.list-article.featured:hover {
    background: rgba(190, 80, 250, 0.11);
    border-color: rgba(190, 80, 250, 0.38);
}

.list-article.featured .list-image-container img,
.list-article.featured .list-image-container .no-art {
    border: 2px solid rgba(190, 80, 250, 0.3);
}


/* Mobile : pas de margin négatif */
@media (max-width: 600px) {

    .list-article.tag-interview,
    .list-article.tag-announcement,
    .list-article.tag-vinyl,
    .list-article.featured {
        margin-inline: 0;
        padding: 15px;
    }
}

/* ============================================================
   POST DETAIL — styles manquants
   ============================================================ */

/* Séparateur */
.post-separator {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 28px 0;
}

/* Contenu Ghost (liens, titres, paragraphes, citations…) */
.gh-content {
    font-size: 1.08rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.82);
}

.gh-content p {
    margin: 0 0 1.4em 0;
}

.gh-content a {
    color: #7ec8e3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.gh-content a:hover {
    color: #b0e4f5;
}

.gh-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 2em 0 0.6em 0;
    color: #fff;
    letter-spacing: -0.3px;
}

.gh-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.6em 0 0.5em 0;
    color: #fff;
}

.gh-content blockquote {
    position: relative;
    margin: 2em 0;
    padding: 1.2em 1.6em 1.2em 2.2em;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.09), rgba(167, 139, 250, 0.03));
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-left: 3px solid #a78bfa;
    border-radius: 0 14px 14px 0;
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    font-size: 1.05em;
    line-height: 1.75;
}

.gh-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.15em;
    left: 0.25em;
    font-size: 3.8em;
    font-style: normal;
    font-weight: 800;
    color: rgba(167, 139, 250, 0.3);
    line-height: 1;
    pointer-events: none;
}

/* Ghost Quote card + HTML card custom quote — citation forte, centrée */
.gh-content .kg-blockquote-card,
.gh-content blockquote.custom-quote {
    position: relative;
    margin: 2.5em auto;
    padding: 2em 2.5em 1.8em;
    max-width: 600px;
    text-align: center;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.11), rgba(120, 80, 220, 0.05));
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(167, 139, 250, 0.08), 0 8px 32px rgba(0, 0, 0, 0.3);
    font-size: 1.18em;
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.gh-content .kg-blockquote-card::before,
.gh-content blockquote.custom-quote::before {
    content: '\201C';
    display: block;
    font-size: 4.5em;
    font-style: normal;
    font-weight: 800;
    color: rgba(167, 139, 250, 0.45);
    line-height: 0.7;
    margin-bottom: 0.3em;
    pointer-events: none;
}

.gh-content blockquote.custom-quote cite {
    display: block;
    margin-top: 1em;
    font-size: 0.8em;
    font-style: normal;
    font-weight: 600;
    color: rgba(167, 139, 250, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Post CTA ── */
.post-cta-wrap {
    position: relative;
    margin: 2.8em 0 2em;
    border-radius: 22px;
    padding: 2px;
    overflow: hidden;
}

.post-cta-wrap::before {
    content: '';
    position: absolute;
    inset: -80%;
    background: conic-gradient(from 180deg, #ffaa73 0%, #df70aa 25%, #6c1f8d 50%, #5435aa 70%, #9d6def 85%, #ffaa73 100%);
    animation: cta-border-spin 8s linear infinite;
}

@keyframes cta-border-spin {
    to { transform: rotate(360deg); }
}

.post-cta {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(22, 14, 42, 0.97), rgba(14, 9, 28, 0.97));
    border-radius: 20px;
    padding: 1.6em 2em;
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.68em;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #a78bfa;
    margin: 0 0 0.6em;
}

.cta-title {
    font-size: 1.15em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5em;
    line-height: 1.25;
}

.cta-body {
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.58);
    margin: 0 auto 1.4em;
    line-height: 1.6;
    max-width: 420px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-logo {
    height: 20px !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto 1em !important;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.55em 1.2em;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.cta-btn-kofi {
    background: #FF5A16 !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(255, 90, 22, 0.45);
}

.cta-btn-kofi:hover {
    box-shadow: 0 8px 30px rgba(255, 90, 22, 0.6);
    color: #fff !important;
}

.cta-btn-patreon {
    background: #fff !important;
    color: #1a1a1a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cta-btn-patreon:hover {
    background: #f3f3f3 !important;
    color: #1a1a1a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Lightbox ── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 0.2s ease;
    cursor: default;
}

.lightbox-overlay.is-open .lightbox-img {
    transform: scale(1);
}

.gh-content img:not(.no-lightbox) {
    cursor: zoom-in;
}

/* ── Related posts carousel ── */
.related-posts-section {
    margin-top: 1.8em;
    overflow: hidden;
}

.related-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
}

.related-posts-label {
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.carousel-nav {
    display: flex;
    gap: 6px;
}

.carousel-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, opacity 0.15s ease;
    padding: 0;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.14);
}

.carousel-arrow:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 768px) {
    .carousel-nav { display: none; }
}

.related-carousel-wrap {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* Extend past section so border-radius of peek card isn't clipped */
    margin-right: -14px;
    padding-right: 14px;
    scroll-snap-type: x mandatory;
}

.related-carousel-wrap::-webkit-scrollbar {
    display: none;
}

.related-carousel {
    display: flex;
    gap: 10px;
    width: max-content;
}

.related-card {
    flex: 0 0 190px;
    scroll-snap-align: start;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, background 0.2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
}

.related-card-img-wrap {
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.related-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.related-card-no-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    display: block;
}

.related-card-title {
    padding: 9px 11px 14px;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
    display: block;
}

@media (max-width: 768px) {
    .related-posts-section {
        margin-top: 1.4em;
    }

    .related-card {
        flex: 0 0 160px;
    }
}

.gh-content ul,
.gh-content ol {
    margin: 0 0 1.4em 0;
    padding-left: 1.6em;
}

.gh-content li {
    margin-bottom: 0.4em;
}

.gh-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
    display: block;
}

.kg-width-wide {
    margin-left: -10%;
    margin-right: -10%;
    max-width: 120%;
    width: 120%;
}

.kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.gh-content figcaption {
    margin-top: -0.8em;
    margin-bottom: 1.5em;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    font-style: italic;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

/* Iframes (lecteurs embarqués) */
.gh-content iframe {
    width: 100%;
    border: none;
    border-radius: 12px;
    margin: 1.5em 0;
    display: block;
    min-height: 180px;
}

.gh-content .kg-embed-card {
    margin: 1.5em 0;
}

.gh-content .kg-embed-card iframe {
    margin: 0;
}

.gh-content .kg-embed-card iframe[src*="youtube.com"],
.gh-content .kg-embed-card iframe[src*="youtube-nocookie.com"] {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
}

.gh-content iframe[src*="bandcamp.com"] {
    min-height: unset;
    margin: 1.5em 0;
}

.gh-content iframe[src*="nwpl.ing"] {
    min-height: unset;
    border-radius: 16px;
}

/* Fiche auteur */
.post-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.author-profile-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.author-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
}

.author-card-content h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.author-bio {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}


/* ============================================================
   MOBILE RESPONSIVE — Ghost News Theme  (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {

    /* ─── Body ─── */
    body {
        padding: 0 0 20px 0;
    }

    /* ─── Banner ─── */
    .full-width-banner {
        min-height: 180px;
        padding: 32px 16px 20px;
    }

    .banner-logo {
        max-height: 70px;
    }

    .banner-tagline {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    /* ─── Home nav row (index.hbs — override inline flex) ─── */
    .home-nav-container {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        padding: 0 12px;
        position: relative;
        z-index: 2;
    }

    /* ─── Nav pill ─── */
    .nav-pill {
        padding: 6px 10px;
    }

    .nav-pill ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .nav-pill a {
        font-size: 0.82rem;
        padding: 4px 8px;
    }

    /* ─── Patreon + Ko-Fi: cachés sur mobile ─── */
    .patreon-btn,
    .kofi-btn {
        display: none;
    }

    /* ─── Post-page header ─── */
    .post-site-header {
        margin-top: 16px;
        margin-bottom: 8px;
    }

    .post-site-header .nav-container {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* ─── Feed ─── */
    .feed-container {
        padding: 0 0 30px;
    }

    .feed-glass-container {
        padding: 14px;
        border-radius: 18px;
    }

    /* ─── Collection header (titre + dropdown): même ligne ─── */
    .collection-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
    }

    .filter-dropdown {
        flex-shrink: 0;
    }

    /* ─── List articles: horizontal compact (annule le flip column existant) ─── */
    .list-article {
        flex-direction: row !important;
        gap: 12px;
        padding: 14px;
    }

    .list-image-container,
    .list-image-container img,
    .list-image-container .no-art {
        width: 78px !important;
        height: 78px !important;
        min-width: 78px !important;
        min-height: 78px !important;
    }

    .list-title {
        font-size: 1rem;
    }

    .list-excerpt {
        font-size: 0.83rem;
    }

    /* Special cards: même taille compacte */
    .list-article.tag-interview .list-image-container,
    .list-article.tag-announcement .list-image-container,
    .list-article.featured .list-image-container,
    .list-article.tag-interview .list-image-container img,
    .list-article.tag-interview .list-image-container .no-art,
    .list-article.tag-announcement .list-image-container img,
    .list-article.tag-announcement .list-image-container .no-art,
    .list-article.featured .list-image-container img,
    .list-article.featured .list-image-container .no-art {
        width: 78px !important;
        height: 78px !important;
        min-width: 78px !important;
        min-height: 78px !important;
    }

    .list-article.tag-interview .list-title,
    .list-article.tag-announcement .list-title,
    .list-article.featured .list-title {
        font-size: 1.05rem;
    }

    /* Pas de titre surdimensionné sur les cards spéciales en mobile */
    .list-article.tag-interview,
    .list-article.tag-announcement,
    .list-article.featured {
        margin-inline: 0 !important;
    }

    /* ─── Post page ─── */
    .post-wrapper {
        padding: 10px 0 40px;
    }

    .post-card {
        border-radius: 18px;
    }

    .post-artwork-wrap {
        border-radius: 18px 18px 0 0;
    }

    .post-card-body {
        padding: 16px 16px 20px !important;
    }

    h1.post-title {
        font-size: 1.5rem !important;
    }

    .post-subtitle {
        font-size: 0.95rem;
    }

    .gh-content {
        font-size: 1rem;
    }

    /* ─── Iframe : plus de hauteur minimale pour les listes de plateformes ─── */
    .gh-content iframe {
        min-height: 380px;
    }
}

/* ============================================================
   DIVIDER CUSTOM — .divider-np
   Usage dans un HTML card Ghost :
   <div class="divider-np"></div>
   ============================================================ */

.divider-np {
    width: 100%;
    max-width: 480px;
    height: 80px;
    margin: 24px auto;
    background-image: url('../images/divider-np.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}