/* ====================================================
   Mentions légales – Styles
   ==================================================== */

#ml-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 13%;
    gap: 28px;
    width: 100%;
    min-height: 80vh;
    box-sizing: border-box;
    background: #f5f7f2;
}

/* Breadcrumb */
#ariane {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
#ariane a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ariane-sep { color: #999; }
.ariane-current { font-weight: 600; color: #333; font-size: .875rem; }
#ariane a span, .ariane-current { font-size: .875rem; color: rgba(0,0,0,.6); }
#ariane a:hover span { color: #4F7F34; }
#ariane .icon { background-color: rgba(0,0,0,.5); width: 14px; height: 14px; }

/* Header */
#ml-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
}

#ml-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #4F7F34;
    margin: 0;
}

.ml-subtitle {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Body */
#ml-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 900px;
}

/* Sections */
.ml-section {
    background: #fff;
    border-radius: 10px;
    padding: 28px 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}

.ml-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d4a1e;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0de;
}

.ml-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #3a5c22;
    margin: 20px 0 8px 0;
}

.ml-section p {
    font-size: .95rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.ml-section p:last-child {
    margin-bottom: 0;
}

/* Table */
.ml-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    margin-top: 4px;
}

.ml-table th,
.ml-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #edf2e8;
    vertical-align: top;
}

.ml-table th {
    font-weight: 600;
    color: #3a5c22;
    white-space: nowrap;
    width: 220px;
    background: #f5f7f2;
}

.ml-table td {
    color: #444;
}

.ml-table td a {
    color: #4F7F34;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.ml-table td a:hover {
    text-decoration-thickness: 2px;
}

/* Lists */
.ml-list {
    padding-left: 20px;
    margin: 8px 0 10px 0;
}

.ml-list li {
    font-size: .95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 4px;
}

.ml-section a {
    color: #4F7F34;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.ml-section a:hover {
    text-decoration-thickness: 2px;
}

/* Note */
.ml-note {
    font-size: .85rem;
    color: #888;
    font-style: italic;
    margin-top: 12px;
}

/* Last update */
.ml-update {
    font-size: .85rem;
    color: #5f5f5f;
    text-align: right;
    padding-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    #ml-content {
        padding: 24px 5%;
    }

    .ml-section {
        padding: 20px 18px;
    }

    #ml-header h1 {
        font-size: 2rem;
    }

    .ml-table th {
        width: 140px;
    }
}

@media (max-width: 600px) {
    #ml-content {
        padding: 16px 4%;
    }

    #ml-header h1 {
        font-size: 1.6rem;
    }

    .ml-table,
    .ml-table thead,
    .ml-table tbody,
    .ml-table th,
    .ml-table td,
    .ml-table tr {
        display: block;
    }

    .ml-table th {
        width: 100%;
        border-bottom: none;
        padding-bottom: 2px;
    }

    .ml-table td {
        padding-top: 2px;
        padding-bottom: 10px;
    }
}
