:root {
  --ink: #1c1814;
  --paper: #f7f3ea;
  --mist: #e8e2d6;
  --wood: #5c4a32;
  --gold: #b8954a;
  --gold-light: #d4bc7a;
  --shadow: rgba(28, 24, 20, 0.12);
  --font-serif: "Noto Serif TC", "Zen Old Mincho", "PMingLiU", serif;
  --wrap: min(1120px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

.wrap { width: var(--wrap); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--wood));
  box-shadow: 0 4px 14px var(--shadow);
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.nav-link {
  color: var(--wood);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-link:hover { color: var(--ink); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(280px, 48vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(28, 24, 20, 0.55) 0%, rgba(92, 74, 50, 0.35) 45%, rgba(247, 243, 234, 0.9) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(184, 149, 74, 0.25), transparent);
}

.hero-content {
  position: relative;
  padding: 3rem 0 3.5rem;
  color: #fff;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  opacity: 0.85;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-tagline {
  margin: 0;
  max-width: 36em;
  font-size: 1.05rem;
  opacity: 0.92;
}

.section { padding: 3rem 0 4rem; }

.section-head h2 {
  margin: 0;
  font-size: 1.75rem;
  color: var(--wood);
}

.section-sub {
  margin: 0.35rem 0 2rem;
  color: #6b6358;
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
  border: 1px solid var(--mist);
  transition: transform 0.25s, box-shadow 0.25s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(28, 24, 20, 0.16);
}

.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--mist);
}

.news-thumb-empty {
  background: linear-gradient(135deg, var(--mist), #d9d0c0);
}

.news-body { padding: 1.1rem 1.25rem 1.35rem; }

.news-body time {
  font-size: 0.8rem;
  color: #8a8072;
}

.news-body h3 {
  margin: 0.4rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.45;
}

.news-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #5a5248;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-block { padding: 2.5rem 0 4rem; }

.page-title h1 {
  margin: 0 0 1.5rem;
  font-size: 1.85rem;
  color: var(--wood);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

.article-list .list-item {
  border-bottom: 1px solid var(--mist);
  padding: 1.25rem 0;
}

.article-list a {
  text-decoration: none;
  color: inherit;
}

.article-list h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.article-list time {
  font-size: 0.85rem;
  color: #8a8072;
}

.article-list p {
  margin: 0.5rem 0 0;
  color: #5a5248;
}

.article-detail .breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #8a8072;
}

.article-detail .breadcrumb a { color: var(--wood); }

.article-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.35;
}

.article-header .subtitle { color: #6b6358; margin: 0 0 0.5rem; }

.article-header time { font-size: 0.85rem; color: #8a8072; }

.article-content {
  margin-top: 2rem;
  font-size: 1.05rem;
  word-break: break-word;
}

.article-content img { max-width: 100%; height: auto; }

.site-footer {
  background: var(--wood);
  color: var(--mist);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-inner p { margin: 0.35rem 0; }

.copy { opacity: 0.75; margin-top: 0.75rem !important; }

.empty-hint { color: #8a8072; }

.pager { margin-top: 2rem; text-align: center; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    background: var(--paper);
    padding: 1rem 4vw;
    border-bottom: 1px solid var(--mist);
    box-shadow: 0 12px 24px var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-header .header-inner { position: relative; flex-wrap: wrap; }
}