/* 由設計稿 newfrontend/home.html 的內嵌樣式抽出 */
body{margin:0}
p,div[style*="line-height:1.7"],div[style*="line-height:1.8"],div[style*="line-height:1.85"]{text-wrap:pretty}
.faq summary{list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq .plus{transition:transform .2s ease}
.faq details[open] .plus{transform:rotate(45deg)}
@media (prefers-reduced-motion: reduce){.faq .plus{transition:none}}
/* 活動與報名問答分列，活動卡在窄版自動換欄。 */
.home-events, .home-registration-faq {
  box-sizing: border-box;
  padding: var(--space-section) clamp(20px, 5vw, 72px);
  background: #FFFDF8;
}
.home-registration-faq { background: #F7F2E8; }
.home-section-inner { max-width: 1200px; margin-inline: auto; }
.home-section-inner > h2 {
  margin: 0 0 28px;
  font: 700 var(--type-section)/var(--leading-section) var(--font-body);
  color: #171512;
}
.home-registration-faq .faq { margin-top: 28px; }
.home-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.home-event-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px dashed #CDBB98;
  border-radius: 16px;
  background: #FFFDF8;
}
.home-event-image {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  aspect-ratio: 2 / 1;
  padding: 12px;
  text-align: center;
  background: #EFE6D3;
  border: 1px dashed #CDBB98;
  border-radius: 12px;
  color: #6F6A62;
  font-size: 14px;
}
.home-event-card h3 {
  margin: 12px 0 0;
  font: 700 var(--type-card)/var(--leading-card) var(--font-body);
  color: #171512;
}
.home-event-card p {
  margin: 8px 0 0;
  font-size: var(--type-body);
  line-height: var(--leading-body);
  color: #6F6A62;
}
.home-event-action { margin-top: auto; padding-top: 20px; }
/* 三張活動卡共用報名按鈕樣式，預留卡待補網址再開放。 */
.home-event-register {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: #D5A53B;
  color: #171512;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}
.home-event-register:disabled { opacity: 1; }
