/* HISTOIRE SINGLE VIEW STYLES - CLEAN & MINIMALIST */
.histoire-page-wrapper {
    background-color: #F8FAF9;
    min-height: 85vh;
}

.histoire-breadcrumb {
    font-size: 0.85rem;
    color: #64748B;
}

.histoire-breadcrumb a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.histoire-breadcrumb a:hover {
    color: #C48D3F;
}

.histoire-breadcrumb .active-crumb {
    color: #0F172A;
    font-weight: 600;
}

/* Card Shell */
.histoire-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.histoire-badge {
    background: rgba(196, 141, 63, 0.12);
    color: #C48D3F;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.histoire-badge-secondary {
    background: #F1F5F9;
    color: #475569;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 20px;
}

.histoire-title {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
}

.histoire-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 1rem;
    border-bottom: 1px solid #EDF2F7;
    font-size: 0.85rem;
    color: #64748B;
}

.histoire-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.histoire-author-link {
    color: #0F172A;
    font-weight: 700;
    text-decoration: none;
}

.histoire-author-link:hover {
    color: #C48D3F;
}

/* Minimalist Icon Share Toolbar */
.histoire-share-mini {
    display: flex;
    align-items: center;
    gap: 6px;
}

.histoire-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.histoire-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.histoire-icon-btn.share-whatsapp:hover { background: #25D366; color: #ffffff; border-color: #25D366; }
.histoire-icon-btn.share-facebook:hover { background: #1877F2; color: #ffffff; border-color: #1877F2; }
.histoire-icon-btn.share-twitter:hover { background: #000000; color: #ffffff; border-color: #000000; }
.histoire-icon-btn.share-linkedin:hover { background: #0A66C2; color: #ffffff; border-color: #0A66C2; }
.histoire-icon-btn.share-copy:hover { background: #C48D3F; color: #ffffff; border-color: #C48D3F; }
.histoire-icon-btn.share-print:hover { background: #0F172A; color: #ffffff; border-color: #0F172A; }

/* Featured Image Banner */
.histoire-banner-wrap {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.histoire-banner-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.histoire-banner-caption {
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 10px 16px;
    font-size: 0.825rem;
    backdrop-filter: blur(4px);
}

/* Article Body Typography */
.histoire-article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #1F2937;
}

.histoire-article-body p {
    margin-bottom: 1.4rem;
}

.histoire-article-body blockquote {
    border-left: 4px solid #C48D3F;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #FAF8F5;
    font-style: italic;
    color: #334155;
    border-radius: 0 8px 8px 0;
}

.histoire-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Sources Card */
.histoire-sources-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.25rem;
}

.histoire-sources-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0F172A;
    margin-bottom: 0.75rem;
}

.histoire-sources-content {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

/* About Box */
.histoire-about-box {
    background: rgba(196, 141, 63, 0.08);
    border: 1px solid rgba(196, 141, 63, 0.2);
}

.histoire-about-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.histoire-about-text {
    font-size: 0.85rem;
    color: #475569;
}

/* Sidebar Elements */
.histoire-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.histoire-sidebar-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.histoire-sidebar-card__header {
    background: #091527;
    padding: 1rem 1.25rem;
    color: #ffffff;
}

.histoire-sidebar-card__title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.histoire-popular-list {
    display: flex;
    flex-direction: column;
}

.histoire-popular-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #F1F5F9;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.histoire-popular-item:hover {
    background: #F8FAFC;
}

.histoire-popular-thumb {
    width: 60px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.histoire-popular-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: rgba(196, 141, 63, 0.12);
    color: #C48D3F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.histoire-popular-info {
    flex-grow: 1;
}

.histoire-popular-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 4px;
    line-height: 1.3;
}

.histoire-popular-meta {
    font-size: 0.75rem;
    color: #94A3B8;
}

.histoire-sidebar-card__footer {
    padding: 0.85rem 1.25rem;
    background: #FAF8F5;
    text-align: center;
}

.btn-more-histoires {
    color: #C48D3F;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-more-histoires:hover {
    color: #9E6E28;
}

/* Contrib Card */
.histoire-contrib-card {
    background: linear-gradient(135deg, #091527 0%, #112544 100%);
    color: #ffffff;
    border: 1px solid rgba(196, 141, 63, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.histoire-contrib-icon {
    font-size: 1.8rem;
    color: #C48D3F;
}

.histoire-contrib-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.histoire-contrib-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.btn-contrib {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #C48D3F 0%, #9E6E28 100%);
    color: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-contrib:hover {
    background: linear-gradient(135deg, #D49D4F 0%, #AE7E38 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(196, 141, 63, 0.4);
}

/* Toast */
.histoire-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #091527;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #C48D3F;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.histoire-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media print {
    body {
        background: #ffffff !important;
    }

    .site-header,
    .site-footer,
    .histoire-breadcrumb,
    .histoire-sidebar-sticky,
    .histoire-share-mini,
    .histoire-toast,
    .histoire-about-box,
    .histoire-sources-card,
    .histoire-footer-credits,
    .histoire-sidebar-card,
    .owl-carousel,
    .result-card-media,
    .btn-more-histoires,
    .btn-contrib {
        display: none !important;
    }

    .histoire-page-wrapper {
        background: #ffffff !important;
        padding: 0 !important;
    }

    .histoire-card {
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .histoire-title {
        font-size: 24pt;
        color: #000000;
    }

    .histoire-article-body {
        font-size: 12pt;
        color: #000000;
    }

    .histoire-banner-wrap {
        border-radius: 0;
        margin-bottom: 1rem;
    }

    a {
        color: #000000 !important;
        text-decoration: none !important;
    }
}
