.tariff-notification {
  position: relative;
  margin: 30px 0;
}

.tariff-notification:before {
  position: absolute;
  top: -20rem;
  left: 0;
  right: 0;
  height: 20rem;
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #fff);
  content: "";
}

.tariff-notification-header {
  background-color: #8a2908;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 18px;
  align-items: center;
}

.tariff-notification-header-title {
  font-weight: 700;
  font-size: 18px;
  padding-right: 10px;
}

.tariff-notification-header-login {
  white-space: nowrap;
}

.tariff-notification-header-login a {
  display: inline-block;
  color: #fff;
  padding: 5px 10px 8px;
  background: #999;
  margin: 5px 0 5px 5px;
  text-transform: uppercase;
}

.tariff-notification-tariffs {
  display: flex;
  text-align: center;
  padding: 38px 20px 20px;
  background: #f6f6f6;
  gap: 20px;
}

.tariff-notification-tariff-item {
  flex: 1;
  margin-bottom: 30px;
}

.tariff-notification-tariff-item a {
  border: 2px solid #8a2908;
  display: block;
  padding: 5px 10px;
  color: #000;
  text-align: center;
  box-shadow: 6px 5px 23px -7px #8a290800;
  width: 140px;
  margin: auto;
  max-width: 100%;
  font-size: 20px;
}

.tariff-notification-tariff-item a:hover,
.tariff-notification-tariff-item a:focus,
.tariff-notification-tariff-item a:active,
.tariff-notification-tariff-item:nth-of-type(2) a {
  background-color: #8a2908;
  color: #fff;
}

.tariff-notification-tariff-item:nth-of-type(2) a:hover,
.tariff-notification-tariff-item:nth-of-type(2) a:focus,
.tariff-notification-tariff-item:nth-of-type(2) a:active,
.tariff-notification-tariff-item.promoted a {
  background-color: #fff;
  color: gray;
}

.tariff-notification-tariff-item-name {
  font-weight: 700;
  font-size: 17px;
  width: 146px;
  margin: 0 auto 5px;
  line-height: 1.2;
  max-width: 100%;
  margin-bottom: 20px;
  min-height: 2.4em;
}
