.home-media-section {
    position: relative;
    overflow: hidden;
    padding: 78px 0 84px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #eef7ff 100%);
    isolation: isolate;
}

.t-news-home-t {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-media-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 168, 249, 0.08) 1px, transparent 1px), linear-gradient(180deg, rgba(0, 168, 249, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 78%, transparent 100%);
    opacity: 0.42;
    pointer-events: none;
    z-index: 0;
}

.home-media-section:after {
    content: "";
    position: absolute;
    right: -18%;
    top: -28%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 191, 66, 0.2) 0%, rgba(246, 191, 66, 0) 66%);
    pointer-events: none;
    z-index: 0;
}

.home-media-section .grid.wide {
    position: relative;
    z-index: 1;
}

.home-media-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: 28px;
    padding: 0 10px;
}

.home-media-panel {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(0, 168, 249, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 62px rgba(13, 60, 109, 0.1);
    backdrop-filter: blur(8px);
}

.home-media-video-panel {
    background: linear-gradient(180deg, rgba(3, 42, 80, 0.96) 0%, rgba(4, 92, 169, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.home-media-block-head {
    display: block;
}

.home-media-title {
    position: relative;
    display: block;
    padding-bottom: 16px;
}

    .home-media-title span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        color: #f6bf42;
        font-family: 'monSB';
        font-size: 13px;
        line-height: 1.4;
        text-transform: uppercase;
    }

        .home-media-title span:before {
            content: "";
            width: 30px;
            height: 2px;
            border-radius: 8px;
            background: #f6bf42;
        }

    .home-media-title h4 {
        margin: 0;
        color: #07305d;
        font-family: 'MonEB';
        font-size: 30px;
        font-weight: normal;
        line-height: 1.18;
        text-transform: uppercase;
    }

.home-media-video-panel .home-media-title h4 {
    color: #fff;
}

.home-media-title p {
    max-width: 640px;
    margin: 12px 0 0;
    color: #52667b;
    font-family: 'monM';
    font-size: 14px;
    line-height: 1.65;
}

.home-media-video-panel .home-media-title p {
    color: rgba(255, 255, 255, 0.78);
}

.home-media-title .decor-linee {
    display: none;
}

.home-media-news-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    overflow: visible;
}

.home-media-news-card {
    position: relative;
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    min-height: 156px;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 249, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 60, 109, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .home-media-news-card:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0, 168, 249, 0.08), rgba(246, 191, 66, 0.06));
        opacity: 0;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }

.home-media-news-image {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.home-media-news-card .img {
    position: relative;
    width: 100%;
    height: 195px;
    min-height: 195px;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf4fb;
}

    .home-media-news-card .img:before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(3, 30, 61, 0.08), rgba(3, 30, 61, 0.3));
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .home-media-news-card .img img {
        display: block;
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        border-radius: 8px;
        transition: transform 0.55s ease, filter 0.55s ease;
    }

.home-media-date {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(3, 48, 92, 0.9);
    clip-path: none;
}

    .home-media-date .options-item {
        display: flex;
        align-items: center;
        margin: 0;
    }

        .home-media-date .options-item:before {
            content: "";
            width: 7px;
            height: 7px;
            margin-right: 7px;
            border-radius: 50%;
            background: #f6bf42;
        }

        .home-media-date .options-item span {
            display: block;
            margin: 0;
            padding: 0;
            color: #fff;
            font-family: 'monSB';
            font-size: 12px;
            line-height: 1;
        }

.home-media-news-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 4px 4px 4px 0;
}

.home-media-tag {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 6px;
    color: #045ca9;
    background: #eef8ff;
    font-family: 'monSB';
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
}

.home-media-news-card .title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #07305d;
    font-family: 'MonEB';
    font-size: 16px;
    font-weight: normal;
    line-height: 1.42;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-media-news-card .descript {
    margin-top: 8px;
}

    .home-media-news-card .descript span {
        display: -webkit-box;
        overflow: hidden;
        color: #586a7d;
        font-family: 'monM';
        font-size: 14px;
        line-height: 1.55;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

.home-media-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 34px;
    margin-top: auto;
    padding: 0 13px;
    border: 1px solid rgba(4, 92, 169, 0.22);
    border-radius: 6px;
    color: #045ca9;
    background: #fff;
    font-family: 'monSB';
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.32s ease, background 0.32s ease, border-color 0.32s ease, transform 0.32s ease;
}

.home-media-news-card:hover {
    border-color: rgba(0, 168, 249, 0.32);
    box-shadow: 0 24px 52px rgba(13, 60, 109, 0.14);
    transform: translateY(-5px);
}

    .home-media-news-card:hover:before,
    .home-media-news-card:hover .img:before {
        opacity: 1;
    }

    .home-media-news-card:hover .img img {
        filter: saturate(1.08) contrast(1.04);
        transform: scale(1.08);
    }

    .home-media-news-card:hover .title {
        color: #045ca9;
    }

    .home-media-news-card:hover .home-media-readmore {
        color: #10243d;
        border-color: #f6bf42;
        background: #f6bf42;
        transform: translateY(-2px);
    }

