#rutube-video {
    width: 100%; /* Видео будет занимать 100% доступной ширины */
    max-width: 960px; /* Максимальная ширина на ПК */
    height: 540px; /* Высота видео пропорционально ширине (16:9) */
    margin: 0 auto; /* Центрирование видео */
    border-radius: 20px; /* Закругленные углы */
}

/* Для планшетов */
@media (max-width: 768px) {
    #rutube-video {
        max-width: 620px; /* Ширина на планшетах */
        height: 350px; /* Высота для планшета */
        border-radius: 20px; /* Закругленные углы */
    }
}

/* Для мобильных устройств */
@media (max-width: 480px) {
    #rutube-video {
        max-width: 300px; /* Ширина на мобильных устройствах */
        height: 170px; /* Высота для мобильных */
        border-radius: 20px; /* Закругленные углы */
    }
}

/* Tilda's 360px canvas otherwise clips content on 320px screens. */
@media (max-width: 359px) {
    #rec2440975191 .t396__artboard,
    #rec2440975191 .t396__filter,
    #rec2440975191 .t396__carrier {
        min-height: 870px !important;
        height: 870px !important;
    }

    #rec2440975191 .tn-elem[data-elem-id="1776709806528000003"],
    #rec2440975191 .tn-elem[data-elem-id="1776710316764000017"],
    #rec2440975191 .tn-elem[data-elem-id="1776709853710000011"],
    #rec2440975191 .tn-elem[data-elem-id="1776709806528000006"],
    #rec2440975191 .tn-elem[data-elem-id="1783093142053000001"],
    #rec2440975191 .tn-elem[data-elem-id="1791994561320000001"] {
        left: 8px !important;
        width: calc(100% - 16px) !important;
    }

    #rec2440975191 .tn-elem[data-elem-id="1776710316764000018"] {
        left: 32px !important;
        width: calc(100% - 40px) !important;
    }

    #rec2440975191 .tn-elem[data-elem-id="1776710316764000018"] .tn-atom {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    #rec2440975191 .tn-elem[data-elem-id="1776711555120000001"] {
        left: 10px !important;
    }

    #rec2440975191 .tn-elem[data-elem-id="1776709806528000007"],
    #rec2440975191 .tn-elem[data-elem-id="1776709987140000012"] {
        left: 8px !important;
        width: 42% !important;
    }

    #rec2440975191 .tn-elem[data-elem-id="1776710004124000013"],
    #rec2440975191 .tn-elem[data-elem-id="1776710004124000014"] {
        left: 47% !important;
        width: 50% !important;
    }
}
