.videos .videos-container
{
    max-width: 100%;
    margin: 0 auto;
}

.videos .videos-container h2
{
    margin-bottom: 12px;
}

.videos .videos-container > p
{
    margin-bottom: 45px;
    font-size: 14px;
    padding: 5px 0 0 0;
}

.videos .videos-search
{
    position: relative;
    margin-bottom: 40px;
    max-width: 600px;
}

.videos .videos-search input
{
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #A3A3A3;
    border-radius: 6px;
    font-size: 16px;
    height: 48px;
}

.videos .videos-search button
{
    position: absolute;
    right: 20px;
    top: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    height: 24px;
    width: 24px;
}

.videos .videos-search .search-icon
{
    display: block;
    width: 22px;
    height: 22px;
    background: url(/images/menu-search-news.svg) center center no-repeat;
    background-size: 22px;
    cursor: pointer;
}

.videos .videos-search.has-text .search-icon
{
    background-image: url(/images/generic-cross-close-dark.svg);
    background-size: 16px;
}

.videos .videos-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.videos .videos-grid .video-card
{
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.videos .videos-grid .video-card:hover
{
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.videos .videos-grid .video-thumb
{
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.videos .videos-grid .video-thumb img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease-out;
}

.videos .videos-grid .video-card:hover .video-thumb img
{
    transform: scale(1.04);
}

.videos .videos-grid .play-overlay
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    transition: background-color 0.15s ease-out, transform 0.15s ease-out;
    pointer-events: none;
}

.videos .videos-grid .play-overlay::after
{
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.videos .videos-grid .video-card:hover .play-overlay
{
    background: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.05);
}

.videos .videos-grid .video-title
{
    display: block;
    margin-top: 10px;
    padding: 0 2px;
    font-size: 15px;
    line-height: 1.3;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.videos .no-results-message > p
{
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto';
}

.videos .videos-contact
{
    background: #f7f7f7;
    padding: 40px;
    border-radius: 6px;
    text-align: center;
    margin-top: 60px;
    border: 1px solid #eee;
}

.videos .videos-contact h3
{
    margin-bottom: 15px;
}

.videos .videos-contact p
{
    margin-bottom: 20px;
}

@media (max-width: 1019px)
{
    .videos .videos-container
    {
        padding: 0;
    }

    .videos .videos-container h2
    {
        margin-bottom: 15px;
    }

    .videos .videos-search
    {
        margin-bottom: 30px;
    }

    .videos .videos-search input
    {
        font-size: 15px;
        height: 44px;
    }

    .videos .videos-grid
    {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .videos .videos-grid .play-overlay
    {
        width: 44px;
        height: 44px;
    }

    .videos .videos-grid .play-overlay::after
    {
        border-left-width: 12px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

    .videos .videos-grid .video-title
    {
        font-size: 14px;
    }

    .videos .videos-contact
    {
        padding: 35px 25px;
        margin-top: 40px;
    }

    .videos .videos-contact h3
    {
        margin-bottom: 10px;
    }
}
