/* 與展覽專文共用 styles.css、overview.css。
   以下同步正式站 styles.css?v=11 的字體、頁首與小螢幕修正；
   本檔只由活動頁載入，內容區仍使用原站的文章版型。 */
html {
  font-size: clamp(100%, calc(87.5% + 0.35vw), 112.5%);
}

body {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU",
    "Microsoft JhengHei", serif;
}

.site-header {
  border-bottom-color: transparent;
  background: linear-gradient(
    to bottom,
    rgba(201, 224, 236, 0.94),
    rgba(201, 224, 236, 0)
  );
  backdrop-filter: none;
}

.header-inner {
  background: transparent;
}

.site-nav a[aria-current="page"]:not(:hover) {
  color: inherit;
  background: transparent;
}

.fade-in,
.fade-in.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.article-body,
.page-hero,
.breadcrumbs li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-hero > .eyebrow {
  margin-bottom: clamp(24px, 2.5vw, 32px);
}
.page-hero .activity-title {
  max-width: 100%;
}

.activity-title img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-large);
}

.activity-article strong {
  color: var(--mountain-dark);
  font-weight: 800;
}

.activity-meta {
  margin-top: 1.75rem;
}

.activity-meta p {
  margin: 0.5rem 0;
  text-indent: 0;
  text-align: left;
}

/* 參加方式標題與第一個步驟之間的留白。 */
.activity-article #activity-steps {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.activity-step + .activity-step {
  margin-top: 2rem;
}

.activity-step h3 {
  margin: 0 0 0.75rem;
  color: var(--mountain-dark);
  font-size: clamp(1.5rem, 2.2vw, 1.7rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.activity-step p {
  text-indent: 0;
}

.activity-rules {
  margin: 0;
  padding-inline-start: 1.5em;
}

.activity-rules li + li {
  margin-top: 0.75rem;
}

@media (max-width: 1400px) {
  .site-header {
    background: linear-gradient(
      to bottom,
      rgba(201, 224, 236, 0.98),
      rgba(201, 224, 236, 0.9) 74%,
      rgba(201, 224, 236, 0)
    );
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.75rem;
  }
  .header-inner .brand {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.3;
  }
  .header-inner .brand span {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .menu-toggle {
    flex: 0 0 auto;
  }
}

@media (max-width: 360px) {
  .article-body {
    padding: 16px;
  }
}

/* 活動介紹前的合作名稱與引言。 */
.activity-opening {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.activity-opening p {
  text-indent: 0;
  text-align: left;
}
.activity-opening .article-byline {
  margin-top: 0.75rem;
  font-size: 1.125rem;
}
.activity-opening .page-lead {
  margin-top: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
@media (max-width: 760px) {
  .activity-opening .page-lead {
    font-size: 1.03rem;
  }
}