/* =============================================
   EVENT CATEGORY ARCHIVE
   ============================================= */

.ev-arc { background: #faf7f0; }

/* ------------------------------------------
   HERO
   ------------------------------------------ */
.ev-arc__hero {
  position: relative;
  height: 50vh;
  min-height: 280px;
  background: #2f5d34 url("../../img/activity-hero.jpg") center bottom/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-arc__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,.48) 100%);
}
.ev-arc__hero-body {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.ev-arc__hero-label {
  font-size: 11px;
  letter-spacing: 6px;
  font-weight: 700;
  opacity: .7;
  margin: 0 0 14px;
}
.ev-arc__hero-h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 52px);
  margin: 0 0 14px;
  line-height: 1.2;
}
.ev-arc__hero-sub {
  font-size: clamp(13px, 2vw, 16px);
  opacity: .82;
  margin: 0;
}

/* ------------------------------------------
   SECTION WRAPPER
   ------------------------------------------ */
.ev-arc__section {
  padding: 60px 40px 100px;
}
.ev-arc__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ------------------------------------------
   FILTER TABS
   ------------------------------------------ */
.ev-arc__filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ev-arc__filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 30px;
  border: 1.5px solid #c5d4b8;
  background: #fff;
  color: #5a5a50;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: background .2s, color .2s, border-color .2s;
}
.ev-arc__filter-btn:hover,
.ev-arc__filter-btn.is-active {
  background: #2f5d34;
  color: #fff;
  border-color: #2f5d34;
}
.ev-arc__filter-btn--spring.is-active  { background: #e8a3b0; border-color: #e8a3b0; }
.ev-arc__filter-btn--summer.is-active  { background: #4a9bd4; border-color: #4a9bd4; }
.ev-arc__filter-btn--autumn.is-active  { background: #d4843a; border-color: #d4843a; }
.ev-arc__filter-btn--winter.is-active  { background: #7ab0d0; border-color: #7ab0d0; }
.ev-arc__filter-btn--all-season.is-active { background: #7a9a6e; border-color: #7a9a6e; }

/* ------------------------------------------
   CARD GRID
   ------------------------------------------ */
.ev-arc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ------------------------------------------
   EVENT CARD
   ------------------------------------------ */
.ev-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.ev-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.13);
}

.ev-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e8f0e5;
  flex-shrink: 0;
}
.ev-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ev-card:hover .ev-card__img { transform: scale(1.05); }
.ev-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e8f0e5;
}

/* Season badge */
.ev-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
  letter-spacing: 1px;
}
.ev-card__badge--spring  { background: #d4607a; }
.ev-card__badge--summer  { background: #3a88c8; }
.ev-card__badge--autumn  { background: #c87028; }
.ev-card__badge--winter  { background: #5a9ac0; }
.ev-card__badge--all     { background: #7a9a6e; }

.ev-card__body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
}
.ev-card__date {
  font-size: 11px;
  color: #9aa890;
  font-weight: 500;
  margin-bottom: 8px;
}
.ev-card__h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: #2a2a24;
  margin: 0 0 10px;
  line-height: 1.4;
}
.ev-card__excerpt {
  font-size: 12px;
  color: #6a6a60;
  line-height: 1.7;
  margin: 0 0 14px;
  flex: 1;
}
.ev-card__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ece9dc;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #3a6b35;
}
.ev-card__arrow { transition: transform .2s; }
.ev-card:hover .ev-card__arrow { transform: translateX(4px); }

/* ------------------------------------------
   PAGINATION
   ------------------------------------------ */
.ev-arc__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.ev-arc__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid #c5d4b8;
  background: #fff;
  color: #5a5a50;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.ev-arc__pagination .page-numbers.current,
.ev-arc__pagination .page-numbers:hover {
  background: #2f5d34;
  color: #fff;
  border-color: #2f5d34;
}

.ev-arc__empty {
  text-align: center;
  background: #f8f7f2;
  border: 1.5px dashed #d4e0d0;
  border-radius: 16px;
  margin: 40px 0;
  color: #9aa890;
  font-size: 15px;
}
.ev-arc__empty::before {
  content: '';
  display: block;
  width: 56px;
  height: 56px;
  background: #eef4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%232f5d34' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;
  border-radius: 50%;
  margin: 0 auto 14px;
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */
.ev-arc__calendar-link {
  text-align: center;
  margin-top: 48px;
}
.ev-arc__cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  border: 1.5px solid #2f5d34;
  border-radius: 8px;
  color: #2f5d34;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.ev-arc__cal-btn:hover {
  background: #2f5d34;
  color: #fff;
}

@media (max-width: 960px) {
  .ev-arc__grid { grid-template-columns: repeat(2, 1fr); }
  .ev-arc__section { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .ev-arc__grid { grid-template-columns: 1fr; }
  .ev-arc__hero { height: 42vh; }
  .ev-arc__filter { gap: 8px; }
}
