/* QR YouTube Portada - frontend */
.qrytp-video,
.qrytp-video * {
    box-sizing: border-box;
}

.qrytp-video {
    width: 100%;
    margin: 0 0 24px;
    color: inherit;
}

.qrytp-title {
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 10px;
}

.qrytp-description {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 10px 0 0;
    opacity: 0.82;
}

.qrytp-frame-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #111;
}

.qrytp-ratio-16-9 .qrytp-frame-wrap { padding-top: 56.25%; }
.qrytp-ratio-9-16 .qrytp-frame-wrap { padding-top: 177.7778%; }
.qrytp-ratio-4-3 .qrytp-frame-wrap { padding-top: 75%; }
.qrytp-ratio-1-1 .qrytp-frame-wrap { padding-top: 100%; }

.qrytp-frame-wrap iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    display: block !important;
}

.qrytp-rounded .qrytp-frame-wrap,
.qrytp-rounded .qrytp-frame-wrap iframe {
    border-radius: 14px;
}

.qrytp-shadow .qrytp-frame-wrap {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.qrytp-list {
    display: grid;
    gap: 22px;
    width: 100%;
}

.qrytp-columns-1 { grid-template-columns: 1fr; }
.qrytp-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qrytp-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qrytp-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.qrytp-list .qrytp-video {
    margin-bottom: 0;
}

.qrytp-empty {
    padding: 12px 14px;
    border: 1px solid #dcdcde;
    background: #fff;
    color: #646970;
}

@media (max-width: 900px) {
    .qrytp-columns-3,
    .qrytp-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .qrytp-list,
    .qrytp-columns-2,
    .qrytp-columns-3,
    .qrytp-columns-4 {
        grid-template-columns: 1fr;
    }
}
