/* ==========================================================================
   LATEST SERIES SECTION - Side by Side Layout
   ========================================================================== */

.latest-series-section {
    padding: 60px 20px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.latest-series-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Series Item - Side by Side Layout */
.latest-series-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    min-height: 400px;
}

.latest-series-item:last-child {
    margin-bottom: 0;
}

/* Image on Left, Text on Right */
.latest-series-item-left {
    flex-direction: row;
}

/* Image on Right, Text on Left */
.latest-series-item-right {
    flex-direction: row-reverse;
}

/* Image Wrapper */
.latest-series-image-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
}

.latest-series-image-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.latest-series-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-series-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(177, 141, 75, 0.4);
}

.latest-series-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-series-image-container:hover .latest-series-image {
    transform: scale(1.1);
}

.latest-series-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(234, 203, 102, 0.4) 0%, rgba(234, 232, 102, 0.2) 100%);
}

.no-image-icon {
    font-size: 80px;
    opacity: 0.6;
}

/* Type/Genre Overlay on Image */
.latest-series-type-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 3;
}

.latest-series-type-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #b18d4b 0%, #9a742d 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Release Date Overlay on Image */
.latest-series-date-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.latest-series-date-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Text Wrapper */
.latest-series-text-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.latest-series-text-content {
    width: 100%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Title */
.latest-series-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, rgba(234, 203, 102, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.latest-series-title a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.latest-series-title a:hover {
    opacity: 0.8;
}

/* Story/Description */
.latest-series-story {
    margin-bottom: 25px;
    line-height: 1.8;
}

.latest-series-story p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Cast */
.latest-series-cast {
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.latest-series-cast strong {
    color: #b18d4b;
    font-weight: 700;
}

.latest-series-cast span {
    color: rgba(255, 255, 255, 0.85);
}

/* Release Date in Text */
.latest-series-release-date {
    margin-top: 20px;
}

.latest-series-release-date .date-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #9a742d 0%, #b18d4b 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* Empty State */
.latest-series-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .latest-series-item {
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .latest-series-title {
        font-size: 36px;
    }
    
    .latest-series-text-content {
        padding: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .latest-series-section {
        padding: 40px 15px;
    }
    
    .latest-series-item {
        flex-direction: column !important;
        gap: 25px;
        margin-bottom: 50px;
        min-height: auto;
    }
    
    .latest-series-image-wrapper {
        width: 100%;
    }
    
    .latest-series-text-wrapper {
        width: 100%;
    }
    
    .latest-series-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .latest-series-story p {
        font-size: 15px;
    }
    
    .latest-series-cast {
        font-size: 15px;
    }
    
    .latest-series-text-content {
        padding: 20px;
    }
    
    .latest-series-type-overlay {
        bottom: 15px;
        left: 15px;
    }
    
    .latest-series-date-overlay {
        top: 15px;
        right: 15px;
    }
    
    .latest-series-type-badge,
    .latest-series-date-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .latest-series-section {
        padding: 30px 10px;
    }
    
    .latest-series-item {
        margin-bottom: 40px;
    }
    
    .latest-series-title {
        font-size: 24px;
    }
    
    .latest-series-text-content {
        padding: 15px;
    }
}

