/* Refonte 2026 : corrections mobile et tablette, chargées après style.css */

/* Écrans tactiles : pas de survol, le nom du projet reste affiché sous la photo */
@media (hover: none), screen and (max-width: 600px) {
    .projet_img .projets_desc {
        position: static;
        opacity: 1;
        padding: 10px 0 0;
        background: none;
        display: block;
    }

    .projets_desc h2 {
        font-size: 16px!important;
        line-height: 1.2;
        margin: 0 0 2px!important;
        text-align: left;
    }

    .projets_desc div,
    .projets_desc div p {
        font-size: 13px!important;
        text-align: left!important;
        line-height: 1.4;
    }
}

/* Références : grille de 2 colonnes au lieu de 20 photos pleine page */
@media screen and (max-width: 600px) {
    div.projets_content.comlete_content {
        display: grid!important;
        grid-template-columns: 1fr 1fr;
        gap: 24px 12px;
        padding: 0 16px;
    }

    div.projets_content.comlete_content .single_projets {
        width: auto!important;
        max-width: none!important;
        margin: 0!important;
    }

    .projet_img img {
        width: 100%;
        height: auto!important;
        aspect-ratio: 299 / 386;
        object-fit: cover;
    }

    .projets_info:empty {
        display: none;
    }

    .projets_info {
        font-size: 13px;
        padding: 2px 0 0!important;
    }
}
