.bg-gradient-overlay {
    background: linear-gradient(to bottom, rgba(22, 28, 45, 0.4) 0%, rgba(22, 28, 45, 0.6) 0%, rgba(22, 28, 45, 0.4) 100%, rgba(22, 28, 45, 0.6) 100%);
}
.portfolio.card {
        display: flex;
        flex-direction: column;
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(0,0,0,0.06);
        transition: 0.25s ease;
        max-height: 410px;
        height: 410px;
    }

    .portfolio.card:hover {
        transform: translateY(-4px);
    }
        .card-img {
        position: relative;
        width: 100%;
        height: 230px; /* desktop */
        overflow: hidden;
    }
    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .card:hover .card-img img {
        transform: scale(1.05);
    }
    .card-overlay {
        background: rgba(0,0,0,0.25);
        transition: 0.3s ease;
    }

    .card:hover .card-overlay {
        background: rgba(0,0,0,0.4);
    }
    .spacing {
        padding: 20px;
    }
    .card .content {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex-grow: 1;
    }

    .tns-controls button[data-controls="prev"], .tns-controls button[data-controls="next"] {
        top: 50%;
        transform: translateY(0%);
    }

    /* Title fixed height */
    .card .title {
        font-size: 16px !important;
        font-weight: 600;
        line-height: 1.4;
        min-height: 42px;
        margin-bottom: 6px;
    }

    .event-meta {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
        color: #6B7280;
    }
    .event-meta li{
        display: flex;
        align-items: baseline;
    }

    .event-meta i {
        min-width: 16px;
        color: #0d6efd;
        margin-top: 2px;
    }
    .tobii__counter {
        background-color: var(--counter-background);
        color: var(--counter-color);
        font-size: 1.11111em;
        left: 1em;
        line-height: 1;
        position: absolute;
        z-index: 1;
        top: auto;
        bottom: 1em;
        left: 50%;
        transform: translateX(-50%);
    }
    /* Parent slider wrapper must be relative */
.tiny-single-item-image-gallery {
    position: relative;
}

/* Nav wrapper */
.tns-nav {
    position: absolute;
    bottom: -31px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 0px;
    z-index: 10;
    width: 100%;
}
.tns-horizontal.tns-subpixel>.tns-item{
    height: 230px;
}

/* Dot */
.tns-nav button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active dot */
.tns-nav .tns-nav-active {
    border-radius: 20px;
    background: #ffffff;
}

    @media (max-width: 768px) {
        .portfolio.card {
            height: auto;
    }
        .card-img {
            height: 200px;
        }
        .card .title {
            font-size: 14px;
            min-height: max-content;
        }

    }

    @media (max-width: 480px) {
        .card-img {
            height: 180px;
        }
    }
    @media (max-width: 576px) {
        .event-meta {
            flex-direction: column;
            gap: 4px;
        }
    }