.qing-tf {
    width: 100%;
}

.qing-tf__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .qing-tf__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Video Card */
.qing-tf__video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.qing-tf__video-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.qing-tf__video:hover .qing-tf__video-img {
    transform: scale(1.08);
}

.qing-tf__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

.qing-tf__badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background-color: #196eca;
    color: #ffffff;
    z-index: 2;
}

/* Play Button with ripple */
.qing-tf__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: rgba(25, 110, 202, 0.95);
    color: #ffffff;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 2;
    border: none;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.qing-tf__play::before,
.qing-tf__play::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(25, 110, 202, 0.7);
    animation: qing-tf-ripple 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.qing-tf__play::after {
    animation-delay: 1.25s;
}

@keyframes qing-tf-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.qing-tf__video:hover .qing-tf__play {
    background-color: #ffffff;
    color: #196eca;
    transform: translate(-50%, -50%) scale(1.15);
}

.qing-tf__play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.qing-tf__video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.qing-tf__video-cat {
    font-size: 0.75rem;
    font-weight: 500;
    color: #196eca;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.qing-tf__video-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .qing-tf__video-title {
        font-size: 1.875rem;
    }
}

/* Right Content */
.qing-tf__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qing-tf__subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #196eca;
    margin-bottom: 0.75rem;
}

.qing-tf__heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1d2f;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .qing-tf__heading {
        font-size: 1.875rem;
    }
}

.qing-tf__desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Features List */
.qing-tf__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qing-tf__feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.qing-tf__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #196eca;
    color: #196eca;
}

.qing-tf__feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.qing-tf__feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qing-tf__feature-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f1d2f;
}

.qing-tf__feature-desc {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Mobile: hide video info text */
@media (max-width: 639px) {
    .qing-tf__video-info {
        display: none;
    }

    .qing-tf__badge {
        display: none;
    }

    .qing-tf__heading {
        font-size: 1.25rem;
    }
}

/* Lightbox */
.qing-tf__lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.qing-tf__lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.qing-tf__lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.qing-tf__lightbox-close:hover {
    color: #ffffff;
}

.qing-tf__lightbox-close svg {
    width: 24px;
    height: 24px;
}

.qing-tf__lightbox-content {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.qing-tf__lightbox-iframe {
    width: 100%;
    height: 100%;
    display: block;
}
