@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ===== LAYOUT AVEC SIDEBAR ===== */
.page-avec-sidebar {
    display: flex;
    flex-direction: row;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 20px;
    margin-top: 20px;
}

/* ===== BLOC SIDEBAR ===== */
.sidebar-bloc {
    background: white;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.sidebar-titre {
    font-size: 15px;
    font-weight: 700;
    color: #F23054;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F23054;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ARTICLES ===== */
.sidebar-article {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F2F2F2;
}
.sidebar-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-article-vignette {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-article-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    display: block;
}
.sidebar-article-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-article-titre {
    font-size: 13px;
    font-weight: 600;
    color: #595959;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}
.sidebar-article-titre:hover {
    color: #F23054;
}
.sidebar-article-date {
    font-size: 11px;
    color: #118e88;
    font-weight: 500;
}

/* ===== BRÈVES ===== */
.sidebar-breve {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F2F2F2;
}
.sidebar-breve:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-breve-titre {
    font-size: 13px;
    font-weight: 600;
    color: #595959;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}
.sidebar-breve-titre:hover {
    color: #F23054;
}

/* ===== RÉSEAUX SOCIAUX ===== */
.sidebar-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.sidebar-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}
.sidebar-social-btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}
.sidebar-social-btn.facebook  { background: #1877f2; }
.sidebar-social-btn.twitter   { background: #000000; }
.sidebar-social-btn.instagram { background: #e1306c; }
.sidebar-social-btn.youtube   { background: #ff0000; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .page-avec-sidebar {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: static;
        margin-top: 0;
    }
    .sidebar-social {
        justify-content: center;
    }
}