/* announcement.html(最新消息) — 大部分 layout 已使用共用 .hero-banner / .list-* / .pagination / .date */

/* ----- 頁面專屬:容器寬度 1100px ----- */
.list-shell.ann-shell {
  --list-shell-w: 1100px;
}

/* ----- 頁面專屬:1 大卡 + 3 list 的雙欄 layout ----- */
.ann-layout {
  display: grid;
  grid-template-columns: 450fr 573fr;
  gap: 50px;
  align-items: start;
}

.ann-list {
  display: flex;
  flex-direction: column;
  gap: 33px;
}

/* ----- 精簡版法會行事曆(announcement 獨有) ----- */
.ann-cal {
  padding: 0 0 clamp(60px, 8vw, 110px);
  background: #fff;
}

.ann-cal__shell {
  width: min(calc(100% - 40px), 1100px);
  margin: 0 auto;
  background: #fbf9f4;
  border-radius: 15px;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 60px);
}

.ann-cal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(74, 67, 63, .12);
}

.ann-cal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #000;
}

.ann-cal__more {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #6d4d28;
}

.ann-cal__more:hover {
  color: var(--accent);
}

.ann-cal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ann-cal__card {
  background: transparent;
  border: 1px solid rgba(109, 77, 40, 0.2);
  border-radius: 15px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}

/* calendar.html 內共用的 .cal-date / .cal-lunar / .cal-name / .cal-cta 樣式 */
.ann-cal__card .cal-date {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: "Lustria", "Noto Serif TC", serif;
  line-height: 1;
  color: #6d4d28;
}

.ann-cal__card .cal-date__ym {
  font-size: 16px;
  font-weight: 400;
}

.ann-cal__card .cal-date__d {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}

.ann-cal__card .cal-lunar {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.16;
  color: #6d4d28;
}

.ann-cal__card .cal-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.16;
  color: #6d4d28;
}

.ann-cal__card .cal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 8px 25px;
  border-radius: 100px;
  background: #6d4d28;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: filter .2s ease;
}

.ann-cal__card .cal-cta:hover {
  filter: brightness(1.1);
}

.ann-cal__card .cal-cta svg {
  width: 7px;
  height: 12px;
}

/* ----- 響應式 ----- */
@media (max-width: 1023px) {
  .ann-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ann-cal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .ann-list {
    gap: 22px;
  }

  .ann-cal__shell {
    padding: 32px 24px;
  }

  .ann-cal__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ann-cal__card {
    padding: 22px;
  }
}

/* ----- Hero (per-page) ----- */
.ann-hero {
  width: 100%;
  aspect-ratio: 1440 / 450;
  background: url('../../assets/ann-hero.png') center/cover no-repeat;
}

@media (max-width: 767px) {
  .ann-hero {
    aspect-ratio: 4 / 3;
  }
}
