/*
* Global button styling
*/
/*
* MEDIA QUERIES
* Breakpoints for responsive sites
*/
/*
* Breakpoint debugging
*/
/*
* SASS Parent append
* Useful if you want to add an append to the parent without writing it out again
* Usage: @include parent-append(":hover")
* Source: https://codepen.io/imkremen/pen/RMVBvq
*/
/*
* Skew
* Useful mixing to create skewed edges
* Usage: @include angle-edge(bottomright, 3deg, topleft, 3deg, #fff);
* Source: http://www.hongkiat.com/blog/skewed-edges-css/
*/
.block-calendar-widget {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: var(--wp--preset--spacing--normal);
}
.block-calendar-widget .event {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: var(--wp--preset--spacing--x-small);
  padding: var(--wp--preset--spacing--normal) var(--wp--preset--spacing--small);
  background: -webkit-gradient(linear, left top, right bottom, from(#f7f7f7), to(#dedede));
  background: linear-gradient(to bottom right, #f7f7f7 0%, #dedede);
  height: 208px;
}
.block-calendar-widget .event time {
  color: #000;
  line-height: 1.2;
}
.block-calendar-widget .event time .date {
  display: block;
  font-size: var(--wp--preset--font-size--normal);
  font-weight: 700;
}
.block-calendar-widget .event time .time {
  display: block;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--x-small);
}
.block-calendar-widget .event h3 {
  margin: 0;
  font-size: var(--wp--preset--font-size--small);
  font-family: var(--wp--preset--font-family--primary);
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--foreground);
}
.block-calendar-widget .event a {
  font-family: var(--wp--preset--font-family--secondary);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary);
}
.block-calendar-widget .event a::after {
  content: "";
  position: relative;
  display: inline-block;
  width: 0;
  height: 0;
  top: 1px;
  margin-left: 0.5em;
  border-top: 0.43em solid transparent;
  border-bottom: 0.43em solid transparent;
  border-left: 0.43em solid currentColor;
  -webkit-transition: -webkit-transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.block-calendar-widget .event a:hover {
  color: var(--wp--preset--color--tertiary);
}
@media (max-width: 1024px) {
  .block-calendar-widget .event:nth-child(2) {
    display: none;
  }
}