/* TBC Work Section Styles */
.bsb-tbc-work-section {
    position: relative;
    width: 100vw;
    background-color: var(--bsb-color-bg);
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.bsb-tbc-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0;
}

.bsb-tbc-work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bsb-color-bg);
    aspect-ratio: 1 / 1.2;
    text-decoration: none;
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

.bsb-tbc-work-bg {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    z-index: 1;
}

.bsb-tbc-work-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
}

.bsb-tbc-work-item:hover .bsb-tbc-work-bg img {
    transform: scale(1.06);
}

.bsb-tbc-work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    transition: background 0.6s ease;
}

.bsb-tbc-work-item:hover .bsb-tbc-work-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.bsb-tbc-work-content {
    position: relative;
    z-index: 3;
    pointer-events: none;
    max-width: 260px;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.bsb-tbc-work-title {
    font-family: var(--bsb-font-display);
    font-size: 1.875rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bsb-tbc-work-item:hover .bsb-tbc-work-title {
    color: var(--theme-pink);
}

@media (max-width: 1024px) {
    .bsb-tbc-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bsb-tbc-work-grid {
        grid-template-columns: 1fr;
    }

    .bsb-tbc-work-overlay {
        padding: 1.5rem;
    }
}