/* Downloads page: banner in the home page style, then tabs and the file list */
.dc-page { background: #f6f8fa; }
.dc-hero { position: relative; overflow: hidden; margin-top: -81px; padding: 160px 0 78px; background: #14202c; color: #fff; }
.dc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.dc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,32,.6), rgba(8,20,32,0) 190px), linear-gradient(90deg, rgba(8,20,32,.92) 0%, rgba(8,20,32,.76) 45%, rgba(8,20,32,.35) 100%); }
.dc-hero .container { position: relative; z-index: 1; }
.dc-hero .crumbs { margin-bottom: 22px; }
.dc-hero h1 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -1px; color: #fff; }
.dc-hero h1 small { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #a9dcff; }
.dc-hero h1 span { color: #5cbcff; }
.dc-hero p { max-width: 560px; margin: 0; font-size: 16px; line-height: 1.7; color: #e4edf5; }

.dc-main { padding-top: 34px; padding-bottom: 80px; }
.dc-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.dc-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.dc-tabs button { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #c6d1dc; border-radius: 99px; background: #fff; color: #33424f; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.dc-tabs button:hover { border-color: #0a7bc4; color: #0a6aa9; }
.dc-tabs button span { min-width: 20px; padding: 0 6px; border-radius: 99px; background: #eef3f7; color: #5b6b79; font-size: 12px; text-align: center; }
.dc-tabs button[aria-selected="true"] { background: #0a7bc4; border-color: #0a7bc4; color: #fff; }
.dc-tabs button[aria-selected="true"] span { background: rgba(255,255,255,.22); color: #fff; }
.dc-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.dc-filters input, .dc-filters select { padding: 11px 14px; border: 1px solid #c6d1dc; border-radius: 10px; background: #fff; color: #14202c; font: inherit; font-size: 14px; }
.dc-filters input { flex: 1 1 260px; }
.dc-filters select { flex: 0 1 300px; }

.dc-group + .dc-group { margin-top: 30px; }
.dc-group h2 { margin: 0 0 12px; font-size: 18px; color: #14202c; }
.dc-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 12px; }
.dc-file { display: grid; grid-template-columns: 58px 1fr auto; grid-template-areas: "pic info get" "pic tag get"; column-gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #d3dce5; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.dc-file[hidden], .dc-group[hidden] { display: none; }
.dc-file:hover { border-color: #4f9fd4; box-shadow: 0 8px 18px rgba(20,60,100,.08); }
.dc-pic { grid-area: pic; display: grid; place-items: center; width: 58px; height: 58px; }
.dc-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dc-info { grid-area: info; align-self: end; min-width: 0; }
.dc-name { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: #14202c; overflow-wrap: anywhere; }
.dc-name:hover { color: #0a6aa9; }
.dc-meta { display: block; margin-top: 2px; font-size: 12.5px; color: #6b7b8a; }
.dc-tag { grid-area: tag; justify-self: start; align-self: start; margin-top: 6px; padding: 2px 9px; border-radius: 99px; background: #e8f2fa; color: #0a6aa9; font-size: 11px; font-weight: 600; }
.dc-software, .dc-sdk, .dc-driver { background: #edf6e6; color: #447a1f; }
.dc-get { grid-area: get; padding: 8px 18px; border: 1px solid #0a7bc4; border-radius: 99px; color: #0a6aa9; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.dc-get:hover { background: #0a7bc4; color: #fff; }
.dc-page a:focus-visible, .dc-tabs button:focus-visible { outline: 2px solid #0a7bc4; outline-offset: 2px; }
.dc-empty { padding: 40px 20px; background: #fff; border: 1px dashed #c6d1dc; border-radius: 12px; text-align: center; color: #5b6b79; }
.dc-empty[hidden] { display: none; }

@media (max-width: 900px) { .dc-hero { margin-top: -67px; padding: 112px 0 48px; } .dc-group ul { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .dc-file { grid-template-columns: 48px 1fr; grid-template-areas: "pic info" "pic tag" "get get"; }
  .dc-pic { width: 48px; height: 48px; }
  .dc-get { margin-top: 12px; text-align: center; }
}

/* breadcrumb readable on the dark banner; the floating badge would cover the file list */
.dc-hero .crumbs, .dc-hero .crumbs a, .dc-hero .crumbs span { color: #b9cbdb; }
.dc-hero .crumbs b { color: #fff; }
.dc-page .zk-float { display: none; }
