.section-label {
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.featured-row {
    display: flex;
    gap: 1rem;
    padding-bottom: .5rem;
    margin-bottom: 2.5rem;
}

.video-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 8px rgba(0, 0, 0, .1);
    transition: transform 0.2s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}

.video-card.featured {
    width: 100%;
}

.thumb {
    position: relative;
    aspect-ratio: 16/9;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
    display: block;
}

.thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent 80%);
    /* background: linear-gradient(to top,
            rgba(0, 0, 0, .55),
            rgba(0, 0, 0, .15) 40%,
            rgba(0, 0, 0, .05)); */
}

.play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: #fff;
    z-index: 100;
}

.play svg {
    width: 3rem;
    height: 3rem;
}

.duration {
    position: absolute;
    bottom: .4rem;
    right: .4rem;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: .7rem;
    padding: .15rem .4rem;
    border-radius: 4px;
    z-index: 100;
}

.video-info {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.video-info span {
    color: #666;
    font-size: .8rem;
    line-height: 1.2rem;
    display: inline-block;
    /* font-weight: 500; */
    margin-top: 0.5rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-top: 1rem;
}


.downloads {
    margin-top: 3.5rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding-top: 1rem;
}

.download-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.tag {
    font-size: .7rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
}

.download-card p {
    font-size: .9rem;
    color: #666;
}

.download-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--main-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

.download-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.download-btn:hover {
    background: var(--main-hover-color);
    color: #fff;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    display: none;
    place-items: center;
    padding: 1rem;
    z-index: 1000;
}

.modal iframe {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .video-card.featured {
        width: calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .video-card.featured {
        width: calc(33.333% - 1rem);
    }
}