:root {
    --tn-carousel-gap: 10px;
    --tn-carousel-border-width: 1px;
    --tn-carousel-border-style: solid;
    --tn-carousel-border-color: rgba(255, 255, 255, 0.25);
}

.tn-carousel-d9781d5e-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tn-carousel-d9781d5e-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: var(--tn-carousel-gap, 10px);
}

.tn-carousel-d9781d5e-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 30px 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.tn-carousel-d9781d5e-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

.tn-carousel-d9781d5e-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 80%);
    pointer-events: none;
    z-index: 1;
}

.tn-carousel-d9781d5e-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 100%;
}

.tn-carousel-d9781d5e-tag {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.tn-carousel-d9781d5e-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.tn-carousel-d9781d5e-meta {
    font-size: 14px;
    color: #e2e8f0;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.tn-carousel-d9781d5e-btn {
    display: inline-block;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tn-carousel-d9781d5e-btn:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

/* Control Buttons */
.tn-carousel-d9781d5e-prev,
.tn-carousel-d9781d5e-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tn-carousel-d9781d5e-prev:hover,
.tn-carousel-d9781d5e-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.tn-carousel-d9781d5e-prev {
    left: 15px;
}

.tn-carousel-d9781d5e-next {
    right: 15px;
}

.elementor-widget-tn_projects_grid_carousel_d9781d5e {
    width: 100%;
}
