/* /epaper 電子報 (page-epaper.php), 2026-11-05. Navy #192f65, gold #f8c623, no pills. */
.sfep { color: #1d2230; }
.sfep-empty { margin: 24px 0; font-size: 16px; color: #4b5260; }
.sfep-h2 { margin: 28px 0 14px; padding: 10px 0 0; font-size: 20px; font-weight: 700; border-top: 2px solid #000; }

/* overview */
.sfep-latest { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; margin: 22px 0 8px; }
.sfep-cover { display: block; background: #f1f3f7; border: 1px solid #dfe3ea; box-shadow: 0 6px 22px rgba(16, 24, 48, .14); }
.sfep-cover img { display: block; width: 100%; height: auto; }
.sfep-latest-txt { padding-top: 8px; }
.sfep-badge { display: inline-block; margin: 0 0 10px; padding: 2px 10px; font-size: 13px; font-weight: 700; color: #192f65; background: #fff4cc; border-left: 3px solid #f8c623; }
.sfep-latest-txt h2 { margin: 0 0 6px; font-family: "Noto Serif TC", "Songti TC", serif; font-size: 30px; line-height: 1.3; color: #192f65; }
.sfep-meta { margin: 0 0 18px; font-size: 16px; color: #5c6372; }
.sfep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.sfep-btn { display: inline-block; padding: 11px 26px; font-size: 17px; font-weight: 700; color: #fff !important; background: #192f65; text-decoration: none; }
.sfep-btn:hover { background: #0f1f47; }
.sfep-link { font-size: 16px; font-weight: 600; color: #192f65 !important; text-decoration: none; }
.sfep-link:hover { text-decoration: underline; }
.sfep-issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; margin: 0; padding: 0; list-style: none; }
.sfep-issues a { display: block; color: #1d2230; text-decoration: none; }
.sfep-ithumb { display: block; aspect-ratio: 164 / 299; background: #f1f3f7; border: 1px solid #dfe3ea; }
.sfep-ithumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sfep-idate { display: block; margin: 8px 0 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.sfep-ino { display: block; font-size: 13px; color: #6b7280; }
.sfep-issues a:hover .sfep-idate { color: #192f65; text-decoration: underline; }

/* reader */
.sfep-rhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 14px 0 12px; padding: 12px 0 10px; border-top: 3px solid #192f65; border-bottom: 1px solid #e6e8ee; }
.sfep-rtitle { margin: 0; font-size: 24px; font-weight: 700; color: #192f65; }
.sfep-rtitle span { margin-left: 8px; font-size: 17px; font-weight: 600; color: #3c4250; }
.sfep-other { display: flex; flex-wrap: wrap; gap: 0 14px; }
.sfep-other a { padding: 4px 0; font-size: 15px; color: #50575e; text-decoration: none; border-bottom: 2px solid transparent; }
.sfep-other a[aria-current="page"] { color: #192f65; font-weight: 700; border-bottom-color: #f8c623; }
.sfep-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 8px 0; background: rgba(255, 255, 255, .96); border-bottom: 1px solid #eceef2; }
.sfep-nav { padding: 8px 14px; font-size: 16px; font-weight: 700; color: #192f65 !important; text-decoration: none; border: 1px solid #192f65; }
.sfep-nav:hover { color: #fff !important; background: #192f65; }
.sfep-nav[aria-disabled] { pointer-events: none; opacity: .35; }
.sfep-pos { margin: 0; font-size: 16px; color: #3c4250; font-variant-numeric: tabular-nums; }
.sfep-pos b { color: #192f65; }
.sfep-page { margin: 0 auto; max-width: 780px; }
.sfep-page img { display: block; width: 100%; height: auto; background: #f1f3f7; border: 1px solid #dfe3ea; cursor: zoom-in; }
.sfep-page figcaption { margin: 8px 0 0; text-align: center; font-size: 14px; }
.sfep-fulltxt { color: #192f65; }
.sfep-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 12px; margin: 0; padding: 0; list-style: none; }
.sfep-thumbs a { display: block; color: #3c4250; text-align: center; text-decoration: none; }
.sfep-thumbs img { display: block; width: 100%; aspect-ratio: 164 / 299; object-fit: contain; background: #f1f3f7; border: 2px solid #e3e6ec; }
.sfep-thumbs span { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; }
.sfep-thumbs a[aria-current="page"] img { border-color: #f8c623; }
.sfep-thumbs a[aria-current="page"] span { color: #192f65; }
.sfep a:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }

@media (max-width: 800px) {
	.sfep-latest { grid-template-columns: 1fr; gap: 16px; }
	.sfep-cover { max-width: 300px; margin: 0 auto; }
	.sfep-latest-txt { text-align: center; }
	.sfep-latest-txt h2 { font-size: 24px; }
	.sfep-actions { justify-content: center; }
	.sfep-issues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sfep-rtitle { font-size: 21px; }
	.sfep-rtitle span { display: block; margin: 2px 0 0; font-size: 15px; }
	.sfep-page { margin: 0 -15px; max-width: none; }
	.sfep-page img { border-left: 0; border-right: 0; }
	.sfep-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
	.sfep-nav { padding: 8px 12px; font-size: 15px; }
}
