.sc-cc1c10cb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sc-cc1c10cb-card {
    display: flex;
    flex-direction: column;
    border-radius: 0; /* Kept sharp */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
}

.sc-cc1c10cb-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sc-cc1c10cb-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* Increased height to 3:4 ratio */
    overflow: hidden;
    flex-grow: 1; 
}

.sc-cc1c10cb-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.sc-cc1c10cb-card:hover .sc-cc1c10cb-img-wrap img {
    transform: scale(1.05);
}

.sc-cc1c10cb-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 115, 230, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.4s ease;
    z-index: 1;
    display: flex;
    align-items: flex-end; /* Ensures alignment to bottom */
    justify-content: flex-start; /* Ensures alignment to left */
}

.sc-cc1c10cb-hover-title-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding: 20px;
    text-align: left; 
    width: 100%;
}

.sc-cc1c10cb-hover-title {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.sc-cc1c10cb-card:hover .sc-cc1c10cb-hover-title-wrap {
    opacity: 1;
    transform: translateY(0);
}

.sc-cc1c10cb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: #f8f9fa;
    color: #333333;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
    transition: background-color 0.3s ease;
    margin-top: auto; 
}

.sc-cc1c10cb-footer-text {
    flex-grow: 1;
}

.sc-cc1c10cb-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sc-cc1c10cb-footer-icon i {
    font-size: inherit;
}
.sc-cc1c10cb-footer-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.sc-cc1c10cb-card:hover .sc-cc1c10cb-footer-icon {
    transform: translateX(6px);
}
