/* ========================================= 1. DOWNLOAD LIBRARY (THÆ¯ VIá»†N TÃ€I LIá»†U) ========================================= */
.doc-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--Light-Primary-50);
}
.doc-icon-box {
    width: 70px;
    height: 70px;
    background: #fff3e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--Light-Primary-50);
    font-size: 32px;
    transition: 0.3s;
}
.doc-card:hover .doc-icon-box {
    background: var(--Light-Primary-50);
    color: #fff;
}
.doc-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--Text-Color);
}
.doc-desc {
    font-size: 0.9rem;
    color: var(--Gray-Color);
    margin-bottom: 20px;
    line-height: 1.5;
}
.doc-btn {
    display: inline-block;
    padding: 8px 25px;
    border: 2px solid var(--Light-Primary-50);
    color: var(--Light-Primary-50);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}
.doc-btn:hover {
    background: var(--Light-Primary-50);
    color: #fff;
}
/* ========================================= 2. VIDEO & WEBINAR (Updated Layout) ========================================= */
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: calc(100% - 20px);
    border: 1px solid #eee;
    margin-bottom: 20px;
    cursor: pointer;
    /* BÃ¡o hiá»‡u cÃ³ thá»ƒ click */
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
/* Thumbnail Wrapper */
.video-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}
.video-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.5s;
}
.video-card:hover .video-thumb-img {
    opacity: 0.7;
    transform: scale(1.05);
}
/* NÃºt Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Light-Primary-50);
    font-size: 24px;
    padding-left: 5px;
    /* CÄƒn chá»‰nh icon play cho giá»¯a */
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.video-card:hover .video-play-btn {
    background: var(--Light-Primary-50);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}
.video-info {
    padding: 20px;
}
.video-tag {
    font-size: 0.75rem;
    color: var(--Light-Primary-50);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}
.video-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--Text-Color);
}
.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
.video-modal-close:hover {
    color: var(--Light-Primary-50);
}
.video-embed-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
    /* 16:9 */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Responsive Mobile */
.video-webinar-section {
    background-color: #ff862624;
}