.codento-videos {
    max-width: 1300px;
    margin: 40px auto;
}
.codento-videos .heading {
    text-wrap: balance;
}
.codento-videos-wrapper {
    padding: 20px;
}
.codento-video-grid {
    display: grid;
    gap: 30px;
}
.codento-video-grid img {
    aspect-ratio: 16/9;
    display: block;
}
.codento-video-grid a,
.codento-video-grid a:hover,
.codento-video-grid a:focus {
    color: var(--e-global-color-text);
    position: relative;
}
.codento-video-grid .video-info {
    background: var(--e-global-color-primary);
    color: #fff;
    border-radius: 20px;
    padding: 5px 13px;
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    font-weight: bold;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.codento-video-grid .video-info span {
    text-wrap: nowrap;
}
.video-info svg {
    height: 11px;
}
.codento-video-grid h3 {
    font-size: clamp(1.4rem, 0.5rem + 3vw, 1.7rem);
    margin-top: 10px;
}
.codento-video-grid article {
    
}
.codento-video-grid .video-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.2)
}
.codento-video-grid .video-poster:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(360deg, #1D1433 0%, rgba(42, 29, 75, 0.769117) 27.68%, rgba(87, 60, 153, 0) 51.73%);
    bottom: 0;
    
}
.codento-video-grid .video-coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translatey(-50%) translatex(-50%);
    width: fit-content;
    border-radius: 20px;
    text-align: center;
    color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
    padding: 4px 12px 4px 4px;
    z-index: 1;
    font-weight: bold;
    display: flex;
    gap: 5px;
    align-items: center;
}
.codento-video-grid .subheading {
    margin-top: 15px;
}
.codento-video-grid .video-poster:has(.video-coming-soon):after {
    background: #1D1433;
    opacity: 0.8;
}
.codento-video-grid article h3 {
    margin-bottom: 10px;
}
.codento-video-grid article p {
    margin-bottom: 0;
    margin-top: 10px;
}
.codento-video-grid .tagline {
    text-transform: uppercase;
    color: var(--e-global-color-primary);
    font-weight: bold;
}
@media screen and (min-width: 768px) {
    .codento-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}
@media screen and (min-width: 1200px) {
    .codento-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .codento-video-grid article:first-child {
        grid-column: 1 / -2;
    }
    .codento-video-grid article:first-child .video-wrapper {
        position: relative;
        
    }

    .codento-video-grid article:first-child .subheading {
        position: absolute;
        bottom: 5px;
        left: 14px;
        right: 14px;
        color: #fff;
        margin-bottom: 0;
        
    }
    .codento-video-grid article:first-child h3 {
        font-size: clamp(1.7rem, 0.5rem + 4vw, 2.625rem);
    }
}