/* =========================================
  Event
========================================= */
.event-list {
  margin-top: 50px;
}

.event-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-line);
}

.event-item__image {
	width: 100%;
  aspect-ratio: 16 / 9;
	overflow: hidden;
  flex: 0 0 200px;
  height: 120px;
  background: #eaf1f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.event-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-item__content {
  flex: 1;
}

.event-item__date {
  font-size: 12px;
  margin-bottom: 6px;
}

.event-item__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
	color: var(--color-main);
}

.event-item__text {
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
  Pagination
========================================= */
.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.pagination a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--color-line);
  font-size: 14px;
  text-decoration: none;
  color: var(--color-black);
}

.pagination a.is-active {
  background: var(--color-main);
  color: #fff;
}

.pagination a:hover {
  opacity: 0.7;
}

/* =========================================
  Responsive
========================================= */
@media screen and (max-width: 768px) {

  .event-item {
    flex-direction: column;
  }
	.event-item:first-child {
		padding-top: 0;
	}

  .event-item__image {
    width: 100%;
  }

}