/* HPC section components. Accent per cluster; all text 16px or larger. */
#main-content .hx-sw{--acc:#15788e;--acc-soft:#e3f1f4;--acc-ink:#0c4f5e}
#main-content .hx-nv{--acc:#76b900;--acc-soft:#eef7e0;--acc-ink:#2f5200}
#main-content .hx-cw{--acc:#e0203c;--acc-soft:#fde8eb;--acc-ink:#9b0f24}
#main-content .hx-se{--acc:#3b5bdb;--acc-soft:#e8edff;--acc-ink:#23389a}
#main-content .hx-ok{--acc:#6b7280;--acc-soft:#f1f2f4;--acc-ink:#374151}
#main-content .hx-all{--acc:#0c1a2e;--acc-soft:#e9edf3;--acc-ink:#0c1a2e}
#main-content .hx-lede{font-size:1.05rem;line-height:1.55;color:var(--ink-soft);margin:0 0 22px;max-width:46em}
#main-content .content h2.hx-h{margin:46px 0 14px;font-size:1.45rem}
#main-content .content h2.hx-h:first-child{margin-top:0}
/* at a glance */
#main-content .hx-glance{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 30px}
#main-content .hx-tile{background:#fff;border:1px solid var(--gray-200);border-top:4px solid var(--acc);border-radius:12px;padding:14px 16px}
#main-content .hx-tile b{display:block;font-family:"Alumni Sans","Barlow Condensed","Arial Narrow",sans-serif;font-weight:800;font-size:2.3rem;line-height:1;color:var(--sbu-navy);letter-spacing:.01em}
#main-content .hx-tile span{display:block;margin-top:6px;font-size:16px;line-height:1.35;color:var(--ink-soft)}
/* ways in */
#main-content .hx-ways{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#main-content .hx-way{border:1px solid var(--gray-200);border-radius:14px;padding:18px 20px;background:#fff;display:flex;flex-direction:column;gap:10px}
#main-content .hx-way h3{margin:0;font-size:1.15rem;color:var(--sbu-navy)}
#main-content .hx-way p{margin:0;font-size:16px;line-height:1.5;color:var(--ink-soft)}
#main-content .hx-way .btn{align-self:flex-start;font-size:16px;padding:10px 18px}
#main-content .hx-kicker{font-size:16px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--acc-ink,var(--sbu-red))}
/* code with copy */
#main-content .hx-code{position:relative;display:flex;align-items:center;gap:10px;background:#0c1a2e;color:#e8eef6;border-radius:10px;padding:10px 12px 10px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;line-height:1.45;overflow-x:auto}
#main-content .hx-code code{background:none;border:0;color:inherit;padding:0;white-space:pre;flex:1;font-size:16px}
#main-content .hx-code pre{margin:0;color:inherit;white-space:pre;flex:1;font-size:16px;background:none;padding:0}
#main-content .hx-copy{flex:none;align-self:flex-start;font:inherit;font-family:var(--font);font-size:16px;font-weight:700;color:#0c1a2e;background:#fff;border:0;border-radius:6px;padding:4px 10px;cursor:pointer}
#main-content .hx-copy:focus-visible{outline:3px solid #9cc3ff}
/* tables */
#main-content .hx-table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45;background:#fff;border:1px solid var(--gray-200);border-radius:12px;overflow:hidden;margin:0 0 10px}
#main-content .hx-table th,#main-content .hx-table td{text-align:left;padding:11px 14px;border-top:1px solid var(--gray-200);vertical-align:top}
#main-content .hx-table thead th{background:var(--sbu-navy);color:#fff;border-top:0}
#main-content .hx-table td:first-child{font-weight:700;color:var(--sbu-navy)}
#main-content .hx-table code{font-size:16px}
#main-content .hx-table td:first-child code{display:block;font-weight:400;color:var(--ink-soft);margin-top:2px}
#main-content .hx-store td:nth-child(2),#main-content .hx-store td:nth-child(3){white-space:nowrap}
#main-content .hx-note{font-size:16px;color:var(--ink-soft);margin:8px 0 0}
/* chips */
#main-content .hx-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
#main-content .hx-chips li{margin:0;font-size:16px;font-weight:600;padding:7px 14px;border-radius:999px;background:var(--acc-soft);color:var(--acc-ink)}
/* app strip */
#main-content .hx-apps{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 6px}
#main-content .hx-apps a{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--gray-200);border-radius:10px;background:#fff;font-size:16px;font-weight:600;color:var(--sbu-navy);text-decoration:none}
#main-content .hx-apps a:hover{border-color:var(--acc)}
#main-content .hx-apps img{width:30px;height:30px;object-fit:contain;margin:0}
#main-content .hx-apps .hx-more{padding:8px 14px;color:var(--sbu-red);font-weight:700}
/* steps */
#main-content .hx-steps{list-style:none;margin:0;padding:0;counter-reset:s}
#main-content .hx-steps>li{position:relative;margin:0 0 14px;padding:16px 18px 16px 64px;background:#fff;border:1px solid var(--gray-200);border-radius:12px;font-size:16px;line-height:1.5;color:var(--ink-soft)}
#main-content .hx-steps>li::before{counter-increment:s;content:counter(s);position:absolute;left:18px;top:16px;width:30px;height:30px;border-radius:50%;background:var(--sbu-red);color:#fff;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center}
#main-content .hx-steps>li strong{display:block;font-size:1.05rem;color:var(--sbu-navy);margin-bottom:3px}
#main-content .hx-steps .hx-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#main-content .hx-steps .hx-acts a{font-size:16px;font-weight:700;padding:7px 14px;border-radius:8px;border:1.5px solid var(--gray-300);color:var(--sbu-navy);text-decoration:none}
#main-content .hx-steps .hx-acts a.pri{background:var(--sbu-red);border-color:var(--sbu-red);color:#fff}
#main-content .hx-steps .hx-acts a:hover{border-color:var(--sbu-red)}
#main-content .hx-steps .hx-code{margin-top:10px}
/* related links */
#main-content .hx-related{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#main-content .hx-related a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 16px;border:1px solid var(--gray-200);border-radius:10px;background:#fff;font-size:16px;font-weight:600;color:var(--sbu-navy);text-decoration:none}
#main-content .hx-related a::after{content:"\2192";color:var(--sbu-red);font-weight:800}
#main-content .hx-related a:hover{border-color:var(--sbu-red)}
/* notices */
#main-content .hx-alert{display:flex;gap:14px;align-items:flex-start;border-radius:12px;padding:16px 18px;margin:0 0 24px;font-size:16px;line-height:1.5;background:#fff7e6;border:1px solid #f1c76b;color:#5c4100}
#main-content .hx-alert strong{color:#3d2b00}
#main-content .hx-alert a{color:#7a3d00;font-weight:700}
#main-content .hx-phi{background:#fdecee;border-color:#f3b4bd;color:#6b0f1c}
#main-content .hx-phi strong{color:#5a0b17}
/* other clusters */
#main-content .hx-rel{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
#main-content .hx-relc{display:flex;flex-direction:column;background:#fff;border:1px solid var(--gray-200);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:var(--shadow-sm)}
#main-content .hx-relc:hover{box-shadow:var(--shadow-md)}
#main-content .hx-relb{display:flex;align-items:center;gap:12px;padding:14px 16px;background:radial-gradient(ellipse at 25% 0%,#1d3a66 0,#0c1a2e 78%);border-bottom:4px solid var(--acc)}
#main-content .hx-relb img{width:78px;height:52px;object-fit:contain;margin:0;filter:drop-shadow(0 2px 5px rgba(0,0,0,.4))}
#main-content .hx-relb b{font-family:"Alumni Sans","Barlow Condensed","Arial Narrow",sans-serif;font-weight:800;font-size:1.7rem;letter-spacing:.01em;text-transform:uppercase;color:#fff;line-height:1}
#main-content .hx-relb small{display:block;font-size:16px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.72);margin-bottom:2px}
#main-content .hx-relc p{margin:0;padding:14px 16px 4px;font-size:16px;line-height:1.45;color:var(--ink-soft)}
#main-content .hx-relc .go{padding:6px 16px 16px;font-size:16px;font-weight:700;color:var(--sbu-red)}
#main-content .hx-tag{display:inline-block;margin:12px 16px 0;font-size:16px;font-weight:700;padding:2px 10px;border-radius:999px;background:var(--acc-soft);color:var(--acc-ink);align-self:flex-start}
/* support */
#main-content .hx-help{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 10px}
#main-content .hx-hcard{background:#fff;border:1px solid var(--gray-200);border-top:4px solid var(--sbu-red);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.5;color:var(--ink-soft)}
#main-content .hx-hcard h3{margin:0;font-size:1.15rem;color:var(--sbu-navy)}
#main-content .hx-hcard .when{font-weight:700;color:var(--sbu-navy)}
#main-content .hx-hcard .btn{align-self:flex-start;margin-top:auto;font-size:16px;padding:10px 18px}
#main-content .hx-check{list-style:none;margin:0;padding:0}
#main-content .hx-check li{position:relative;margin:0 0 8px;padding-left:30px;font-size:16px;line-height:1.5;color:var(--ink-soft)}
#main-content .hx-check li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:#e7f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231d6b3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
#main-content .hx-qs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#main-content .hx-qs a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--gray-200);border-radius:10px;background:#fff;font-size:16px;font-weight:600;color:var(--sbu-navy);text-decoration:none;line-height:1.4}
#main-content .hx-qs a::after{content:"\2192";color:var(--sbu-red);font-weight:800}
#main-content .hx-qs a:hover{border-color:var(--sbu-red);background:var(--gray-100)}
/* cluster badges (docs, software, comparison) */
#main-content .hx-b{display:inline-flex;align-items:center;gap:5px;font-size:16px;font-weight:700;padding:2px 9px;border-radius:6px;white-space:nowrap;background:var(--acc-soft);color:var(--acc-ink);border:0}
#main-content .hx-b::before{content:"";width:22px;height:15px;background:center/contain no-repeat}
#main-content .hx-b.hx-sw::before{background-image:url(../img/marks/seawulf.png)}
#main-content .hx-b.hx-nv::before{background-image:url(../img/marks/nvwulf.png)}
#main-content .hx-b.hx-cw::before{background-image:url(../img/marks/clinwulf.png)}
#main-content .hx-b.hx-all::before,#main-content .hx-b.hx-se::before,#main-content .hx-b.hx-ok::before{display:none}
/* hub comparison: bigger marks, accent edge */
#main-content .cmp tbody tr td:first-child{border-left:4px solid var(--acc,transparent)}
#main-content .cmp .hx-mk{width:64px;height:44px;object-fit:contain;margin:0;flex:none}
/* ways chooser on get started */
#main-content .hx-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 8px}
#main-content .hx-pick a{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--gray-200);border-left:5px solid var(--acc);border-radius:10px;background:#fff;text-decoration:none;color:inherit}
#main-content .hx-pick a b{font-size:1.05rem;color:var(--sbu-navy)}
#main-content .hx-pick a span{font-size:16px;color:var(--ink-soft);line-height:1.4}
#main-content .hx-pick a:hover{box-shadow:var(--shadow-md)}
@media (max-width:980px){#main-content .hx-rel,#main-content .hx-help{grid-template-columns:1fr}#main-content .hx-glance{grid-template-columns:1fr 1fr}#main-content .hx-pick{grid-template-columns:1fr}}
@media (max-width:640px){#main-content .hx-ways,#main-content .hx-related,#main-content .hx-qs{grid-template-columns:1fr}#main-content .hx-steps>li{padding-left:58px}#main-content .hx-table thead{display:none}#main-content .hx-table tr{display:block;border-top:1px solid var(--gray-200);padding:8px 0}#main-content .hx-table td{display:block;border:0;padding:3px 14px}#main-content .hx-table td[data-l]::before{content:attr(data-l)": ";font-weight:700;color:var(--gray-700)}}
/* 1.1: no sideways scroll on tablets and phones. Grid children may shrink
   below their code blocks; long host names wrap; tables stack below 980px;
   badge rows in the docs list wrap. */
#main-content .hx-ways{grid-template-columns:repeat(2,minmax(0,1fr))}
#main-content .hx-ways>*,#main-content .hx-steps>li,#main-content .hx-help>*,#main-content .hx-rel>*,#main-content .hx-related>*,#main-content .hx-qs>*{min-width:0}
#main-content .hx-code{max-width:100%;min-width:0}
#main-content .hx-table code,#main-content .hx-way p code,#main-content .hx-steps p code,#main-content .hx-alert code,#main-content .hx-lede code{overflow-wrap:anywhere}
#main-content .hx-table code{white-space:normal}
#main-content span:has(> .hx-b){flex-wrap:wrap}
#main-content a:has(> span > .hx-b){flex-wrap:wrap;row-gap:6px;min-width:0}
@media (max-width:980px){#main-content .hx-table thead{display:none}#main-content .hx-table tr{display:block;border-top:1px solid var(--gray-200);padding:8px 0}#main-content .hx-table td{display:block;border:0;padding:3px 14px}#main-content .hx-table td[data-l]::before{content:attr(data-l)": ";font-weight:700;color:var(--gray-700)}}
@media (max-width:640px){#main-content .hx-ways{grid-template-columns:minmax(0,1fr)}}
/* 1.2: live announcement cards on /hpc link to the full notice */
#main-content .ann h3 a.ann-link{color:inherit;text-decoration:none}
#main-content .ann h3 a.ann-link:hover,#main-content .ann h3 a.ann-link:focus{text-decoration:underline}


/* Page banner on the cluster pages: the wolf mark without the small white
   box, larger, with its white outline on the red banner. The theme prints
   the box with inline styles, hence !important. */
.page-hero h1 span:has(> img[src*="/img/logo-seawulf"]),
.page-hero h1 span:has(> img[src*="/img/logo-nvwulf"]),
.page-hero h1 span:has(> img[src*="/img/logo-clinwulf"]){width:auto!important;height:auto!important;background:none!important;border:0!important;padding:0!important;border-radius:0!important}
.page-hero h1 img[src*="/img/logo-seawulf"],
.page-hero h1 img[src*="/img/logo-nvwulf"],
.page-hero h1 img[src*="/img/logo-clinwulf"]{width:160px!important;height:auto!important;max-height:104px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}
@media (max-width:640px){.page-hero h1 img[src*="/img/logo-seawulf"],.page-hero h1 img[src*="/img/logo-nvwulf"],.page-hero h1 img[src*="/img/logo-clinwulf"]{width:110px!important}}
