#offset_first .ofltp-wrapper {
    width: 100%;
}

#offset_first .ofltp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

#offset_first .ofltp-card {
    position: relative;
    display: flex;
    align-items: flex-end;

    width: 100%;
    height: 260px;
    padding: 1rem;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    border-radius: 12px;
    text-decoration: none;
    color: #fff;

    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

#offset_first .ofltp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.15)
    );
    z-index: 1;
    transition: opacity .3s ease;
}

#offset_first .ofltp-content {
    position: relative;
    z-index: 2;
}

#offset_first .ofltp-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

#offset_first .ofltp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,.25);
}

#offset_first .ofltp-card:hover .ofltp-overlay {
    opacity: .85;
}

@media (min-width: 1024px) {
    #offset_first .ofltp-card {
        height: 275px;
    }

    #offset_first .ofltp-title {
        font-size: 1.3rem;
    }
}
