/* ==========================================================================
   VERTURA SOLUTIONS - STYLES POUR LES ARTICLES ET ACTUALITÉS
   ========================================================================== */

/* --- ARTICLE HEADER --- */
.article-header {
    background: linear-gradient(135deg, #1a253a 0%, #020A1E 100%);
    padding: 6rem 0 3rem;
    color: white;
}

.article-header h1 {
    max-width: 800px;
    margin: 1rem auto 0;
    color: white;
}

/* --- ARTICLE HERO --- */
.article-hero {
    background: #f8f9fa;
    padding: 3rem 0;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.article-hero-card {
    background: linear-gradient(135deg, #1a253a 0%, #020A1E 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    color: white;
    display: inline-block;
    min-width: 300px;
    max-width: 100%;
}

.article-hero-content {
    background: linear-gradient(135deg, #1a253a 0%, #020A1E 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    color: white;
    display: inline-block;
    min-width: 300px;
    max-width: 100%;
}

.article-hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.article-hero h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.article-hero-content i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    display: block;
}

.article-hero-content h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

/* --- ARTICLE CONTENT --- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content strong {
    color: var(--dark-blue);
    font-weight: 700;
}

.article-content em {
    font-style: italic;
    color: var(--text-light);
}

/* --- ARTICLE CONTAINER (2 colonnes) --- */
.article-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-main {
    min-width: 0;
}

/* --- ARTICLE HEADER IN MAIN --- */
.article-main .article-header {
    background: transparent;
    padding: 0;
    color: inherit;
    margin-bottom: 2rem;
}

.article-main .article-header h1 {
    color: var(--dark-blue);
    font-size: 2.2rem;
    margin: 0 0 1rem 0;
    max-width: none;
    line-height: 1.3;
}

.article-main .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-main .meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.category-badge {
    background: var(--light-bg, #f0f4f8);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* --- SHARE BUTTONS --- */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    text-decoration: none;
    color: white;
}

.share-linkedin {
    background: #0077b5;
}

.share-linkedin:hover {
    background: #005885;
}

.share-twitter {
    background: #000;
}

.share-twitter:hover {
    background: #333;
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #0d65d9;
}

.share-copy {
    background: var(--text-light);
    color: white;
}

.share-copy:hover,
.share-copy.copied {
    background: var(--primary, #2ecc71);
}

/* --- FEATURED IMAGE --- */
.featured-image {
    margin: 0 0 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- ARTICLE INTRO / CHAPÔ --- */
.article-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary, #2ecc71);
}

.article-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-blue);
}

/* --- AUTHOR BOX --- */
.author-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 3rem 0;
    border: 1px solid #e9ecef;
}

.author-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary, #2ecc71) 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.75rem;
    color: white;
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    display: block;
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin: 0.25rem 0 0.5rem;
}

.author-bio {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- INTERNAL CTA --- */
.internal-cta {
    background: linear-gradient(135deg, #1a253a 0%, #020A1E 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.internal-cta h3 {
    color: white;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.internal-cta h3 i {
    color: var(--primary, #2ecc71);
}

.internal-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.internal-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.internal-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.internal-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- SIDEBAR --- */
.article-sidebar {
    position: sticky;
    top: 7rem;
    align-self: start;
}

.sidebar-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-section h3 i {
    color: var(--primary, #2ecc71);
    font-size: 0.9rem;
}

/* --- RELATED ARTICLES --- */
.related-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles-list li {
    margin-bottom: 1rem;
}

.related-articles-list li:last-child {
    margin-bottom: 0;
}

.related-articles-list a {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.related-articles-list a:hover {
    color: var(--primary, #2ecc71);
}

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

.related-title {
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- SIDEBAR CTA --- */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary, #2ecc71) 0%, #27ae60 100%);
    color: white;
}

.sidebar-cta h3 {
    color: white;
}

.sidebar-cta h3 i {
    color: white;
}

.sidebar-cta p {
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    opacity: 0.95;
}

.sidebar-cta .btn-primary {
    background: white;
    color: var(--primary, #2ecc71);
    width: 100%;
}

.sidebar-cta .btn-primary:hover {
    background: #f8f9fa;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* --- QUICK LINKS --- */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links li:last-child {
    margin-bottom: 0;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.quick-links a:hover {
    background: white;
    color: var(--primary, #2ecc71);
}

.quick-links a i {
    width: 20px;
    text-align: center;
    color: var(--text-light);
}

.quick-links a:hover i {
    color: var(--primary, #2ecc71);
}

/* --- BREADCRUMB NAV --- */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-nav .breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb-nav .breadcrumb a:hover {
    color: var(--primary, #2ecc71);
}

.breadcrumb-nav .breadcrumb li[aria-current="page"],
.breadcrumb-nav .breadcrumb li:last-child span {
    color: var(--dark-blue);
    font-weight: 500;
}

/* --- ARTICLE FOOTER --- */
.article-footer {
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .sidebar-section {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 4rem 0 2rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-main .article-header h1 {
        font-size: 1.6rem;
    }

    .article-hero {
        padding: 2rem 0;
    }

    .article-hero-card,
    .article-hero-content {
        padding: 3rem 1.5rem;
        min-width: auto;
    }

    .article-hero-icon,
    .article-hero-content i {
        font-size: 3.5rem;
    }

    .article-hero h3,
    .article-hero-content h3 {
        font-size: 1.4rem;
    }

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

    .share-buttons {
        flex-wrap: wrap;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .internal-cta-buttons {
        flex-direction: column;
    }

    .internal-cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .article-intro {
        padding: 1.25rem 1.5rem;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav .breadcrumb {
        font-size: 0.85rem;
    }

    .article-main .article-header h1 {
        font-size: 1.4rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 1.5rem;
    }

    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .article-intro {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .internal-cta {
        padding: 1.5rem;
    }

    .internal-cta h3 {
        font-size: 1.15rem;
    }

    .sidebar-section {
        padding: 1.25rem;
    }
}
