.page-events .wp-block-post-title {
  display: none !important;
}

/* 전체 래퍼 */
.event-archive {
  max-width: var(--everythings-event-image-width);
  margin: 0 auto;
  /* padding: 20px 0; */
}

/* 탭 */
.event-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 10px; /* 선택사항 */
  margin: 0 0 8px;
}

.event-tabs .tab {
  padding: 10px 20px;
  cursor: pointer;
  color: #777;
  font-size: 16px;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}
/* 요약 설명 */
.event-desc {
  font-size: 14px;
  color: #555;
  margin: 4px 0 0;
  line-height: 1.4;
}
.event-tabs .tab.active {
  color: #000;
  font-weight: 600;
  border-bottom-color: var(--everythings-event-color);
}
/* 카드 그리드 */
.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .event-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 카드 */
.event-card {
  overflow: hidden;
  background: transparent;
  margin-bottom: 8px;
  text-decoration: none !important;
}

.event-thumb {
  position: relative;
  display: block;
}

.event-thumb img {
  border-radius: 8px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* 카드 텍스트 */
.event-info {
  padding: 8px;
}

.event-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-title {
  font-size: 20px;
  margin: 4px 0;
  font-weight: 600;
}

/* D-Day  */
.event-dday {
  position: static;
  background: #ff4444 !important;
  color: #fff;
  font-size: 13px;
  border-radius: 20px;
  padding: 4px 10px;
}
.event-period {
  color: #666;
  font-size: 14px;
  margin: 4px 0 0;
}

/* 페이지네이션 */
.event-pagination {
  margin-top: 40px;
  text-align: center;
}

/* 기본 버튼 스타일 */
.event-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0 6px;

  text-decoration: none !important;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: 0.25s;
}

/* 현재 페이지 */
.event-pagination .page-numbers.current {
  background-color: var(--everythings-event-color);
  color: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  border-color: var(--everythings-event-color);
}

/* 화살표 텍스트도 데코 제거 */
.event-pagination a.page-numbers {
  text-decoration: none;
}

/* 숫자 사이 2 텍스트 기본 라인없게 */
.event-pagination .page-numbers:not(.current) {
  background-color: #fff;
}

.no-event {
  text-align: center;
  font-size: 16px;
  color: #777;
  background: transparent;
  margin: 40px auto;
  width: 100%;
  animation: fadeIn 0.4s ease-in-out;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