.home-media-video-list {
    margin-top: 20px;
}

.home-media-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.home-media-video-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.home-media-video-image {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: #062848;
}

    .home-media-video-image img {
        display: block;
        width: 100%;
        height: 195px !important;
        object-fit: cover;
        border-radius: 0;
        transition: transform 0.55s ease, filter 0.55s ease;
    }

.home-media-video-card-main .home-media-video-image img {
    height: 330px !important;
}

.home-media-video-image:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.46));
    transition: background 0.35s ease;
}

.home-media-video-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 6px;
    color: #10243d;
    background: #f6bf42;
    font-family: 'monSB';
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    display: none;
}

.home-media-play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    transition: background 0.35s ease;
}

    .home-media-play i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        color: #fff;
        background: rgba(244, 67, 54, 0.92);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
        font-size: 30px;
        transition: transform 0.35s ease, background 0.35s ease;
    }

.home-media-video-content {
    padding: 20px;
}

    .home-media-video-content .p-video-title {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        padding: 0;
        color: #fff;
        background: transparent;
        font-family: 'monSB';
        font-size: 16px;
        font-weight: normal;
        line-height: 1.5;
        text-overflow: ellipsis;
        text-transform: none;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.home-media-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: 12px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-family: 'monSB';
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.32s ease, background 0.32s ease, border-color 0.32s ease, transform 0.32s ease;
}

.home-media-video-card:hover {
    border-color: rgba(246, 191, 66, 0.48);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.26);
    transform: translateY(-6px);
}

    .home-media-video-card:hover .home-media-video-image img {
        filter: saturate(1.08) contrast(1.04);
        transform: scale(1.08);
    }

    .home-media-video-card:hover .home-media-video-image:before,
    .home-media-video-card:hover .home-media-play {
        background: rgba(0, 0, 0, 0.36);
    }

        .home-media-video-card:hover .home-media-play i {
            background: #f44336;
            transform: scale(1.08);
        }

    .home-media-video-card:hover .home-media-watch {
        color: #10243d;
        border-color: #f6bf42;
        background: #f6bf42;
        transform: translateY(-2px);
    }

.t-news-home-t .p-btn-more-win span {
    margin: 0;
    line-height: normal;
}

@media(max-width: 1023px) {
    .home-media-section {
        padding: 54px 0;
    }

    .home-media-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-media-panel {
        padding: 22px;
    }

    .home-media-title h4 {
        font-size: 26px;
    }

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

    .home-media-news-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

        .home-media-news-card .img {
            min-height: 190px;
        }

    .home-media-video-card-main .home-media-video-image img {
        height: 360px !important;
    }
}

@media(max-width: 739px) {
    .home-media-section {
        padding: 38px 0;
    }

    .t-news-home-t .p-btn-more-win span {
        margin: 0;
        line-height: normal;
        padding: 8px 10px;
        gap: 5px;
        font-size: 12px;
    }

    .home-media-container {
        padding: 0;
    }

    .home-media-panel {
        padding: 16px;
    }

    .home-media-title {
        padding-bottom: 10px;
    }

        .home-media-title span {
            margin-bottom: 8px;
            font-size: 12px;
        }

            .home-media-title span:before {
                width: 24px;
            }

        .home-media-title h4 {
            font-size: 22px;
        }

        .home-media-title p {
            margin-top: 10px;
            font-size: 13px;
            line-height: 1.6;
        }

    .home-media-news-list,
    .home-media-video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-media-news-card {
        min-height: auto;
        padding: 10px;
    }

        .home-media-news-card:last-child {
            display: none;
        }

        .home-media-news-card .img {
            min-height: 190px;
            aspect-ratio: 16 / 10;
        }

        .home-media-news-card .title {
            font-size: 15px;
        }

    .home-media-tag {
        display: none;
    }

    .home-media-news-card .descript span {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    .home-media-readmore,
    .home-media-watch {
        min-height: 32px;
        margin-top: 12px;
        font-size: 11px;
    }

    .home-media-video-image {
        /* aspect-ratio: 16 / 10; */
    }

        .home-media-video-image img,
        .home-media-video-card-main .home-media-video-image img {
            height: 185px !important;
        }

    .home-media-play i {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    ul.home-video-list-b.home-media-video-grid.rs .p-video-img.home-media-video-image img {
        height: 150px !important;
    }

    .home-media-video-content {
        padding: 14px;
    }

        .home-media-video-content .p-video-title {
            font-size: 15px;
        }
}

@media(max-width: 400px) {
    .home-media-panel {
        padding: 14px;
    }

    .home-media-title h4 {
        font-size: 18px;
    }

    .home-media-news-card .img {
        min-height: 150px;
        height: 150px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .home-media-news-card,
    .home-media-news-card:before,
    .home-media-news-card .img:before,
    .home-media-news-card .img img,
    .home-media-readmore,
    .home-media-video-card,
    .home-media-video-image img,
    .home-media-video-image:before,
    .home-media-play,
    .home-media-play i,
    .home-media-watch {
        transition: none;
    }
}