* {
  box-sizing: border-box;
}

html {
  background: #080808;
}

body {
  margin: 0;
  padding: 24px 36px 0;
  background:
    radial-gradient(circle at 32% 18%, rgba(255,255,255,0.018), transparent 34%),
    #080808;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}

.ktsm-events {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.ktsm-month {
  margin: 0 0 28px;
}

.ktsm-month__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 54px;
  margin: 0;
}

.ktsm-month__header span {
  height: 1px;
  background: #d7aa51;
}

.ktsm-month__header h2 {
  margin: 0;
  color: #e0ae56;
  font-size: 37px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
}

.ktsm-month__events {
  width: 100%;
}

.ktsm-event {
  display: grid;
  grid-template-columns: 145px 132px minmax(390px, 1fr) 120px 180px 212px;
  align-items: center;
  column-gap: 16px;
  min-height: 164px;
  padding: 13px 0;
  border-bottom: 1px solid #262626;
}

.ktsm-event__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 24px;
}

.ktsm-event__day {
  color: #f5f5f5;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ktsm-event__time {
  margin-top: 13px;
  color: #aaa7aa;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.ktsm-event__poster {
  width: 132px;
  height: 136px;
  overflow: hidden;
  border-radius: 4px;
  background: #151515;
}

.ktsm-event__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ktsm-event__details {
  min-width: 0;
  padding-left: 17px;
}

.ktsm-event__city {
  margin: 0 0 9px;
  color: #f5f5f5;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.ktsm-event__venue,
.ktsm-event__address {
  color: #aaa7aa;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
}

.ktsm-event__price {
  color: #f5f5f5;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.ktsm-event__availability {
  display: flex;
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ktsm-event__availability strong {
  display: block;
  color: #f5f5f5;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.ktsm-event__availability span {
  display: block;
  margin-top: 8px;
  color: #aaa7aa;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.ktsm-event__action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ktsm-event__buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 212px;
  height: 66px;
  border: 1px solid #e3b75d;
  border-radius: 5px;
  background: linear-gradient(180deg, #f0c765 0%, #d99c35 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34);
  color: #080808;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.ktsm-event__buy:hover {
  filter: brightness(1.05);
}

@media (max-width: 1050px) {
  body {
    padding: 20px;
  }

  .ktsm-event {
    grid-template-columns: 120px 110px minmax(250px, 1fr) 100px 160px;
  }

  .ktsm-event__poster {
    width: 110px;
    height: 114px;
  }

  .ktsm-event__availability {
    display: none;
  }

  .ktsm-event__action {
    grid-column: 5;
  }

  .ktsm-event__buy {
    width: 160px;
  }
}

@media (max-width: 700px) {
  body {
    padding: 16px 14px 0;
  }

  .ktsm-month__header {
    gap: 14px;
    height: 46px;
  }

  .ktsm-month__header h2 {
    font-size: 24px;
  }

  .ktsm-event {
    grid-template-columns: 88px 84px 1fr;
    gap: 13px;
    min-height: 126px;
    padding: 12px 0;
  }

  .ktsm-event__date {
    padding-left: 0;
  }

  .ktsm-event__day {
    font-size: 24px;
  }

  .ktsm-event__time {
    margin-top: 9px;
    font-size: 13px;
  }

  .ktsm-event__poster {
    width: 84px;
    height: 94px;
  }

  .ktsm-event__details {
    padding-left: 0;
  }

  .ktsm-event__city {
    font-size: 20px;
  }

  .ktsm-event__venue,
  .ktsm-event__address {
    font-size: 13px;
  }

  .ktsm-event__price {
    grid-column: 2 / 3;
    font-size: 18px;
  }

  .ktsm-event__availability {
    display: flex;
    grid-column: 3 / 4;
  }

  .ktsm-event__availability strong {
    font-size: 20px;
  }

  .ktsm-event__availability span {
    font-size: 13px;
  }

  .ktsm-event__action {
    grid-column: 2 / 4;
    justify-content: stretch;
  }

  .ktsm-event__buy {
    width: 100%;
    height: 50px;
    font-size: 13px;
  }
}
