.hc-video-cats a {
    font-weight: 500;
    padding: 6px 28px;
    background: #f6f8fa;
    color: #1576d1;
    border-radius: 22px;
    font-size: 18px;
    text-decoration: none;
    transition: all .15s;
    border: 1px solid #e0e8f1;
}

.hc-video-cats a.active,
.hc-video-cats a:hover {
    background: #1576d1;
    color: #fff;
    border-color: #1576d1;
}

.hc-video-board {
    width: 100%;
    margin: 40px 0;
}

.hc-video-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.hc-video-cats {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 0 0 35px 0;
}

.hc-video-empty {
    grid-column: 1/-1;
    text-align: center;
    color: #888;
    font-size: 18px;
    padding: 80px 0 100px 0;
    width: 100%;
}

.hc-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px 38px;
}

.video-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.09);
    padding: 18px 16px 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
}

.video-thumb {
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 12px;
    width: 100%;
    min-width: 0;
}

.video-thumb iframe,
.video-thumb video {
    width: 100% !important;
    height: 220px;
    border-radius: 12px;
    display: block;
    background: #000;
    margin: 0 auto;
}

.video-title {
    font-weight: bold;
    font-size: 1.08em;
    margin-bottom: 4px;
    margin-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.video-desc {
    font-size: .97em;
    color: #555;
    min-height: 38px;
}

@media (max-width: 1100px) {
    .hc-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hc-video-pagination {
    margin: 40px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
}

.hc-page-num {
    display: inline-block;
    min-width: 38px;
    margin: 0 2px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #f4f4f7;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: background 0.13s;
    text-align: center;
    box-sizing: border-box;
}

.hc-page-num.active,
.hc-page-num:hover {
    background: #0073aa;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.hc-page-arrow {
    font-size: 22px;
    padding: 8px 10px;
}

.hc-page-dot {
    display: inline-block;
    min-width: 18px;
    text-align: center;
    color: #888;
    font-size: 19px;
    user-select: none;
}

.hc-page-num.disabled {
    background: #e2e5e9;
    color: #b4b6b9;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 700px) {
    .hc-video-grid {
        grid-template-columns: 1fr;
    }

    .hc-video-board {
        padding: 0 2vw;
    }

    .video-thumb iframe,
    .video-thumb video {
        height: 160px;
    }
}

.hc-video-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-video-modal-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1;
}

.hc-video-modal-inner {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    padding: 34px 36px 22px 36px;
    min-width: 340px;
    max-width: 98vw;
    width: 900px;
    box-shadow: 0 8px 50px 0 rgba(0, 0, 0, 0.23);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalFadeIn .22s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hc-video-modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 2.0em;
    color: #789;
    font-weight: 400;
    cursor: pointer;
    z-index: 3;
    background: none;
    border: none;
    line-height: 1;
    outline: none;
}

.hc-video-modal-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hc-video-modal-content iframe,
.hc-video-modal-content video {
    width: 100%;
    max-width: 880px;
    aspect-ratio: 16/9;
    min-height: 320px;
    max-height: 82vh;
    border-radius: 18px;
    background: #000;
    display: block;
}

@media (max-width: 950px) {
    .hc-video-modal-inner {
        width: 98vw;
        padding: 14px 2vw 10px 2vw;
    }

    .hc-video-modal-content iframe,
    .hc-video-modal-content video {
        max-width: 98vw;
        min-height: 160px;
    }
}

@media (max-width: 600px) {

    .hc-video-modal-content iframe,
    .hc-video-modal-content video {
        min-height: 120px;
        border-radius: 8px;
    }
}

.hc-video-modal-title {
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 2px;
    text-align: center;
    width: 100%;
}

.hc-video-modal-desc {
    font-size: 1em;
    color: #555;
    text-align: center;
    width: 100%;
    white-space: pre-line;
    margin-bottom: 5px;
}

@media (max-width:700px) {
    .hc-video-modal-inner {
        width: 95vw;
        padding: 15px 2vw 10px 2vw;
    }

    .hc-video-modal-content iframe,
    .hc-video-modal-content video {
        min-height: 160px;
    }
}

.hc-video-grid .video-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.hc-video-grid .video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eaeef1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hc-video-grid .video-thumb iframe,
.hc-video-grid .video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    background: #eee;
}

.hc-video-grid .video-thumb .video-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-video-grid .video-thumb .video-play-btn svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}