.hd-wrap {
  width: min(1240px, calc(100% - clamp(36px, 8vw, 148px)));
  margin-inline: auto;
}
.hd-section {
  padding-block: clamp(48px, 5.5vw, 82px);
}
.hd-title h2 {
  margin: 0;
  letter-spacing: -0.055em;
  font-size: clamp(29px, 3.2vw, 48px);
  line-height: 1.23;
}
.hd-title p {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: clamp(14px, 1.25vw, 17px);
}
.hd-section-head,
.hd-bar,
.hd-rank-head,
.hd-team-foot,
.hd-offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hd-bar {
  min-height: 39px;
}
.hd-bar h3 {
  margin: 0;
  font-size: clamp(19px, 1.75vw, 25px);
  line-height: 1.35;
  letter-spacing: -0.045em;
}
.hd-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.hd-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hd-arrow {
  font:
    1.15em/1 Arial,
    sans-serif;
}
.hd-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 68px);
  margin-top: 32px;
}
.hd-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 18px 0 9px;
}
.hd-tabs button,
.hd-bar select {
  border: 1px solid var(--home-line);
  border-radius: 24px;
  padding: 7px 13px;
  background: white;
  color: #484c60;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}
.hd-tabs button[aria-pressed="true"] {
  background: #e9edff;
  border-color: #b9c4fa;
  color: #3349a6;
  font-weight: 700;
}
.hd-tabs button:hover,
.hd-bar select:hover {
  border-color: #a1aedf;
}
.hd-jobs ul,
.hd-ranking ol,
.hd-team ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hd-jobs li {
  border-bottom: 1px solid var(--home-line);
}
.hd-jobs .hd-open-list {
  max-block-size: 19rem;
  overflow-y: auto;
}
.hd-empty {
  margin: 0;
  padding: 19px 22px;
  color: var(--home-muted);
}
.hd-opportunity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px 4px;
}
.hd-opportunity:hover {
  background: #f8f9ff;
}
.hd-sponsor {
  width: 46px;
  height: 46px;
  object-fit: contain;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: white;
}
span.hd-sponsor,
.hd-offer-brand > span {
  display: grid;
  place-items: center;
  font-weight: 650;
}
.hd-task-copy h4,
.hd-offer-intro h4 {
  margin: 4px 0 0;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.hd-jobs small,
.hd-rank-head small,
.hd-offer-brand small {
  color: var(--home-muted);
  font-size: 12px;
}
.hd-pay {
  text-align: right;
}
.hd-pay > span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.hd-pay img {
  width: 14px;
  height: 14px;
}
.hd-pay span span {
  font-size: 11px;
  color: var(--home-muted);
}
.hd-alliance {
  min-width: 0;
}
.hd-bar select {
  max-width: 50%;
  padding: 6px 8px;
}
#home-offer {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  margin: 16px 0 10px;
}
.hd-offer-intro {
  padding: 19px 22px;
  background: #ebefff;
  color: #253458;
}
.hd-offer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hd-offer-brand img,
.hd-offer-brand > span {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border: 1px solid #dbe0ed;
  padding: 5px;
  border-radius: 10px;
  background: white;
  object-fit: contain;
}
.hd-offer-brand h4 {
  margin: 1px 0 0;
}
.hd-offer-brand h4 a:hover,
.hd-ranking a:hover {
  text-decoration: underline;
}
.hd-offer-intro p {
  font-size: 14px;
  color: #46526b;
  margin: 12px 0;
}
.hd-offer-foot strong {
  font-size: 14px;
}
.hd-ranking {
  padding: 14px 22px;
}
.hd-rank-head h4 {
  margin: 0;
  font-size: 15px;
}
.hd-ranking ol {
  margin: 6px 0;
}
.hd-ranking li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  font-size: 13px;
}
.hd-place {
  color: #707790;
  font: 600 12px/1 var(--mono);
}
.hd-ranking a {
  display: flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}
.hd-ranking a > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  height: 23px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5eafa;
}
.hd-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hd-ranking b {
  font-variant-numeric: tabular-nums;
}
#home-opps {
  --home-blue: #6545df;
  --home-muted: #646a7c;
  --home-line: #e1e2ee;
  text-align: left;
  color: #202237;
}
#home-opps h2,
#home-opps h3,
#home-opps h4 {
  text-align: left;
}
#home-opps a:not(.hd-more) {
  color: inherit;
  text-decoration: none;
}
#home-opps .hd-tabs {
  padding: 4px;
  background: #f0eef6;
  border-radius: 16px;
  width: fit-content;
}
#home-opps .hd-tabs button {
  border-color: transparent;
  background: transparent;
}
#home-opps .hd-tabs button[aria-pressed="true"] {
  background: white;
  color: #5532bf;
  box-shadow: 0 1px 5px #21134322;
}
#home-opps .hd-offer-intro {
  background: #f0ecff;
}
#home-opps [hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  #home-opps .hd-desk {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 901px) {
  #home-opps .hd-desk {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}
@media (max-width: 900px) {
  #home-opps .hd-jobs {
    grid-row: 1;
  }
}
