/* MC TEC Upcoming Events (Beaver Builder module) */
.mc-tec-events__grid{
  display:grid;
  gap: 48px;
}

@media (min-width: 992px){
  .mc-tec-events--cols-2 .mc-tec-events__grid{ grid-template-columns: repeat(2, 1fr); }
  .mc-tec-events--cols-3 .mc-tec-events__grid{ grid-template-columns: repeat(3, 1fr); }
  .mc-tec-events--cols-4 .mc-tec-events__grid{ grid-template-columns: repeat(4, 1fr); }

    .mc-tec-events__grid {
      justify-content: center;
      /* center grid items horizontally */
    }

  .mc-tec-events__card {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.mc-tec-events__card{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  overflow:hidden;
  box-shadow: 10px 10px 0px #eee;
}

.mc-tec-events__image img{
  display:block;
  width:calc(100% - 20px);
  height:auto;
  margin: 10px 10px 0 10px;
}

.mc-tec-events__image a:hover img,
.mc-tec-events__image a:focus img {
  opacity: .6;
}

.mc-tec-events__body{
  padding:18px;
}

/* date + time on one line */
.mc-tec-events__datetime{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mc-tec-events__date{
  margin-bottom: 0px;
  font-size: 15px;
}

.mc-tec-events__time{
  margin: 0;
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

.mc-tec-events__title{
  margin:0;
  font-size:22px;
  line-height:1.2;
}

.mc-tec-events__title a{
  text-decoration:none !important;
  color: #000;
}

.mc-tec-events__title a:hover,
.mc-tec-events__title a:focus {
  text-decoration:underline !important;
  color: #c8360e;
}

/* view-all button */
.mc-tec-events__view-all{
  margin-top: 40px;
  text-align: center;
}

.mc-tec-events__button{
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.mc-tec-events__button:hover,
.mc-tec-events__button:focus{
  text-decoration: none !important;
  opacity: .85;
}

/* empty state */
.mc-tec-events__empty{
  margin: 0;
  text-align: center;
}
