/* ============================================================
   Article Boost Pro | style.css
   ============================================================ */

/* ---- LAYOUT SINGLE ARTICLE ---- */
.abp-single-post {
    background-color: #fff;
    padding: 30px 0;
}

/* Fil d'Ariane */
.abp-breadcrumb {
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}
.abp-breadcrumb a {
    color: #333;
    text-decoration: none;
}
.abp-breadcrumb a:hover {
    color: #000;
}

/* En-tête : image + titre côte à côte */
.abp-post-header {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;
    margin-bottom: 40px;
}
.abp-featured-image {
    width: 100%;
    height: 100%;
}
.abp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.abp-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Titre & date */
.post-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.2;
}
.post-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Zone 2 colonnes */
.abp-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Sidebar */
.abp-sidebar {
    top: 100px;
    height: fit-content;
    padding-right: 20px;
    background: #fff;
    transition: all 0.3s ease;
}
.abp-sidebar.sticky-activated {
    position: sticky;
}
.abp-sidebar.offset-active {
    margin-top: -60px;
}

/* Contenu */
.abp-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    min-width: 0;
}
.abp-content img {
    max-width: 100%;
    height: auto;
}

/* Listes dans le contenu */
.abp-content ul {
    list-style: none !important;
    padding-left: 20px !important;
    margin: 15px 0 !important;
}
.abp-content ul li {
    position: relative !important;
    margin-bottom: 10px !important;
    padding-left: 25px !important;
    line-height: 1.6 !important;
}
.abp-content ul li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

/* Partage social */
.social-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: transparent !important;
}

/* ---- TABLE DES MATIÈRES ---- */
.abp-toc {
    background: #fff;
    margin-bottom: 30px;
    border: 1px solid #333;
    padding: 20px;
}
.abp-toc .toc-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.abp-toc .toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.abp-toc .toc-list li {
    margin-bottom: 12px;
    line-height: 1.3;
}
.abp-toc .toc-list a {
    display: flex;
    align-items: baseline;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}
.abp-toc .toc-list a:hover {
    color: #666;
}
.abp-toc .toc-number {
    min-width: 20px;
    margin-right: 8px;
    color: #333;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .abp-post-header,
    .abp-content-wrapper {
        grid-template-columns: 1fr;
    }
    .abp-sidebar {
        position: relative !important;
        top: 0;
        margin-top: 0 !important;
        order: 2;
        padding-right: 0;
    }
    .abp-content {
        order: 1;
    }
    .abp-toc {
        display: none;
    }
}
