/* ============================================
   BLOG COMMON STYLES
   Styles communs pour tout le blog
   ============================================ */

/* NOTE: Les CSS globaux sont chargés directement dans les pages HTML
   pour éviter les @import qui bloquent le rendu.
   Ce fichier contient uniquement les styles spécifiques au blog. */

/* Variables de couleurs spécifiques au blog (si besoin de surcharger) */
:root {
    --c-blue: #667eea;
    --c-purple: #764ba2;
    --c-rose: #f093fb;
}

/* Body avec background gradient pour le blog */
body {
    background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 50%, var(--c-rose) 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.8;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: rgba(30, 30, 50, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-main);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--c-rose);
    font-weight: 700;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Exclure les logos sociaux des styles généraux des widgets */
.widget .social-links-compact a,
.widget-social-compact a {
    color: transparent !important;
    text-decoration: none !important;
}

/* Protection absolue pour toutes les images dans les widgets sociaux */
.widget .social-links-compact img,
.widget-social-compact img,
.sidebar .widget .social-links-compact img,
aside .widget .social-links-compact img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget a:hover {
    color: var(--c-rose);
}

.widget-categories select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(20, 20, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

/* Note: Les styles responsive sont gérés par responsive.css */

