/* Video article only. Shared navigation and footer stay in global.css. */
.video-article .article-copy{max-width:none;margin:0}
.video-article .article-copy>h2{margin:65px 0 22px;font-size:clamp(1.5rem,3vw,2rem);font-weight:400;line-height:1.3}
.video-article .article-copy>p{max-width:850px}
.video-calculator{--vc-line:#7392a7;--vc-cyan:#83e8fa;position:relative;margin:36px 0 60px;padding:clamp(22px,4vw,40px);border:2px solid var(--vc-cyan);border-radius:26px;background:radial-gradient(ellipse at 100% 0,#668fa7 0,transparent 65%),#3b5b70;box-shadow:0 18px 45px #0d19251c;scroll-margin-top:110px;color:#e8f1f7;color-scheme:light}
.video-calculator::before{content:"";position:absolute;top:0;bottom:0;left:-13px;width:5px;background:#7f1714;border-radius:3px;pointer-events:none}
.video-calc-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.video-calc-heading h2{margin:0;color:#fff;font-size:clamp(1.5rem,2.8vw,2.2rem);font-weight:400;line-height:1.3;letter-spacing:-.02em}
.video-calc-heading>span{display:inline-flex;flex-direction:column;align-items:center;gap:7px;font-size:.65rem;letter-spacing:.15em;color:#fff}
.video-calc-heading>span img{display:block;width:115px;height:auto;filter:brightness(0) invert(1)}
.video-calculator .video-calc-heading+p{color:#eef5fa;font-size:1rem;line-height:1.7}
.video-calculator fieldset{min-width:0;margin:18px 0;padding:14px 0 4px;border:0;border-top:1px solid var(--vc-line)}
.video-calculator legend{padding:0 14px 0 0;font-size:.75rem;color:var(--vc-cyan);letter-spacing:.12em;text-transform:uppercase}
.video-calc-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start}
.video-fields.video-time-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.video-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.video-fields label{display:flex;flex-direction:column;gap:9px;font-size:.82rem;color:#dce7ef;line-height:1.5;min-width:0}
.video-fields .video-wide{grid-column:1/-1}
.video-fields input,.video-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:49px;border:1px solid #526c82;border-radius:7px;background:#edf5fa;padding:12px;color:#173044;font:400 .9rem Montserrat,Arial,sans-serif;transition:border-color .16s,box-shadow .16s}
.video-fields select:disabled,.video-fields input:read-only{background:#cfdae2;color:#435867;border-color:#8ba0af;cursor:default}
.video-fields input:hover,.video-fields select:hover{border-color:#87b9d2}
.video-fields select option{background:#edf5fa;color:#173044}
.video-calculator :is(input,select):focus-visible{outline:2px solid var(--vc-cyan);outline-offset:3px;box-shadow:0 0 15px #83e8fa1a}
.video-table-wrap:focus-visible{outline:2px solid #7f1714;outline-offset:3px}
.video-check{display:flex;align-items:flex-start;gap:10px;margin:24px 0 14px;font-size:.82rem;line-height:1.6;color:#e4f5fc}
.video-check[hidden]{display:none}.video-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--vc-cyan)}
.video-article .article-copy .video-note,.video-article .article-copy .video-source{font-size:.77rem;line-height:1.75;color:#39443d;margin:15px 0}
.video-article .video-calculator .video-note,.video-article .video-calculator .video-source{color:#e2edf5;font-size:.78rem}
.video-results{min-width:0;margin-top:12px;padding:0;border:0}
.video-results dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}
.video-results dl>div{display:flex;align-items:flex-start;flex-direction:column;gap:8px;padding:16px;border:1px solid #7db0cc;border-radius:9px;background:linear-gradient(120deg,#315a75cc,#25465dcc)}
.video-results dt{font-size:.9rem;line-height:1.6;color:#e1f0f9}
.video-results dd{margin:0;color:#fff;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:400;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.video-article .video-calculator .video-result-context{font-size:.75rem;line-height:1.7;color:var(--vc-cyan);letter-spacing:.03em}
.video-table-wrap{max-width:100%;overflow-x:auto;margin:24px 0;overscroll-behavior-x:contain}
.video-table-wrap table{border-collapse:collapse;width:100%;min-width:640px;font-size:.8rem;line-height:1.65;text-align:left}
.video-table-wrap caption{text-align:left;padding-bottom:15px;color:#7f1714;font-size:.75rem}
.video-table-wrap th,.video-table-wrap td{padding:15px 14px;border-bottom:1px solid #b8bdb9;vertical-align:top}
.video-table-wrap thead{background:#7f1714;color:#fff}.video-table-wrap th{font-weight:400}
.video-table-wrap tbody tr:nth-child(even){background:#ffffff40}
.video-article a{color:#7f1714;text-underline-offset:3px}
.video-sdi{margin-top:32px;padding-top:24px;border-top:1px solid var(--vc-line)}
.video-article .video-sdi h3{margin:0 0 18px;color:#fff;font-size:1.2rem;line-height:1.4;font-weight:400}
.video-article .video-sdi>p{font-size:.85rem;line-height:1.8;color:#eef5fa}
.video-article .video-sdi .video-sdi-current{padding:14px 16px;border-left:2px solid var(--vc-cyan);background:#83e8fa0d;color:#e2f7fe}
.video-sdi .video-table-wrap table{font-size:.76rem;min-width:580px;color:#e4edf4}
.video-sdi .video-table-wrap caption{color:#b9d8e8}.video-sdi .video-table-wrap thead{background:#213e53;color:#fff}
.video-sdi .video-table-wrap th,.video-sdi .video-table-wrap td{border-color:var(--vc-line)}
.video-sdi .video-table-wrap tbody tr:nth-child(even){background:#ffffff05}
.video-sdi a{color:var(--vc-cyan)}
@media(max-width:650px){.video-fields,.video-fields.video-time-fields{grid-template-columns:minmax(0,1fr)}.video-fields .video-wide{grid-column:auto}.video-calculator{margin-inline:0;padding:24px 17px;border-radius:22px;scroll-margin-top:88px}.video-results dl{grid-template-columns:minmax(0,1fr)}.video-results dl>div{align-items:flex-start;flex-direction:column;gap:10px;padding:18px}.video-table-wrap table{font-size:.75rem}.video-table-wrap th,.video-table-wrap td{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){.video-fields input,.video-fields select{transition:none}}


/* Matching family colors in the comparison and explanatory headings. */
.video-codec-comparison .codec-capture{background:#edf4f8}
.video-codec-comparison .codec-post{background:#f5edef}
.video-codec-comparison .codec-raw{background:#edf3ee}
.video-codec-comparison .codec-group th{font-weight:500;letter-spacing:.06em;border-top:2px solid #a8b7be}
.video-codec-comparison .codec-post .codec-group th{border-top-color:#b68e99}
.video-codec-comparison .codec-raw .codec-group th{border-top-color:#91ad98}
.video-article .codec-section{padding:16px 18px;border-left:3px solid #8ca7b7;border-radius:0 8px 8px 0}
.video-article .codec-section.codec-capture{background:#edf4f8}
.video-article .codec-section.codec-post{background:#f5edef;border-left-color:#b68e99}
.video-article .codec-section.codec-raw{background:#edf3ee;border-left-color:#91ad98}
.video-codec-comparison table{min-width:0;table-layout:fixed}
.video-codec-comparison th,.video-codec-comparison td{overflow-wrap:anywhere;white-space:normal;padding:12px 9px}
.video-codec-comparison thead th:nth-child(1){width:13%}
.video-codec-comparison thead th:nth-child(2){width:12%}
.video-codec-comparison thead th:nth-child(3){width:12%}
.video-codec-comparison thead th:nth-child(4){width:11%}
.video-codec-comparison thead th:nth-child(5){width:8%}
.video-codec-comparison thead th:nth-child(6){width:20%}
.video-codec-comparison thead th:nth-child(7){width:24%}
@media(max-width:650px){
.video-codec-comparison table,.video-codec-comparison tbody,.video-codec-comparison tr,.video-codec-comparison th,.video-codec-comparison td{display:block;width:auto}
.video-codec-comparison thead{display:none}
.video-codec-comparison tr:not(.codec-group){padding:12px 14px;border-bottom:1px solid #aab7b1}
.video-codec-comparison tr:not(.codec-group)>th{font-weight:500;color:#7f1714;border:0;padding:8px 0 12px}
.video-codec-comparison td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;padding:8px 0;border:0}
.video-codec-comparison td::before{content:attr(data-label);font-weight:500;font-size:.7rem}
.video-codec-comparison .codec-group th{padding:16px 14px}
}

.article-lead .video-calc-jump{display:inline-flex;align-items:center;gap:14px;margin-top:20px;padding:11px 16px;border:1px solid #7f1714;border-radius:5px;color:#7f1714;font-size:.72rem;line-height:1.5;text-decoration:none}
.article-lead .video-calc-jump:hover,.article-lead .video-calc-jump:focus-visible{background:#7f1714;color:#fff}
