/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.yt-wrapper {
    margin-top: 80px;
    margin-bottom: 80px;
}

.yt-wrapper-title {
    margin-bottom: 30px;
    font-size: 40px;
}

.yt-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.yt-video-modal-wrapper {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9;
}

.yt-video-thumb {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.yt-video-thumb:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translate(-50%, -50%);
    place-content: center;
    filter: drop-shadow(2px 4px 6px white) invert(1);
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAACmElEQVR4nO3dP4jPcRzH8WeSJBlkkEEGGWSSDDJJRskog4ySUVYZJJl0mSSTUTLKJBlk0k2XQb9BhkuSLl3X1/C7Tzmdu/t9v9/PP5/no977+/3t1V137+/38wFJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJ6mMOOJS7CeUzAZaAO8DuzL0ogwnQrdYEuJy3HaX2ZwBCvQNO5mxK6awXgA5YAZ4CB/K1phT+FYBQP4BbwM5cDSquzQIQ6hNwMVOPimirAQj1GjiWpVNFMWsAOmAZeATsy9CvRtYnAKG+ATeA7cm71miGBCDUPHAudeMaxxgBCPUSOJK2fQ01ZgA64BfwANiTcgj1N3YAQn0FrgLb0o2iPmIFINQH4HSyaTSz2AEI9Qw4mGgmzSBVADqma+fbwK4kk2lLUgYg1GfgUorhtLkcAQj1FjgRf0RtJGcAOqZr5yfA/tiDan25AxDqO3AT2BF3XP2tlACEWgAuRJ1Ya5QWgFCvgKMR59aqUgPQMV07zwF7o02vogMQahG4hmvnKGoIQKh54Gycx9CumgIQ6gVwOMbDaFGNAeiYrp3v4dp5sFoDEOoLcAXXzr3VHoBQ74FTIz+b0ZhOFav2nwD+Chio1gAsAXfxk/bBagzAc/wzcDQ1BeAjcCbOY2hXDQHwX8ERlRyAZeAhLoOiKjUAroMTKS0AC8D5qBNrjVIC4CthmeQOwArwGF8KzSZnAN4Ax+OPqI34YUjjUgbgJ34aVhw/Dm2cn4c3zgMiGhfjiJj7+K5eNTwkqnEeE9e4IQFYBK7jmrZqQ46KdU37H/Cw6MZ5XHzjvDCicV4Z0zgvjWqc18Y1zosjG+fVsZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIa9xtRmdN/Kr1hFQAAAABJRU5ErkJggg==);
    background-repeat: no-repeat;
    background-size: 75px;
    background-position: center;
    transition: 0.4s linear;
}

.yt-video-thumb img {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.yt-video {
    cursor: pointer;
}

.yt-video-modal-wrapper.show {
    display: block;
}

.yt-video-modal-wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: black;
    opacity: .5;
}

.yt-video-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1280px;
    max-width: 80%;
    aspect-ratio: 16/9;
}

.yt-video-modal iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}