/* SPDX-License-Identifier: LicenseRef-CinemaJ2K-All-Rights-Reserved */
/* SPDX-FileCopyrightText: 2026 CinemaJ2K-CUDA contributors */
.lang-link { border-left: 1px solid var(--line); padding-left: 16px; }
/* The switch shows the flag of the other language; the word stays as the link's accessible name. */
.top .lang-link { display: inline-block; padding: 6px 0 6px 16px; width: 28px; height: 20px; box-sizing: content-box; font-size: 0; color: transparent; background: center / 28px 20px no-repeat content-box; }
.top .lang-link[lang="pt-BR"] { background-image: url(../img/flag-br.svg); }
.top .lang-link[lang="en"] { background-image: url(../img/flag-us.svg); }
.top .lang-link:hover, .top .lang-link:focus-visible { opacity: .8; }
.article { max-width: 1040px; }
.article > p, .article > h1 { max-width: 65ch; }
.article > h1 { max-width: 24ch; font-size: clamp(32px, 4vw, 52px); }
.article .lede { font-size: 1.18em; color: var(--text); }
.eyebrow { color: var(--text-3); font-size: max(12.75px, .85em); margin-bottom: 18px; }
.article .actions, .hero .actions { margin-top: 28px; }
.product-shot { margin: 40px 0; }
.product-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.product-shot figcaption { max-width: none; text-align: left; }
.guide-steps { list-style: decimal-leading-zero; padding-left: 2.5em; }
.guide-steps > li { padding-left: 12px; margin-top: 44px; }
.doc .guide-steps { max-width: none; }
.guide-steps li::marker { font-size: 1.35em; color: var(--accent); }
.guide-steps h2 { margin-top: 0; }
.guide-steps p { max-width: 65ch; }
.export-path { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 48px 0; gap: 32px; border-block: 1px solid var(--line); }
.doc .export-path { max-width: none; padding: 28px 0; }
.export-path li > span { color: var(--accent); font-size: 1.4em; }
.export-path h2 { margin-top: 12px; }
.feature-list { max-width: 850px; }
.feature-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; border-top: 1px solid var(--line); padding: 22px 0; }
.feature-list dt { color: var(--text); font-weight: 600; }
.feature-list dd { margin: 0; }
.privacy-choice { font: inherit; color: inherit; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.consent { position: fixed; bottom: 16px; left: 16px; right: 16px; margin: 0 auto; max-width: 760px; z-index: 20; background: var(--panel); border: 1px solid var(--line); padding: 22px 26px; box-shadow: 0 12px 40px rgb(0 0 0 / .45); max-height: calc(100dvh - 32px); overflow-y: auto; }
.consent[hidden], .consent [hidden] { display: none; }
.consent h2 { font-size: 1.1em; margin: 0 0 8px; }
.consent p { margin: 0 0 16px; font-size: max(14px, .9em); max-width: none; }
.consent .actions { gap: 10px; }
.consent .btn { font-size: max(14px, .9em); background: var(--raised); color: var(--text); cursor: pointer; }
.consent .btn:hover { border-color: var(--accent); }
.consent-close { margin-left: auto; }
@media (min-width: 961px) and (max-width: 1140px) {
  .top .wrap { gap: 14px; }
  .top-lic { display: none; }
  .nav { gap: 14px; }
}
@media (max-width: 640px) {
  .lang-link, .top .lang-link { border-left: 0; padding-left: 0; }
  .export-path, .feature-list > div { grid-template-columns: 1fr; gap: 12px; }
  .export-path li { padding-bottom: 16px; }
  .guide-steps { padding-left: 1.8em; }
  .guide-steps > li { padding-left: 4px; }
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
}
