:root {
	--font-family-awards-primary: 'GT America';
}

.mew-award-page__section {
  background-color: #f8f7f5;
  padding-top: 14px;
  padding-bottom: 40px;
}

.awards-container {
  padding: 0 16px;
}

/* ================= YEAR TABS ================= */

.award-years {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  max-width: calc(65.5px * 6);
  padding: 0;
}

.award-years::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #eeeae2;
  position: absolute;
  left: 0;
  bottom: 0;
}

.mew-year-tab {
  min-width: 65.6px;
  min-height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid transparent;
  z-index: 2;
  cursor: pointer;
  color: #646464;
  font-family: GT America;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  transition: all 0.2s ease;
}

.mew-year-tab.active {
  border-bottom: 2px solid #b77d25;
  font-weight: 500;
  color: #383838;
}

/* ================= CONTENT ================= */

.awards-display {
  display: none;
  width: 100%;
}

.awards-display.active {
  display: block;
}

/* ================= GRID ================= */

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.badge-box {
  border-radius: 8px;
  border: 1px solid #eeeae2;
  background: #fff;
  padding: 16px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.badge {
  margin-bottom: 20px;
}

.badge-box .badge img {
  display: block;
  width: auto !important;
  margin: 0 auto;
}

.badge-description {
  text-align: center;
  display: grid;
  gap: 8px;
}

.badge-title {
  color: #383838;
  font-family: GT America;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.award-desc {
  color: #646464;
  font-family: GT America;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

/* ================= TABLE ================= */

.awards-table {
  display: none;
  background-color: #fff;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.awards-display.active .awards-table {
  display: table;
}

.table__row {
  display: table-row;
}

.table__row:not(.table__header) {
  border-bottom: 1px solid #eeeae2;
}

.table__header {
  background-color: #eeeae2;
}

.header__cell {
  display: table-cell;
  color: #383838;
  font-family: GT America;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 16px 12px;
  text-align: left;
  width: 33.33%;
}

.header__cell:last-child {
  width: 33.34%;
}

  .row__cell {
    font-size: 12px;
    line-height: 18px;
    padding:  16px 12px;
	 font-family: var(--font-family-awards-primary);
  }

.table__row .row__cell:first-child {
    font-weight: 600;
}

/* ================= DISCLAIMER ================= */

.forbes-desc {
  color: #646464;
  text-align: center;
  font-family: GT America;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  padding-bottom: 24px;
}

/* ================= BUTTON ================= */

.t__btn--toggle {
  background: #ddb15e;
  color: #383838;
  font-family: GT America;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  border: none;
  padding: 17px 32px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

/* ================= DESKTOP ================= */

@media (min-width: 1240px) {
  .awards-container {
    max-width: 1324px;
    margin: 0 auto;
    padding: 0;
  }

  .mew-award-page__section {
    padding: 50px 0 80px;
  }

  .awards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .badge-box {
    padding: 24px 16px;
  }

  .badge-title {
    font-size: 18px;
    line-height: 24px;
  }

  .award-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .forbes-desc {
    max-width: 876px;
    margin: 0 auto;
    padding-bottom: 64px;
  }

  .awards-table {
    max-width: 876px;
    margin: 0 auto 64px auto;
  }

  .row__cell,
 .header__cell {
    font-size: 14px;
    line-height: 20px;
    padding: 16px;
  }

  .badge-box .badge img {
    max-height: 144px;
  }
	
	.mew-year-tab {
        min-width: 132px;
        font-size: 18px;
        line-height: 24px;
    }

    .award-years {
        max-width: calc(132px * 6);
    }
	
}

/* ================= MOBILE ================= */

@media (max-width: 1239px) {
  .badge-box .badge img {
    max-height: 100px;
  }
	
	.award-years {
    justify-content: flex-start;
    overflow: auto;
	}
}

/* ================= CELL ================= */

.header__cell:first-child {
    width: 41%;
}

.header__cell:nth-child(2) {
    width: 39%;
}

.header__cell:last-child {
    width: 20%;
}
