.media-news {
    padding: 32px 0 72px;
}

.media-news__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.media-news__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: start;
}

.panel {
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.02),
        0 0 34px rgba(37,99,235,0.12);
}

.media-news__left {
    padding: 28px;
}

.media-news__panel-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: start;
}

.media-news__eyebrow {
    font-size: 14px;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: #7ee7ff;
    margin-bottom: 12px;
}

.media-news__title,
.media-news__side-title {
    margin: 0;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
}

.media-news__title {
    font-size: 44px;
    line-height: 1;
}

.media-news__side-title {
    font-size: 32px;
    line-height: 1.05;
}

.media-news__badge {
    background: #f3d487;
    color: #03235a;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
    min-width: 66px;
    text-align: center;
}

.media-news__videos-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.video-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.video-card__thumb {
    position: relative;
    height: 220px;
    background:
        radial-gradient(circle at 50% 30%, rgba(59,130,246,0.95), rgba(2,6,23,1) 78%);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-card__overlay-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

.video-card__brand {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 42px;
    font-weight: 900;
    font-style: italic;
    color: white;
    text-shadow: 0 0 16px rgba(255,255,255,0.7);
}

.video-card__play {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card__play span {
    display: block;
    margin-left: 4px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid white;
}

.video-card__clip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(4,11,47,0.75);
    color: #dbeafe;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.video-card__body {
    padding: 20px;
}

.video-card__title {
    margin: 0 0 12px;
    color: white;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.video-card__text {
    margin: 0;
    color: rgba(219,234,254,0.78);
    font-size: 15px;
    line-height: 1.65;
}

.media-news__right {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.media-news__comparison,
.media-news__news {
    padding: 28px;
}

.comparison-rows {
    margin-top: 26px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comparison-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.comparison-row__label {
    color: rgba(219,234,254,0.88);
    font-size: 18px;
}

.comparison-row__values {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.comparison-row__pill {
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.comparison-row__pill--dark {
    background: rgba(255,255,255,0.06);
    color: white;
}

.comparison-row__pill--gold {
    background: #f3d487;
    color: #03235a;
}

.news-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.news-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.news-item__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.news-item__excerpt {
    margin: 0;
    color: rgba(219,234,254,0.78);
    font-size: 15px;
    line-height: 1.7;
}

.media-news__news-btn {
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .media-news__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .media-news__container {
        width: min(100% - 32px, 1180px);
    }

    .media-news__left,
    .media-news__comparison,
    .media-news__news {
        padding: 20px;
    }

    .media-news__videos-grid {
        grid-template-columns: 1fr;
    }

    .media-news__title {
        font-size: 34px;
    }

    .media-news__side-title {
        font-size: 28px;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-row__values {
        justify-content: flex-start;
    }
}

/*vide rendered */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.is-active {
    display: flex;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.video-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1000px, calc(100% - 32px));
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.10);
    background: #040b1f;
    box-shadow: 0 0 60px rgba(37,99,235,0.22);
    padding: 22px;
}

.video-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.video-modal__header {
    padding-right: 56px;
    margin-bottom: 16px;
}

.video-modal__title {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.video-modal__content {
    border-radius: 20px;
    overflow: hidden;
    background: black;
}

.video-modal__player {
    width: 100%;
    display: block;
    max-height: 75vh;
    background: black;
}