/* =========================================
   Multimedia Page Styles
========================================= */
.cn-multimedia-wrapper {
    background: #f7f9fc; /* Light background for the whole page */
    padding-bottom: 60px;
    font-family: inherit;
}

/* --- Hero Section --- */
.cn-mm-hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
}
.cn-hero-swiper {
    width: 100%;
    height: 100%;
}
.cn-mm-hero {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}
.cn-mm-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to left, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 1;
}
.cn-mm-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.cn-mm-hero-badge {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}
.cn-mm-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
    max-width: 600px;
}
.cn-mm-hero-excerpt {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.6;
}
.cn-mm-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.cn-mm-hero-btn:hover {
    background: #fff;
    color: #0a192f;
}
.cn-mm-hero-play-icon {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s;
    text-decoration: none;
}
.cn-mm-hero-play-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}
.cn-mm-hero-duration {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.cn-hero-pagination {
    bottom: 15px !important;
}
.cn-hero-pagination .swiper-pagination-bullet {
    background: transparent;
    border: 2px solid #fff;
    opacity: 0.5;
    width: 10px; height: 10px;
}
.cn-hero-pagination .swiper-pagination-bullet-active {
    background: #d32f2f;
    border-color: #d32f2f;
    opacity: 1;
}

/* --- Lists Section --- */
.cn-mm-lists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.cn-mm-section {
    margin-bottom: 60px;
}
.cn-mm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}
.cn-mm-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cn-mm-section-title i {
    color: #d32f2f;
    font-size: 24px;
}
.cn-mm-section-title h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: #111;
}
.cn-mm-view-all {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}
.cn-mm-view-all:hover {
    color: #d32f2f;
}

/* --- Swiper Wrapper & Navigation --- */
.cn-mm-slider-wrapper {
    position: relative;
    padding: 10px 0;
}
.cn-mm-slider-wrapper .swiper-button-next,
.cn-mm-slider-wrapper .swiper-button-prev {
    background: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #555;
}
.cn-mm-slider-wrapper .swiper-button-next:after,
.cn-mm-slider-wrapper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}
.cn-mm-slider-wrapper .swiper-button-next {
    right: -20px;
}
.cn-mm-slider-wrapper .swiper-button-prev {
    left: -20px;
}
.cn-mm-slider-wrapper .swiper-button-next:hover,
.cn-mm-slider-wrapper .swiper-button-prev:hover {
    color: #d32f2f;
}

/* --- Cards General --- */
.cn-mm-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.cn-mm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.cn-mm-card-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #eee;
    overflow: hidden;
}
.cn-mm-card-img img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.cn-mm-card:hover .cn-mm-card-img img {
    transform: scale(1.05);
}
.cn-mm-card-badge-bl {
    position: absolute;
    bottom: 8px; left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cn-mm-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.cn-mm-card-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cn-mm-card-excerpt {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}
.cn-mm-card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

/* --- Specific Card Types --- */

/* Video */
.cn-mm-card-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    backdrop-filter: blur(4px);
}
.cn-mm-card:hover .cn-mm-card-play-icon {
    background: rgba(255,255,255,0.4);
}

/* Podcast */
.cn-mm-card-podcast .cn-mm-card-img {
    padding-top: 100%; /* 1:1 Aspect Ratio for podcasts */
    border-radius: 12px;
    margin: 15px;
    width: calc(100% - 30px);
}
.cn-mm-card-wave {
    padding: 0 15px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.cn-wave-bars {
    flex-grow: 1;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}
.cn-wave-bars span {
    width: 3px;
    background: #e0e0e0;
    border-radius: 3px;
}
/* Generate random heights for aesthetic */
.cn-wave-bars span:nth-child(2n) { height: 15px; }
.cn-wave-bars span:nth-child(3n) { height: 25px; }
.cn-wave-bars span:nth-child(5n) { height: 10px; }
.cn-wave-bars span:nth-child(7n) { height: 30px; }

.cn-mm-card:hover .cn-wave-bars span {
    background: #d32f2f;
    animation: wave 1s infinite alternate;
}
@keyframes wave {
    0% { height: 10px; }
    100% { height: 30px; }
}
.cn-mm-card-play-icon-pod {
    width: 30px; height: 30px;
    background: #0a192f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .cn-mm-hero-title { font-size: 28px; }
    .cn-mm-hero-play-icon { left: 50%; top: 30%; }
}
@media (max-width: 768px) {
    .cn-mm-slider-wrapper .swiper-button-next,
    .cn-mm-slider-wrapper .swiper-button-prev {
        display: none; /* Hide arrows on mobile, rely on swipe */
    }
}
