﻿/* On s’appuie sur les styles globaux (title, a, etc.) définis dans site.css */

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

/* Colonne */
.download-col {
    background: var(--backgroundBoutonMenuDashboard);
    border: var(--border);
    border-radius: 12px;
    padding: 22px;
    /*box-shadow: 0 0 12px var(--shadowBorderColor);*/
}

/* Carte cliquable (download latest) */
.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
    border-radius: 12px;
    background: var(--backgroundBoutonMenuDashboard);
    border: 1px solid rgba(255,255,255,.10);
    border-color: var(--color2);
    text-decoration: none;
    color: var(--fg);
    transition: transform .06s ease, box-shadow .2s ease, border-color .2s ease;
}

    .download-card:hover {
        transform: translateY(-1px);
        border-color: var(--color1);
        box-shadow: 0 0 18px var(--shadowHoverColor);
        text-decoration: none; /* évite l’underline global */
    }

    /* Image robot */
    .download-card img {
        width: 86px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Icone robot (Lucide SVG) */
    .download-card .robot-ico {
        width: 86px;
        height: 86px;
        display: block;
        margin: 0 auto;
    }

/* Titres/infos */
.robot-name {
    font-family: var(--titrePolice);
    font-weight: 800;
    font-size: 18px;
    text-align: center;
}

.robot-meta {
    opacity: .85;
    font-size: 14px;
}

/* Texte + lien doc */
.robot-desc {
    margin: 14px 0 0 0;
    text-align: center;
    color: var(--footer);
    line-height: 1.5;
}

    .robot-desc a {
        margin-left: 6px;
        color: var(--color2);
        text-decoration: none;
        border-bottom: var(--headerBorderBottomLink);
    }

        .robot-desc a:hover {
            border-color: var(--headerBorderBottomLinkHover);
            text-decoration: none;
        }

/* Changelog */
.changelogs {
    margin-top: 18px;
    text-align: left;
}

/* Une entrée de changelog */
.changelog {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--lineColor);
}

/* Header version + date */
.changelog-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

/* Lien version */
.version-link {
    font-weight: 800;
    color: var(--color2);
    text-decoration: none;
    border-bottom: var(--headerBorderBottomLink);
}

    .version-link:hover {
        border-color: var(--headerBorderBottomLinkHover);
        text-decoration: none;
    }

/* Date */
.date {
    opacity: .75;
    font-size: 13px;
    color: var(--footer);
    white-space: nowrap;
}

/* Liste bullets propre */
.changelog-list {
    margin: 0;
    padding-left: 18px; /* indentation bullets */
    list-style: disc;
}

    .changelog-list li {
        margin: 6px 0;
        color: var(--fg);
        line-height: 1.45;
    }

/* Fallback si jamais pas de bullets */
.changelog-body {
    color: var(--fg);
    line-height: 1.5;
    opacity: .95;
}
