﻿
.activity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .activity-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 160px;
    min-height: 140px;
}

.object-fit-cover-modal {
    object-fit: cover;
    width: 100%;
    height: 160px;
    min-height: 140px;
}

.activity-title-scroll {
    max-height: 90px; /* Adjust based on how many lines you want visible */
    overflow-y: auto;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    scrollbar-width: thin;
    scrollbar-color: #aaa transparent;
}

    /* Optional: Better scrollbar for Webkit */
    .activity-title-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .activity-title-scroll::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 4px;
    }

    .activity-title-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

.HeaderPadding {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 50px;
}

.HeaderLineMargins {
    margin-top: 0px;
    margin-bottom: -5px;
}
