/* --- CONFIGURATION GÉNÉRALE --- */
.fiche-glanerie {
    --primary: #386db5;   /* Bleu */
    --secondary: #62bc46; /* Vert */
    --warning: #f1c40f;   /* Jaune (Repas) */
    --danger: #e74c3c;    /* Rouge (Registres) */
    --text: #2c3e50;
    --bg-light: #f9f9f9;
    --border: #d1d8e0;
    
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    max-width: 850px;
    margin: 20px auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    background-color: #ffffff;
    line-height: 1.5;
}

/* --- EN-TÊTE --- */
.fiche-glanerie .header {
    background-color: var(--primary);
    color: #ffffff;
    padding: 25px;
    text-align: center;
    border-bottom: 4px solid var(--secondary);
}

.fiche-glanerie .header h2 {
    margin: 0;
    font-size: 1.5em;
    text-transform: uppercase;
}

/* --- CORPS DE LA FICHE --- */
.fiche-glanerie .content {
    padding: 30px;
}

.fiche-glanerie h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 8px;
    margin-top: 25px;
    font-size: 1.2em;
}

/* --- BLOCS D'ALERTES (MODULABLES) --- */
.fiche-glanerie .alert-box {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    border-left: 5px solid;
}

/* Classe pour les registres (Rouge) */
.fiche-glanerie .alert-danger {
    background-color: #fff5f5;
    border-color: var(--danger);
}

/* Classe pour les repas/horaires (Jaune) */
.fiche-glanerie .alert-warning {
    background-color: #fff9db;
    border-color: var(--warning);
}

/* --- MISE EN PAGE --- */
.fiche-glanerie .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.fiche-glanerie .card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* --- LIENS ET BOUTONS --- */
.fiche-glanerie .link-wrapper {
    background: #f0f7ee; /* Teinte verte */
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--secondary);
    margin: 10px 0;
}

/* Variante bleue pour les liens externes (Traiteur) */
.fiche-glanerie .link-external {
    background: #ebf3fb;
    border-color: var(--primary);
}

.fiche-glanerie a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
    word-break: break-all;
}

.fiche-glanerie a:hover {
    text-decoration: underline;
}

/* --- BAS DE PAGE --- */
.fiche-glanerie .footer {
    background-color: var(--bg-light);
    padding: 15px;
    text-align: center;
    font-size: 0.85em;
    color: #7f8c8d;
    border-top: 1px solid var(--border);
}
p, img {
margin-top: 10px
}

p a {
text-decoration: none;
color: #62bc46;
cursor: pointer;
}

.rem {
border: 1px dashed;
font-style:italic;
padding: 8px;
border-radius:8px;
}