/* ==========================================================
 * 歡喜緣 文章列表 — 前台
 * 依 Figma「文章分享」node 241:2116
 *  左側欄 1176:8991、工具列 1176:9108、文章卡片 1230:13207（346×246 圖）、
 *  精選文章卡片 1257:16610（489 寬、320 高圖）、分頁 1237:13825
 * 文章單頁「文章分享-內頁」node 1457:9256
 *  右側欄 1457:9269、延伸閱讀 1457:9388（沿用精選文章卡片）
 * ========================================================== */
.twh-ba-side,
.twh-ba-toolbar,
.twh-ba-posts,
.twh-ba-featured,
.twh-ba-post-side {
	--twh-ba-white: #ffffff;
	--twh-ba-ink: #292421;      /* 主-木墨黑 */
	--twh-ba-gold: #b58a45;     /* 主-古銅金 */
	--twh-ba-gold-a: #b67b19;
	--twh-ba-gold-b: #d1a64f;
	--twh-ba-gold-c: #a96f14;
	--twh-ba-gold-gradient: linear-gradient(180deg, #b67b19 0%, #d1a64f 50%, #a96f14 100%);
	--twh-ba-font: "Noto Serif TC", "Noto Serif CJK TC", serif;

	box-sizing: border-box;
	font-family: var(--twh-ba-font);
	color: var(--twh-ba-white);
}

.twh-ba-side *,
.twh-ba-toolbar *,
.twh-ba-posts *,
.twh-ba-featured *,
.twh-ba-post-side * {
	box-sizing: border-box;
}

/* 共用：向下箭頭 */
.twh-ba-caret {
	display: inline-block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16 10l-4 4-4-4' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
	transition: transform 0.2s ease;
}

/* AJAX 載入中：列表淡化 */
.twh-ba-loading [data-twh-ba-region="posts"],
.twh-ba-loading [data-twh-ba-region="toolbar"] {
	opacity: 0.4;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* ==========================================================
 * 左側欄：金框 + 極淡金漸層底
 * ========================================================== */
.twh-ba-side {
	width: 100%;
	padding: 8px;
}

.twh-ba-side__toggle {
	display: none;
}

.twh-ba-side__panel {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 20px;
	background: linear-gradient(180deg, rgba(182, 123, 25, 0.04) 0%, rgba(209, 166, 79, 0.04) 50%, rgba(169, 111, 20, 0.04) 100%);
	border: 1px solid var(--twh-ba-gold-a);
}

.twh-ba-side__section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 區塊大標：32px Bold */
.twh-ba-side .twh-ba-side__heading {
	margin: 0;
	padding: 0;
	font-family: var(--twh-ba-font);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
}

/* 分隔線：燙金 1px */
.twh-ba-side .twh-ba-side__divider {
	width: 100%;
	height: 1px;
	margin: 0;
	background: var(--twh-ba-gold-gradient);
	border: 0;
}

/* ---------- 搜尋：54px 白框、圓角 4 ---------- */
.twh-ba-search {
	margin: 0;
}

.twh-ba-search__field {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 54px;
	padding: 8px;
	margin: 0;
	border: 1px solid var(--twh-ba-white);
	border-radius: 4px;
	cursor: text;
}

.twh-ba-search__icon {
	flex-shrink: 0;
	color: var(--twh-ba-white);
}

.twh-ba-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	font-family: var(--twh-ba-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08px;
	color: var(--twh-ba-white);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.twh-ba-search input[type="search"]::placeholder {
	color: var(--twh-ba-white);
	opacity: 1;
}

.twh-ba-search input[type="search"]::-webkit-search-cancel-button {
	filter: invert(1);
}

.twh-ba-search__field:focus-within {
	border-color: var(--twh-ba-gold-b);
}

/* ---------- 文章分類：20px、未選 60% ---------- */
.twh-ba-cats,
.twh-ba-tags {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-cats {
	flex-direction: column;
}

.twh-ba-cats li,
.twh-ba-tags li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-side .twh-ba-cats__link {
	display: block;
	padding: 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	opacity: 0.6;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.twh-ba-side .twh-ba-cats__link:hover,
.twh-ba-side .twh-ba-cats__link:focus-visible {
	color: var(--twh-ba-white);
	opacity: 1;
}

.twh-ba-side .twh-ba-cats__link.is-active {
	color: var(--twh-ba-gold-b);
	opacity: 1;
}

/* ---------- 熱門標籤：白框小標籤、60% ---------- */
.twh-ba-tags {
	flex-wrap: wrap;
	gap: 16px 8px;
	padding: 8px;
}

.twh-ba-side .twh-ba-tags__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	border: 1px solid var(--twh-ba-white);
	border-radius: 4px;
	opacity: 0.6;
	transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.twh-ba-side .twh-ba-tags__link:hover,
.twh-ba-side .twh-ba-tags__link:focus-visible {
	color: var(--twh-ba-white);
	opacity: 1;
}

.twh-ba-side .twh-ba-tags__link.is-active {
	color: var(--twh-ba-gold-b);
	border-color: var(--twh-ba-gold-b);
	opacity: 1;
}

/* ==========================================================
 * 工具列：標題 + 數量 / 文章順序 / 每頁顯示
 * ========================================================== */
.twh-ba-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.twh-ba-toolbar__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	padding: 8px;
}

.twh-ba-toolbar .twh-ba-toolbar__heading {
	margin: 0;
	font-family: var(--twh-ba-font);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
}

.twh-ba-toolbar__count {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	opacity: 0.6;
}

.twh-ba-toolbar__controls {
	display: flex;
	gap: 18px;
	padding: 8px 0;
}

/* 下拉選單：306×54 白框 */
.twh-ba-dropdown {
	position: relative;
	width: 306px;
	max-width: 100%;
}

.twh-ba-dropdown .twh-ba-dropdown__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 9px;
	font-family: var(--twh-ba-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-align: left;
	background: transparent;
	border: 1px solid var(--twh-ba-white);
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.twh-ba-dropdown .twh-ba-dropdown__toggle:hover,
.twh-ba-dropdown .twh-ba-dropdown__toggle:focus {
	color: var(--twh-ba-white);
	background: transparent;
}

.twh-ba-dropdown__toggle svg {
	flex-shrink: 0;
}

.twh-ba-dropdown__label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.twh-ba-dropdown.is-open .twh-ba-caret {
	transform: rotate(180deg);
}

.twh-ba-dropdown__menu {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 30;
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-dropdown__menu[hidden] {
	display: none;
}

.twh-ba-dropdown__menu li {
	margin: 0;
	list-style: none;
}

.twh-ba-dropdown__menu a,
.twh-ba-dropdown__menu a:visited {
	display: flex;
	align-items: center;
	height: 54px;
	padding: 8px 40px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	background: var(--twh-ba-ink);
	border: 1px solid var(--twh-ba-white);
	border-top: 0;
	transition: background-color 0.2s ease;
}

.twh-ba-dropdown__menu a:hover,
.twh-ba-dropdown__menu a:focus {
	color: var(--twh-ba-white);
	background: #3a332f;
}

.twh-ba-dropdown__menu li[aria-selected="true"] a {
	color: var(--twh-ba-gold-b);
}

/* ==========================================================
 * 文章卡片（共用）
 * ========================================================== */
.twh-ba-grid,
.twh-ba-featured {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 一般列表：3 欄，間距 20 / 列距 40 */
.twh-ba-grid {
	grid-template-columns: repeat(var(--twh-ba-cols, 3), minmax(0, 1fr));
	gap: 40px 20px;
}

.twh-ba-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 圖片：346×246；hover 金框、金色光暈、40% 古銅金遮罩（與商品卡片一致） */
.twh-ba-card .twh-ba-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2; /* 精選圖片 1920×1280（3:2），完整顯示不裁切 */
	overflow: hidden;
	border: 1px solid transparent;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.twh-ba-card .twh-ba-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	background: rgba(181, 138, 69, 0.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.twh-ba-card .twh-ba-card__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.twh-ba-card__img--empty {
	background: #3a332f;
}

/* 分類標籤 + 日期 / 閱讀時間 */
.twh-ba-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.twh-ba-card__cat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-gold);
	white-space: nowrap;
	border: 1px solid var(--twh-ba-gold);
	border-radius: 4px;
	opacity: 0.6;
}

.twh-ba-card__info {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 8px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: right;
	white-space: nowrap;
	opacity: 0.6;
}

/* 標題：20px 置中 */
.twh-ba-card .twh-ba-card__title {
	margin: 0;
	font-family: var(--twh-ba-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	color: var(--twh-ba-white);
}

.twh-ba-card .twh-ba-card__title a,
.twh-ba-card .twh-ba-card__title a:visited {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.25s ease;
}

/* 摘要：16px、60%、兩行截斷（佈景主題會改 p 的 display，用 !important 鎖住） */
.twh-ba-card .twh-ba-card__excerpt {
	display: -webkit-box !important;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	color: var(--twh-ba-white);
	opacity: 0.6;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 2.8em; /* 固定兩行高度，摘要短的卡片也對齊 */
}

@media (hover: hover) {
	.twh-ba-card:hover .twh-ba-card__media {
		border-color: var(--twh-ba-gold);
		box-shadow: 0 4px 40px var(--twh-ba-gold);
	}

	.twh-ba-card:hover .twh-ba-card__media::after {
		opacity: 1;
	}

	.twh-ba-card:hover .twh-ba-card__title a {
		opacity: 0.6;
	}
}

.twh-ba-card .twh-ba-card__title a:focus-visible {
	outline: 2px solid var(--twh-ba-gold-b);
	outline-offset: 4px;
}

/* ==========================================================
 * 精選文章：489 寬、圖 320 高、標題 32px、按鈕 306×59
 * ========================================================== */
.twh-ba-featured {
	grid-template-columns: repeat(3, minmax(0, 489px));
	justify-content: center;
	gap: 24px;
}

.twh-ba-card--featured {
	align-items: center;
	gap: 0;
}

.twh-ba-card--featured .twh-ba-card__media {
	width: 100%;
	aspect-ratio: 3 / 2;
}

.twh-ba-card--featured .twh-ba-card__meta {
	width: 100%;
	padding-top: 8px;
}

/* 精選卡片的分類：燙金漸層字 */
.twh-ba-card--featured .twh-ba-card__cat {
	color: transparent;
	background: var(--twh-ba-gold-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.twh-ba-card--featured .twh-ba-card__title {
	margin-top: 40px;
	font-size: 32px;
}

.twh-ba-card--featured .twh-ba-card__excerpt {
	margin-top: 20px;
	font-size: 20px;
}

.twh-ba-featured .twh-ba-card__button,
.twh-ba-featured .twh-ba-card__button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 306px;
	max-width: 100%;
	height: 59px;
	margin-top: 40px;
	padding: 8px 24px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	background: var(--twh-ba-gold);
	transition: background-color 0.2s ease;
}

.twh-ba-featured .twh-ba-card__button:hover,
.twh-ba-featured .twh-ba-card__button:focus-visible {
	color: var(--twh-ba-white);
	background: var(--twh-ba-gold-c);
}

/* ==========================================================
 * 分頁：40px 圓形數字、60% 透明，目前頁燙金
 * ========================================================== */
.twh-ba-pagination {
	margin-top: 80px;
	text-align: center;
}

.twh-ba-pagination__list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-pagination__list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	border-radius: 999px;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.twh-ba-pagination a.page-numbers:hover,
.twh-ba-pagination a.page-numbers:focus-visible {
	color: var(--twh-ba-white);
	opacity: 1;
}

.twh-ba-pagination .page-numbers.current {
	color: transparent;
	background: var(--twh-ba-gold-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: 1;
}

.twh-ba-pagination .prev,
.twh-ba-pagination .next,
.twh-ba-pagination .twh-ba-last {
	gap: 8px;
	padding: 4px 10px;
	opacity: 1;
}

.twh-ba-pagination .next {
	margin-left: 20px;
}

.twh-ba-pagination .prev {
	margin-right: 20px;
}

.twh-ba-page-arrow {
	font-size: 20px;
	line-height: 1;
}

/* ---------- 沒有文章 ---------- */
.twh-ba-empty {
	padding: 60px 20px;
	font-size: 18px;
	text-align: center;
}

.twh-ba-empty p {
	margin: 0 0 16px;
	opacity: 0.8;
}

.twh-ba-empty .twh-ba-empty__link {
	color: var(--twh-ba-gold-b);
}

/* ==========================================================
 * 文章單頁：分類標籤（金框、燙金字、60% 透明）
 * ========================================================== */
.twh-ba-post-cat,
a.twh-ba-post-cat,
a.twh-ba-post-cat:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	font-family: "Noto Serif TC", "Noto Serif CJK TC", serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
	text-decoration: none;
	color: transparent;
	background: linear-gradient(180deg, #b67b19 0%, #d1a64f 50%, #a96f14 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	border: 1px solid #b58a45;
	border-radius: 4px;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

a.twh-ba-post-cat:hover,
a.twh-ba-post-cat:focus-visible {
	opacity: 1;
}

@media (max-width: 768px) {
	.twh-ba-post-cat,
	a.twh-ba-post-cat {
		padding: 6px;
		font-size: 16px;
	}
}

/* ==========================================================
 * 文章單頁：右側欄（金框 + 極淡金漸層底，內寬 308）
 * ========================================================== */
.twh-ba-post-side {
	--twh-ba-rice: #f2ead9;     /* 米 */
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 20px;
	background: linear-gradient(180deg, rgba(182, 123, 25, 0.04) 0%, rgba(209, 166, 79, 0.04) 50%, rgba(169, 111, 20, 0.04) 100%);
	border: 1px solid var(--twh-ba-gold-a);
}

.twh-ba-post-side > section {
	margin: 0;
	padding: 0;
}

/* 區塊之間：間距 40 + 60% 白色分隔線（隱藏中的目錄不算） */
.twh-ba-post-side > section:not([hidden]) ~ section:not([hidden]) {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.twh-ba-post-side .twh-ba-post-side__notice-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-rice);
}

.twh-ba-post-side__notice-title svg {
	flex-shrink: 0;
}

.twh-ba-post-side .twh-ba-post-side__notice-text {
	margin: 0;
	padding: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-rice);
}

.twh-ba-post-side .twh-ba-post-side__heading {
	margin: 0 0 20px;
	padding: 0;
	font-family: var(--twh-ba-font);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
}

/* 本篇目錄：編號 32px + 標題 20px */
.twh-ba-toc__list,
.twh-ba-post-side__cats {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-toc__list li,
.twh-ba-post-side__cats li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.twh-ba-post-side .twh-ba-toc__link,
.twh-ba-post-side .twh-ba-toc__link:visited {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	transition: color 0.2s ease;
}

.twh-ba-toc__num {
	flex-shrink: 0;
	font-size: 32px;
}

.twh-ba-toc__text {
	flex: 1;
	min-width: 0;
	font-size: 20px;
}

.twh-ba-post-side .twh-ba-toc__link:hover,
.twh-ba-post-side .twh-ba-toc__link:focus-visible,
.twh-ba-post-side .twh-ba-toc__link.is-active {
	color: var(--twh-ba-gold-b);
}

/* 文章分類：20px、60% 透明；目前文章的分類燙金 */
.twh-ba-post-side .twh-ba-post-side__cat,
.twh-ba-post-side .twh-ba-post-side__cat:visited {
	display: block;
	padding: 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--twh-ba-white);
	text-decoration: none;
	opacity: 0.6;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.twh-ba-post-side .twh-ba-post-side__cat:hover,
.twh-ba-post-side .twh-ba-post-side__cat:focus-visible {
	color: var(--twh-ba-white);
	opacity: 1;
}

.twh-ba-post-side .twh-ba-post-side__cat.is-active {
	color: var(--twh-ba-gold-b);
	opacity: 1;
}

.twh-ba-post-side a:focus-visible {
	outline: 2px solid var(--twh-ba-gold-b);
	outline-offset: 2px;
}

/* ==========================================================
 * RWD
 * ========================================================== */
@media (max-width: 1280px) {
	.twh-ba-featured {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.twh-ba-card--featured .twh-ba-card__title {
		font-size: 26px;
	}
}

@media (max-width: 1024px) {
	/* 單頁側欄移到內文下方時，標題縮小 */
	.twh-ba-post-side .twh-ba-post-side__heading {
		font-size: 26px;
	}

	.twh-ba-toc__num {
		font-size: 26px;
	}

	.twh-ba-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.twh-ba-featured {
		grid-template-columns: minmax(0, 489px);
		gap: 60px;
	}

	.twh-ba-toolbar__controls {
		width: 100%;
	}

	.twh-ba-dropdown {
		flex: 1;
		width: auto;
	}
}

@media (max-width: 768px) {
	/* 側欄改成可展開 */
	.twh-ba-side {
		padding: 0;
	}

	.twh-ba-side .twh-ba-side__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 54px;
		margin: 0;
		padding: 8px 16px;
		font-family: var(--twh-ba-font);
		font-size: 18px;
		font-weight: 700;
		color: var(--twh-ba-white);
		background: transparent;
		border: 1px solid var(--twh-ba-gold-a);
		border-radius: 0;
		cursor: pointer;
	}

	.twh-ba-side.is-open .twh-ba-caret {
		transform: rotate(180deg);
	}

	.twh-ba-side__panel {
		display: none;
		gap: 28px;
		border-top: 0;
	}

	.twh-ba-side.is-open .twh-ba-side__panel {
		display: flex;
	}

	.twh-ba-side .twh-ba-side__heading,
	.twh-ba-toolbar .twh-ba-toolbar__heading {
		font-size: 24px;
	}

	.twh-ba-toolbar__count {
		font-size: 16px;
	}

	.twh-ba-toolbar__controls {
		gap: 10px;
	}

	.twh-ba-dropdown .twh-ba-dropdown__toggle,
	.twh-ba-dropdown__menu a,
	.twh-ba-dropdown__menu a:visited {
		height: 46px;
		font-size: 16px;
	}

	.twh-ba-dropdown__menu a {
		padding: 8px 16px;
	}

	.twh-ba-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.twh-ba-card .twh-ba-card__title {
		font-size: 18px;
	}

	.twh-ba-card--featured .twh-ba-card__title {
		margin-top: 24px;
		font-size: 22px;
	}

	.twh-ba-card--featured .twh-ba-card__excerpt {
		font-size: 16px;
	}

	.twh-ba-featured .twh-ba-card__button {
		margin-top: 24px;
	}

	.twh-ba-pagination {
		margin-top: 48px;
	}

	.twh-ba-pagination .page-numbers {
		min-width: 34px;
		height: 34px;
	}

	.twh-ba-pagination .next {
		margin-left: 8px;
	}

	.twh-ba-pagination .prev {
		margin-right: 8px;
	}

	/* 單頁側欄 */
	.twh-ba-post-side {
		padding: 16px;
	}

	.twh-ba-post-side > section:not([hidden]) ~ section:not([hidden]) {
		margin-top: 28px;
		padding-top: 28px;
	}

	.twh-ba-post-side .twh-ba-post-side__heading {
		margin-bottom: 12px;
		font-size: 24px;
	}

	.twh-ba-toc__num {
		font-size: 22px;
	}

	.twh-ba-toc__text,
	.twh-ba-post-side .twh-ba-post-side__cat {
		font-size: 18px;
	}
}
