/* header 占位 */
.media-header-placeholder {
    width: 100%;
    height: 80px;
    background: #000000;
}

/* 首屏 */
.media-hero-section {
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;
}

.media-hero-bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.media-hero-mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.55) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.media-hero-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1200px, 100%);
    padding: 0 24px;
    text-align: center;
    z-index: 2;
}

.media-hero-title {
    margin: 0;
    color: #ffffff;
    font-family: "ChuangkitSuper-Bold", "Microsoft YaHei", sans-serif;
    font-size: clamp(52px, 4.2vw, 72px);
    line-height: 1.06;
    letter-spacing: 2px;
}

/* 新闻列表 */
.media-news-section {
    background: #111319;
    padding: 42px 0 46px;
}

.media-news-shell {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.media-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 18px;
}

.media-news-card {
    cursor: pointer;
    background: #191c24;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.media-news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.media-news-card:hover .media-news-image {
    filter: brightness(1.05);
}

.media-news-image {
    width: 100%;
    aspect-ratio: 1.36 / 1;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.media-news-info {
    min-height: 96px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-family: "Source Han Sans SC-Regular", "Microsoft YaHei", sans-serif;
    background: #1f222b;
    transition: background-color 0.28s ease, color 0.28s ease;
}

.media-news-date {
    color: #ffffff;
    text-align: center;
    line-height: 1.15;
    width: 74px;
    flex-shrink: 0;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    transition: color 0.28s ease, border-color 0.28s ease;
}

.media-news-date-day {
    display: block;
    font-size: 24px;
    font-weight: 400;
    white-space: nowrap;
}

.media-news-date-year {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.media-news-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.45;
    padding-left: 16px;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.28s ease;
}

.media-news-card:hover .media-news-info {
    background: #ffffff;
}

.media-news-card:hover .media-news-date {
    color: #1f2126;
    border-right-color: rgba(31, 33, 38, 0.24);
}

.media-news-card:hover .media-news-title {
    color: #1f2126;
}

.media-news-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-family: "Source Han Sans SC-Regular", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
}

.media-news-pagination a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.media-news-pagination a.is-active {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.media-news-pagination a.is-active:hover {
    color: #ffffff;
}

.media-news-pagination a.is-disabled {
    color: rgba(255, 255, 255, 0.36);
    cursor: not-allowed;
    pointer-events: none;
}

.media-news-pagination span {
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
    .media-header-placeholder {
        height: 60px;
    }

    .media-hero-section {
        height: 50vh;
        min-height: 240px;
        max-height: 380px;
    }

    .media-hero-content {
        padding: 0 14px;
    }

    .media-hero-title {
        font-size: clamp(34px, 11vw, 52px);
        letter-spacing: 1px;
    }

    .media-news-section {
        padding: 24px 0 28px;
    }

    .media-news-shell {
        padding: 0 14px;
    }

    .media-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .media-news-info {
        min-height: 74px;
        padding: 10px;
    }

    .media-news-date {
        width: 58px;
        padding-right: 10px;
    }

    .media-news-title {
        padding-left: 10px;
    }

    .media-news-date-day {
        font-size: 18px;
    }

    .media-news-date-year {
        margin-top: 6px;
        font-size: 12px;
    }

    .media-news-title {
        font-size: 13px;
        line-height: 1.4;
    }

    .media-news-pagination {
        margin-top: 24px;
        gap: 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .media-hero-section {
        min-height: 210px;
        max-height: 300px;
    }

    .media-hero-title {
        font-size: clamp(30px, 12.4vw, 44px);
    }

    .media-news-grid {
        grid-template-columns: 1fr;
    }
}
