/* ==========================================
   BLOG — STYLES PUBLICS
   Cohérent avec /css/style.css (variables --gold, --dark, --darker)
   ========================================== */

.blog-page {
    background: var(--darker, #050505);
    color: var(--light-text, #e8e8e8);
}

/* HERO BLOG */
.blog-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 180px 80px 100px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.blog-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/norway.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: grayscale(40%);
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.6) 0%, rgba(5,5,5,0.85) 100%);
}

.blog-hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.blog-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(48px, 8vw, 96px);
    color: #fff;
    font-weight: 700;
    letter-spacing: 8px;
    margin: 20px 0;
    text-transform: uppercase;
}

.blog-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2vw, 24px);
    color: #b0b0b0;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
}

/* LISTING */
.blog-listing {
    padding: 120px 80px;
    background: var(--darker, #050505);
}

.blog-listing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 50px;
}

.blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0a0a;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 60px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.blog-card-body {
    padding: 35px 30px;
}

.blog-card-date {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.blog-card-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #fff;
}

.blog-card-excerpt {
    font-family: 'Lora', serif;
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 25px;
}

.blog-card-more {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-more {
    gap: 18px;
}

/* FILTRES — CHIPS */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    color: #b0b0b0;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.blog-chip:hover {
    border-color: rgba(255,255,255,0.45);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.blog-chip.active {
    background: #fff;
    border-color: #fff;
    color: #0a0a0a;
}

.blog-chip.active:hover {
    background: #e8e8e8;
    border-color: #e8e8e8;
}

.blog-chip i { font-size: 10px; }

/* CATÉGORIES SUR LES CARTES + ARTICLE */
.blog-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.blog-card-cat {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 4px 10px;
}

.blog-article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

/* BADGE CATÉGORIE DANS LE DASHBOARD */
.admin-post-badge--cat {
    background: rgba(255,255,255,0.05);
    color: #b0b0b0;
    border: 1px solid rgba(255,255,255,0.15);
}

/* CASES À COCHER CATÉGORIES (éditeur) */
.cat-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
}

.cat-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #d8d8d8;
    font-size: 14px;
    user-select: none;
    padding: 6px 8px;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.cat-checkbox:hover { background: rgba(255,255,255,0.04); }

.cat-checkbox input { width: 16px; height: 16px; cursor: pointer; accent-color: #fff; }

/* PAGE GESTION DES CATÉGORIES */
.cat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.cat-rename-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.cat-rename-form input[type="text"] {
    flex: 1;
    background: transparent;
    border: 1px solid transparent;
    color: #fff;
    padding: 6px 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.cat-rename-form input[type="text"]:focus {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.cat-slug {
    color: #666;
    font-size: 12px;
    font-family: 'Montserrat', monospace;
    letter-spacing: 1px;
}

.blog-empty {
    text-align: center;
    padding: 100px 20px;
}

.blog-empty p {
    color: #b0b0b0;
    font-family: 'Lora', serif;
    margin-top: 20px;
    font-size: 16px;
}

/* ARTICLE — PAGE DÉTAIL */
.blog-article-section {
    padding: 180px 40px 100px;
    background: var(--darker, #050505);
    min-height: 100vh;
}

.blog-article-container {
    max-width: 820px;
    margin: 0 auto;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.blog-back-link:hover {
    color: #fff;
    gap: 15px;
}

.blog-article-header {
    margin-bottom: 50px;
    text-align: center;
}

.blog-article-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 5vw, 56px);
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    margin: 15px 0;
}

.blog-article-thumbnail {
    width: 100%;
    margin-bottom: 60px;
    overflow: hidden;
}

.blog-article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-article-content {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.9;
    color: #d8d8d8;
    font-weight: 400;
}

.blog-article-content p {
    margin-bottom: 1.5em;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    font-family: 'Cinzel', serif;
    color: #fff;
    margin: 1.6em 0 0.7em;
    line-height: 1.3;
}

.blog-article-content h1 { font-size: 38px; font-weight: 700; }
.blog-article-content h2 { font-size: 30px; font-weight: 600; }
.blog-article-content h3 { font-size: 24px; font-weight: 600; }
.blog-article-content h4 { font-size: 20px; font-weight: 500; }

.blog-article-content a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
}
.blog-article-content a:hover {
    text-decoration-color: #fff;
}

.blog-article-content blockquote {
    border-left: 3px solid #fff;
    margin: 2em 0;
    padding: 10px 0 10px 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-style: italic;
    color: #b8b8b8;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.blog-article-content figure {
    margin: 2em 0;
    text-align: center;
}

.blog-article-content figcaption {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 1em 0 1.5em 1.5em;
}

.blog-article-content li {
    margin-bottom: 0.5em;
}

.blog-article-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 3em auto;
    width: 60%;
}

.blog-article-footer {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* RESPONSIVE BLOG */
@media (max-width: 900px) {
    .blog-hero {
        padding: 140px 30px 80px;
        min-height: 45vh;
    }
    .blog-listing {
        padding: 80px 25px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .blog-article-section {
        padding: 130px 22px 70px;
    }
    .blog-article-content {
        font-size: 16px;
    }
}

/* ==========================================
   ADMIN — STYLES INTERFACE
   ========================================== */
.admin-page {
    background: #0a0a0a;
    color: #e8e8e8;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    margin: 0;
}

.admin-page * { box-sizing: border-box; }

.admin-header {
    background: rgba(5,5,5,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.admin-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.admin-header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-header-logo img {
    height: 50px;
    width: auto;
}

.admin-header-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.admin-header-sub {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
}

.admin-header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.admin-header-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-header-nav a:hover { color: #fff; }
.admin-header-nav .admin-logout { color: #d97a7a; }

.admin-main {
    padding: 50px 40px;
}

.admin-main-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-page-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

.admin-empty {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
}

.admin-empty i {
    font-size: 60px;
    color: rgba(255,255,255,0.2);
    margin-bottom: 25px;
}

.admin-empty h2 {
    font-family: 'Cinzel', serif;
    color: #fff;
    margin-bottom: 10px;
}

.admin-empty p {
    color: #888;
    margin-bottom: 30px;
}

.admin-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-post-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 20px;
    transition: all 0.3s ease;
}

.admin-post-row:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.admin-post-thumb {
    width: 120px;
    height: 80px;
    overflow: hidden;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 30px;
}

.admin-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-post-info { min-width: 0; }

.admin-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-post-date {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.admin-post-badge {
    font-size: 10px;
    padding: 3px 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.admin-post-badge--draft {
    background: rgba(217, 154, 78, 0.15);
    color: #d99a4e;
    border: 1px solid rgba(217, 154, 78, 0.3);
}

.admin-post-badge--published {
    background: rgba(86, 197, 130, 0.12);
    color: #56c582;
    border: 1px solid rgba(86, 197, 130, 0.3);
}

.admin-post-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #fff;
    margin: 0 0 6px;
    font-weight: 600;
}

.admin-post-excerpt {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-post-actions {
    display: flex;
    gap: 8px;
}

.admin-action {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #b0b0b0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.admin-action:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.admin-action--danger:hover {
    background: rgba(217, 90, 90, 0.15);
    color: #f08080;
    border-color: rgba(217, 90, 90, 0.4);
}

/* FORMULAIRES ADMIN */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-field label {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b0b0b0;
}

.admin-field input[type="text"],
.admin-field input[type="password"],
.admin-field input[type="date"],
.admin-field input[type="email"],
.admin-field textarea,
.admin-field select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.admin-field input:focus,
.admin-field textarea:focus {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.08);
}

.admin-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}

.admin-checkbox input { width: 18px; height: 18px; cursor: pointer; }

.admin-error {
    background: rgba(217, 90, 90, 0.1);
    border: 1px solid rgba(217, 90, 90, 0.4);
    color: #f08080;
    padding: 14px 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.admin-success {
    background: rgba(86, 197, 130, 0.08);
    border: 1px solid rgba(86, 197, 130, 0.4);
    color: #7ad9a0;
    padding: 14px 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

/* BOUTONS PREMIUM (login + éditeur) — style livre haut de gamme */
.admin-login-submit,
.editor-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f2ea 100%);
    color: #0a0a0a;
    border: 1px solid rgba(0,0,0,0.15);
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 8px 24px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.08);
    transition: color 0.45s ease, border-color 0.45s ease,
                box-shadow 0.45s ease, transform 0.45s ease;
}

/* Liseré or fin en haut + en bas */
.admin-login-submit::after,
.editor-submit::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15), transparent);
    transition: opacity 0.4s ease;
}

/* Effet de remplissage noir au survol (slide depuis la gauche) */
.admin-login-submit::before,
.editor-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    transform: translateX(-101%);
    transition: transform 0.55s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 0;
}

.admin-login-submit > *,
.editor-submit > * {
    position: relative;
    z-index: 1;
}

.admin-login-submit i,
.editor-submit i {
    position: relative;
    z-index: 1;
    font-size: 13px;
    transition: transform 0.45s ease;
}

.admin-login-submit:hover,
.editor-submit:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.05) inset,
        0 14px 40px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,255,255,0.15),
        0 0 30px rgba(255,255,255,0.08);
}

