/* ===========================
   LEGAL.CSS
   Legal Research Hub Styling
   =========================== */

/* Legal Tools Cards */
.card-link .card {
    height: 240px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.card-link .card:hover {
    transform: scale(1.02);
    transition: 0.2s ease;
}

/* Research Updates */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.update-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    padding: 1rem;
    overflow: hidden;
}

.update-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.update-date {
    font-size: 0.9rem;
    color: #666;
}

.update-toggle {
    margin-top: 0.5rem;
    background: #005bbb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.update-full {
    display: none;
    margin-top: 1rem;
    line-height: 1.6;
}
