/* Live "scheduled campaigns" calendar close-up (blocks/mockup-campaign-calendar); mockup-kit.css, 616x390 grid. */

.sg-mkcal {
  --mk-w: 616;
  --mk-h: 390;
  background: #f3f3f5;
}

.sg-mkcal__card {
  left: calc(26 * var(--u));
  top: calc(31 * var(--u));
  width: calc(640 * var(--u));
  height: calc(420 * var(--u));
  border-radius: calc(14 * var(--u));
}

.sg-mkcal__title {
  position: absolute;
  left: calc(22 * var(--u));
  top: calc(30 * var(--u));
  font-size: calc(19 * var(--u));
  font-weight: 600;
  letter-spacing: -.01em;
  color: #2d2d2f;
  white-space: nowrap;
}

.sg-mkcal__today {
  position: absolute;
  left: calc(494 * var(--u));
  top: calc(22 * var(--u));
  height: calc(35 * var(--u));
  padding: 0 calc(10 * var(--u));
  border-radius: calc(6 * var(--u));
  background: #e3e3e6;
  color: #55565b;
  font-size: calc(14 * var(--u));
}

.sg-mkcal__nav {
  position: absolute;
  left: calc(562 * var(--u));
  top: calc(22 * var(--u));
  width: calc(35 * var(--u));
  height: calc(35 * var(--u));
  border: calc(1 * var(--u)) solid #e3e3e6;
  border-radius: calc(6 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-mkcal__nav svg {
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
}

.sg-mkcal__grid {
  position: absolute;
  left: calc(23 * var(--u));
  top: calc(70 * var(--u));
  display: grid;
  grid-template-columns: repeat(7, calc(86.4 * var(--u)));
  grid-template-rows: calc(31 * var(--u)) repeat(3, calc(94 * var(--u)));
  border: calc(1 * var(--u)) solid #ececf0;
  border-radius: calc(6 * var(--u)) 0 0 0;
}

.sg-mkcal__dow,
.sg-mkcal__day {
  position: relative;
  border-right: calc(1 * var(--u)) solid #ececf0;
  border-bottom: calc(1 * var(--u)) solid #ececf0;
}

.sg-mkcal__dow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
  letter-spacing: .06em;
  color: #55565b;
  text-transform: uppercase;
}

.sg-mkcal__day { color: #3d3e42; }

.sg-mkcal__day.is-out { background: #f3f3f5; color: #cfd0d4; }

.sg-mkcal__day.is-weekend { color: #7d7e83; }

.sg-mkcal__num {
  position: absolute;
  left: calc(17 * var(--u));
  top: calc(13 * var(--u));
  font-size: calc(14.5 * var(--u));
}

.sg-mkcal__more {
  position: absolute;
  left: calc(6 * var(--u));
  top: calc(67 * var(--u));
  font-size: calc(11 * var(--u));
  color: #8e8f94;
  white-space: nowrap;
}

.sg-mkcal__more.is-dark { color: #3d3e42; }

.sg-mkcal__bar {
  position: absolute;
  height: calc(20.5 * var(--u));
  padding-left: calc(8 * var(--u));
  background: #fee4ce;
  color: #f5533d;
  font-size: calc(11.5 * var(--u));
  white-space: nowrap;
  animation: sg-mkcal-bar .8s var(--mk-ease-out) var(--mk-in-delay, .2s) both;
  transform-origin: 0 50%;
}

.sg-mkcal__bar--1 { left: calc(4 * var(--u)); top: calc(70 * var(--u)); width: calc(620 * var(--u)); }

.sg-mkcal__bar--2 { left: calc(4 * var(--u)); top: calc(163 * var(--u)); width: calc(427 * var(--u)); --mk-in-delay: .35s; }

.sg-mkcal__tag {
  position: absolute;
  left: calc(89 * var(--u));
  top: calc(165 * var(--u));
  height: calc(17 * var(--u));
  padding: 0 calc(4 * var(--u));
  background: #ff5a47;
  color: #fff;
  font-size: calc(11 * var(--u));
  animation: sg-mk-in-pop .45s var(--mk-ease-out) .8s both;
  transform-origin: 0 50%;
}

@keyframes sg-mkcal-bar {
  from { opacity: 0; transform: scaleX(.2); }
  to { opacity: 1; transform: none; }
}
