@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-condensed-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
:root { --brand: #E6012A; --ink: #1B1D21; --muted: #5A5F68; --line: #E1E3E7; --bg: #F5F5F3; --card: #FFFFFF; --soft: #FDE8EB; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; }
img { max-width: 100%; }
.dh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.dh-top { background: #fff; border-bottom: 1px solid var(--line); }
.dh-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.dh-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.dh-brand img { height: 30px; width: auto; display: block; }
.dh-brand span { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-left: 2px solid var(--brand); padding-left: 12px; }
.dh-site { font-size: 14px; color: var(--muted); text-decoration: none; }
.dh-site:hover { color: var(--brand); }
.dh-hero { background: #15171a; color: #fff; padding: 44px 0 0; position: relative; overflow: hidden; }
.dh-hero::after { content: ""; position: absolute; right: -120px; top: -40px; width: 420px; height: 420px; background: linear-gradient(115deg, transparent 38%, var(--brand) 38%, var(--brand) 52%, transparent 52%, transparent 62%, #2b2e33 62%, #2b2e33 70%, transparent 70%); opacity: .9; pointer-events: none; }
.dh-hero .dh-wrap { position: relative; z-index: 1; }
.dh-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; }
.dh-hero p { margin: 0 0 22px; max-width: 62ch; color: #c9ccd2; }
.dh-search { display: flex; max-width: 640px; background: #fff; border-radius: 3px; overflow: hidden; }
.dh-search input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: inherit; color: var(--ink); }
.dh-search input:focus { outline: none; }
.dh-search button { border: 0; background: var(--brand); color: #fff; font: 700 15px/1 inherit; padding: 0 22px; cursor: pointer; }
.dh-search:focus-within { box-shadow: 0 0 0 3px rgba(230,1,42,.45); }
.dh-tabs { display: flex; gap: 4px; margin-top: 26px; overflow-x: auto; }
.dh-tabs a { padding: 12px 16px; text-decoration: none; color: #c9ccd2; font-weight: 500; font-size: 15px; border-bottom: 3px solid transparent; white-space: nowrap; }
.dh-tabs a span { font-size: 12px; color: #8a8f98; margin-left: 4px; }
.dh-tabs a:hover { color: #fff; }
.dh-tabs a.on { color: #fff; border-bottom-color: var(--brand); }
.dh-main { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.dh-main:not(:has(.dh-side)) { grid-template-columns: 1fr; }
.dh-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; }
.dh-side h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.dh-side a { padding: 8px 12px; text-decoration: none; border-left: 3px solid transparent; font-size: 15px; }
.dh-side a:hover { background: #fff; }
.dh-side a.on { border-left-color: var(--brand); background: #fff; font-weight: 600; }
.dh-group { margin-bottom: 34px; }
.dh-group h2 { font-size: 20px; font-weight: 900; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); position: relative; }
.dh-group h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 4px; background: var(--brand); }
.dh-group h2 span { color: var(--muted); font-weight: 500; text-transform: none; font-size: 16px; }
.dh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dh-card { background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr; min-height: 132px; transition: border-color .12s, box-shadow .12s; }
.dh-card:hover { border-color: #c9ccd2; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.dh-thumb { background: #fafafa; border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 8px; }
.dh-thumb img { max-height: 110px; object-fit: contain; }
.dh-thumb span { font: 900 13px/1 inherit; letter-spacing: .1em; color: var(--brand); background: var(--soft); padding: 8px 10px; text-align: center; }
.dh-thumb.doc { background: linear-gradient(160deg, #1b1d21 0 60%, var(--brand) 60% 64%, #1b1d21 64%); }
.dh-thumb.doc span { background: transparent; color: #fff; font-size: 11px; }
.dh-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dh-body h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.dh-body h3 a { text-decoration: none; }
.dh-body h3 a:hover { color: var(--brand); }
.dh-tag { margin: 0; color: var(--brand); font-weight: 700; font-size: 14px; }
.dh-meta { margin: 0; color: var(--muted); font-size: 13px; }
.dh-act { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.dh-btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 13.5px; padding: 8px 12px; border: 1px solid var(--brand); border-radius: 2px; }
.dh-btn:hover { background: #b80022; border-color: #b80022; }
.dh-btn.ghost { background: #fff; color: var(--ink); border-color: #c9ccd2; }
.dh-btn.ghost:hover { border-color: var(--ink); background: #fff; }
.dh-btn:focus-visible, .dh-side a:focus-visible, .dh-tabs a:focus-visible, .dh-body a:focus-visible { outline: 3px solid #1a66d6; outline-offset: 2px; }
.dh-empty { background: #fff; border: 1px solid var(--line); padding: 30px; }
.dh-empty h2 { margin-top: 0; }
.dh-msg { padding: 60px 20px; }
.dh-foot { background: #15171a; color: #c9ccd2; font-size: 13.5px; padding: 26px 0; }
.dh-foot .dh-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dh-foot strong { color: #fff; }
.dh-foot a { color: #fff; }
.dh-foot-r { text-align: right; max-width: 520px; }
.dh-dim { color: #8a8f98; font-size: 12.5px; }
@media (max-width: 760px) {
  .dh-main { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
  .dh-side { position: static; flex-direction: row; overflow-x: auto; gap: 6px; }
  .dh-side h2 { display: none; }
  .dh-side a { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 12px; font-size: 14px; }
  .dh-side a.on { border-color: var(--brand); }
  .dh-cards { grid-template-columns: 1fr; }
  .dh-hero::after { display: none; }
  .dh-site { display: none; }
  .dh-foot-r { text-align: left; }
}
