/* The poster contains the logo. Reserve space for it above the intro. */
body.mbk-home .mbk-hero {
  min-height: 0;
  padding-block: calc(var(--mbk-header-h, 80px) + max(150px, 18vw)) 30px;
}

.mbk-home .mbk-hero .mbk-eyebrow {
  margin-bottom: 7px;
}

.mbk-home .mbk-hero h2 {
  margin-bottom: 9px;
  padding: 5px 14px;
  line-height: 1.5;
}

.mbk-home .mbk-hero__content > p {
  max-width: 620px;
  margin: 0 auto 13px;
  line-height: 1.6;
}

.mbk-home .mbk-hero .mbk-open-test {
  box-sizing: border-box;
  width: min(100%, 480px);
  margin: 0 auto 14px;
  padding: 11px clamp(10px, 2vw, 16px) 6px;
  text-align: center;
}

.mbk-home .mbk-open-test__heading {
  justify-content: center;
  align-items: center;
  gap: 2px 10px;
  line-height: 1.45;
}

.mbk-home .mbk-open-test__heading time {
  flex-basis: 100%;
}

.mbk-home .mbk-open-test__timer {
  margin: 8px 0 1px;
}

.mbk-home .mbk-open-test__unit {
  padding: 4px 2px;
}

.mbk-home .mbk-open-test__unit span {
  overflow-wrap: anywhere;
}

.mbk-home .mbk-hero .mbk-platforms {
  flex-wrap: wrap;
  gap: 5px clamp(13px, 2vw, 23px);
  margin: 0 auto 12px;
}

.mbk-home .mbk-hero .mbk-platforms i {
  font-size: 18px;
}

.mbk-home .mbk-hero .mbk-hero__buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 580px);
  max-width: none;
  margin-inline: auto;
}

body.mbk-home .mbk-hero .mbk-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  height: auto;
  padding: 6px 9px;
  font-size: .8rem;
  line-height: 1.4;
}

.mbk-home .mbk-hero .mbk-btn i {
  flex: 0 0 auto;
  width: auto;
  font-size: 15px;
}

.mbk-home .mbk-hero .mbk-btn span {
  display: block;
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.mbk-home .mbk-hero .mbk-btn small {
  display: none;
}

.mbk-home .mbk-hero .mbk-hero__mini {
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 14px;
  margin-top: 12px;
}

@media (max-width: 700px) {
  body.mbk-home .mbk-hero {
    padding-block: calc(var(--mbk-header-h, 72px) + 128px) 24px;
  }

  .mbk-home .mbk-hero__media {
    height: 355px;
  }
}

@media (max-width: 540px) {
  .mbk-home .mbk-hero .mbk-hero__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mbk-home .mbk-hero__buttons .mbk-btn--gold {
    grid-column: 1 / -1;
  }
}

.mbk-open-test-rankings__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mbk-open-test-competition {
  min-width: 0;
  padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid var(--mbk-border, rgba(141, 152, 178, .24));
  border-radius: 10px;
  background: #151d2e;
}

.mbk-open-test-competition__heading > span {
  color: var(--mbk-gold-light, #e5d5ac);
  font-size: .77rem;
  font-weight: 600;
}

.mbk-open-test-competition__heading h3 {
  margin: 3px 0 15px;
  color: #f1ead8;
  font-size: 1.17rem;
  line-height: 1.35;
}

.mbk-open-test-competition h4 {
  margin: 0 0 7px;
  color: #e6eaf2;
  font-size: .84rem;
  line-height: 1.4;
}

.mbk-open-test-competition__prizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 16px;
}

.mbk-open-test-competition__prizes > div {
  min-width: 0;
  padding: 7px 3px;
  border: 1px solid rgba(196, 166, 107, .24);
  border-radius: 7px;
  background: #101625;
  text-align: center;
}

.mbk-open-test-competition__prizes dt,
.mbk-open-test-competition__prizes dd > span,
.mbk-open-test-competition__prizes dd > small {
  color: #c8cfde;
  font-size: .75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.mbk-open-test-competition__prizes dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 4px;
  margin: 3px 0 0;
}

.mbk-open-test-competition__prizes dd > strong {
  color: var(--mbk-gold-light, #e5d5ac);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.mbk-open-test-competition__prizes dd > small {
  flex-basis: 100%;
}

.mbk-open-test-competition__conditions {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-inline-start: 18px;
  color: #d8ddea;
  font-size: .85rem;
  line-height: 1.55;
  list-style: disc;
}

.mbk-open-test-rankings__panel .mbk-open-test-rankings__note {
  padding: 9px 12px;
  border-inline-start: 3px solid var(--mbk-gold, #c4a66b);
  border-radius: 4px;
  background: rgba(196, 166, 107, .1);
  line-height: 1.5;
}

@media (max-width: 940px) {
  .mbk-open-test-rankings__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mbk-home .mbk-content-grid--news {
  grid-template-columns: minmax(0, 1fr);
}
