.ac-calendar-agenda {
  margin: 34px auto;
  color: #172b3a;
}

.ac-calendar-agenda__head {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ac-calendar-agenda__eyebrow,
.ac-calendar-card__scope {
  color: #087ca7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ac-calendar-agenda__head h2 {
  margin: 4px 0 6px;
  color: #12344d;
  font-size: 30px;
  line-height: 1.2;
}

.ac-calendar-agenda__head p {
  margin: 0;
  max-width: 720px;
  color: #5b6b78;
}

.ac-calendar-agenda__calendar-link,
.ac-calendar-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #087ca7;
  text-decoration: none;
}

.ac-calendar-agenda__calendar-link {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #cddde5;
  border-radius: 999px;
  white-space: nowrap;
}

.ac-calendar-agenda__empty {
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 34px 18px;
  border: 1px dashed #cddde5;
  border-radius: 8px;
  background: #f8fbfc;
  color: #5b6b78;
  text-align: center;
}

.ac-calendar-agenda__empty i {
  color: #087ca7;
  font-size: 32px;
}

.ac-calendar-agenda__list {
  display: grid;
  gap: 14px;
}

.ac-calendar-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 48px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dce7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 52, 77, .08);
}

.ac-calendar-card__date {
  display: grid;
  place-items: center;
  min-height: 96px;
  border-radius: 8px;
  background: #eef8fa;
  color: #12344d;
  text-align: center;
}

.ac-calendar-card__date span,
.ac-calendar-card__date small {
  font-weight: 800;
}

.ac-calendar-card__date strong {
  font-size: 34px;
  line-height: 1;
}

.ac-calendar-card__body h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.ac-calendar-card__body h3 a {
  color: #12344d;
  text-decoration: none;
}

.ac-calendar-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #5b6b78;
  font-size: 13px;
}

.ac-calendar-card__body p {
  margin: 10px 0 0;
  color: #5b6b78;
}

.ac-calendar-card__action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef8fa;
}

@media (max-width: 767px) {
  .ac-calendar-agenda__head {
    display: block;
  }

  .ac-calendar-agenda__calendar-link {
    margin-top: 14px;
  }

  .ac-calendar-card {
    grid-template-columns: 1fr;
  }

  .ac-calendar-card__date {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    min-height: auto;
    padding: 12px;
  }

  .ac-calendar-card__action {
    justify-self: start;
  }
}
