/* video.html — компонент секції, винесено з css/pages/video.css */

 .bz-ajax-compare {
     position: relative;
     padding: 110px 0;
     background:
             radial-gradient(circle at 16% 26%, rgba(224, 0, 31, 0.16), transparent 34%),
             radial-gradient(circle at 84% 72%, rgba(224, 0, 31, 0.08), transparent 32%),
             #020202;
     color: #fff;
     overflow: hidden;
 }

.bz-ajax-compare:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px),
            linear-gradient(0deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.12;
    pointer-events: none;
}

.bz-ajax-compare .container {
    position: relative;
    z-index: 2;
}

.bz-ajax-compare-head {
    max-width: 1020px;
    margin-bottom: 72px;
}

.bz-section-label {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 13px;
    color: #e0001f;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.bz-section-label:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 112px;
    height: 1px;
    background: #e0001f;
}

.bz-ajax-compare-title {
    max-width: 1060px;
    margin-bottom: 26px;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.12;
    letter-spacing: 0.035em;
    font-weight: 400;
}

.bz-ajax-compare-text {
    max-width: 760px;
    color: rgba(255,255,255,0.74);
    font-size: 20px;
    line-height: 1.55;
}

.bz-compare-table-wrap {
    position: relative;
    max-height: 620px;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.bz-compare-table-wrap.is-open {
    max-height: 1600px;
}

.bz-compare-table-scroll {
    position: relative;
    padding-top: 82px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(224,0,31,0.9) rgba(255,255,255,0.08);
}

.bz-compare-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.bz-compare-table-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
}

.bz-compare-table-scroll::-webkit-scrollbar-thumb {
    background: #e0001f;
}

.bz-compare-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
    table-layout: fixed;
    background: rgba(4, 4, 4, 0.72);
}

.bz-compare-table th,
.bz-compare-table td {
    border: 1px solid rgba(255,255,255,0.16);
    padding: 22px 24px;
    text-align: left;
    vertical-align: middle;
}

.bz-compare-table th {
    position: relative;
    height: 132px;
    padding-top: 30px;
    padding-bottom: 26px;
    background: rgba(255,255,255,0.035);
    color: #fff;
    font-weight: 400;
}

.bz-compare-table th:first-child,
.bz-compare-table td:first-child {
    width: 220px;
    background: rgba(255,255,255,0.055);
    color: #fff;
}

.bz-compare-table th:first-child {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.bz-compare-table td:first-child {
    color: rgba(255,255,255,0.86);
    font-size: 18px;
    line-height: 1.35;
}

.bz-compare-table td {
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    line-height: 1.45;
}

.bz-compare-camera-img {
    position: absolute;
    left: 50%;
    top: -90px;
    width: 165px;
    height: 120px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.bz-compare-camera-img img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 22px 24px rgba(0,0,0,0.72));
}

.bz-compare-model {
    margin-bottom: 8px;
    color: #fff;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: 0.03em;
}

.bz-compare-model-desc {
    color: rgba(255,255,255,0.68);
    font-size: 16px;
    line-height: 1.35;
}

/* Ajax column - акуратне виділення */
.bz-compare-table th.bz-compare-highlight {
    background:
            linear-gradient(180deg, rgba(224,0,31,0.22), rgba(224,0,31,0.08)),
            rgba(255,255,255,0.035) !important;
    border-top: 2px solid #e0001f;
    border-left-color: rgba(224,0,31,0.6);
    border-right-color: rgba(224,0,31,0.6);
}

.bz-compare-table td.bz-compare-highlight {
    background: rgba(224, 0, 31, 0.055) !important;
    border-left-color: rgba(224,0,31,0.36);
    border-right-color: rgba(224,0,31,0.36);
}

.bz-compare-table tbody tr:hover td {
    background-color: rgba(255,255,255,0.035);
}

.bz-compare-table tbody tr:hover td.bz-compare-highlight {
    background-color: rgba(224,0,31,0.12) !important;
}

.bz-compare-extra {
    display: none;
}

.bz-compare-table-wrap.is-open .bz-compare-extra {
    display: table-row;
}

.bz-compare-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(2,2,2,0), #020202 82%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bz-compare-table-wrap.is-open .bz-compare-fade {
    opacity: 0;
}

.bz-compare-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.bz-compare-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
}

.bz-compare-more:hover {
    color: #e0001f;
}

.bz-compare-more svg {
    transition: transform 0.25s ease;
}

.bz-compare-more.is-open svg {
    transform: rotate(180deg);
}

@media (max-width: 1199.98px) {
    .bz-compare-table-wrap {
        max-height: 630px;
    }

    .bz-compare-table-wrap.is-open {
        max-height: 1700px;
    }
}

@media (max-width: 991.98px) {
    .bz-ajax-compare {
        padding: 84px 0;
    }

    .bz-ajax-compare-head {
        margin-bottom: 60px;
    }

    .bz-ajax-compare-title {
        font-size: 38px;
    }

    .bz-ajax-compare-text {
        font-size: 17px;
    }

    .bz-compare-table {
        min-width: 980px;
    }

    .bz-compare-table th,
    .bz-compare-table td {
        padding: 20px;
    }

    .bz-compare-table td {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .bz-ajax-compare {
        padding: 68px 0;
    }

    .bz-ajax-compare-title {
        font-size: 32px;
    }

    .bz-ajax-compare-text {
        font-size: 15px;
    }

    .bz-ajax-compare-head {
        margin-bottom: 52px;
    }

    .bz-compare-table-scroll {
        padding-top: 62px;
    }

    .bz-compare-table {
        min-width: 880px;
    }

    .bz-compare-table th {
        height: 118px;
    }

    .bz-compare-camera-img {
        top: -68px;
        width: 130px;
        height: 95px;
    }

    .bz-compare-camera-img img {
        max-height: 95px;
    }

    .bz-compare-model {
        font-size: 20px;
    }

    .bz-compare-model-desc {
        font-size: 14px;
    }

    .bz-compare-table th:first-child,
    .bz-compare-table td:first-child {
        width: 180px;
    }

    .bz-compare-table th:first-child {
        font-size: 20px;
    }

    .bz-compare-table td:first-child {
        font-size: 16px;
    }
}