.admin-login-submit:hover::before,
.editor-submit:hover::before {
    transform: translateX(0);
}

.admin-login-submit:hover::after,
.editor-submit:hover::after {
    opacity: 0;
}

.admin-login-submit:hover i,
.editor-submit:hover i {
    transform: translateX(3px);
}

.admin-login-submit:active,
.editor-submit:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

/* LOGIN PAGE */
.admin-login-page {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    background-image: url('/images/norway.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(5,5,5,0.85);
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(10,10,10,0.95);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
}

.admin-login-logo {
    text-align: center;
    margin-bottom: 25px;
}

.admin-login-logo img { height: 80px; width: auto; }

.admin-login-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #fff;
    text-align: center;
    margin: 15px 0 35px;
    letter-spacing: 4px;
    font-weight: 600;
}

.admin-login-submit {
    width: 100%;
    margin-top: 25px;
}

.admin-login-back {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.admin-login-back:hover { color: #fff; }

/* ÉDITEUR */
.editor-container { max-width: 1400px; }

.editor-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 110px;
}

.editor-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 25px;
}

.editor-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editor-submit {
    width: 100%;
    margin-top: 10px;
}

.editor-cancel {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.editor-cancel:hover { color: #fff; }

.thumbnail-preview {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #050505;
    border: 1px dashed rgba(255,255,255,0.15);
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-empty {
    color: rgba(255,255,255,0.25);
    font-size: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.thumbnail-empty span {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.editor-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 12px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.editor-upload-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
}

.editor-remove-thumb {
    margin-top: 10px;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(217, 90, 90, 0.4);
    color: #f08080;
    padding: 10px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.editor-remove-thumb:hover {
    background: rgba(217, 90, 90, 0.15);
}

@media (max-width: 1000px) {
    .editor-grid {
        grid-template-columns: 1fr;
    }
    .editor-sidebar {
        position: static;
    }
    .admin-post-row {
        grid-template-columns: 1fr;
    }
    .admin-post-thumb {
        width: 100%;
        height: 160px;
    }
    .admin-post-actions {
        justify-content: flex-end;
    }
    .admin-header { padding: 15px 20px; }
    .admin-header-inner { flex-wrap: wrap; }
    .admin-main { padding: 30px 20px; }
}
