﻿.forbes-main {
  background: transparent !important;
}
.forbes-body .header {
  background: transparent !important;
  box-shadow: none !important;
}

.forbes-main--with-header {
  width: min(100% - 88px, 1110px);
  margin: 0 auto;
  padding: 126px 0 78px;
}

.forbes-tabs {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border-top: 1px solid rgba(255, 255, 255, .035);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.forbes-tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .28);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.forbes-tab.is-active {
  color: #e96e2a;
}

.forbes-podium {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.08fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(74px, 8vw, 128px);
  padding: 86px 0 78px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.forbes-card {
  min-width: 0;
  height: 610px;
  display: grid;
  grid-template-rows: 54px 376px 36px 32px 44px;
  align-items: start;
  position: relative;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff;
  text-align: center;
}

.forbes-card--first {
  height: 666px;
  grid-template-rows: 64px 430px 38px 34px 50px;
}

.forbes-rank {
  color: #b96a2f;
  font-size: 43px;
  font-weight: 500;
  line-height: 1;
}

.forbes-card--first .forbes-rank {
  color: #ff8500;
}

.forbes-card--second .forbes-rank {
  color: #cbd5ff;
}

.forbes-frame {
  --accent: #a65c28;
  --accent-soft: rgba(166, 92, 40, .2);
  width: min(100%, 295px);
  height: 376px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 22%, var(--accent-soft), transparent 38%),
    linear-gradient(130deg, rgba(88, 72, 50, .68), rgba(54, 52, 50, .86));
}

.forbes-card--first .forbes-frame {
  --accent: #ff8500;
  --accent-soft: rgba(255, 133, 0, .18);
  height: 430px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 202, 28, .16), transparent 38%),
    linear-gradient(130deg, rgba(111, 83, 38, .82), rgba(66, 61, 50, .9));
}

.forbes-card--second .forbes-frame {
  --accent: #bfcaff;
  --accent-soft: rgba(191, 202, 255, .16);
  background:
    radial-gradient(circle at 50% 22%, rgba(191, 202, 255, .15), transparent 38%),
    linear-gradient(130deg, rgba(94, 96, 105, .76), rgba(54, 55, 61, .88));
}

.forbes-frame::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -15px;
  height: 22px;
  border-top: 2px solid var(--accent);
  border-radius: 18px 18px 0 0;
  filter: drop-shadow(0 0 8px rgba(255, 132, 0, .22));
  z-index: 4;
}

.forbes-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  background: #8b8b88;
  clip-path: polygon(0 28%, 35% 50%, 44% 50%, 50% 100%, 56% 50%, 65% 50%, 100% 28%, 100% 100%, 0 100%);
  z-index: 5;
}

.forbes-avatar {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.forbes-avatar img {
  width: auto;
  height: 92%;
  max-width: 94%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(-7%);
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, .34));
}

.forbes-card--first .forbes-avatar img {
  height: 94%;
  max-width: 96%;
  transform: translateY(-6%);
}

.forbes-avatar span {
  align-self: center;
  color: rgba(255, 255, 255, .18);
  font-size: 92px;
  font-weight: 900;
}

.forbes-card h2,
.forbes-card p {
  margin: 0;
  min-width: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.28;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .28);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forbes-card p {
  align-self: start;
}

.forbes-card strong {
  align-self: start;
  display: block;
  min-width: 0;
  margin-top: 8px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forbes-table-wrap {
  padding: 62px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.forbes-line {
  height: 1px;
  margin-bottom: 48px;
  background: rgba(255, 255, 255, .06);
}

.forbes-table {
  width: 100%;
  min-width: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
}

.forbes-table tr {
  height: 54px;
}

.forbes-table td {
  padding: 8px 0 !important;
  border: 0 !important;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  vertical-align: middle;
}

.forbes-table td:nth-child(1) {
  width: 56px;
}

.forbes-table td:nth-child(2) {
  width: 34%;
}

.forbes-table td:nth-child(3) {
  width: 28%;
  text-transform: uppercase;
}

.forbes-table td:nth-child(4) {
  text-align: right;
}

.forbes-table b,
.forbes-table strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forbes-table-rank {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  background: rgba(0, 0, 0, .08);
  font-weight: 500;
}

@media (max-width: 980px) {
  .forbes-main--with-header {
    width: min(100% - 32px, 760px);
    padding: 106px 0 56px;
  }

  .forbes-podium {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 56px 0 34px;
  }

  .forbes-card,
  .forbes-card--first {
    height: auto;
    grid-template-rows: auto;
  }

  .forbes-card--first {
    order: -1;
  }

  .forbes-rank {
    margin-bottom: 20px;
  }

  .forbes-frame,
  .forbes-card--first .forbes-frame {
    width: min(76vw, 295px);
    height: 376px;
    margin-bottom: 20px;
  }

  .forbes-table-wrap {
    overflow-x: auto !important;
  }

  .forbes-table {
    min-width: 680px !important;
  }
}

@media (max-width: 560px) {
  .forbes-main--with-header {
    width: min(100% - 22px, 420px);
  }

  .forbes-tabs {
    min-height: 72px;
  }

  .forbes-frame,
  .forbes-card--first .forbes-frame {
    width: min(82vw, 280px);
    height: 352px;
  }
}