/* HD Pro Network Home (SRA 2026-11-21). Community palette: light grey page, white cards, pastel icon tiles,
   small red heading bars (HD Pro red), blue links. No hero. */
html.hd-home body, html.hd-home #global_wrapper, html.hd-home #global_content { background: #f6f8fa !important; }
html.hd-home #global_content { padding-top: 0 !important; }
.hh { --card: #fff; --line: #e6e8ec; --ink: #1d2129; --mut: #6d6f7a; --red: #d7191f; --blue: #2f7be0; --blue2: #1f63c4; --pill: #eef4ff;
  max-width: 1180px; margin: 0 auto; padding: 14px 10px 40px; font: 14px/1.45 "IBM Plex Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); box-sizing: border-box; text-align: left; }
.hh *, .hh *::before, .hh *::after { box-sizing: border-box; }
.hh a { color: inherit; text-decoration: none; }
.hh-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hh-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.hh-mu { color: var(--mut); font-size: 12.5px; }
.hh-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.hh-h h2 { margin: 0; padding: 0; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; letter-spacing: 0; text-transform: none; border: 0; background: none; }
.hh-h h2::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red); flex: none; }
.hh-h a { color: var(--blue) !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hh-h a:hover { color: var(--blue2) !important; text-decoration: underline; }
/* pastel tiles */
.hh-tl { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; flex: none; }
.hh-co { background: #ffebd2; color: #e79455; } .hh-cb { background: #dfeafd; color: #477dd4; } .hh-cr { background: #ffe4e2; color: #d24e5d; }
.hh-cp { background: #e8e3f7; color: #b095f0; } .hh-ct { background: #d6f6f4; color: #48aba7; } .hh-cy { background: #fef2cb; color: #d1a74c; } .hh-ck { background: #fcdeed; color: #dc78a1; }

/* video strip */
.hh-strip { margin: 0 0 14px; }
.hh-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hh-tile { min-width: 0; }
.hh-vt { position: relative; display: block; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #e9ecf1; }
.hh-vt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.hh-vt:hover img { transform: scale(1.04); }
.hh-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(0,0,0,.55); }
.hh-play::after { content: ""; position: absolute; left: 16px; top: 12px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.hh-dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.75); color: #fff; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.hh-vt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.hh-tt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 1px; font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.hh-tt:hover { color: var(--blue); }

/* columns */
.hh-cols { display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.hh-left, .hh-right { display: flex; flex-direction: column; gap: 14px; }
.hh-mid { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 1101px) { .hh-left, .hh-right { position: sticky; top: 84px; } }
.hh-left .hh-box, .hh-right .hh-box { padding: 12px; }

/* explore menu */
.hh-ex { padding: 6px !important; }
.hh-ex a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 14px; }
.hh-ex a b { font-weight: 600; flex: 1; }
.hh-ex a i { font-style: normal; color: var(--mut); font-size: 12px; }
.hh-ex a:hover { background: #f2f4f7; }
.hh-ex a.on { background: var(--pill); }

/* events */
.hh-evr { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid #f0f1f4; }
.hh-h + .hh-evr { border-top: 0; padding-top: 0; }
.hh-evr b { display: block; font-weight: 600; font-size: 13px; line-height: 1.3; }
.hh-evr:hover b { color: var(--blue); }
.hh-evr i { display: block; font-style: normal; color: var(--mut); font-size: 12px; }
.hh-date { flex: none; width: 40px; text-align: center; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 700; line-height: 1; padding: 0 0 5px; overflow: hidden; }
.hh-date b { display: block; background: #ffe4e2; color: #b8141a !important; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; padding: 3px 0; margin-bottom: 4px; }

/* join line / share box */
.hh-join { margin: 0; padding: 9px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; color: var(--mut); }
.hh-join a { color: var(--blue) !important; font-weight: 600; }
.hh-join .hh-si { margin-left: 6px; white-space: nowrap; }
.hh-share { padding: 12px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.hh-share img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hh-say { display: block; background: #f2f4f7; border-radius: 999px; padding: 10px 14px; color: var(--mut) !important; }
.hh-sb { grid-column: 1 / -1; display: flex; gap: 4px; border-top: 1px solid #f0f1f4; padding-top: 8px; }
.hh-sb a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; border-radius: 8px; font-weight: 600; color: var(--mut) !important; font-size: 13px; }
.hh-sb a:hover { background: #f2f4f7; color: var(--ink) !important; }

/* tabs */
.hh-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.hh-tabs::-webkit-scrollbar { display: none; }
.hh-tabs button { border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; box-shadow: none; text-transform: none; min-height: 0; height: auto; }
.hh-tabs button:hover { background: #f2f4f7; }
.hh-tabs button.on { background: var(--pill); border-color: #cfe0ff; color: var(--blue2); }

/* feed cards */
.hh-feed { display: flex; flex-direction: column; gap: 12px; }
.hh-card { padding: 12px 14px 4px; }
.hh-feed .hh-card[hidden], .hh-feed .hh-more { display: none; }
.hh-feed.all .hh-more:not([hidden]) { display: block; }
.hh-card header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.hh-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: #eef0f3; }
.hh-who { font-weight: 700; }
.hh-who:hover { text-decoration: underline; }
.hh-card header span { color: var(--mut); }
.hh-t { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; margin: 0 0 4px; }
.hh-t:hover { color: var(--blue); }
.hh-card p { margin: 0 0 10px; color: #3b3f4a; font-size: 14px; }
.hh-media { display: block; margin: 0 -14px; border-radius: 0; overflow: hidden; background: #eef0f3; }
.hh-media img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
a.hh-media.hh-vt { border-radius: 0; }
.hh-card footer { display: flex; gap: 4px; border-top: 1px solid #f0f1f4; margin: 10px -6px 0; padding: 4px 0; }
.hh-card footer a, .hh-card footer button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border: 0; background: none; border-radius: 8px; color: var(--mut); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: none; min-height: 0; height: auto; text-transform: none; }
.hh-card footer a:hover, .hh-card footer button:hover { background: #f2f4f7; color: var(--ink); }
.hh-evc { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; }
.hh-evc img { width: 96px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.hh-evc b { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.hh-evc:hover b { color: var(--blue); }
.hh-evc i { display: flex; align-items: center; gap: 4px; font-style: normal; color: var(--mut); font-size: 12.5px; margin-top: 2px; }
.hh-evc i .hh-ic { width: 14px; height: 14px; }
.hh-pc { padding-bottom: 12px; }
.hh-pr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hh-pr a { text-align: center; min-width: 0; }
.hh-pr img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 6px; }
.hh-pr b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-pr i { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; color: var(--mut); font-size: 12px; line-height: 1.3; }
.hh-load { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; }
.hh-load:hover { background: var(--pill); }

/* right column */
.hh-note { margin: 0 0 10px; color: #3b3f4a; font-size: 13px; }
.hh-btns { display: flex; gap: 8px; }
.hh-btn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 8px; background: var(--blue); color: #fff !important; font-weight: 600; font-size: 13px; border: 1px solid var(--blue); }
.hh-btn:hover { background: var(--blue2); }
.hh-btn.hh-ghost { background: #fff; color: var(--blue) !important; border-color: #cfe0ff; }
.hh-btn.hh-ghost:hover { background: var(--pill); }
.hh-bdr { display: block; padding: 7px 0; border-top: 1px solid #f0f1f4; }
.hh-h + .hh-bdr { border-top: 0; padding-top: 0; }
.hh-bdr i { display: block; font-style: normal; color: #b8141a; font-size: 11.5px; font-weight: 600; }
.hh-bdr b { display: block; font-weight: 600; font-size: 13px; }
.hh-bdr span { color: var(--mut); font-size: 12px; }
.hh-bdr + .hh-btns { margin-top: 8px; }
.hh-pp { display: flex; gap: 10px; align-items: center; padding: 5px 0; }
.hh-pp img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.hh-pp img.hh-lg, .hh-pp .hh-lg { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.hh-pp span { min-width: 0; }
.hh-pp b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-pp:hover b { color: var(--blue); }
.hh-pp i { display: block; font-style: normal; color: var(--mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-add { display: block; margin-top: 6px; color: var(--blue) !important; font-weight: 600; font-size: 13px; }
.hh-hl a { display: block; padding: 7px 0; border-top: 1px solid #f0f1f4; }
.hh-h + a { border-top: 0 !important; padding-top: 0 !important; }
.hh-hl b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 13px; line-height: 1.35; }
.hh-hl a:hover b { color: var(--blue); }
.hh-hl i { font-style: normal; color: var(--mut); font-size: 12px; }

/* laptop: two columns, left menu becomes a pill row */
@media (max-width: 1100px) {
  .hh-cols { grid-template-columns: minmax(0, 1fr) 280px; }
  .hh-left { grid-column: 1 / -1; position: static; }
  .hh-left .hh-ev { display: none; }
  .hh-ex { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 !important; background: none; border: 0; }
  .hh-ex::-webkit-scrollbar { display: none; }
  .hh-ex a { flex: none; background: #fff; border: 1px solid var(--line); padding: 5px 12px 5px 6px; }
  .hh-ex a i { display: none; }
  .hh-ex .hh-tl { width: 26px; height: 26px; border-radius: 7px; }
  .hh-ex .hh-ic { width: 15px; height: 15px; }
}
/* phone */
@media (max-width: 760px) {
  .hh { padding: 10px 10px 30px; }
  .hh-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; margin: 0 -10px; padding: 0 10px; }
  .hh-row::-webkit-scrollbar { display: none; }
  .hh-tile { flex: 0 0 62%; scroll-snap-align: start; }
  .hh-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hh-right { position: static; }
  .hh-join .hh-si { float: none; margin-left: 4px; }
  .hh-card { padding: 12px 12px 4px; }
  .hh-media { margin: 0 -12px; }
  .hh-t { font-size: 15.5px; }
  .hh-pr { gap: 6px; }
  .hh-pr img { width: 54px; height: 54px; }
  .hh-sb a { font-size: 12px; gap: 4px; }
}
