/* =========================================================
   Labco Downloads — Frontend Styles
   ========================================================= */

.labco-downloads {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax( 260px, 1fr ) );
    gap: 20px;
    font-family: inherit;
}

.labco-download-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.06 );
    transition: box-shadow 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

.labco-download-card:hover {
    box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.1 );
    transform: translateY( -2px );
}

.labco-download-thumb {
    background: #f5f5f5;
    text-align: center;
    overflow: hidden;
    max-height: 200px;
}

.labco-download-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.labco-download-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    font-size: 64px;
}

.labco-download-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.labco-download-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1916;
    margin: 0;
    line-height: 1.3;
}

.labco-download-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.labco-download-btn {
    display: inline-block;
    background: #1d4723;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: background 0.15s;
    margin-top: auto;
}

.labco-download-btn:hover {
    background: #163619;
    color: #fff;
}

.labco-download-unavailable {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

@media ( max-width: 480px ) {
    .labco-downloads { grid-template-columns: 1fr; }
}
