

/* Start:/local/components/api/video.catalog/templates/v2/style.css?17774132297681*/
.agr-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    container-type: inline-size;
}

.agr-video-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.agr-video-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .11);
    text-decoration: none;
}

.agr-video-card__preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eef2f7;
    overflow: hidden;
}

.agr-video-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.agr-video-card:hover .agr-video-card__preview img {
    transform: scale(1.04);
}

.agr-video-card__preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(17, 24, 39, 0) 35%,
            rgba(17, 24, 39, .28) 100%
    );
    pointer-events: none;
}

.agr-video-card__play {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(17, 24, 39, .82);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .22);
}

.agr-video-card__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
}

.agr-video-card__title {
    display: block;
    flex: 1 1 auto;
    padding: 13px 14px 15px;
    color: #111827;
    text-decoration: none;
}

.agr-video-card__title-text {
    --video-title-size: 15px;
    --video-title-line-height: 1.38;
    --video-title-lines: 3;

    display: -webkit-box;
    height: calc(var(--video-title-size) * var(--video-title-line-height) * var(--video-title-lines));
    color: inherit;
    font-size: var(--video-title-size);
    line-height: var(--video-title-line-height);
    font-weight: 800;
    text-decoration: none;

    -webkit-line-clamp: var(--video-title-lines);
    line-clamp: var(--video-title-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agr-video-card:hover .agr-video-card__title {
    color: #1f5fa8;
}

@container (max-width: 760px) {
    .agr-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@container (max-width: 460px) {
    .agr-video-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .agr-video-card {
        border-radius: 16px;
    }

    .agr-video-card__play {
        width: 40px;
        height: 40px;
        left: 11px;
        bottom: 11px;
    }
}

@media (max-width: 820px) {
    .agr-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .agr-video-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .agr-video-card {
        border-radius: 16px;
    }

    .agr-video-card__play {
        width: 40px;
        height: 40px;
        left: 11px;
        bottom: 11px;
    }
}

.video-public-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.video-public-wrap,
.video-public-wrap * {
    box-sizing: border-box;
}

.video-public-wrap h1 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.video-public_box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #eef2f7;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.video-public_box iframe,
.video-public_box video,
.video-public_box object,
.video-public_box embed {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.video-public_img {
    position: relative;
    width: 100%;
    height: 100%;
    background: #eef2f7;
}

.video-public_img a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.video-public_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.video-public_img a:hover img {
    transform: scale(1.025);
}

.video-public_img a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(17, 24, 39, 0) 30%,
            rgba(17, 24, 39, .34) 100%
    );
    pointer-events: none;
}

.video-public_img a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(17, 24, 39, .84);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .28);
    transform: translate(-50%, -50%);
}

.video-public_img::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #fff;
    pointer-events: none;
}

.video-public_box .warn2 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
    text-align: center;
}

.video-public_txt {
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.video-public_author {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.video-public_author a {
    color: #1f5fa8;
    font-weight: 900;
    text-decoration: none;
}

.video-public_author a:hover {
    color: #174a84;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .video-public-wrap h1 {
        margin-bottom: 14px;
        font-size: 24px;
        line-height: 1.25;
    }

    .video-public_box {
        border-radius: 16px;
    }

    .video-public_txt {
        margin-top: 12px;
        padding: 14px;
        border-radius: 16px;
    }

    .video-public_author {
        font-size: 14px;
    }

    .video-public_img a::before {
        width: 62px;
        height: 62px;
    }

    .video-public_img::before {
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 18px;
    }
}

@media (max-width: 420px) {
    .video-public-wrap h1 {
        font-size: 22px;
    }

    .video-public_box {
        border-radius: 14px;
    }

    .video-public_txt {
        border-radius: 14px;
    }
}
/* End */
/* /local/components/api/video.catalog/templates/v2/style.css?17774132297681 */
