.tpc-sitebar,
header.tpc-sitebar {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #0b0c08;
  border: 0;
  border-bottom: 1px solid rgba(211, 220, 83, .18);
  color: #f6f7ef;
  font: 14px/1.4 Inter, Arial, sans-serif;
}

.tpc-sitebar *, .tpc-sitebar *::before, .tpc-sitebar *::after { box-sizing: border-box; }

.tpc-sitebar__inner {
  width: min(1180px, calc(100% - 44px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tpc-sitebar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #f6f7ef;
  text-decoration: none;
}

.tpc-sitebar__brand img { display: block; width: auto; height: 30px; }
.tpc-sitebar__tv { color: #d3dc53; font-size: 12px; font-weight: 800; letter-spacing: .14em; }

.tpc-sitebar__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin: 0;
}

.tpc-sitebar__links a {
  color: #b7baa5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.tpc-sitebar__links a:hover,
.tpc-sitebar__links a:focus-visible,
.tpc-sitebar__links a[aria-current="page"] { color: #d3dc53; }

.tpc-sitebar__links .tpc-sitebar__cta {
  padding: 10px 15px;
  border-radius: 8px;
  background: #d3dc53;
  color: #0b0c08;
}

.tpc-sitebar__links .tpc-sitebar__cta:hover,
.tpc-sitebar__links .tpc-sitebar__cta:focus-visible { color: #0b0c08; background: #e0e868; }

@media (max-width: 820px) {
  .tpc-sitebar__inner { width: min(100% - 28px, 1180px); min-height: 62px; gap: 18px; }
  .tpc-sitebar__brand img { height: 25px; }
  .tpc-sitebar__links { gap: 16px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
  .tpc-sitebar__links::-webkit-scrollbar { display: none; }
  .tpc-sitebar__links a:nth-child(-n+4) { display: none; }
}

@media (max-width: 520px) {
  .tpc-sitebar__links a:not([aria-current="page"]):not(.tpc-sitebar__cta) { display: none; }
  .tpc-sitebar__tv { display: none; }
}
