.event-section {
  margin-top:    1em;
  margin-bottom: 1em;
  margin-right:  max( 1em, calc( ( 640px - 100vw ) / 4 ) );
  margin-left:   max( 1em, calc( ( 640px - 100vw ) / 4 ) );
  background-color: white;
}
.event-section,
.event {
  overflow: hidden;
  border: #004D4D 1px solid;
  border-radius: 0.5em;
}
.event-section-header {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  gap: 0.25em;
  padding: 1em;
  background-color: #008080;
}
.event-section-header > :first-child {
  flex: 1;
}
.event-header {
  margin: 0;
  font-size: 2em;
  color: #FFFFFF;
}
.event-control-btn-section {
  display: none;
}
.event-carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  margin: 1em;
}
.event {
  width: calc( 100% / 1 );
}
.event-detail-section {
  padding: 1em;
}
.event-carousel > :nth-child(3),
.event-carousel > :nth-child(4),
.event-carousel > :nth-child(5) {
  display: none;
}
.event-detail-row {
  display: flex;
  min-height: 24px;
  flex-direction: row;
  align-content: center;
}
.event-icon {
  width:  1.5em;
  height: 1.5em;
  margin-right: 0.25em;
}
.event-detail {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .event-section {
    margin-left:  max( 1em, calc( ( 100vw - 640px ) / 3 ) );
    margin-right: max( 1em, calc( ( 100vw - 640px ) / 3 ) );
  }
  .event-control-btn-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #btn-left,
  #btn-right {
    border: #E8E8EE 1px solid;
    border-radius: 0.25em;
    background-color: #E8E8EE;
  }
  #btn-left:hover,
  #btn-right:hover {
    border: #004D4D 1px solid;
    border-radius: 0.25em;
    background-color: #004D4D;
  }
  .event-control-btn {
    width: 2em;
    height: 2em;
    color: #004D4D;
    fill: currentColor;
  }
  .event-control-btn:hover {
    color: #E8E8EE;
    fill: currentColor;
  }
  .event-carousel {
    flex-direction: row;
  }
  .event {
    width: calc( 100% / 2 );
  }
}
@media (min-width: 1080px) {
  .event-section {
    margin-left:  max( 1em, calc( ( 100vw - 1080px ) / 2 ) );
    margin-right: max( 1em, calc( ( 100vw - 1080px ) / 2 ) );
  }
  .event {
    width: calc( 100% / 3 );
  }
  .event:nth-child(3) {
    display: block;
  }
}