/* The article pages extend the existing site's colours and typography. */
.articles-eyebrow, .article-section-heading span { color: #bd9369; font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.articles-main, .article-container { width: min(1180px, 90%); margin: 0 auto; }
.articles-main { padding: 48px 0 110px; }
.article-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 75px; }
.article-categories a { border: 1px solid #bd9369; border-radius: 100px; color: #4a342c; padding: 10px 22px; background: #fff; }
.article-categories a:hover, .article-categories a:focus-visible { background: #2f604c; border-color: #2f604c; color: #fff; }
.article-section { scroll-margin-top: 120px; }
.article-category-section { margin-top: 85px; }
.article-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #dcdad4; }
.article-section-heading h2, .article-related h2 { font-family: 'Noto Serif TC', serif; font-size: clamp(27px, 3vw, 36px); color: #4a342c; line-height: 1.4; margin: 7px 0 0; }
.article-section-heading > p { color: #817d71; font-size: 14px; margin: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.article-card { background: #fff; border: 1px solid #ecebe6; box-shadow: 0 12px 30px rgba(74, 52, 44, .06); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(74, 52, 44, .12); }
.article-card-link { display: block; color: inherit; height: 100%; }
.article-card-cover { display: block; width: 100%; height: 210px; object-fit: cover; }
.article-card-body { padding: 28px; display: flex; flex-direction: column; height: 100%; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: #817d71; font-size: 13px; letter-spacing: .03em; }
.article-meta span, .article-category { color: #2f604c; font-weight: 700; }
.article-card h3 { font-family: 'Noto Serif TC', serif; color: #4a342c; font-size: 21px; line-height: 1.5; margin: 16px 0 12px; }
.article-card p { color: #666; line-height: 1.8; font-size: 15px; letter-spacing: .04em; margin: 0 0 20px; }
.article-read-more { color: #2f604c; font-weight: 700; margin-top: auto; }
.article-read-more span { margin-left: 8px; }
.article-empty { padding: 40px; background: #fff; color: #666; text-align: center; }
.article-page { background: #f5f3eb; padding: 38px 0 110px; }
.article-container { max-width: 1000px; }
.article-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #817d71; font-size: 13px; margin-bottom: 42px; letter-spacing: .03em; }
.article-breadcrumb a { color: #2f604c; }
.article-detail { background: #fff; padding: clamp(28px, 6vw, 76px); box-shadow: 0 12px 38px rgba(74, 52, 44, .05); }
.article-detail-header { border-bottom: 1px solid #ecebe6; padding-bottom: 35px; margin-bottom: 40px; }
.article-detail h1 { font-family: 'Noto Serif TC', serif; color: #4a342c; font-size: clamp(29px, 4vw, 44px); line-height: 1.45; margin: 20px 0; }
.article-summary { color: #666; font-size: 17px; line-height: 1.9; margin: 0 0 22px; }
.article-dates { display: flex; flex-wrap: wrap; gap: 10px 24px; color: #817d71; font-size: 13px; letter-spacing: .04em; }
.article-cover { width: 100%; max-height: 440px; object-fit: cover; margin-bottom: 36px; }
.article-prose { color: #4a342c; font-size: 17px; line-height: 2.05; letter-spacing: .03em; }
.article-prose > :first-child { margin-top: 0; }
.article-prose h2 { font-family: 'Noto Serif TC', serif; font-size: 26px; line-height: 1.5; color: #2f604c; margin: 42px 0 14px; }
.article-prose h3 { font-size: 21px; color: #4a342c; margin-top: 32px; }
.article-prose p, .article-prose ul, .article-prose ol { margin: 0 0 22px; }
.article-prose ul, .article-prose ol { padding-left: 1.6em; }
.article-prose a, .article-note a { color: #2f604c; text-decoration: underline; text-underline-offset: 3px; }
.article-prose img { display: block; max-width: 100%; margin: 28px auto; }
.article-prose blockquote { border-left: 4px solid #bd9369; padding: 8px 24px; margin: 24px 0; background: #f5f3eb; }
.article-note { margin-top: 45px; padding: 20px 24px; background: #f5f3eb; color: #666; font-size: 14px; line-height: 1.8; }
.article-bottom-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin: 26px 0 65px; }
.article-bottom-links a { color: #2f604c; font-weight: 700; }
.article-related h2 { margin-bottom: 28px; }
.home-articles { max-width: 1180px; width: 90%; margin: 95px auto 110px; }
.home-articles-head { text-align: center; margin-bottom: 32px; }
.home-articles-head h2 { font-family: 'Noto Serif TC', serif; color: #4a342c; font-size: clamp(30px, 4vw, 42px); margin: 12px 0; }
.home-articles-head p { color: #666; }
.home-articles-more { display: block; width: fit-content; margin: 36px auto 0; padding: 13px 36px; background: #2f604c; color: #fff; }
.home-articles-more:hover { color: #fff; background: #4a342c; }
a:focus-visible { outline: 3px solid #f98b4c !important; outline-offset: 3px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .articles-main { padding-top: 36px; }
  .article-categories { justify-content: flex-start; margin-bottom: 50px; }
  .article-categories a { padding: 8px 16px; font-size: 14px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-section-heading { align-items: start; }
  .article-page { padding-top: 24px; }
  .article-breadcrumb { margin-bottom: 25px; }
  .article-detail-header { margin-bottom: 28px; }
  .article-prose { font-size: 16px; }
  .article-prose h2 { font-size: 23px; }
}
