/* ==========================================================
   Video tiles section — used on homepage + videos.php
   ========================================================== */

.lp-video-tile {
    display: block;
    color: inherit;
}

.lp-video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.lp-video-thumb img {
    object-fit: cover;
    transition: transform .2s ease;
}

.lp-video-tile:hover .lp-video-thumb img {
    transform: scale(1.04);
}

.lp-video-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
}

.lp-video-thumb-fallback.lp-fb {
    background: linear-gradient(135deg, #1877f2, #0d5fce);
}

.lp-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    opacity: .85;
    pointer-events: none;
}

.lp-platform-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #fff;
}

.lp-badge-youtube {
    background: #ff0000;
}

.lp-badge-facebook {
    background: #1877f2;
}

.lp-video-title {
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--lp-text, #212529);
}