:root {
  --news-ink: #171717;
  --news-muted: #6b6b6b;
  --news-line: #dedede;
  --news-paper: #fff;
  --news-soft: #f5f4f1;
  --news-accent: #b4232d;
  --news-dark: #0d0d0d;
  --news-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.news-site { margin: 0; background: var(--news-paper); color: var(--news-ink); font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; text-rendering: optimizeLegibility; }
body.news-site a { color: inherit; }
body.news-site img { max-width: 100%; }
.container { max-width: var(--news-max); }
.news-skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 2000; transform: translateY(-160%); padding: .75rem 1rem; background: #fff; color: #000; border: 2px solid #000; }
.news-skip-link:focus { transform: translateY(0); }

.news-site-header { position: relative; z-index: 1030; background: #fff; }
.news-brandbar { min-height: 128px; display: grid; place-items: center; padding-block: 1.3rem 1rem; text-align: center; }
.news-brand { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.news-brand img { width: auto; max-width: 200px; height: 72px; object-fit: contain; }
.news-brand span { font-family: "Noto Serif TC", serif; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: .08em; }
.news-brandbar p { margin: .35rem 0 0; color: var(--news-muted); font-size: .78rem; letter-spacing: .18em; }
.news-navbar { position: sticky; top: 0; z-index: 1020; background: rgba(255,255,255,.97); border-block: 1px solid var(--news-line); backdrop-filter: blur(10px); }
.news-navbar__inner { min-height: 58px; display: flex; align-items: center; gap: 1.25rem; }
.news-desktop-nav { display: flex; align-items: stretch; min-width: 0; flex: 1; overflow: hidden; }
.news-desktop-nav a { position: relative; display: grid; place-items: center; min-height: 58px; padding: 0 .85rem; text-decoration: none; white-space: nowrap; font-size: .94rem; font-weight: 600; }
.news-desktop-nav a::after { content: ""; position: absolute; inset: auto .8rem -1px; height: 3px; background: var(--news-accent); transform: scaleX(0); transition: transform .2s ease; }
.news-desktop-nav a:hover::after, .news-desktop-nav a:focus-visible::after { transform: scaleX(1); }
.news-search { position: relative; width: 205px; flex: 0 0 auto; }
.news-search input { width: 100%; height: 38px; padding: 0 2.6rem 0 1rem; border: 1px solid #cacaca; border-radius: 999px; background: #fafafa; }
.news-search button { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; }
.news-menu-button, .news-mobile-search, .news-mobile-brand { display: none; }
.news-offcanvas nav { display: flex; flex-direction: column; }
.news-offcanvas nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--news-line); text-decoration: none; font-size: 1.05rem; }
.news-mobile-search-panel { background: #fff; border-top: 1px solid var(--news-line); }
.news-mobile-search-panel form { display: flex; max-width: 720px; padding: .75rem 1rem; margin: auto; }
.news-mobile-search-panel input { flex: 1; min-width: 0; padding: .65rem .8rem; border: 1px solid #bbb; border-radius: .35rem 0 0 .35rem; }
.news-mobile-search-panel button { padding-inline: 1rem; border: 0; background: var(--news-dark); color: #fff; border-radius: 0 .35rem .35rem 0; }

.news-hero { position: relative; overflow: hidden; background: #111; }
.news-hero .swiper-slide { position: relative; height: clamp(430px, 62vw, 720px); }
.news-hero .swiper-slide > a { display: block; height: 100%; color: #fff; text-decoration: none; }
.news-hero-swiper { cursor: grab; }
.news-hero-swiper:active { cursor: grabbing; }
.news-hero-swiper__prev,
.news-hero-swiper__next { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.32); color: #fff; transform: translateY(-50%); transition: background-color .18s ease, transform .18s ease; }
.news-hero-swiper__prev { left: clamp(1rem,3vw,2.5rem); }
.news-hero-swiper__next { right: clamp(1rem,3vw,2.5rem); }
.news-hero-swiper__prev:hover,
.news-hero-swiper__next:hover,
.news-hero-swiper__prev:focus-visible,
.news-hero-swiper__next:focus-visible { background: rgba(0,0,0,.62); transform: translateY(-50%) scale(1.04); }
.news-hero-swiper__pagination { position: absolute; z-index: 5; left: 0; right: 0; bottom: 1.25rem; display: flex; justify-content: center; gap: .45rem; }
.news-hero-swiper__pagination .swiper-pagination-bullet { width: 2.2rem; height: .25rem; border-radius: 999px; background: rgba(255,255,255,.62); opacity: 1; }
.news-hero-swiper__pagination .swiper-pagination-bullet-active { background: #fff; }
.news-hero__media, .news-hero__media img, .news-image-placeholder { width: 100%; height: 100%; }
.news-hero__media img { object-fit: cover; }
.news-image-placeholder { display: grid; place-items: center; background: linear-gradient(135deg,#d9d9d9,#f4f4f4); color: #777; font-size: 3rem; }
.news-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.4) 52%,rgba(0,0,0,.08) 100%),linear-gradient(0deg,rgba(0,0,0,.45),transparent 50%); }
.news-hero__content { position: absolute; inset: auto 0 clamp(2.5rem,7vw,6rem); }
.news-hero__content span { display: inline-block; margin-right: .8rem; padding: .3rem .65rem; background: var(--news-accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.news-hero__content time { font-size: .86rem; }
.news-hero__content h1 { max-width: 850px; margin: .85rem 0 .6rem; font-family: "Noto Serif TC", serif; font-size: clamp(2rem,5vw,4.6rem); font-weight: 800; line-height: 1.18; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.news-hero__content p { max-width: 680px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(.98rem,1.5vw,1.16rem); }
.news-hero--empty { min-height: 480px; display: grid; align-items: end; padding-bottom: 5rem; color: #fff; background: radial-gradient(circle at 80% 20%,#3b3b3b,transparent 45%),linear-gradient(135deg,#0d0d0d,#252525); }
.news-hero--empty h1 { max-width: 850px; font-family: "Noto Serif TC",serif; font-size: clamp(2.4rem,6vw,5.5rem); font-weight: 800; }
.news-kicker { color: var(--news-accent); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }

.news-breaking { overflow: hidden; background: #0d0d0d; color: #fff; }
.news-breaking__inner { min-height: 64px; display: flex; align-items: center; gap: 1.4rem; }
.news-breaking strong { flex: 0 0 auto; color: #fff; font-size: .9rem; letter-spacing: .08em; }
.news-breaking strong i { color: #e34040; }
.news-breaking__viewport { min-width: 0; overflow: hidden; }
.news-breaking__track { display: flex; width: max-content; animation: newsTicker 35s linear infinite; }
.news-breaking__track:hover { animation-play-state: paused; }
.news-breaking__track a { margin-right: 4rem; color: #fff; text-decoration: none; white-space: nowrap; }
.news-breaking__track a span { margin-right: .55rem; color: #d7a9ac; }
@keyframes newsTicker { to { transform: translateX(-55%); } }
@media (prefers-reduced-motion: reduce) { .news-breaking__track { animation: none; flex-wrap: wrap; width: auto; padding-block: .7rem; } }

.news-section { padding-block: clamp(3.5rem,7vw,6.5rem); }
.news-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--news-ink); }
.news-section-heading span, .news-sidebar__heading span, .news-page-banner span, .news-newsletter span { color: var(--news-accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.news-section-heading h2, .news-sidebar__heading h2 { margin: .2rem 0 0; font-family: "Noto Serif TC",serif; font-weight: 800; }
.news-section-heading > a { text-decoration: none; font-size: .92rem; font-weight: 700; }
.news-home-layout { display: grid; grid-template-columns: minmax(0,2.15fr) minmax(280px,.85fr); gap: clamp(2rem,4vw,4.5rem); align-items: start; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1.5rem; }
.news-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.news-card { min-width: 0; }
.news-card__cover { display: block; overflow: hidden; aspect-ratio: 16/9; background: #eee; }
.news-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .news-card__cover img { transform: scale(1.035); }
.news-card__body { padding-top: 1rem; }
.news-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--news-muted); font-size: .78rem; }
.news-card__meta a, .news-card__meta span { color: var(--news-accent); text-decoration: none; font-weight: 700; }
.news-card__title { margin: .55rem 0 .65rem; font-family: "Noto Serif TC",serif; font-size: clamp(1.15rem,2vw,1.42rem); font-weight: 700; line-height: 1.48; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-card__title a { text-decoration: none; }
.news-card__summary { margin: 0 0 .9rem; color: var(--news-muted); line-height: 1.75; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-card__more, .news-read-more { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-size: .86rem; font-weight: 700; }
.news-card__more i, .news-read-more i { transition: transform .2s ease; }
.news-card__more:hover i, .news-read-more:hover i { transform: translateX(.25rem); }

.news-sidebar { position: sticky; top: 84px; padding: 1.5rem; background: var(--news-soft); border-top: 4px solid var(--news-dark); }
.news-sidebar__heading { margin-bottom: 1.2rem; }
.news-ranking { list-style: none; margin: 0; padding: 0; }
.news-ranking li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; padding: 1.1rem 0; border-top: 1px solid #ccc; }
.news-ranking li:first-child { border-top: 0; }
.news-ranking > li > span { color: #aaa; font-family: "Noto Serif TC",serif; font-size: 1.25rem; font-weight: 800; }
.news-ranking li div { min-width: 0; }
.news-ranking small { display: block; margin-bottom: .25rem; color: var(--news-accent); font-weight: 700; }
.news-ranking a { display: block; text-decoration: none; font-family: "Noto Serif TC",serif; font-weight: 700; line-height: 1.5; }
.news-ranking time { display: block; margin-top: .35rem; color: var(--news-muted); font-size: .76rem; }
.news-ranking__empty { display: block !important; color: var(--news-muted); }
.news-category-strip { background: var(--news-soft); }
.news-category-strip + .news-category-strip { background: #fff; }

.news-newsletter { padding-block: 4.5rem; background: var(--news-dark); color: #fff; }
.news-newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.news-newsletter h2 { margin: .35rem 0; font-family: "Noto Serif TC",serif; font-size: clamp(1.7rem,4vw,3rem); font-weight: 800; }
.news-newsletter p { margin: 0; color: #bbb; }
.news-newsletter a { flex: 0 0 auto; padding: .9rem 1.3rem; border: 1px solid #fff; color: #fff; text-decoration: none; font-weight: 700; }

.news-page-banner { padding-block: clamp(3.5rem,8vw,7rem); background: var(--news-soft); border-bottom: 1px solid var(--news-line); }
.news-page-banner h1 { margin: .5rem 0; font-family: "Noto Serif TC",serif; font-size: clamp(2.5rem,6vw,5rem); font-weight: 800; }
.news-page-banner p { max-width: 700px; margin: 0; color: var(--news-muted); font-size: 1.05rem; }
.news-category-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; margin-bottom: 5rem; }
.news-category-feature__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.news-category-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.news-category-feature time { display: block; margin: .8rem 0; color: var(--news-muted); font-size: .85rem; }
.news-category-feature h2 { font-family: "Noto Serif TC",serif; font-size: clamp(1.8rem,3.7vw,3.4rem); font-weight: 800; line-height: 1.35; }
.news-category-feature h2 a { text-decoration: none; }
.news-category-feature p { color: var(--news-muted); line-height: 1.8; }
.news-category-content { padding-top: 3rem; border-top: 1px solid var(--news-line); }
.news-list-stack { display: grid; gap: 2rem; }
.news-list-stack .news-card { display: grid; grid-template-columns: minmax(220px,.9fr) minmax(0,1.1fr); gap: 1.4rem; padding-bottom: 2rem; border-bottom: 1px solid var(--news-line); }
.news-list-stack .news-card__body { padding-top: 0; }

.news-article-layout { display: grid; grid-template-columns: 64px minmax(0,780px) minmax(270px,340px); gap: clamp(1.5rem,3vw,3rem); align-items: start; padding-block: clamp(2.5rem,6vw,5rem); }
.news-share-rail { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.news-share-rail > span { writing-mode: vertical-rl; color: var(--news-muted); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.news-share-rail button { width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--share-button-color) 55%, #fff); border-radius: 50%; background: #fff; color: var(--share-button-color); transition: transform .18s ease,background-color .18s ease,color .18s ease; }
.news-share-rail button:hover,.news-share-rail button:focus-visible { transform: translateY(-2px); background: var(--share-button-color); color: #fff; }
.news-mobile-share .news-share-control { color: var(--share-button-color); border-color: color-mix(in srgb, var(--share-button-color) 45%, #d1d5db); }
.news-article { min-width: 0; }
.news-breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; color: var(--news-muted); font-size: .82rem; }
.news-breadcrumb a { text-decoration: none; }
.news-article__category { display: inline-block; margin-bottom: .8rem; color: var(--news-accent) !important; text-decoration: none; font-size: .86rem; font-weight: 800; }
.news-article__header h1 { margin: 0; font-family: "Noto Serif TC",serif; font-size: clamp(2rem,4.6vw,4rem); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.news-article__subtitle { margin: 1rem 0 0; color: #555; font-size: clamp(1.08rem,2vw,1.3rem); line-height: 1.7; }
.news-article__meta { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1.5rem; padding-block: 1rem; border-block: 1px solid var(--news-line); color: var(--news-muted); font-size: .82rem; }
.news-article__cover { margin: 2rem 0; }
.news-article__cover img { display: block; width: 100%; max-height: 650px; object-fit: cover; }
.news-article__cover figcaption { padding-top: .65rem; color: var(--news-muted); font-size: .82rem; }
.news-article__lead { margin: 2rem 0; padding: 1.3rem 1.5rem; background: var(--news-soft); border-left: 4px solid var(--news-accent); font-family: "Noto Serif TC",serif; font-size: 1.15rem; font-weight: 600; line-height: 1.8; }
.news-article__content { font-family: "Noto Serif TC",serif; font-size: clamp(1.03rem,1.5vw,1.14rem); line-height: 2; }
.news-article__content p { margin-block: 0 1.5em; }
.news-article__content h2, .news-article__content h3 { margin: 2em 0 .75em; font-family: "Noto Sans TC",sans-serif; font-weight: 800; }
.news-article__content img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; }
.news-article__content a { color: #8d1d25; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.news-article__source { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--news-line); color: var(--news-muted); font-size: .86rem; }
.news-tag-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.news-tag-list span { padding: .4rem .65rem; background: var(--news-soft); font-size: .82rem; }
.news-article-sidebar { top: 84px; }
.news-mobile-share { display: none; }

.news-empty { padding: 5rem 1.5rem; text-align: center; background: var(--news-soft); border: 1px solid var(--news-line); }
.news-empty > i { font-size: 2.7rem; }
.news-empty h2 { margin-top: 1rem; font-family: "Noto Serif TC",serif; font-weight: 800; }
.news-footer { padding-top: 4rem; background: #111; color: #fff; }
.news-footer__grid { display: grid; grid-template-columns: minmax(0,1.2fr) repeat(auto-fit,minmax(180px,.8fr)); gap: 3rem; }
.news-footer__brand { font-family: "Noto Serif TC",serif; font-size: 2rem; font-weight: 800; }
.news-footer p { max-width: 570px; color: #aaa; line-height: 1.8; }
.news-footer nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; align-content: start; }
.news-footer nav a { min-width: 0; color: #ddd; text-decoration: none; overflow-wrap: anywhere; }
.news-footer__bottom { margin-top: 3rem; padding-block: 1.2rem; border-top: 1px solid #333; color: #888; font-size: .8rem; }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #e0a300; outline-offset: 3px; }

@media (max-width: 991.98px) {
  .news-brandbar { min-height: 100px; }
  .news-desktop-nav, .news-search { display: none; }
  .news-menu-button, .news-mobile-search { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.45rem; }
  .news-mobile-brand { display: block; flex: 1; text-align: center; text-decoration: none; font-family: "Noto Serif TC",serif; font-size: 1.25rem; font-weight: 800; }
  .news-navbar__inner { justify-content: space-between; }
  .news-home-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
  .news-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-article-layout { grid-template-columns: 50px minmax(0,1fr); }
  .news-article-sidebar { grid-column: 2; }
  .news-category-feature { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 767.98px) {
  .news-brandbar { display: none; }
  .news-navbar { position: sticky; }
  .news-navbar__inner { min-height: 56px; }
  .news-hero .swiper-slide { height: 520px; }
  .news-hero__shade { background: linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.18) 75%); }
  .news-hero__content { bottom: 3rem; }
  .news-hero__content h1 { font-size: clamp(2rem,9vw,3.25rem); }
  .news-hero__content p { display: none; }
  .news-breaking__inner { min-height: 56px; }
  .news-breaking__track a { margin-right: 2rem; font-size: .88rem; }
  .news-section { padding-block: 3.5rem; }
  .news-grid, .news-grid--three, .news-grid--two { grid-template-columns: 1fr; }
  .news-section-heading { align-items: center; }
  .news-newsletter .container { align-items: flex-start; flex-direction: column; }
  .news-category-feature { grid-template-columns: 1fr; }
  .news-category-feature h2 { font-size: 2rem; }
  .news-list-stack .news-card { grid-template-columns: 138px minmax(0,1fr); gap: 1rem; }
  .news-list-stack .news-card__summary, .news-list-stack .news-card__more { display: none; }
  .news-list-stack .news-card__title { font-size: 1.05rem; }
  .news-article-layout { display: block; padding-top: 1.5rem; }
  .news-share-rail { display: none; }
  .news-article__header h1 { font-size: clamp(2rem,8.5vw,3rem); }
  .news-article__content { font-size: 1.05rem; line-height: 1.95; }
  .news-article-sidebar { margin-top: 3.5rem; }
  .news-mobile-share { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-top: 2rem; }
  .news-mobile-share button { min-height: 46px; border: 1px solid var(--news-line); background: #fff; font-size: .8rem; }
  .news-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .news-hero .swiper-slide { height: 470px; }
  .news-hero__content { bottom: 2.4rem; }
  .news-hero__content h1 { font-size: 2rem; }
  .news-list-stack .news-card { grid-template-columns: 116px minmax(0,1fr); }
  .news-card__meta { font-size: .7rem; }
  .news-mobile-share button { font-size: 0; }
  .news-mobile-share button i { font-size: 1.1rem; }
}
.news-video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.5rem 0; overflow: hidden; border-radius: .75rem; background: #000; }
.news-video-embed iframe { width: 100%; height: 100%; border: 0; }
.news-video-caption { margin-top: -.9rem; color: #68707c; font-size: .9rem; }
.news-video-block { width: 100%; margin: 1.5rem 0; }
.news-video-block .news-video-embed { margin: 0 0 .75rem; }
.news-video-block .news-video-caption { max-width: 100%; margin: 0; overflow-wrap: anywhere; color: #68707c; font-size: .9rem; text-align: inherit; word-break: break-word; }
.news-video-fallback { display: inline-block; margin-top: .55rem; font-size: .88rem; }
.news-font-small { font-size: .82em; }
.news-font-large { font-size: 1.25em; }
.news-content-image img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.news-content-image figcaption { margin-top: .5rem; color: #68707c; text-align: center; font-size: .9rem; }
.news-flipbox-carousel { display: flex; gap: 1rem; overflow-x: auto; padding: .5rem 0; scroll-snap-type: x mandatory; }
.news-flipbox-card { min-width: min(82vw, 420px); min-height: 220px; perspective: 1000px; scroll-snap-align: start; }
.news-flipbox-card__inner { position: relative; min-height: 220px; transition: transform .55s; transform-style: preserve-3d; }
.news-flipbox-card:hover .news-flipbox-card__inner, .news-flipbox-card:focus .news-flipbox-card__inner { transform: rotateY(180deg); }
.news-flipbox-card__face { position: absolute; inset: 0; padding: 1.25rem; border: 1px solid #d8dee8; border-radius: .75rem; background: #fff; backface-visibility: hidden; }
.news-flipbox-card__back { transform: rotateY(180deg); }
.news-content-block-link { display: block; color: inherit; text-decoration: none; }
.news-content-block { box-sizing: border-box; }
.news-image-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: .75rem; margin: 1.5rem 0; }
.news-image-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: .65rem; }
