/* Cartes de résultats : version mobile compacte (18/11/2026).
   Chargée après tous les styles de recherche.php. */
@media (max-width: 768px) {
    body .search-page .results-container { padding: 14px 0 !important; }
    body .search-page .offers-list { gap: 10px !important; grid-template-columns: minmax(0, 1fr) !important; }
    body .search-page .offers-list > * { min-width: 0; max-width: 100%; }
    body .offers-list article.offer-card-list {
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        max-width: 100%;
        min-width: 0;
        border-radius: 6px;
    }
    body .offers-list article.offer-card-list:hover { transform: none; }
    body .offers-list article.offer-card-list .offer-link {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
        align-items: start;
        padding: 14px 14px 12px !important;
        min-height: 0 !important;
        height: auto !important;
    }
    body .offers-list .offer-logo { width: 44px; height: 44px; margin: 0 !important; }
    body .offers-list .offer-logo img,
    body .offers-list .offer-logo .company-logo-wrapper,
    body .offers-list .offer-logo .company-logo-fallback-only {
        width: 44px !important; height: 44px !important; max-width: 44px;
    }
    body .offers-list .offer-content { gap: 6px !important; min-width: 0; }
    body .offers-list .offer-main-row { gap: 6px !important; }
    body .offers-list .offer-title-wrap {
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 4px 6px !important;
        padding-right: 34px !important;
    }
    body .offers-list .offer-card-list .offer-title {
        flex: 1 1 100% !important;
        width: 100%;
        max-width: none !important;
        font-size: 0.98rem !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal !important;
    }
    body .offers-list .offer-title-wrap .badge-inline { margin: 0 !important; }
    body .offers-list .offer-salary-badge { padding: 3px 9px !important; font-size: 0.82rem !important; }
    body .offers-list .offer-details-row { gap: 4px 10px !important; font-size: 0.82rem; }
    body .offers-list .offer-details-row .detail-company { flex-basis: 100%; }
    body .offers-list .favori-carte { top: 10px !important; right: 10px !important; }
}
