/* 分類廣告 listings and ad page (includes/sf-classifieds.php), 2026-11-05. Navy #192f65, gold #f8c623, no pills. */
.sfcl-page .screen-reader-text, .sfcl-list .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* listing boxes */
.sfcl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.sfcl-card { display: flex; flex-direction: column; margin: 0; padding: 14px 16px 14px; background: #fff; border: 1px solid #e3e6ec; border-top: 3px solid #192f65; }
.sfcl-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; font-size: 13px; color: #6b7280; }
.sfcl-tag { font-weight: 700; color: #192f65 !important; text-decoration: none; }
.sfcl-tag:hover { text-decoration: underline; }
.sfcl-h { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.sfcl-h a { color: #1d2230; text-decoration: none; }
.sfcl-h a:hover { color: #192f65; text-decoration: underline; text-underline-offset: 3px; }
.sfcl-body { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #3c4250; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.sfcl-flyer { display: block; margin: 0 0 12px; }
.sfcl-flyer img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f3f5f9; border: 1px solid #eceef2; }
.sfcl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.sfcl-call { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 15px; font-weight: 700; color: #192f65 !important; text-decoration: none; white-space: nowrap; border: 1px solid #192f65; font-variant-numeric: tabular-nums; }
.sfcl-call:hover { color: #fff !important; background: #192f65; }
.sfcl-call:focus-visible, .sfcl-open:focus-visible { outline: 2px solid #f8c623; outline-offset: 2px; }
.sfcl-open { margin-left: auto; font-size: 14px; font-weight: 600; color: #192f65 !important; text-decoration: none; }
.sfcl-open:hover { text-decoration: underline; }

/* 刊登分類廣告 box (same as on the category pages) */
.sfcl-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 24px 0 6px; padding: 16px 18px; background: #f6f8fc; border: 1px solid #e6e8ee; border-left: 4px solid #f8c623; }
.sfcl-cta h2 { margin: 0 0 4px; font-size: 18px; color: #192f65; }
.sfcl-cta p { margin: 0; font-size: 14px; line-height: 1.6; color: #4b5260; }
.sfcl-tels { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 15px; }
.sfcl-tels a { color: #192f65; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sfcl-tels .sfcl-who { margin-right: 4px; font-weight: 400; color: #4b5260; }

/* ad page */
.sfcl-ad { margin: 8px 0 0; padding: 20px 22px; background: #fff; border: 1px solid #e3e6ec; border-top: 4px solid #192f65; }
.sfcl-ad-h { margin: 0 0 14px; font-size: 28px; line-height: 1.35; font-weight: 700; color: #1d2230; }
.sfcl-ad-body { font-size: 19px; line-height: 1.8; color: #1d2230; }
.sfcl-ad-body p { margin: 0 0 .6em; }
.sfcl-ad-body img { max-width: 100%; height: auto; }
.sfcl-ad-call { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 18px 0 0; padding: 14px 16px; background: #f6f8fc; border-left: 4px solid #f8c623; }
.sfcl-ad-call p { margin: 0 6px 0 0; font-size: 15px; font-weight: 700; color: #4b5260; }
.sfcl-call.is-big { padding: 10px 16px; font-size: 20px; color: #fff !important; background: #192f65; }
.sfcl-call.is-big:hover { background: #0f1f47; }
.sfcl-ad-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: #6b7280; }
.sfcl-ad-back { margin: 12px 0 0; }
.sfcl-ad-back a { font-size: 15px; font-weight: 600; color: #192f65; text-decoration: none; }
.sfcl-ad-back a:hover { text-decoration: underline; }
.sfcl-more-sec { margin: 28px 0 0; }
.sfcl-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0 0; border-top: 2px solid #000; }
.sfcl-sec-head h2 { margin: 0; font-size: 20px; font-weight: 700; color: #222; }
.sfcl-sec-head a { font-size: 14px; color: #50575e; text-decoration: none; }
.sfcl-sec-head a:hover { color: #192f65; text-decoration: underline; }

@media (max-width: 800px) {
	.sfcl-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.sfcl-card { padding: 14px; }
	.sfcl-h { font-size: 19px; }
	.sfcl-body { font-size: 16px; }
	.sfcl-call { padding: 8px 12px; font-size: 16px; }
	.sfcl-ad { padding: 16px 15px; }
	.sfcl-ad-h { font-size: 24px; }
	.sfcl-ad-body { font-size: 18px; }
	.sfcl-call.is-big { flex: 1 1 100%; justify-content: center; font-size: 20px; }
	.sfcl-cta { padding: 14px; }
}

/* sidebar (sfcl_sidebar), 2026-11-05: same section style as the site's 推薦視頻 block */
.sfcl-side { margin: 0 0 6px; }
.sfcl-sbox { margin: 0 0 28px; }
.sfcl-shead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 10px 0 0; border-top: 2px solid #000; }
.sfcl-shead h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: #333; }
.sfcl-shead a { font-size: 14px; color: #50575e; text-decoration: none; white-space: nowrap; }
.sfcl-shead a:hover { color: #192f65; text-decoration: underline; }
.sfcl-love { display: block; color: #222; text-decoration: none; }
.sfcl-love img { display: block; width: 100%; height: auto; }
.sfcl-love span { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.sfcl-love:hover span { color: #192f65; text-decoration: underline; }
.sfcl-rank { margin: 0; padding: 0; list-style: none; }
.sfcl-rank li { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid #e3e3e3; }
.sfcl-rank li:first-child { padding-top: 0; border-top: 0; }
.sfcl-rank-n { font-size: 18px; font-weight: 700; line-height: 1.3; color: #192f65; font-variant-numeric: tabular-nums; }
.sfcl-rank li:nth-child(-n+3) .sfcl-rank-n { color: #c8102e; }
.sfcl-rank a { display: block; color: #222; text-decoration: none; }
.sfcl-rank-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 1.45; }
.sfcl-rank a:hover .sfcl-rank-t { color: #192f65; text-decoration: underline; }
.sfcl-rank-m { display: block; margin-top: 3px; font-size: 13px; color: #6b6f75; }
.sfcl-rank-m b { font-weight: 600; color: #192f65; }
.sfcl-cats { margin: 0; padding: 0; list-style: none; }
.sfcl-cats a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 16px; color: #222; text-decoration: none; border-bottom: 1px solid #ececec; border-left: 3px solid transparent; }
.sfcl-cats a:hover { color: #192f65; background: #f6f8fc; }
.sfcl-cats a[aria-current] { font-weight: 700; color: #192f65; background: #f6f8fc; border-left-color: #f8c623; }
.sfcl-cats-n { font-size: 13px; color: #8c8f94; font-variant-numeric: tabular-nums; }
.sfcl-side a:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }
@media (max-width: 800px) {
	.sfcl-shead h2 { font-size: 20px; }
	.sfcl-shead a { font-size: 15px; }
	.sfcl-rank-t { font-size: 18px; }
	.sfcl-rank-m { font-size: 14px; }
	.sfcl-love span { font-size: 18px; }
	.sfcl-cats a { font-size: 18px; padding: 10px; }
}

/* 商圈 directory (page-directory.php), 2026-11-05 */
.sfdir .sf-sec-tabs a .sfcl-n, .sfdir-subs .sfcl-n { margin-left: 4px; font-size: 13px; color: #8c8f94; font-weight: 400; }
.sfdir-row { display: flex; gap: 12px; align-items: flex-start; }
.sfdir-txt { flex: 1; min-width: 0; }
.sfdir-thumb { flex: 0 0 96px; width: 96px; height: 96px; margin-top: 2px; background: #f3f5f9; border: 1px solid #eceef2; }
.sfdir-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sfdir-body { -webkit-line-clamp: 3; margin-bottom: 10px; }
.sfdir-city { color: #6b7280; }
.sfdir-subs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 14px; padding: 0 0 10px; font-size: 15px; border-bottom: 1px solid #e3e6ec; }
.sfdir-subs a { color: #3c4250; text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.sfdir-subs a:hover { color: #192f65; }
.sfdir-subs a[aria-current] { color: #192f65; font-weight: 700; border-bottom-color: #f8c623; }
.sfdir-search { display: flex; max-width: 620px; height: 44px; margin: 6px 0 8px; border: 2px solid #192f65; background: #fff; }
.sfdir-search input { flex: 1; min-width: 0; padding: 0 12px; font-size: 16px; border: 0; outline: 0; background: transparent; }
.sfdir-search button { padding: 0 20px; font-size: 16px; font-weight: 700; color: #fff; background: #192f65; border: 0; cursor: pointer; }
.sfdir-search button:hover { background: #0f1f47; }
.sfdir-note { margin: 0 0 4px; font-size: 14px; color: #6b7280; }
.sfdir-note a { color: #192f65; }
.sfdir-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 22px 0 0; }
.sfdir-pager a, .sfdir-pager span { min-width: 38px; padding: 7px 10px; text-align: center; font-size: 15px; color: #192f65; text-decoration: none; border: 1px solid #d5d9e2; }
.sfdir-pager a:hover { background: #f6f8fc; }
.sfdir-pager span[aria-current] { color: #fff; background: #192f65; border-color: #192f65; font-weight: 700; }
.sfdir-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 14px; font-size: 16px; }
.sfdir-facts dt { font-weight: 700; color: #4b5260; }
.sfdir-facts dd { margin: 0; color: #1d2230; overflow-wrap: anywhere; }
.sfdir-facts a { color: #192f65; font-weight: 600; }
.sfdir-flyer { margin: 16px 0 0; }
.sfdir-flyer img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid #eceef2; }
.sfdir-one .sfcl-ad-call { margin-top: 0; }
@media (max-width: 800px) {
	.sfdir-thumb { flex-basis: 84px; width: 84px; height: 84px; }
	.sfdir-search input { font-size: 17px; }
	.sfdir-facts { font-size: 17px; }
	.sfdir-subs { font-size: 16px; }
}
