/* sf.epochtimes.com article page 2026 (PRIVATE PREVIEW, includes/sf-article-2026.php). Loaded after sf-2026.css,
   sf-article.css and single.css. Same language as the homepage preview (sf-home-2026.css): hairline rows, plain
   headings over a hairline, centred serif title between thick-thin rules for the band under the article, no pills,
   no icon tiles, 2px corners. Text sizes follow HQ articles: body 20/36, headline 32 (phone 26), side lists 16. */

main.sfa {
	--sfa-w: 1180px;
	--sfa-rule: var(--s26-rule, #e3e5e9);
	--sfa-rule-2: var(--s26-rule-strong, #c9cdd4);
	--sfa-ink: var(--s26-ink, #16181d);
	--sfa-text: var(--s26-text, #262626);
	--sfa-meta: var(--s26-meta, #646a73);
	--sfa-link: var(--s26-link, #1b4b91);
	--sfa-navy: var(--s26-navy, #10357e);
	--sfa-red: #b5121b;
	--sfa-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", "MingLiU", serif;
	display: block;
	background: #fff;
	color: var(--sfa-text);
	font-family: var(--s26-sans, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif);
}
main.sfa *, main.sfa *::before, main.sfa *::after { box-sizing: border-box; }
main.sfa a:hover { color: var(--sfa-link); text-decoration: underline; text-underline-offset: 3px; }
.sfa-vh { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* this page is as wide as the homepage preview; the masthead follows */
@media (min-width: 1001px) { body:has(main.sfa) .header .container { max-width: 1148px; } }

.sfa-wrap { max-inline-size: var(--sfa-w); margin-inline: auto; padding-inline: 16px; }
.sfa-wrap.news-single { text-align: left; }   /* single.css centres everything under .news-single */
.sfa-art, .sfa-side { float: none; inline-size: auto; }
.sfa-crumb { display: flex; flex-wrap: wrap; gap: 0 8px; padding-block: 18px 0; font-size: .9375rem; color: var(--sfa-meta); }
.sfa-crumb a { color: var(--sfa-meta); text-decoration: none; padding-block: 4px; }

.sfa-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 64px; align-items: stretch; padding-block: 14px 56px; }
.sfa-art { min-inline-size: 0; max-inline-size: 760px; }
.sfa-side { min-inline-size: 0; }

/* ---------- headline block ---------- */
.sfa-head { margin-block-end: 22px; }
.sfa-kicker { margin: 0 0 10px; padding: 0; font-size: 1rem; font-weight: 700; color: var(--sfa-link); }
.sfa-kicker a { color: var(--sfa-link); text-decoration: none; }
.sfa-sep { color: #b9bec6; font-weight: 400; margin-inline: 4px; }
.sfa-title { margin: 0; padding: 0; font-size: 2rem; line-height: 1.4; font-weight: 700; color: var(--sfa-ink); letter-spacing: .01em; text-align: left; text-wrap: pretty; }
.sfa-dek { margin: 12px 0 0; padding: 0; font-size: 1.25rem; line-height: 1.6; color: #4a4f57; }
.sfa-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-block-start: 20px; padding-block: 12px; border-block: 1px solid var(--sfa-rule-2); }
.sfa-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; padding: 0; font-size: .9375rem; color: var(--sfa-meta); }
.sfa-by { color: var(--sfa-ink); font-weight: 700; }
.sfa-meta .etd-rt, .sfa-meta .sfa-rt { margin: 0 !important; color: var(--sfa-meta) !important; font-size: inherit !important; }
.sfa-tools { display: flex; align-items: center; gap: 6px; font-size: .9375rem; color: var(--sfa-meta); }
.sfa-tool-l { margin-inline-end: 2px; }
.sfa-fs { min-inline-size: 36px; min-block-size: 36px; padding: 0 8px; border: 1px solid var(--sfa-rule-2); border-radius: 2px; background: #fff; color: var(--sfa-ink); font: inherit; font-size: 1rem; cursor: pointer; }
.sfa-fs:hover { border-color: var(--sfa-navy); color: var(--sfa-navy); }
.sfa-fs:disabled { opacity: .35; cursor: default; }
.sfa-zh a, .sfa-share-jump, .sfa-tools .sfa-edit { display: inline-flex; align-items: center; min-block-size: 36px; padding: 0 10px; border: 1px solid var(--sfa-rule-2); border-radius: 2px; color: var(--sfa-ink) !important; text-decoration: none !important; }
.sfa-zh a:hover, .sfa-share-jump:hover { border-color: var(--sfa-navy); color: var(--sfa-navy) !important; }
.sfa-zh { margin-inline-start: 6px; }

/* ---------- lead picture ---------- */
.sfa-lead { margin: 0 0 30px; padding: 0; }
.sfa-lead img { display: block; inline-size: 100%; block-size: auto; border-radius: 2px; background: #eef0f3; }
.sfa-lead-a { display: block; }
.sfa-cap, main.sfa .sfa-cap.caption { display: block; margin: 10px 0 0; padding: 0 0 10px; border-block-end: 1px solid var(--sfa-rule); font-size: .9375rem !important; line-height: 1.65; color: var(--sfa-meta); text-align: left; }
.sfa-lead--video .video_fit_container { margin: 0; }

/* ---------- body (keeps the theme's .post_content rules: 20/36, HQ colour; only spacing tidied) ---------- */
main.sfa .post_content { padding: 0; }
main.sfa .post_content > p:first-of-type { margin-block-start: 0; }
.sfa-uploader { text-align: center; }
.sfa-dates { margin: 24px 0 0; padding: 12px 0 0; border-block-start: 1px solid var(--sfa-rule); font-size: .875rem; color: var(--sfa-meta); }

/* ---------- sidebar ---------- */
.sfa-ad { margin: 0 0 32px; text-align: center; }
.sfa-ad img { max-inline-size: 100%; block-size: auto; margin-inline: auto; }
.sfa-block { margin-block-end: 36px; }
.sfa-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-block-end: 1px solid var(--sfa-rule-2); padding-block-end: 8px; margin-block-end: 2px; }
.sfa-h h2 { margin: 0; padding: 0; font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--sfa-ink); }
.sfa-h h2 a { color: inherit; text-decoration: none; }
.sfa-more { font-size: .875rem; color: var(--sfa-link) !important; white-space: nowrap; padding-block: 6px; margin-block: -6px; }
.sfa-latest, .sfa-rank { list-style: none; margin: 0; padding: 0; }
.sfa-latest li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; padding-block: 10px; border-block-end: 1px solid var(--sfa-rule); }
.sfa-latest time { font-size: .875rem; line-height: 1.75; color: var(--sfa-meta); white-space: nowrap; }
.sfa-fresh { color: var(--sfa-red) !important; }
.sfa-latest a, .sfa-rank a { font-size: 1rem; line-height: 1.6; color: var(--sfa-ink); text-decoration: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip; }
.sfa-rank li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: start; padding-block: 10px; border-block-end: 1px solid var(--sfa-rule); }
.sfa-rnum { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.625rem; line-height: 1; font-weight: 700; color: var(--sfa-navy); }
.sfa-rank li:nth-child(-n+3) .sfa-rnum { color: var(--sfa-red); }
@media (min-width: 1001px) and (min-height: 760px) { .sfa-sticky { position: sticky; top: 24px; } }

.sfa-row { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 12px; border-block-end: 1px solid var(--sfa-rule); }
.sfa-row--big { grid-template-columns: minmax(0, 1fr); }
.sfa-row--big .sfa-t { font-weight: 700; }
.sfa-t { margin: 0; padding: 0; font-size: 1rem; line-height: 1.6; font-weight: 500; color: var(--sfa-ink); }
.sfa-t a { color: inherit; text-decoration: none; }
.sfa-row .sfa-t, .sfa-card .sfa-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: clip; }
.sfa-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
:is(.sfa-row, .sfa-card):has(.sfa-link:hover) .sfa-t a { color: var(--sfa-link); text-decoration: underline; text-underline-offset: 3px; }
.sfa-link:focus-visible { outline: none !important; }
:is(.sfa-row, .sfa-card):has(.sfa-link:focus-visible) { outline: 2px solid var(--sfa-link); outline-offset: 4px; }
.sfa-img { position: relative; aspect-ratio: 3 / 2; background: #e9ecf0; overflow: clip; border-radius: 2px; }
.sfa-img--video { aspect-ratio: 16 / 9; }
.sfa-img > img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.sfa-play { position: absolute; z-index: 2; inset-inline-start: 8px; inset-block-end: 8px; inline-size: 32px; block-size: 24px; border-radius: 2px; background: rgba(12, 18, 36, .8); }
.sfa-play::before { content: ""; position: absolute; inset: 0; margin: auto; inline-size: 0; block-size: 0; border-block: 5px solid transparent; border-inline-start: 9px solid #fff; transform: translateX(2px); }

/* ---------- 更多灣區新聞 band ---------- */
.sfa-moreband { background: #f3f4f6; padding-block: 44px 52px; }
.sfa-gh { text-align: center; margin-block-end: 26px; }
.sfa-gh h2 { display: grid; grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; gap: 28px; margin: 0; padding: 0;
	font-family: var(--sfa-serif); font-size: 2rem; line-height: 1.3; font-weight: 700; color: var(--sfa-ink); letter-spacing: .06em; }
.sfa-gh h2::before, .sfa-gh h2::after { content: ""; block-size: 6px; border-block-start: 2px solid currentColor; border-block-end: 1px solid currentColor; }
.sfa-gh h2 a { color: inherit; text-decoration: none; }
.sfa-mgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sfa-card, .sfa-row { position: relative; margin: 0; border-inline: 0; border-block-start: 0; background: none; }
main.sfa .sfa-card { border: 0 !important; }   /* an older theme rule boxes every card */
main.sfa .sfa-row { border-style: solid !important; border-color: var(--sfa-rule) !important; border-width: 0 0 1px !important; }
.sfa-card .sfa-img { margin-block-end: 10px; }
.sfa-card .sfa-t { font-size: 1.0625rem; line-height: 1.55; }
.sfa-card .sfa-meta { font-size: .8125rem; margin-block-start: 6px; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
	.sfa-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 0 36px; }
	.sfa-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phones (HQ phone article: headline 26, body 20/36, lists 18) ---------- */
@media (max-width: 760px) {
	.sfa-crumb { padding-block-start: 10px; }
	.sfa-grid { grid-template-columns: minmax(0, 1fr); padding-block: 8px 40px; }
	.sfa-art { max-inline-size: none; }
	.sfa-title { font-size: 1.625rem; line-height: 1.42; }
	.sfa-dek { font-size: 1.125rem; }
	.sfa-info { padding-block: 10px; }
	.sfa-tools { flex-wrap: wrap; }
	.sfa-lead { margin-inline: -16px; }
	.sfa-lead img { border-radius: 0; }
	.sfa-cap, main.sfa .sfa-cap.caption { padding-inline: 16px; }
	/* sidebar under the article: short now (即時新聞, 精彩視頻, 本週熱門 + the 2 ads) */
	.sfa-side { margin-block-start: 44px; }
	.sfa-latest a, .sfa-rank a, .sfa-t { font-size: 1.125rem; }
	.sfa-latest li:nth-child(n+11), .sfa-rank li:nth-child(n+9) { display: none; }   /* 2026-11-25: phones 10 即時新聞 (was 6), 8 熱門 */
	.sfa-row { grid-template-columns: minmax(0, 1fr) 42%; }
	.sfa-row .sfa-img { order: 2; }
	.sfa-row--big { grid-template-columns: minmax(0, 1fr); }
	.sfa-row--big .sfa-img { order: 0; }
	.sfa-gh h2 { font-size: 1.625rem; gap: 16px; }
	.sfa-mgrid { gap: 20px 16px; }
	.sfa-card .sfa-t { font-size: 1rem; }
}

/* ---------- rounded corners (user 2026-11-25: 盡量用圓角，美學圓角; still no pills) ----------
   three sizes, inner radius smaller than outer so nested shapes stay concentric:
   6px buttons / labels / small badges, 10px photos, 14px boxes. Phone lead photos stay edge-to-edge (no radius). */
body:has(main.sfa) .header .sf-sbtn, body:has(main.sfa) .header .navigation .search.sf-sbox a,
body:has(main.sfa) .header .top_row .sfw-account-link a, body:has(main.sfa) .header .mobile-subscribe a { border-radius: 6px !important; }
main.sfa .sfa-lead img { border-radius: 12px; }
main.sfa .sfa-img { border-radius: 10px; }
main.sfa .sfa-row .sfa-img { border-radius: 8px; }
main.sfa :is(.sfa-fs, .sfa-zh a, .sfa-share-jump, .sfa-tools .sfa-edit) { border-radius: 8px; }
main.sfa .sfa-play { border-radius: 6px; }
main.sfa .sfa-ad img { border-radius: 10px; }
/* parts printed by other code (share, related, comments, reporter card, reader wall, product card) */
main.sfa .sfae-sbtn { border-radius: 8px !important; }
main.sfa .post_related .one_post .img, main.sfa .post_related .one_post .img img { border-radius: 8px; overflow: clip; }
main.sfa .sfae-cmt .comment-respond { border-radius: 14px !important; }
main.sfa .sfae-cmt-form :is(textarea, input[type=text], input[type=email]) { border-radius: 8px !important; }
main.sfa .sfae-cmt-form .sfae-cmt-submit, main.sfa .sfae-cmt-submit { border-radius: 8px !important; }
main.sfa .sfab-card { border-radius: 12px !important; }
main.sfa .sfab-pic { border-radius: 50% !important; }   /* reporter photo: round, like a byline portrait */
main.sfa .sfab-tag { border-radius: 6px !important; }
main.sfa .sfw-box { border-radius: 14px !important; border-top-width: 0 !important; }
main.sfa :is(.sfw-btn, .sfw-gbtn, .sfw-input) { border-radius: 8px !important; }
main.sfa .pri-inline-ad .pri-inline-ad__img { border-radius: 8px !important; }
main.sfa .post_content img:not(.pri-inline-ad__img) { border-radius: 10px; }
@media (max-width: 760px) { main.sfa .sfa-lead img { border-radius: 0; } }

/* two-part headlines: each part stays whole; the gap is a margin (invisible when the line breaks there) */
.sfx-seg { display: inline-block; max-inline-size: 100%; }
.sfx-nb { white-space: nowrap; }   /* 4,700 never splits */
.sfx-run { word-break: normal; }   /* no punctuation in this part: wrap like normal Chinese text */
.sfx-seg:not(:last-child) { margin-inline-end: .75em; }

/* 相關報導: picture cards, 3 across (phones 2) */
.sfa-related { margin-block-start: 44px; }
.sfa-related .sfa-h { margin-block-end: 16px; }
.sfa-rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.sfa-rgrid .sfa-t { font-size: 1.0625rem; line-height: 1.55; }
@media (max-width: 760px) {
	.sfa-rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.sfa-rgrid .sfa-t { font-size: 1.0625rem; }
}

/* ---------- 灣區生活指南: feature layout (reference: theepochtimes.com Premium Reports article) ----------
   split hero = cream panel (the paper tone of the hand-drawn guide covers, and not navy next to the navy masthead)
   with kicker, serif headline and summary | the cover picture; then one centred 680px column, no sidebar; guide index
   at the end. Rounded hero card (user prefers rounded corners); edge-to-edge on phones. */
.sfa-ghero-wrap .sfa-crumb { padding-block-end: 12px; }
.sfa-ghero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; background: #f5efe3; border-radius: 16px; overflow: clip; }
.sfa-ghero-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px 56px; }
.sfa-gkick { margin: 0 0 16px; padding: 0; font-size: .9375rem; font-weight: 700; letter-spacing: .12em; color: var(--sfa-navy); }
.sfa-gkick a { color: inherit; text-decoration: none; }
.sfa-gtitle { margin: 0; padding: 0; font-family: var(--sfa-serif); font-size: 2.375rem; line-height: 1.38; font-weight: 700; color: var(--sfa-ink); letter-spacing: .02em; text-wrap: balance; }
.sfa-gdek { margin: 18px 0 0; padding: 0; max-inline-size: 30em; font-size: 1.125rem; line-height: 1.75; color: #4a4f57; }
.sfa-ghero-img { min-inline-size: 0; display: flex; }
.sfa-ghero-img .sfa-lead { margin: 0; display: flex; flex-direction: column; inline-size: 100%; }
main.sfa .sfa-ghero-img .sfa-lead img { border-radius: 0; inline-size: 100%; block-size: auto; }
.sfa-ghero-img .sfa-lead-a { flex: 1; display: flex; align-items: center; background: #f5efe3; }
main.sfa .sfa-ghero-img .sfa-cap { margin: 0; padding: 8px 16px 10px; border: 0; background: #efe7d7; font-size: .875rem !important; }

.sfa-wrap--guide .sfa-grid { grid-template-columns: minmax(0, 680px); justify-content: center; padding-block-start: 28px; }
.sfa-wrap--guide .sfa-art { max-inline-size: 680px; }
.sfa-wrap--guide .sfa-info { margin-block-start: 0; }
.sfa-wrap--guide .sfa-head { margin-block-end: 28px; }

.sfa-gindex { background: #f5efe3; }
.sfa-gi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sfa-gi { background: #fff; border-radius: 14px; padding: 20px 20px 16px; }
.sfa-gi h3 { margin: 0; padding: 0 0 8px; font-size: 1.25rem; font-weight: 700; border-block-end: 1px solid var(--sfa-rule-2); }
.sfa-gi h3 a { color: var(--sfa-ink); text-decoration: none; }
.sfa-gi-d { margin: 10px 0 4px; padding: 0; font-size: .875rem; line-height: 1.6; color: var(--sfa-meta); }
.sfa-gi ul { list-style: none; margin: 0; padding: 0; }
.sfa-gi li { border-block-end: 1px solid var(--sfa-rule); }
.sfa-gi li a { display: block; padding-block: 9px; font-size: 1rem; line-height: 1.55; color: var(--sfa-ink); text-decoration: none; }
.sfa-gi-more { margin: 10px 0 0; padding: 0; font-size: .9375rem; }
.sfa-gi-more a { color: var(--sfa-link); }

@media (max-width: 1100px) {
	.sfa-ghero-text { padding: 36px 32px; }
	.sfa-gtitle { font-size: 2rem; }
	.sfa-gi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.sfa-ghero { grid-template-columns: minmax(0, 1fr); margin-inline: -16px; border-radius: 0; }
	.sfa-ghero-img { order: -1; }
	.sfa-ghero-text { padding: 24px 20px 28px; }
	.sfa-gkick { margin-block-end: 10px; }
	.sfa-gtitle { font-size: 1.625rem; line-height: 1.42; }
	.sfa-gdek { font-size: 1.0625rem; }
	.sfa-wrap--guide .sfa-grid { grid-template-columns: minmax(0, 1fr); padding-block-start: 16px; }
	.sfa-gi-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.sfa-gi li a { font-size: 1.125rem; }
}

/* headlines break only at punctuation (：、，) or the two-part gap, never inside a word like 指南;
   overflow-wrap is the safety net for a long run without punctuation */
.sfa-title, .sfa-gtitle { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
/* phones: no justified text (it stretched lines with English words into wide gaps) */
@media (max-width: 760px) { main.sfa .post_content p { text-align: start !important; text-align-last: auto !important; } }

/* ---------- corners, final rule (user 2026-11-25): photographs square (news sites measured: 90-100% square photos),
   rounded only for buttons/labels (6-8px), boxes (12-14px) and round reporter portraits ---------- */
main.sfa :is(.sfa-lead img, .sfa-img, .sfa-row .sfa-img, .sfa-ad img, .post_content img, .post_related .one_post .img, .post_related .one_post .img img, .pri-inline-ad .pri-inline-ad__img) { border-radius: 0 !important; }
.sfa-ghero { border-radius: 0; }   /* the guide hero holds a full-height picture: square, like the reference */

/* ---------- 推薦產品 card (in-article product recommendation) ----------
   user 2026-11-25: "長得太醜". Pattern from NBC Select / Insider / Wirecutter: the product on a white tile (never
   cropped), product name, short line, ONE clear button that names the store, the card set apart from the article in
   a light box with a sponsored label. Overrides sf-product-ad-toggle.php + the remote pri-injector.css. */
main.sfa .post_content .pri-inline-ad, main.sfa .post_content .pri-inline-ad--prelast {
	display: grid !important; grid-template-columns: 150px minmax(0, 1fr); column-gap: 20px; align-items: start;
	margin: 2em 0 !important; padding: 18px 20px 20px !important; max-width: none !important;
	background: #f4f5f7 !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; overflow: visible !important;
}
main.sfa .post_content .pri-inline-ad__label { grid-column: 1 / -1; display: flex !important; gap: 8px; align-items: baseline; margin: 0 0 12px !important; padding: 0 !important; background: none !important; border: 0 !important; }
main.sfa .post_content .pri-inline-ad__badge { font-size: .875rem !important; font-weight: 700 !important; letter-spacing: .06em !important; color: var(--sfa-navy) !important; background: none !important; padding: 0 !important; }
main.sfa .post_content .pri-inline-ad__sponsor { font-size: .8125rem !important; color: var(--sfa-meta) !important; }
main.sfa .post_content .pri-inline-ad__sponsor::before { content: "· "; }
main.sfa .post_content .pri-inline-ad__body { display: contents !important; color: inherit !important; text-decoration: none !important; }
main.sfa .post_content .pri-inline-ad__img {
	grid-column: 1; grid-row: 2 / span 2; inline-size: 150px !important; block-size: 150px !important; max-height: none !important;
	object-fit: contain !important; padding: 10px; box-sizing: border-box; background: #fff !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important;
}
main.sfa .post_content .pri-inline-ad__text { grid-column: 2; padding: 0 !important; min-inline-size: 0; }
main.sfa .post_content .pri-inline-ad__line1 {
	margin: 0 0 6px !important; padding: 0 !important; font-size: 1.125rem !important; line-height: 1.5 !important; font-weight: 700 !important; color: var(--sfa-ink) !important; text-align: left !important;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: clip;
}
main.sfa .post_content .pri-inline-ad__line2 {
	margin: 0 !important; padding: 0 !important; font-size: .9375rem !important; line-height: 1.65 !important; color: #4a4f57 !important; text-align: left !important;
	display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2 !important; line-clamp: 2; overflow: clip;
}
main.sfa .post_content .pri-inline-ad__body:hover .pri-inline-ad__line1 { color: var(--sfa-link) !important; text-decoration: underline; }
main.sfa .post_content .sfa-pri-actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-block-start: 14px; }
main.sfa .post_content .sfa-pri-actions .pri-inline-ad__cta {
	display: inline-flex !important; align-items: center; min-block-size: 42px; margin: 0 !important; padding: 0 20px !important;
	background: var(--sfa-navy) !important; color: #fff !important; border-radius: 8px; font-size: 1rem !important; font-weight: 700 !important; text-decoration: none !important; float: none !important;
}
main.sfa .post_content .sfa-pri-buy:hover .pri-inline-ad__cta { background: #0b2a66 !important; }
main.sfa .post_content .sfa-pri-buy, main.sfa .post_content .sfa-pri-review { text-decoration: none !important; }
main.sfa .post_content .sfa-pri-review { font-size: .9375rem; color: var(--sfa-link) !important; padding-block: 8px; }
main.sfa .post_content .sfa-pri-review:hover { text-decoration: underline !important; }
@media (max-width: 760px) {
	main.sfa .post_content .pri-inline-ad, main.sfa .post_content .pri-inline-ad--prelast { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 16px !important; }
	main.sfa .post_content .pri-inline-ad__img { inline-size: 96px !important; block-size: 96px !important; padding: 6px; grid-row: 2; }
	main.sfa .post_content .pri-inline-ad__line1 { font-size: 1.0625rem !important; }
	main.sfa .post_content .sfa-pri-actions { grid-column: 1 / -1; }
	main.sfa .post_content .sfa-pri-buy { flex: 1 1 auto; }
	main.sfa .post_content .sfa-pri-actions .pri-inline-ad__cta { inline-size: 100%; justify-content: center; }
}

/* ---------- window ad v6 = the standard interscroller (user 2026-11-25: 「感覺滾動廣告不是這樣設計的…有點奇怪」) ----------
   Published specs (GumGum Mobile Scroller, Ad Alliance / Media Impact mobile interscroller, e-planning): the slot is a
   GAP in the content as wide as the screen; the creative is screen-sized and stays fixed BEHIND the page, revealed
   through the gap, and slides out as the reader scrolls on. Where a creative does not fill the screen the rest is a
   colour fill, never page white. v5 (a small card sliding inside a white box) was none of that.
   Here: the window is edge to edge on phones / the text column on desktop; behind it a screen-high layer is pinned
   to the screen for the whole pass (sticky inside a track that reaches one screen above and below the window - no
   JavaScript, smooth on iPhone; clip-path clips without making a scroll container). The creative is centred on the
   screen at the window's width and never cropped; above and below it the layer continues in the creative's own top
   and bottom edge colours (--isc-t / --isc-b, measured in PHP), so the gap is always filled. */
/* Size: the user asked earlier the same day for a SMALLER ad, a SMALLER frame and a LONGER hold, so the default keeps
   those sizes (creative 400px desktop / 300px phone, frame = creative + 80/40px wide) with the standard mechanics:
   the frame is a window onto a colour-filled layer where the creative stays fixed on the screen for the whole pass.
   .sfa-isc--full (?isc=full preview) is the spec's edge-to-edge version. */
main.sfa .sfa-isc { --isc-t: #1b1b1b; --isc-b: #1b1b1b; --ad-w: 402px; --ad-h: calc(var(--ad-w) * 5 / 6); margin: 2.4em auto; padding: 0; clear: both; max-inline-size: calc(var(--ad-w) + 80px); }
main.sfa .sfa-isc-cap { display: block; margin: 0 !important; padding: 6px 0 !important; font-size: .75rem !important; line-height: 1.4 !important; letter-spacing: .12em; color: var(--sfa-meta) !important; text-align: center !important; text-indent: 0 !important; }
main.sfa .sfa-isc-cap span + span { display: none; }   /* pages cached before v6 carry both labels in the top line */
main.sfa .sfa-isc-win { position: relative; block-size: calc(var(--ad-h) + 200px); clip-path: inset(0); background: var(--isc-t); }
main.sfa .sfa-isc-clip { position: absolute; inset-inline: 0; inset-block: -100lvh; }
main.sfa .sfa-isc-layer { position: sticky; inset-block-start: 0; block-size: 100lvh; display: grid; place-items: center;
	background: linear-gradient(var(--isc-t) 0 34%, var(--isc-b) 66% 100%); }
/* sharpness (user 2026-11-25: 廣告圖片太不清晰): centring on a screen of odd height put the picture on a half pixel
   (measured y = 259.5), which softens the whole image. Where round() exists the picture is placed on a whole pixel. */
@supports (inset-block-start: round(down, 1.5px, 1px)) {
	main.sfa .sfa-isc-layer { place-items: start stretch; }
	main.sfa .sfa-isc-layer a { margin-block-start: round(down, calc((100lvh - var(--ad-h)) / 2), 1px); text-align: start; }
	/* width in steps of 6px keeps the 6:5 height whole; left edge on a whole pixel too */
	main.sfa .sfa-isc-layer img, main.sfa .sfa-isc--full .sfa-isc-layer img { display: block; inline-size: round(down, var(--ad-w), 6px); max-inline-size: none;
		margin-inline-start: round(down, calc((100% - round(down, var(--ad-w), 6px)) / 2), 1px) !important; }
}
main.sfa .sfa-isc-layer::before { content: none; }
main.sfa .sfa-isc-layer a { display: block; inline-size: 100%; line-height: 0; text-align: center; }
main.sfa .sfa-isc-layer img { display: inline-block; inline-size: var(--ad-w); max-inline-size: 100%; block-size: auto !important; max-block-size: 92svh; border-radius: 0 !important; margin: 0 !important; box-shadow: none; }
@supports not (block-size: 1lvh) {
	main.sfa .sfa-isc-clip { inset-block: -100vh; }
	main.sfa .sfa-isc-layer { block-size: 100vh; }
}
@media (max-width: 760px) {
	main.sfa .sfa-isc { --ad-w: min(300px, calc(100vw - 72px)); max-inline-size: calc(var(--ad-w) + 40px); }
	main.sfa .sfa-isc-win { block-size: calc(var(--ad-h) + 30svh); }
}
/* full-width variant (the published spec): window = text column / screen width, creative as wide as the window */
main.sfa .sfa-isc.sfa-isc--full { max-inline-size: none; margin-inline: 0; --ad-w: min(100cqi, 720px); container-type: inline-size; }
main.sfa .sfa-isc--full .sfa-isc-win { block-size: min(74svh, 600px); }
main.sfa .sfa-isc--full .sfa-isc-layer img { inline-size: auto; max-inline-size: 100%; }
@media (max-width: 760px) {
	main.sfa .sfa-isc.sfa-isc--full { margin-inline: -16px; }
	main.sfa .sfa-isc--full .sfa-isc-layer img { inline-size: 100%; }
}
/* iOS Safari 26 bars stay see-through (user 2026-11-25: 「可不可以像總網一樣變成透明的」). Safari 26 fills its bottom/top
   bar with a solid colour taken from any fixed or STICKY element at that screen edge, and the sticky layer above
   counted even while clipped, so the bar turned the ad's colour. Where scroll-driven animations exist (Safari 26,
   Chrome) the layer is not sticky: it sits at the top of the window and a view-timeline animation moves it by exactly
   the scroll distance, so it still stays put on the screen. Nothing fixed/sticky = Safari keeps the glass bar.
   from: window top at the screen bottom -> layer moved up one screen (-100% of its 100dvh); to: window bottom at the
   screen top -> layer moved down one window height (--win-h, same values as the block-size rules above). */
/* no sideways scrolling on phones (user 2026-11-25 screenshot: the page slid right and showed the navy html background).
   Cause: editor tables carry width="485" / style height, wider than a 390px phone. Tables now fit the text column and
   their cells wrap; main.sfa clips anything else that pokes out (clip, not hidden: no scroll container, sticky still works). */
main.sfa .post_content table { inline-size: 100% !important; max-inline-size: 100%; block-size: auto !important; }
main.sfa .post_content :is(td, th) { overflow-wrap: anywhere; block-size: auto !important; }
main.sfa { overflow-x: clip; }
/* long tags wrap (2026-11-25): 「西爾維婭·斯坎達爾·馬漢（Silvia Scandar Mahan）」 was nowrap and wider than a phone, so the
   whole page scrolled sideways (layout viewport 429px on a 390px phone), which also threw the window ad off. */
main.sfa .sfab-tlist li { max-inline-size: 100%; }
main.sfa .sfab-tag { max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; block-size: auto !important; min-block-size: 44px; padding-block: 8px; line-height: 1.35; }
.sfa-tint { display: none; }   /* pages cached with the first fix (white sampler strip) */
@supports (animation-timeline: view()) {
	main.sfa .sfa-isc { --win-h: calc(var(--ad-h) + 200px); }
	/* iOS 26 draws the page under its floating bottom bar too, below 100dvh: the fill continues half a screen past both
	   edges of the layer in the creative's edge colours (else the window's other colour showed as a band under the bar). */
	main.sfa .sfa-isc-layer::before, main.sfa .sfa-isc-layer::after { content: ""; position: absolute; inset-inline: 0; block-size: 50lvh; pointer-events: none; }
	main.sfa .sfa-isc-layer::before { inset-block-end: 100%; background: var(--isc-t); }
	main.sfa .sfa-isc-layer::after { inset-block-start: 100%; background: var(--isc-b); }
	main.sfa .sfa-isc-win { view-timeline: --sfa-isc block; view-timeline-inset: 0px; }   /* inset 0: the default 'auto' takes the page's scroll-padding-top (pinned header) and made the ad drift */
	main.sfa .sfa-isc-clip { inset-block: 0; }
	main.sfa .sfa-isc-layer { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 100dvh; will-change: transform;
		animation: sfa-isc-pin linear both; animation-timeline: --sfa-isc; animation-range: cover 0% cover 100%; }
	@supports (inset-block-start: round(down, 1.5px, 1px)) {
		main.sfa .sfa-isc-layer a { margin-block-start: round(down, calc((100dvh - var(--ad-h)) / 2), 1px); }
	}
	@media (max-width: 760px) { main.sfa .sfa-isc { --win-h: calc(var(--ad-h) + 30svh); } }
	main.sfa .sfa-isc.sfa-isc--full { --win-h: min(74svh, 600px); }
}
@keyframes sfa-isc-pin { from { transform: translateY(-100%); } to { transform: translateY(var(--win-h)); } }
@media (prefers-reduced-motion: reduce) {
	main.sfa .sfa-isc-win, main.sfa .sfa-isc--full .sfa-isc-win { block-size: auto; clip-path: none; }
	main.sfa .sfa-isc-clip { position: static; }
	main.sfa .sfa-isc-layer { position: static; block-size: auto; padding-block: 24px; animation: none; transform: none; }
}

/* ---------- 每日電子報 box after the article (reader-wall engage card, wall.js) ----------
   user 2026-11-25 "這個太小了": on phones the form is a column and the input had flex: 1 (basis 0), which squeezed
   its HEIGHT to ~26px. Here: input flex none, 48px tall, 17px text (no iOS zoom); box rounded like the other boxes,
   no 3px top rule; kicker navy, not the old gold. */
main.sfa .sfw-engage { border: 1px solid var(--sfa-rule) !important; border-radius: 14px !important; background: #f4f5f7 !important; padding: 22px 22px 18px !important; }
main.sfa .sfw-nlbox-k { color: var(--sfa-navy) !important; font-size: .8125rem !important; }
main.sfa .sfw-nlbox-f .sfw-input { flex: none !important; block-size: 48px !important; min-block-size: 48px; padding: 0 14px !important; font-size: 1.0625rem !important; border-radius: 8px !important; background: #fff !important; }
main.sfa .sfw-nlbox-f .sfw-btn { block-size: 48px !important; border-radius: 8px !important; font-size: 1.0625rem !important; }
/* one column on every width: the Cloudflare check sits between input and button and squeezed the input on desktop */
main.sfa .sfw-nlbox-f { flex-direction: column !important; align-items: stretch; gap: 10px !important; max-width: 520px; }
@media (min-width: 761px) { main.sfa .sfw-nlbox-f .sfw-btn { align-self: flex-start; padding-inline: 28px !important; } }

/* ---------- 灣區生活指南 type scale (user 2026-11-25: 字體有點太大) ----------
   Guides are reference reading: body 18px desktop / 17px phone (measured Taiwanese sites: article body 16-17px on
   phones), clear steps between levels: h2 26/22, h3 20/19, tables 16. News articles keep HQ's 20/36.
   No !important on sizes, so the 字級 buttons (inline px) still work. */
main.sfa .sfa-wrap--guide .post_content { font-size: 18px; }
main.sfa .sfa-wrap--guide .post_content p, main.sfa .sfa-wrap--guide .post_content li,
main.sfa .sfa-wrap--guide .post_content .sfg p, main.sfa .sfa-wrap--guide .post_content .sfg li { font-size: 18px; line-height: 1.8; }
main.sfa .sfa-wrap--guide .post_content h2, main.sfa .sfa-wrap--guide .post_content .sfg-h { font-size: 26px; line-height: 1.4; margin-block: 1.6em .6em; }
main.sfa .sfa-wrap--guide .post_content h3 { font-size: 20px; line-height: 1.45; }
main.sfa .sfa-wrap--guide .post_content :is(td, th) { font-size: 16px; line-height: 1.6; }
.sfa-gtitle { font-size: 2.125rem; }
.sfa-gdek { font-size: 1.0625rem; }
@media (max-width: 760px) {
	main.sfa .sfa-wrap--guide .post_content { font-size: 17px; }
	main.sfa .sfa-wrap--guide .post_content p, main.sfa .sfa-wrap--guide .post_content li,
	main.sfa .sfa-wrap--guide .post_content .sfg p, main.sfa .sfa-wrap--guide .post_content .sfg li { font-size: 17px; }
	main.sfa .sfa-wrap--guide .post_content h2, main.sfa .sfa-wrap--guide .post_content .sfg-h { font-size: 22px; }
	main.sfa .sfa-wrap--guide .post_content h3 { font-size: 19px; }
	.sfa-gtitle { font-size: 1.5rem; }
	.sfa-gdek { font-size: 1rem; }
}

/* ============================================================================================================
   GUIDE LAYOUT v2 (2026-11-25; reference: theepochtimes.com Premium Reports article, measured from its HTML/CSS:
   centred kicker / serif headline / dek / tool buttons, picture across the container with the caption under it,
   centred byline line, narrow text column with wide blocks breaking out, plain 3-across grid of more reports).
   Chinese sizes are smaller than the reference's 60px Latin headline (feedback: CJK must not look big).
   Scope: .sfa-g2top / .sfa-g2cover / .sfa-g2by / .sfa-g2 / .sfa-g2more (preview key only, see sf-article-2026.php). */
.sfa-g2top { max-inline-size: 1000px; padding-block: 44px 0; text-align: center; }
.sfa-g2top .sfa-gkick { margin: 0 0 14px; }
.sfa-g2top .sfa-gtitle { font-size: 2.625rem; line-height: 1.32; letter-spacing: .01em; }
.sfa-g2top .sfa-gdek { margin: 16px auto 0; max-inline-size: 36em; font-family: var(--sfa-serif); font-size: 1.1875rem; line-height: 1.7; color: #495255; text-wrap: pretty; }
.sfa-g2tools { justify-content: center; flex-wrap: wrap; margin-block-start: 22px; }

.sfa-g2cover { padding-block-start: 30px; }
.sfa-g2cover .sfa-lead { margin: 0; }
main.sfa .sfa-g2cover .sfa-lead img { inline-size: 100%; block-size: auto; }
main.sfa .sfa-g2cover .sfa-cap { margin: 8px 0 0; padding: 0; border: 0; font-size: .875rem !important; line-height: 1.6; }

.sfa-g2by { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; margin-block: 22px 0; font-size: .9375rem; line-height: 1.6; color: var(--sfa-meta); }
.sfa-g2by > * { padding-inline: 12px; }
.sfa-g2by > * + * { border-inline-start: 1px solid var(--sfa-rule-2); }
.sfa-g2by .sfa-by { font-weight: 700; color: var(--sfa-ink); }
.sfa-g2by .etd-rt, .sfa-g2by .sfa-rt { margin: 0 !important; color: var(--sfa-meta) !important; font-size: inherit !important; }

.sfa-g2 .sfa-head { display: none; }
.sfa-wrap--guide.sfa-g2 .sfa-grid { padding-block: 30px 44px; }
main.sfa .sfa-g2 .post_content :is(h2, .sfg-h) { font-family: var(--sfa-serif); letter-spacing: .01em; }
/* the grid under the article replaces the cards typed into the text */
main.sfa .sfa-g2 .post_content .sfg:has(> .sfn-related-cards) { display: none; }

/* wide blocks leave the 680px column (reference: pictures 900-1200px wide in a 640px text column) */
@media (min-width: 1000px) {
	main.sfa .sfa-g2 .post_content .sfg-tablewrap:has(tr > :nth-child(4)) { margin-inline: -120px; max-inline-size: none; }
	main.sfa .sfa-g2 .post_content .sfg-figure { margin-inline: -120px; max-inline-size: none; }
	main.sfa .sfa-g2 .post_content .sfg-figure img { inline-size: auto !important; max-inline-size: 100% !important; max-block-size: 760px; block-size: auto !important; }
	main.sfa .sfa-g2 .post_content .sfg-figure figcaption { text-align: center; }
}

.sfa-g2more { padding-block: 8px 64px; }
.sfa-g2more-in { max-inline-size: 992px; margin-inline: auto; padding-inline: 16px; }
.sfa-g2more-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-block-end: 22px; padding-block-start: 26px; border-block-start: 1px solid var(--sfa-rule-2); }
.sfa-g2more-h h2 { margin: 0; padding: 0; font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--sfa-ink); }
.sfa-g2more-h a { font-size: .9375rem; color: var(--sfa-ink); text-decoration: none; white-space: nowrap; padding-block: 6px; }
.sfa-g2grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.sfa-g2img { margin-block-end: 12px; }
.sfa-g2img img { display: block; inline-size: 100%; block-size: auto; background: #f4f1ea; }
.sfa-g2grid .sfa-card .sfa-t { display: block; margin: 0; padding: 0; font-family: var(--sfa-serif); font-size: 1.125rem; line-height: 1.5; font-weight: 700; overflow: visible; word-break: keep-all; overflow-wrap: anywhere; }
.sfa-g2grid .sfa-card .sfa-t a { color: var(--sfa-ink); text-decoration: none; }

@media (max-width: 1100px) {
	.sfa-g2top .sfa-gtitle { font-size: 2.25rem; }
}
@media (max-width: 760px) {
	.sfa-g2top { padding-block-start: 24px; }
	.sfa-g2top .sfa-gkick { margin-block-end: 10px; font-size: .875rem; }
	.sfa-g2top .sfa-gtitle { font-size: 1.75rem; line-height: 1.38; }
	.sfa-g2top .sfa-gdek { margin-block-start: 12px; font-size: 1rem; line-height: 1.7; }
	.sfa-g2tools { margin-block-start: 16px; }
	.sfa-g2cover { padding-block-start: 22px; }
	.sfa-g2cover .sfa-lead { margin-inline: -16px; }
	main.sfa .sfa-g2cover .sfa-cap { padding-inline: 16px; }
	.sfa-g2by { margin-block-start: 16px; font-size: .875rem; }
	.sfa-g2by > * { padding-inline: 10px; }
	.sfa-wrap--guide.sfa-g2 .sfa-grid { padding-block: 20px 32px; }
	.sfa-g2more { padding-block-end: 44px; }
	.sfa-g2grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sfa-g2grid .sfa-card:nth-child(n+7) { display: none; }
	.sfa-g2grid .sfa-card .sfa-t { font-size: 1.125rem; }
}
.sfa-g2top .sfa-gkick a { display: inline-block; padding-block: 4px; }

/* ---- v2 "staggered sizes" (user 2026-11-25: 要有尺寸錯開的感覺). The reference mixes a 640px text column with 900px
   and 1200px pictures, 600px centred quotes and a small box floated into the margin. Here: text 680, 速覽 840,
   wide tables 920, pictures 1000, section drawings hang in the left margin, 小提醒 sits in the right margin. */
main.sfa .sfa-g2 .post_content .sfg-figure { text-align: center; }
main.sfa .sfa-g2 .post_content .sfg-figure img { margin-inline: auto; }
main.sfa .sfa-g2 .post_content .sfg-figure figcaption { text-align: center !important; }   /* user: caption in the middle */
@media (min-width: 1100px) {
	main.sfa .sfa-g2 .post_content .sfg-glance { margin-inline: -80px; padding-inline: 0; }
	main.sfa .sfa-g2 .post_content .sfg-glance > h2 { font-family: var(--sfa-serif); font-size: 24px; }
	main.sfa .sfa-g2 .post_content .sfg-figure { margin-inline: -160px; margin-block: 2.6em; max-inline-size: none; inline-size: auto; }
	main.sfa .sfa-g2 .post_content .sfg-figure img { inline-size: auto !important; max-inline-size: 100% !important; max-block-size: 760px; }   /* tall maps: whole picture on one screen, centred */
	main.sfa .sfa-g2 .post_content :is(h2.sfg-h, .sf-faq > h2) { margin-inline-start: -74px; }
	main.sfa .sfa-g2 .post_content .sfg:has(> :is(.sfg-glance, .sfg-figure, .sfg-tablewrap)) { clear: both; }
}
@media (min-width: 1200px) {
	main.sfa .sfa-g2 .post_content .sfg-tip { float: right; clear: right; display: block; inline-size: 204px; margin: 6px -228px 16px 0; padding: 12px 0 0; border-block-start: 2px solid var(--sfa-ink); border-block-end: 0; }
	main.sfa .sfa-g2 .post_content .sfg-tip .sfg-spot { inline-size: 44px; block-size: 44px; margin: 0 0 6px; }
	main.sfa .sfa-g2 .post_content .sfg-tip > div, main.sfa .sfa-g2 .post_content .sfg-tip p { font-size: 15px !important; line-height: 1.7 !important; text-align: start !important; color: #3a3f47; }
	main.sfa .sfa-g2 .post_content .sfg-tip strong.sfg-tip-t { font-size: 16px; margin-block-end: 4px; }
}
/* more guides: one large card + two stacked, then rows of three */
@media (min-width: 761px) {
	.sfa-g2grid .sfa-card:first-child { grid-column: span 2; grid-row: span 2; }
	.sfa-g2grid .sfa-card:first-child .sfa-t { font-size: 1.625rem; line-height: 1.4; }
}
.sfa-g2d { margin: 8px 0 0; padding: 0; font-size: .9375rem; line-height: 1.65; color: var(--sfa-meta); }
@media (max-width: 760px) { .sfa-g2d { display: none; } }

main.sfa .sfa-g2 .post_content .sfa-isc { clear: both; }   /* window ad on guides: below any margin note */

/* 2026-11-25 sidebar fit (script after the sidebar): phones show 10 即時新聞; a 本週熱門 taller than the window stops pinning */
@media (max-width: 1000px) { .sfa-latest > li:nth-child(n+11) { display: none; } }
.sfa-sticky.sfa-nostick { position: static !important; }
