    /* --- Styles Globaux --- */
    * { box-sizing: border-box; }
    body { 
        font-family: 'Arial', Times, sans-serif; 
        margin: 0; 
        display: flex; 
        flex-direction: column; 
        min-height: 100vh;
        background-color: #f0f2f5;
    }

    /* --- Header & Navigation --- */
    header {
        background-color: #2c3e50;
        color: white;
        padding: 10px 20px;
        display: flex;
        justify-content: space-between; /* Espace entre le logo et le menu */
        align-items: center; /* Aligne verticalement le logo et les boutons */
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
	
	/* --- Layout Container --- */
    .container { display: flex; flex: 1; }

    .header-logo {
        display: flex;
        align-items: center;
        gap: 15px; /* Espace entre l'image et le texte du logo */
    }

    .header-logo img {
        height: 50px; /* Taille ajustable du logo */
        width: auto;
        border-radius: 4px;
    }

    .header-logo span {
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 1px;
		font-family: Times;
    }

    nav .menu-btn {
		font-family: Times;
        background-color: #34495e;
        color: white;
        border: none;
        padding: 10px 18px;
        margin-left: 5px;
        border-radius: 4px;
        cursor: pointer;
        transition: background 0.3s;
    }

    nav .menu-btn:hover { background-color: #3498db; }

    /* --- Layout Container --- */
    .container {
        display: flex;
        flex: 1;
    }
	
	/* --- Section Principale & Grille de Widgets --- */
    .main-content {
        flex: 1;
        padding: 30px;
        background-color: white;
    }

    /* La Grille */
    .article-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
        gap: 20px; /* Espace entre les widgets */
        margin-top: 20px;
    }
	
	.article-card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s;
    }

	.annonce-grid {
		margin-top: 20px;
	}
    .annonce-card {
		padding: 20px;
        width: 100%;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s;
		transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
	
	.annonce-body { padding: 15px; flex-grow: 1; }
	
    .article-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    
    .article-img { width: 100%; height: 150px; object-fit: cover; }
    .article-body { padding: 15px; flex-grow: 1; }
    .article-title { margin-top: 0; font-size: 1.2rem; color: #2c3e50; }
    .article-text { font-size: 14pt; color: #404040; line-height: 1.5; }
    
    .read-more {
        display: inline-block;
        margin-top: 15px;
        color: #3498db;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.85rem;
    }
    .read-more:hover { text-decoration: underline; }

    /* --- Sidebar & Widgets --- */
    .sidebar {
        width: 280px;
        background-color: #f4f4f4;
        padding: 20px;
        border-right: 1px solid #ddd;
    }

    .widget {
        background: #fdfdfd;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #eee;
        margin-bottom: 20px;
    }

    .widget-title { 
        font-size: 1.1rem; 
        margin-top: 0; 
        color: #2c3e50;
        padding: 4px 10px 4px 10px;
        margin-bottom: 15px;
		background-color: #2c3e50;;
        color: white;
		text-align: center;
    }
    
    .widget-image { width: 100%; border-radius: 4px; }

    /* --- Main Content --- */
    .main-content {
        flex: 1;
        padding: 30px;
        background-color: white;
    }

    /* --- Footer --- */
    footer {
        background-color: #404040;
        color: white;
        text-align: center;
        padding: 15px;
    }
	footer a:hover {
		color: white;
	}
	.footerlink {
		color: #e6e600;
        }

	.titleband {
		padding: 10px 10px 6px 10px;
		border:1px solid grey;
		border-radius:10px;
		background-color: #E6E6E6;
		text-align:center;
	}
	
	/* Le bandeau d'information bleu */
    .info-banner {
        display: flex;
        align-items: center;
        background: #f0f7ff;
        border: 1px solid #007bff;
        padding: 15px 8px 15px 8px;
        border-radius: 8px;
        width: 90%; /* Largeur sur ordinateur */
        margin: auto;
    }

    .info-text {
        color: #333;
        font-family: sans-serif;
        text-align: right;
        flex: 1;
    }

    /* Le conteneur du formulaire (la boîte grise) */
    .login-container {
        width: 80%; /* Largeur sur ordinateur */
        margin: 20px auto;
        border: 1px solid grey;
        border-radius: 8px;
        padding: 20px;
        background: white;
    }

    .login-box {
        width: 90%;
        margin: auto;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    /* Inputs et Boutons */
    .login-box input {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box; /* Important pour le padding */
    }

    .login-box button {
        width: 100%;
        padding: 10px;
        cursor: pointer;
    }

/*================= Responsiv divs with side image or fa-fa icon =================*/
/* Style for container */
.og-custom-card {
    display: flex;
    align-items: center;
    background: #f0f7ff;
    border: 1px solid #007bff;
    padding: 15px; /* Increased for better spacing */
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}
.og-custom-card img {
    display: block;
    width: 64px;
    height: auto;
    margin-right: 15px;
}

/* shadow for divs and pictures */
	/* Follows the outline of the image content */
	.shadow-shape { filter: drop-shadow(8px 8px 10px gray); }
	
	/* 10px right, 10px down, 5px blur, grey color */
	.shadow-box { box-shadow: 10px 10px 5px grey; }
/*
/*==================================================*/
	
    /* --- Responsive Mobile --- */
    /* --- Responsive --- */
    @media (max-width: 900px) {
        .article-grid { grid-template-columns: 1fr; } /* 1 colonne sur tablettes/mobiles */
    }

    @media (max-width: 768px) {
        header { flex-direction: column; gap: 10px; align-items: stretch;}
        .container { flex-direction: column; }
        .sidebar { width: 100%; order: 2; border-right: none; }
        .main-content { order: 1; }
    nav {
        display: flex;
        flex-direction: column; /* Empilement vertical */
        width: 100%;
    }
    nav .menu-btn {
        margin-left: 0;
        margin-bottom: 5px;
        text-align: center;
    }
	.info-banner, .login-container {
		width: 100%; /* Prend toute la largeur sur mobile */
	}
        
	.info-banner {
		flex-direction: column; /* Icône au dessus du texte sur petit mobile */
		text-align: center;
	}

	.info-text {
		min-width: 0 !important; /* On retire les contraintes de largeur */
	}
	
	.og-custom-card {
        flex-direction: column;
        text-align: center;
    }
    .og-custom-card img {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .og-custom-card div {
        text-align: center !important;
    }
}

