.sunset-card {
    width: 100%;
    height: 100%;
    border-radius: 0.9375rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
}

.aspect-4-3 {
    aspect-ratio: 4 / 2;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sunset-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.3);
}

.card-background {
    width: 100%;
    height: 100%;
    position: relative;
    inset: 0;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.875rem;
    background: linear-gradient(to top, rgb(0 0 0 / 90%), rgb(0 0 0 / 60%), #0000);
    transition: opacity 0.5s ease;
    opacity: 1;
}

.sunset-card:hover .card-overlay {
    opacity: 1;
}

.card-title-line {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.sunset-card:hover .card-title-line {
    color: yellow;
}

.card-main-title {
    color: #fff;
    font-size: 1.375rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.sunset-card:hover .card-main-title {
    font-size: 1.25rem;
    color: yellow;
}

.card-description {
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.8;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.45s ease, max-height 0.45s ease;
    margin-top: 0;
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.sunset-card:hover .card-description {
    opacity: 1;
    max-height: 20rem;
    margin-top: 0.9375rem;
    display: block;
    -webkit-line-clamp: unset;
}

@media (max-width: 767px) {
    .sunset-card:hover .card-description {
        max-height: 14rem;
    }
}