/*
 * ==========================================
 * 模块定位：UI 组件 - 海报视觉样式 (Hero Poster Styles)
 * 代码类型：CSS
 * Estimated Execution Time: < 0.1ms
 * ==========================================
 */

.mx-hero-poster {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    background-color: #444444; /* 兜底背景色 */
    overflow: hidden;
    line-height: 0;
}

.mx-hero-poster__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1600 / 533;
    object-fit: contain;
}

/* 遮罩层：提供半透明暗色背景以平衡文字对比度 */
.mx-hero-poster__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* 标题样式：自适应屏幕大小 */
.mx-hero-poster__title {
    color: #ffffff;
    font-size: clamp(24px, 4vw, 42px); /* 使用 clamp 自动流体缩放，减少媒体查询依赖 */
    font-weight: 600;
    margin: 0;
    padding: 0 30px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 移动端细微调整 */
@media (max-width: 768px) {
    .mx-hero-poster__title {
        letter-spacing: 0.5px;
    }
}