.pa-hb-company-home,
.pa-hb-company-article {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.pa-hb-company-card {
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.pa-hb-company-card__inner {
  border-radius: 13px;
  padding: 2rem;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  background:
    linear-gradient(90deg, transparent, transparent),
    radial-gradient(30% 36% at 0% 60%, rgba(255, 255, 255, 0.05), transparent 54%),
    linear-gradient(180deg, #111, rgba(0, 0, 0, 0.45));
}

@media (min-width: 900px) {
  .pa-hb-company-card__inner {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.pa-hb-company-cover {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.85) 0 8%, transparent 8% 16%, rgba(255,255,255,0.85) 16% 24%, transparent 24% 32%),
    linear-gradient(-45deg, rgba(255,255,255,0.8) 0 10%, transparent 10% 20%, rgba(255,255,255,0.85) 20% 30%, transparent 30% 40%),
    linear-gradient(160deg, #d8d8d8, #101010 55%, #000);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pa-hb-company-cover--sm {
  max-width: 128px;
}

.pa-hb-company-links h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display, ui-serif, Georgia, serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
}

.pa-hb-company-links .pa-hb-company-lead {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.pa-hb-company-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 2rem;
}

@media (min-width: 900px) {
  .pa-hb-company-links ul {
    grid-template-columns: 1fr 1fr;
  }
}

.pa-hb-company-links a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.24);
  text-underline-offset: 4px;
}

.pa-hb-company-links a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.pa-hb-company-article {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1100px) {
  .pa-hb-company-article {
    grid-template-columns: 250px minmax(0, 1fr) 220px;
    align-items: start;
  }
}

.pa-hb-company-sidebar {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 0.85rem 0.8rem;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, 0.04), transparent 65%),
    rgba(10, 10, 13, 0.9);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pa-hb-company-sidebar h2 {
  margin: 0.15rem 0 0.62rem;
  font-size: 1.02rem;
  line-height: 1.15;
  color: #fff;
  font-family: var(--font-ui, system-ui, -apple-system, Segoe UI, Roboto, sans-serif);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.01em;
}

.pa-hb-company-sidebar h2::before {
  content: "▾";
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  transform: translateY(-0.5px);
}

.pa-hb-company-sidebar nav {
  display: grid;
  gap: 0.16rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  margin-left: 0.38rem;
  padding-left: 0.84rem;
  padding-bottom: 0.2rem;
}

.pa-hb-company-sidebar a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0;
  font-family: var(--font-ui, system-ui, -apple-system, Segoe UI, Roboto, sans-serif);
  transition: color 180ms ease, transform 180ms ease;
}

.pa-hb-company-sidebar a:hover,
.pa-hb-company-sidebar a.is-active {
  color: #fff;
  transform: translateX(1px);
}

.pa-hb-company-content {
  min-width: 0;
}

.pa-hb-company-content h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display, ui-serif, Georgia, serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.95;
}

.pa-hb-company-content__lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.68;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.88);
}

.pa-hb-company-content a {
  color: var(--pa-brand-tint, #93c5fd);
  text-decoration-color: rgba(147, 197, 253, 0.35);
}

.pa-hb-company-content a:hover {
  text-decoration-color: rgba(147, 197, 253, 0.55);
}

.pa-hb-company-content h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.5rem;
}

.pa-hb-company-content h3 {
  margin: 0.5rem 0 0.6rem;
  font-size: 1.8rem;
}

.pa-hb-company-content p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 72ch;
}

.pa-hb-company-content ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  max-width: 72ch;
}

.pa-hb-company-content li {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.pa-hb-company-meta {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.pa-hb-company-meta p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.pa-hb-company-meta strong {
  color: #fff;
  font-weight: 600;
}

/* ─── Light theme (data-pa-theme=day) ─── */
html[data-pa-theme="day"] .pa-hb-company-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0));
}

html[data-pa-theme="day"] .pa-hb-company-card__inner {
  background:
    linear-gradient(90deg, transparent, transparent),
    radial-gradient(30% 36% at 0% 60%, rgba(37, 99, 235, 0.06), transparent 54%),
    linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-pa-theme="day"] .pa-hb-company-cover {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.5) 0 8%, transparent 8% 16%, rgba(255, 255, 255, 0.45) 16% 24%, transparent 24% 32%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.45) 0 10%, transparent 10% 20%, rgba(255, 255, 255, 0.48) 20% 30%, transparent 30% 40%),
    linear-gradient(160deg, #cbd5e1, #475569 52%, #1e293b);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

html[data-pa-theme="day"] .pa-hb-company-links h1 {
  color: var(--hb-fg);
}

html[data-pa-theme="day"] .pa-hb-company-links .pa-hb-company-lead {
  color: var(--muted);
}

html[data-pa-theme="day"] .pa-hb-company-links a {
  color: var(--muted);
  text-decoration-color: rgba(9, 9, 11, 0.22);
}

html[data-pa-theme="day"] .pa-hb-company-links a:hover {
  color: var(--pa-brand-deep);
  text-decoration-color: rgba(var(--pa-brand-rgb), 0.38);
}

html[data-pa-theme="day"] .pa-hb-company-sidebar {
  border-color: var(--line);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(37, 99, 235, 0.05), transparent 65%),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-pa-theme="day"] .pa-hb-company-sidebar h2 {
  color: var(--fg);
}

html[data-pa-theme="day"] .pa-hb-company-sidebar h2::before {
  color: var(--muted);
}

html[data-pa-theme="day"] .pa-hb-company-sidebar nav {
  border-left-color: var(--line);
}

html[data-pa-theme="day"] .pa-hb-company-sidebar a {
  color: var(--muted);
}

html[data-pa-theme="day"] .pa-hb-company-sidebar a:hover,
html[data-pa-theme="day"] .pa-hb-company-sidebar a.is-active {
  color: var(--pa-brand-deep);
}

html[data-pa-theme="day"] .pa-hb-company-content h1 {
  color: var(--fg);
}

html[data-pa-theme="day"] .pa-hb-company-content__lead {
  color: var(--muted);
}

html[data-pa-theme="day"] .pa-hb-company-content p,
html[data-pa-theme="day"] .pa-hb-company-content li {
  color: var(--muted);
}

html[data-pa-theme="day"] .pa-hb-company-content h2,
html[data-pa-theme="day"] .pa-hb-company-content h3 {
  color: var(--fg);
}

html[data-pa-theme="day"] .pa-hb-company-content a {
  color: var(--pa-brand-deep);
  text-decoration-color: rgba(var(--pa-brand-rgb), 0.32);
}

html[data-pa-theme="day"] .pa-hb-company-content a:hover {
  text-decoration-color: rgba(var(--pa-brand-rgb), 0.52);
}

html[data-pa-theme="day"] .pa-hb-company-meta {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

html[data-pa-theme="day"] .pa-hb-company-meta p {
  color: var(--muted);
}

html[data-pa-theme="day"] .pa-hb-company-meta strong {
  color: var(--fg);
}
