.section {
  margin-bottom: 32px;
}
.section .section-title {
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 500;
}
@media (min-width: 1200px) {
  .section {
    margin-bottom: 64px;
  }
  .section .section-title {
    margin-bottom: 32px;
    font-size: 38px;
  }
}

.calendar-grid {
  -webkit-column-count: 1;
     -moz-column-count: 1;
          column-count: 1;
  -webkit-column-gap: 24px;
     -moz-column-gap: 24px;
          column-gap: 24px;
}
@media (min-width: 768px) {
  .calendar-grid {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }
}
@media (min-width: 992px) {
  .calendar-grid {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
    -webkit-column-gap: 32px;
       -moz-column-gap: 32px;
            column-gap: 32px;
  }
}

.month-card {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-column-break-inside: avoid;
     -moz-column-break-inside: avoid;
          break-inside: avoid;
}
.month-card .month-header {
  margin-bottom: 32px;
  font: 600 24px/1.05 suisse-cond, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}
.month-card .events-list {
  list-style: none;
}
.month-card .events-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  font-size: 16px;
  line-height: 1.46;
}
.month-card .events-list li:not(:last-child) {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.month-card .events-list li .event-date {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.46;
  text-transform: uppercase;
}
.month-card .events-list li a {
  color: #fff;
}
.month-card .events-list li a:hover {
  text-decoration: underline;
}
.month-card.month-current {
  background: #fff;
}
.month-card.month-current .month-header {
  color: #1D1F22;
}
.month-card.month-current .events-list li {
  border-color: #e6e6e6;
  color: #1D1F22;
}
.month-card.month-current .events-list li .event-date {
  border-color: #016BD5;
  color: #016BD5;
}
.month-card.month-current .events-list li.recent .event-date {
  border-color: #ff6b35;
  background: #ff6b35;
  color: #fff;
}
.month-card.month-current .events-list li a {
  color: #1D1F22;
}
.month-card.month-current + .month-card {
  background: rgba(255, 255, 255, 0.05);
}
@media (min-width: 992px) {
  .month-card {
    margin-bottom: 32px;
    padding: 32px;
  }
}
@media (min-width: 992px) {
  .month-card .events-list li {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .month-card .month-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .month-card .month-header .btn {
    height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .month-card .month-header .btn.active {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  .month-card.month-before {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .month-card.month-before .month-header {
    margin-bottom: 0;
  }
  .month-card.month-before .events-list {
    max-height: 0px;
    overflow: hidden;
  }
}

.archive {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.archive div {
  margin-bottom: 20px;
  width: 100%;
  font: 600 20px suisse-cond, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-align: center;
}
.archive a {
  margin: 0 10px 10px;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}
.archive a:hover {
  text-decoration: underline;
}
@media (min-width: 992px) {
  .archive a {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 24px;
  }
}