.community-calendar {
  margin-bottom: 2em;
}
.community-calendar .cc-panel {
  display: block;
  float: right;
  width: 44%;
  margin: 0.25em 0 1em 1.5em;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
  animation: cc-float 6s ease-in-out infinite;
}
.community-calendar .cc-panel:hover {
  text-decoration: none;
  animation-play-state: paused;
  transform: perspective(900px) rotateY(0) rotateX(0) translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0,0,0,0.16);
}
.community-calendar .cc-panel:hover .cc-view img {
  transform: translateY(-45%);
}
.community-calendar .cc-bar {
  display: flex;
  align-items: center;
  padding: 0.4em 0.6em;
  background: #eceef1;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.community-calendar .cc-bar .cc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  background: #ff5f57;
}
.community-calendar .cc-bar .cc-dot:nth-child(2) {
  background: #febc2e;
}
.community-calendar .cc-bar .cc-dot:nth-child(3) {
  background: #28c840;
}
.community-calendar .cc-bar .cc-url {
  flex: 1;
  margin-left: 0.5em;
  padding: 0.1em 0.6em;
  border-radius: 4px;
  background: #fff;
  color: #888;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.community-calendar .cc-view {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
}
.community-calendar .cc-view img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 3s ease-in-out;
}
@media (max-width: 767px) {
  .community-calendar .cc-panel {
    float: none;
    width: 100%;
    margin: 0 0 1.5em;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-calendar .cc-panel {
    animation: none;
    transition: none;
  }
  .community-calendar .cc-panel .cc-view img {
    transition: none;
  }
}
@-moz-keyframes cc-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@-webkit-keyframes cc-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@-o-keyframes cc-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@keyframes cc-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
