@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

:root {
	--wiko-bp-mobile: 768px;
	--wiko-bp-desktop: 1024px;
	--wiko-bg: #ffffff;
	--wiko-surface: #ffffff;
	--wiko-border: #d9e1ea;
	--wiko-text: #17263a;
	--wiko-text-muted: #556578;
	--wiko-primary: #0c7a61;
	--wiko-primary-hover: #085e4a;
	--wiko-code-bg: #ffffff;
	--wiko-sidebar-bg: #ffffff;
	--wiko-focus: #e18013;
	--wiko-font-size: 16px;
	--wiko-table-font-size: 16px;
	--wiko-table-code-font-size: 14px;
	--wiko-body-line-height: 2;
	--wiko-font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'PingFang TC', 'PingFang SC', 'Microsoft JhengHei', 'Microsoft YaHei', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
	--wiko-font-serif-en: 'Source Serif 4', Georgia, 'Times New Roman', ui-serif, serif;
	--wiko-layout-sidebar: 360px;
	--wiko-layout-toc: 200px;
	--wiko-layout-content-max: 920px;
	--wiko-layout-max: 1480px;
	--wiko-layout-gutter: clamp(1rem, 2.5vw, 2rem);
	--wiko-hero-bg: #ffffff;
	--wiko-mobile-header-h: calc(6rem + env(safe-area-inset-top, 0px));
	--wiko-inline-code-bg: color-mix(in srgb, var(--wiko-text) 6%, var(--wiko-surface));
	--wiko-inline-code-border: color-mix(in srgb, var(--wiko-text) 10%, var(--wiko-border));
	--wiko-table-header-bg: #f7f6f3;
	--wiko-table-border: rgba(55, 53, 47, 0.09);
	--wiko-btn-bg: #8b7355;
	--wiko-btn-hover: #756045;
	--wiko-btn-text: #ffffff;
	--wiko-link: var(--wiko-btn-bg);
	--wiko-link-hover: var(--wiko-btn-hover);
}

[data-theme="dark"] {
	--wiko-bg: #0f1621;
	--wiko-surface: #182231;
	--wiko-text: #ecece9;
	--wiko-text-muted: #a5b4c9;
	--wiko-primary: #15a987;
	--wiko-primary-hover: #47c2a4;
	--wiko-code-bg: #111c2a;
	--wiko-sidebar-bg: #121d2b;
	--wiko-focus: #f1b85f;
	--wiko-hero-bg: #152235;
	--wiko-table-header-bg: #2a2826;
	--wiko-link: var(--wiko-btn-bg);
	--wiko-link-hover: var(--wiko-btn-hover);
	--wiko-mermaid-text: var(--wiko-text);
	--wiko-mermaid-line: #b8c4d6;
	--wiko-mermaid-actor-bg: #ecece9;
	--wiko-mermaid-actor-text: #17263a;
	--wiko-mermaid-note-bg: #243044;
	--wiko-mermaid-frame-bg: color-mix(in srgb, var(--wiko-surface) 88%, var(--wiko-text) 12%);
	--wiko-border: #2a3b54;
	--wiko-code-fg: #e6edf3;
	--wiko-code-comment: #8b949e;
	--wiko-code-keyword: #ff7b72;
	--wiko-code-string: #7ee787;
	--wiko-code-number: #ffa657;
	--wiko-code-function: #79c0ff;
	--wiko-code-attr: #79c0ff;
	--wiko-code-builtin: #ffa657;
	--wiko-code-meta: #7ee787;
	--wiko-code-punctuation: #c9d1d9;
}

html[data-theme="light"] {
	color-scheme: light;
}

html[data-theme="dark"] {
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	background: var(--wiko-bg);
	color: var(--wiko-text);
	font-family: var(--wiko-font-serif-en), var(--wiko-font-sans);
	font-size: var(--wiko-font-size);
	line-height: var(--wiko-body-line-height);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

a {
	color: var(--wiko-link);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
	color: var(--wiko-link-hover);
}

:focus-visible {
	outline: 2px solid var(--wiko-focus);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--wiko-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--wiko-text);
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 0.9rem 1.1rem;
	top: 5px;
	width: auto;
	z-index: 99999;
	border: 1px solid var(--wiko-border);
}

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

.wiko-container {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 1.2rem;
	box-sizing: border-box;
}

.wiko-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--wiko-surface);
	border-bottom: 1px solid var(--wiko-border);
}

body.wiko-header-not-sticky .wiko-header {
	position: relative;
	top: auto;
}

.wiko-header__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.75rem;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0.75rem 1.2rem;
}

.wiko-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.wiko-brand__logo-fallback {
	border-radius: 0.4rem;
	border: 1px solid var(--wiko-border);
	background: var(--wiko-surface);
}

.wiko-brand__title {
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	color: var(--wiko-text);
}

.wiko-brand__tagline {
	margin: 0;
	font-size: 0.82rem;
	color: var(--wiko-text-muted);
}

.wiko-header__menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	border: 0;
	background: transparent;
	border-radius: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.wiko-header__menu-toggle span {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: var(--wiko-text);
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
	transform-origin: center;
}

.wiko-primary-nav,
.wiko-header__actions {
	display: none;
}

.wiko-primary-nav__close {
	display: none;
}

.wiko-primary-nav__list,
.wiko-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
}

.wiko-primary-nav__list li {
	position: relative;
}

/* Devil's Gap：父項與 sub-menu 之間的透明橋接，避免 hover 中斷 */
.wiko-primary-nav__list > li.menu-item-has-children::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 0.35rem;
	z-index: 1002;
}

.wiko-primary-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.45rem;
	min-width: 220px;
	position: absolute;
	top: calc(100% + 0.3rem);
	left: 0;
	background: var(--wiko-surface);
	border: 1px solid var(--wiko-border);
	border-radius: 0;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--wiko-text) 10%, transparent);
	display: none;
	z-index: 1001;
	gap: 0;
}

html[data-theme="dark"] .wiko-primary-nav__list .sub-menu {
	border: 0.5px solid color-mix(in srgb, var(--wiko-border) 35%, transparent);
	box-shadow: 0 4px 10px color-mix(in srgb, var(--wiko-text) 5%, transparent);
}

.wiko-primary-nav__list .sub-menu li {
	width: 100%;
}

.wiko-primary-nav__list .sub-menu a {
	display: block;
	padding: 0.45rem 0.55rem;
	border-radius: 0;
	text-decoration: none;
	white-space: nowrap;
}

.wiko-primary-nav__list > li > a:hover,
.wiko-primary-nav__list > li > a:focus-visible,
.wiko-footer__menu a:hover,
.wiko-footer__menu a:focus-visible {
	color: var(--wiko-btn-bg);
}

.wiko-primary-nav__list .sub-menu a:hover,
.wiko-primary-nav__list .sub-menu a:focus-visible {
	background: transparent;
	color: var(--wiko-btn-bg);
}

.wiko-primary-nav__list > li.menu-item-has-children > a::after {
	content: '▾';
	display: inline-block;
	margin-left: 0.35rem;
	font-size: 0.72em;
	line-height: 1;
	vertical-align: middle;
	color: var(--wiko-text-muted);
	transition: transform 0.2s ease;
}

.wiko-primary-nav__list > li.menu-item-has-children:hover > a::after,
.wiko-primary-nav__list > li.menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
}

.wiko-primary-nav__list li.menu-item-has-children:hover > .sub-menu,
.wiko-primary-nav__list li.menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.wiko-search-form {
	position: relative;
	display: flex;
	gap: 0.5rem;
}

.wiko-search-form__field {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--wiko-border);
	border-radius: 0;
	background: var(--wiko-surface);
	color: var(--wiko-text);
}

.wiko-search-form__submit,
.wiko-button,
.wiko-header__theme-toggle,
.wiko-header__github {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	padding: 0.6rem 0.85rem;
	background: transparent;
	color: var(--wiko-text);
	text-decoration: none;
	cursor: pointer;
}

.wiko-header__theme-toggle {
	flex-shrink: 0;
	min-width: 2.25rem;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0.5rem;
	font-size: 0;
	line-height: 0;
	white-space: nowrap;
}

.wiko-header__theme-toggle::before {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--wiko-text);
	content: 'D';
}

html[data-theme="dark"] .wiko-header__theme-toggle::before {
	content: 'L';
}

.wiko-search-form__submit,
.wiko-docs-toggle,
.wiko-comments .submit,
.wiko-sidebar__close,
.wp-block-button__link,
.wp-block-button .wp-element-button,
input[type='submit'] {
	background: var(--wiko-btn-bg);
	color: var(--wiko-btn-text);
	border-radius: 0;
}

.wiko-search-form__submit:hover,
.wiko-search-form__submit:focus-visible,
.wiko-docs-toggle:hover,
.wiko-docs-toggle:focus-visible,
.wiko-comments .submit:hover,
.wiko-comments .submit:focus-visible,
.wiko-sidebar__close:hover,
.wiko-sidebar__close:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-block-button .wp-element-button:hover,
.wp-block-button .wp-element-button:focus-visible,
input[type='submit']:hover,
input[type='submit']:focus-visible {
	background: var(--wiko-btn-hover);
	color: var(--wiko-btn-text);
}

.wiko-button:hover,
.wiko-button:focus-visible,
.wiko-header__theme-toggle:hover,
.wiko-header__theme-toggle:focus-visible,
.wiko-header__github:hover,
.wiko-header__github:focus-visible,
.wiko-header__menu-toggle:hover,
.wiko-header__menu-toggle:focus-visible {
	background: transparent;
	color: var(--wiko-text);
}

.wiko-search-form__results {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	right: 0;
	background: var(--wiko-surface);
	border: 1px solid var(--wiko-border);
	border-radius: 0.6rem;
	display: none;
	max-height: 360px;
	overflow: auto;
	z-index: 20;
}

.wiko-search-form__results.is-open {
	display: block;
}

.wiko-search-result,
.wiko-search-result-empty {
	display: block;
	padding: 0.7rem 0.8rem;
	border-bottom: 1px solid var(--wiko-border);
	text-decoration: none;
	color: var(--wiko-text);
}

.wiko-search-result:last-child,
.wiko-search-result-empty:last-child {
	border-bottom: 0;
}

.wiko-search-result.is-active {
	background: var(--wiko-btn-bg);
	color: var(--wiko-btn-text);
}

.wiko-main {
	padding: 1.2rem 0 2rem;
	scroll-margin-top: 6rem;
}

.wiko-post-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.wiko-post-list .wiko-card {
	margin-bottom: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	border-bottom: 1px solid var(--wiko-border);
	padding: 1rem 0;
}

.wiko-post-list .wiko-card:last-child {
	border-bottom: 0;
}

.wiko-post-list .wiko-card__thumb-link {
	margin: 0 0 0.9rem;
	border-radius: 0.8rem;
}

.wiko-card,
.wiko-topic-card {
	background: var(--wiko-surface);
	border: 1px solid var(--wiko-border);
	border-radius: 0.9rem;
	padding: 1rem;
	margin-bottom: 0.95rem;
}

.wiko-entry {
	padding: 1rem;
	margin-bottom: 0.95rem;
}

.wiko-card__thumb-link {
	display: block;
	margin: -1rem -1rem 0.9rem;
	overflow: hidden;
	border-radius: 0.9rem 0.9rem 0 0;
}

.wiko-card__thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.wiko-card:hover .wiko-card__thumb,
.wiko-card:focus-within .wiko-card__thumb {
	transform: scale(1.02);
}

.wiko-entry__thumb-wrap {
	margin: 0 0 1rem;
}

.wiko-entry__thumb {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.8rem;
	object-fit: cover;
}

.wiko-card__title,
.wiko-entry__title {
	margin: 0 0 0.5rem;
	line-height: 1.25;
}

.wiko-card__meta,
.wiko-entry__meta,
.wiko-breadcrumbs {
	font-size: 0.88rem;
	color: var(--wiko-text-muted);
}

.wiko-entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.wiko-meta__author {
	display: inline-flex;
	gap: 0.45rem;
	align-items: center;
}

.wiko-meta__avatar {
	border-radius: 50%;
	border: 1px solid var(--wiko-border);
}

.wiko-breadcrumbs ol {
	list-style: none;
	padding: 0;
	margin: 0 0 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
}

.wiko-breadcrumbs li:not(:last-child)::after {
	content: '>';
	padding-left: 0.3rem;
	color: var(--wiko-text-muted);
}

.wiko-docs-layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	max-width: var(--wiko-layout-max);
	width: 100%;
	margin: 0 auto;
	padding: var(--wiko-layout-gutter);
	box-sizing: border-box;
}

.wiko-docs-toolbar {
	max-width: var(--wiko-layout-max);
	margin: 0 auto;
	padding: 0 var(--wiko-layout-gutter);
	box-sizing: border-box;
}

.wiko-docs-toggle {
	border: 0;
	border-radius: 0;
	padding: 0.55rem 0.75rem;
	font-weight: 600;
	cursor: pointer;
}

.wiko-docs-layout-grid__left,
.wiko-docs-layout-grid__right {
	background: var(--wiko-surface);
	border: 0;
	border-radius: 0.8rem;
}

.wiko-sidebar,
.wiko-sidebar-toc {
	position: relative;
}

.wiko-sidebar__inner,
.wiko-sidebar-toc__inner {
	padding: 0.9rem;
}

.wiko-sidebar__close {
	display: none;
}

.wiko-sidebar__menu {
	width: 100%;
	min-width: 0;
}

.wiko-sidebar__list,
.wiko-sidebar__submenu,
.wiko-toc__list,
.wiko-toc__sublist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wiko-toc__list,
.wiko-toc__sublist {
	padding-left: 0;
}

/*
 * 側邊欄 DOM（Wiko_Sidebar_Walker）：
 * li > a.link + span.count? + details > summary + ul.submenu
 * 不用 display:contents / flex order（會破壞階層）；
 * details 只放子選單，summary 絕對定位到標題列右側。
 */
.wiko-sidebar__inner {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.wiko-sidebar__list,
.wiko-sidebar__submenu {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.wiko-sidebar__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 1.75rem;
	align-items: center;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.wiko-sidebar__item:has(> .wiko-sidebar__details) {
	grid-template-rows: auto auto;
	align-items: start;
}

.wiko-sidebar__item > .wiko-sidebar__link {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
	padding: 0.28rem 0;
	text-decoration: none;
	color: inherit;
}

.wiko-sidebar__item:not(:has(> .wiko-sidebar__count)) > .wiko-sidebar__link {
	grid-column: 1 / 3;
}

.wiko-sidebar__item > .wiko-sidebar__count {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

.wiko-sidebar__item--active > .wiko-sidebar__link {
	font-weight: 700;
	color: var(--wiko-btn-bg);
}

.wiko-sidebar__item--ancestor > .wiko-sidebar__link {
	font-weight: 600;
}

.wiko-sidebar__details {
	display: block;
	grid-column: 1 / -1;
	grid-row: 2;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.wiko-sidebar__summary {
	position: absolute;
	top: 0.28rem;
	right: 0;
	z-index: 1;
	font-size: 0;
	line-height: 0;
	color: transparent;
	cursor: pointer;
	list-style: none;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
}

.wiko-sidebar__summary::-webkit-details-marker {
	display: none;
}

.wiko-sidebar__summary::marker {
	content: '';
}

.wiko-sidebar__summary::before {
	content: '▾';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height:65%;
	font-size: 1rem;
	line-height: 1;
	color: var(--wiko-text-muted);
	transition: transform 0.2s ease;
}

.wiko-sidebar__details[open] > .wiko-sidebar__summary::before {
	transform: rotate(180deg);

}

.wiko-sidebar__details > .wiko-sidebar__submenu {
	width: 100%;
	min-width: 0;
	margin: 0.15rem 0 0;
	padding: 0 !important;
	list-style: none;
	box-sizing: border-box;
}

.wiko-sidebar__submenu,
.wiko-sidebar__submenu .wiko-sidebar__submenu {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.wiko-sidebar__summary:focus-visible {
	outline: 2px solid var(--wiko-focus);
	outline-offset: 2px;
	border-radius: 0;
}

.wiko-sidebar__empty,
.wiko-sidebar-toc__empty {
	margin: 0;
	font-size: 0.9rem;
	color: var(--wiko-text-muted);
}

.wiko-sidebar-toc__title {
	margin: 0 0 0.6rem;
	font-size: 1rem;
}

.wiko-sidebar__count,
.wiko-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.12rem 0.5rem;
	border-radius: 99px;
	background: var(--wiko-code-bg);
	font-size: 0.76rem;
	color: var(--wiko-text-muted);
	border: 1px solid var(--wiko-border);
}

.wiko-toc {
	font-size: 0.9rem;
}

.wiko-toc__item {
	margin: 0.2rem 0;
}

.wiko-toc__sublist {
	padding-left: 0.9rem;
	margin-top: 0.2rem;
}

.wiko-sidebar-toc__widgets {
	margin-top: 1rem;
}

.wiko-toc a.is-active {
	font-weight: 700;
	color: var(--wiko-btn-bg);
}

/* 選單不顯示被選中樣式，與一般連結一致；僅 hover 變色 */
.wiko-primary-nav__list :is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item, .current_page_ancestor, .current_page_parent) > a,
.wiko-primary-nav__list .sub-menu :is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a,
.wiko-footer__menu :is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_item) > a,
.menu-item:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a,
.menu-item-type-taxonomy.menu-item-object-category:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a {
	color: inherit;
	font-weight: inherit;
}

.wiko-toc-mobile {
	margin-bottom: 0.9rem;
}

.wiko-doc-nav {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wiko-border);
}

.wiko-comments {
	margin-top: 1.5rem;
	padding: 1rem;
	border: 1px solid var(--wiko-border);
	border-radius: 0.9rem;
	background: var(--wiko-surface);
}

.wiko-comments__title {
	margin: 0 0 0.9rem;
	font-size: 1.1rem;
}

.wiko-comments__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.wiko-comments .comment-body {
	padding: 0.85rem;
	border: 1px solid var(--wiko-border);
	border-radius: 0.7rem;
	background: var(--wiko-surface);
}

.wiko-comments .comment-meta {
	font-size: 0.85rem;
	color: var(--wiko-text-muted);
	margin-bottom: 0.45rem;
}

.wiko-comments .comment-content p {
	margin: 0.4rem 0;
}

.wiko-comments .comment-reply-link {
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.wiko-comments .comment-respond {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wiko-border);
}

.wiko-comments .comment-reply-title {
	margin: 0 0 0.8rem;
	font-size: 1rem;
}

.wiko-comments .comment-form {
	display: grid;
	gap: 0.7rem;
}

.wiko-comments .comment-form p {
	margin: 0;
}

.wiko-comments label {
	display: inline-block;
	margin-bottom: 0.3rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.wiko-comments input[type='text'],
.wiko-comments input[type='email'],
.wiko-comments input[type='url'],
.wiko-comments textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--wiko-border);
	border-radius: 0.6rem;
	background: var(--wiko-surface);
	color: var(--wiko-text);
	font: inherit;
}

.wiko-comments textarea {
	min-height: 130px;
	resize: vertical;
}

.wiko-comments .form-submit {
	margin-top: 0.2rem;
}

/* ── Pagination ─────────────────────────────────────────────── */
.navigation.pagination {
	margin-top: 2rem;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	height: 2.2rem;
	padding: 0 0.6rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wiko-text);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
	background: transparent;
	color: var(--wiko-link);
	outline: none;
}

.page-numbers.dots {
	background: transparent;
	color: var(--wiko-text-light);
	cursor: default;
}

.wiko-comments .submit {
	border: 0;
	border-radius: 0;
	padding: 0.6rem 0.9rem;
	cursor: pointer;
	font-weight: 600;
}

/* ── Back to top ────────────────────────────────────────────── */
.wiko-back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 0;
	border-radius: 0;
	background: var(--wiko-surface);
	color: var(--wiko-text);
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s;
}

.wiko-back-to-top::before {
	content: '⬆️';
	font-size: 1.15rem;
	line-height: 1;
}

.wiko-back-to-top:hover,
.wiko-back-to-top:focus-visible {
	background: var(--wiko-surface);
	color: var(--wiko-text);
	transform: translateY(-2px);
	outline: none;
}

.wiko-landing-hero {
	background: var(--wiko-surface);
	border-bottom: 1px solid var(--wiko-border);
	padding: 3rem 0 2.4rem;
}

.wiko-landing-hero .wiko-container {
	display: grid;
	gap: 1rem;
}

.wiko-topic-grid,
.wiko-doc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

.wiko-topic-card {
	text-decoration: none;
	color: inherit;
}

.wiko-topic-card h3 {
	margin-top: 0;
}

.wiko-landing-section {
	padding: 1.4rem 0;
}

.wiko-footer {
	border-top: 1px solid var(--wiko-border);
	background: var(--wiko-surface);
	padding: 0;
}

.wiko-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 1.2rem;
}

.wiko-footer__widgets {
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.wiko-footer__widgets--1 {
	grid-template-columns: 1fr;
}

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

.wiko-footer__widgets--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

code,
pre,
pre code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.9em;
}

pre {
	position: relative;
	max-width: 100%;
	background: var(--wiko-code-bg);
	border: 1px solid var(--wiko-border);
	padding: 1.15rem 1.35rem;
	border-radius: 0.7rem;
	overflow-x: auto;
}

pre[class*='language-'],
.entry-content pre,
.wiko-entry pre,
.wp-block-code pre {
	padding: 1.15rem 1.35rem 1.15rem 1.5rem !important;
}

pre:has(.wiko-copy-btn) {
	padding-right: 3rem;
}

pre > code,
pre[class*='language-'] > code,
pre code[class*='language-'] {
	display: block;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-weight: inherit;
}

/* 行內 code（段落、列表等）— 不含程式碼區塊與語法高亮 token */
.wp-block-paragraph code:not(.hljs):not([class*='hljs-']),
.entry-content :is(p, li, td, .wp-block-paragraph) code:not(.hljs):not([class*='hljs-']),
.wiko-entry :is(p, li, td, .wp-block-paragraph) code:not(.hljs):not([class*='hljs-']) {
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.875em;
	font-weight: 500;
	line-height: 1.45;
	color: var(--wiko-text);
	background-color: var(--wiko-inline-code-bg);
	border: 1px solid var(--wiko-inline-code-border);
	border-radius: 0.375rem;
	padding: 0.15em 0.45em;
	white-space: break-spaces;
	overflow-wrap: anywhere;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.wp-block-paragraph code:not(.hljs):not([class*='hljs-']),
.entry-content .wp-block-paragraph code:not(.hljs):not([class*='hljs-']),
.wiko-entry .wp-block-paragraph code:not(.hljs):not([class*='hljs-']) {
	font-size: 0.8125em;
}

/* 程式碼區塊內的 code — 不套用行內 border / 背景（不含語法高亮區塊） */
.wp-block-code code:not(.hljs):not([class*='language-']),
pre.wp-block-code code:not(.hljs):not([class*='language-']),
.wp-block-code pre code:not(.hljs):not([class*='language-']),
.entry-content :is(.wp-block-code, pre) code:not(.hljs):not([class*='language-']),
.wiko-entry :is(.wp-block-code, pre) code:not(.hljs):not([class*='language-']) {
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0;
	padding: 0;
	white-space: pre;
	overflow-wrap: normal;
	box-decoration-break: initial;
	-webkit-box-decoration-break: initial;
}

/* Syntax-highlighting Code Block（SSR / highlight.php）— 僅重置盒模型，不覆寫顏色 */
.entry-content pre code.hljs,
.wiko-entry pre code.hljs,
.entry-content .wp-block-code pre code.hljs,
.wiko-entry .wp-block-code pre code.hljs,
pre.hljs,
pre code[class*='language-'] {
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
	font-weight: inherit;
	line-height: inherit;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0;
	padding: 0;
	white-space: pre;
	overflow-wrap: normal;
}

/* 程式碼區塊 — 夜間模式（覆蓋 Syntax-highlighting Code Block 淺色 hljs 主題） */
[data-theme="dark"] pre,
[data-theme="dark"] .wp-block-code pre {
	color: var(--wiko-code-fg);
}

[data-theme="dark"] pre code:not(.hljs):not([class*='hljs-']):not([class*='language-']),
[data-theme="dark"] .entry-content :is(.wp-block-code, pre) code:not(.hljs):not([class*='hljs-']):not([class*='language-']),
[data-theme="dark"] .wiko-entry :is(.wp-block-code, pre) code:not(.hljs):not([class*='hljs-']):not([class*='language-']) {
	color: var(--wiko-code-fg) !important;
}

[data-theme="dark"] pre .hljs,
[data-theme="dark"] pre code.hljs,
[data-theme="dark"] pre.hljs,
[data-theme="dark"] pre code[class*='language-'] {
	color: var(--wiko-code-fg) !important;
	background: transparent !important;
	text-shadow: none !important;
}

[data-theme="dark"] .hljs-comment,
[data-theme="dark"] .hljs-quote {
	color: var(--wiko-code-comment) !important;
}

[data-theme="dark"] .hljs-keyword,
[data-theme="dark"] .hljs-selector-tag,
[data-theme="dark"] .hljs-subst,
[data-theme="dark"] .hljs-selector-id,
[data-theme="dark"] .hljs-selector-class {
	color: var(--wiko-code-keyword) !important;
}

[data-theme="dark"] .hljs-number,
[data-theme="dark"] .hljs-literal,
[data-theme="dark"] .hljs-variable,
[data-theme="dark"] .hljs-template-variable,
[data-theme="dark"] .hljs-type,
[data-theme="dark"] .hljs-built_in,
[data-theme="dark"] .hljs-title.class_,
[data-theme="dark"] .hljs-class .hljs-title {
	color: var(--wiko-code-number) !important;
}

[data-theme="dark"] .hljs-string,
[data-theme="dark"] .hljs-regexp,
[data-theme="dark"] .hljs-symbol,
[data-theme="dark"] .hljs-bullet,
[data-theme="dark"] .hljs-link,
[data-theme="dark"] .hljs-meta,
[data-theme="dark"] .hljs-addition,
[data-theme="dark"] .hljs-doctag {
	color: var(--wiko-code-string) !important;
}

[data-theme="dark"] .hljs-title,
[data-theme="dark"] .hljs-title.function_,
[data-theme="dark"] .hljs-function .hljs-title,
[data-theme="dark"] .hljs-section,
[data-theme="dark"] .hljs-name,
[data-theme="dark"] .hljs-tag,
[data-theme="dark"] .hljs-attr,
[data-theme="dark"] .hljs-attribute,
[data-theme="dark"] .hljs-property {
	color: var(--wiko-code-attr) !important;
}

[data-theme="dark"] .hljs-params,
[data-theme="dark"] .hljs-punctuation {
	color: var(--wiko-code-punctuation) !important;
}

[data-theme="dark"] .hljs-emphasis {
	font-style: italic;
}

[data-theme="dark"] .hljs-strong {
	font-weight: 700;
}

[data-theme="dark"] .hljs-deletion {
	color: #ffa198 !important;
	background: color-mix(in srgb, #f85149 18%, transparent) !important;
}

/* Prism（若外掛或舊內容仍使用 language-* / token） */
[data-theme="dark"] pre[class*='language-'],
[data-theme="dark"] code[class*='language-'] {
	color: var(--wiko-code-fg) !important;
	background: transparent !important;
	text-shadow: none !important;
}

[data-theme="dark"] .token.comment,
[data-theme="dark"] .token.prolog,
[data-theme="dark"] .token.doctype,
[data-theme="dark"] .token.cdata {
	color: var(--wiko-code-comment) !important;
}

[data-theme="dark"] .token.punctuation,
[data-theme="dark"] .token.operator,
[data-theme="dark"] .token.entity,
[data-theme="dark"] .token.url {
	color: var(--wiko-code-punctuation) !important;
}

[data-theme="dark"] .token.property,
[data-theme="dark"] .token.tag,
[data-theme="dark"] .token.boolean,
[data-theme="dark"] .token.number,
[data-theme="dark"] .token.constant,
[data-theme="dark"] .token.symbol,
[data-theme="dark"] .token.deleted,
[data-theme="dark"] .token.builtin,
[data-theme="dark"] .token.inserted {
	color: var(--wiko-code-number) !important;
}

[data-theme="dark"] .token.selector,
[data-theme="dark"] .token.attr-name,
[data-theme="dark"] .token.string,
[data-theme="dark"] .token.char,
[data-theme="dark"] .token.attr-value,
[data-theme="dark"] .token.regex {
	color: var(--wiko-code-string) !important;
}

[data-theme="dark"] .token.atrule,
[data-theme="dark"] .token.keyword {
	color: var(--wiko-code-keyword) !important;
}

[data-theme="dark"] .token.function,
[data-theme="dark"] .token.class-name {
	color: var(--wiko-code-function) !important;
}

[data-theme="dark"] .token.variable {
	color: var(--wiko-code-fg) !important;
}

.wiko-docs-layout-grid > * {
	min-width: 0;
	max-width: 100%;
}

.wiko-entry,
.entry-content,
.wiko-main,
.wiko-container {
	max-width: 100%;
}

.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content svg,
.wiko-entry img,
.wiko-entry video,
.wiko-entry iframe,
.wiko-entry svg,
figure img,
.wp-block-image img,
.wp-block-embed iframe {
	max-width: 100%;
	height: auto;
}

/* Mermaid — Notion 式點擊放大 */
.entry-content .mermaid,
.wiko-entry .mermaid,
.wp-block-mermaid .mermaid,
figure.mermaid,
pre.mermaid {
	display: flex;
	justify-content: center;
	margin: 1.25rem 0;
	padding: 1rem;
	overflow-x: auto;
	background: var(--wiko-surface);
	border: 1px solid var(--wiko-border);
	border-radius: 0;
}

.entry-content .mermaid svg,
.wiko-entry .mermaid svg,
.wp-block-mermaid .mermaid svg {
	max-width: 100%;
	height: auto;
}

/* Mermaid — 夜間模式（覆蓋 SVG 內嵌淺色主題，需 !important 壓過 #mermaid-xxx 選擇器） */
[data-theme="dark"] .entry-content .mermaid svg,
[data-theme="dark"] .wiko-entry .mermaid svg,
[data-theme="dark"] .wp-block-mermaid .mermaid svg,
[data-theme="dark"] .wiko-mermaid-lightbox__stage .mermaid svg {
	color: var(--wiko-mermaid-text);
}

/* Sequence — 訊息、迴圈、註解文字 */
[data-theme="dark"] .mermaid svg [class*="messageText"],
[data-theme="dark"] .mermaid svg .labelText,
[data-theme="dark"] .mermaid svg .loopText,
[data-theme="dark"] .mermaid svg .noteText,
[data-theme="dark"] .mermaid svg .titleText,
[data-theme="dark"] .mermaid svg .sequenceNumber {
	fill: var(--wiko-mermaid-text) !important;
	stroke: none !important;
}

/* Sequence — actor 框：淺底深字 */
[data-theme="dark"] .mermaid svg g.actor rect,
[data-theme="dark"] .mermaid svg .actor-box {
	fill: var(--wiko-mermaid-actor-bg) !important;
	stroke: var(--wiko-mermaid-line) !important;
}

[data-theme="dark"] .mermaid svg g.actor text,
[data-theme="dark"] .mermaid svg .actor-man text {
	fill: var(--wiko-mermaid-actor-text) !important;
}

/* Sequence — 箭頭、訊息線、生命線 */
[data-theme="dark"] .mermaid svg [class*="messageLine"],
[data-theme="dark"] .mermaid svg .loopLine,
[data-theme="dark"] .mermaid svg line.actor-line,
[data-theme="dark"] .mermaid svg .arrowheadPath {
	stroke: var(--wiko-mermaid-line) !important;
}

[data-theme="dark"] .mermaid svg [class*="messageLine"],
[data-theme="dark"] .mermaid svg .loopLine {
	fill: none !important;
}

[data-theme="dark"] .mermaid svg marker path {
	fill: var(--wiko-mermaid-line) !important;
	stroke: var(--wiko-mermaid-line) !important;
}

/* Sequence — 註解與 alt/opt 外框 */
[data-theme="dark"] .mermaid svg .note rect {
	fill: var(--wiko-mermaid-note-bg) !important;
	stroke: var(--wiko-mermaid-line) !important;
}

[data-theme="dark"] .mermaid svg .labelBox,
[data-theme="dark"] .mermaid svg rect[class*="labelBox"] {
	fill: var(--wiko-mermaid-frame-bg) !important;
	stroke: var(--wiko-mermaid-line) !important;
}

/* Flowchart — 節點、連線、群組 */
[data-theme="dark"] .mermaid svg .node rect,
[data-theme="dark"] .mermaid svg .node circle,
[data-theme="dark"] .mermaid svg .node polygon,
[data-theme="dark"] .mermaid svg .node path {
	fill: var(--wiko-mermaid-frame-bg) !important;
	stroke: var(--wiko-mermaid-line) !important;
}

[data-theme="dark"] .mermaid svg .nodeLabel,
[data-theme="dark"] .mermaid svg .cluster-label {
	fill: var(--wiko-mermaid-text) !important;
}

[data-theme="dark"] .mermaid svg .flowchart-link,
[data-theme="dark"] .mermaid svg .edge-pattern-solid,
[data-theme="dark"] .mermaid svg path.edge-thickness-normal {
	stroke: var(--wiko-mermaid-line) !important;
	fill: none !important;
}

[data-theme="dark"] .mermaid svg .edgeLabel rect {
	fill: var(--wiko-surface) !important;
	stroke: var(--wiko-border) !important;
}

[data-theme="dark"] .mermaid svg foreignObject div,
[data-theme="dark"] .mermaid svg foreignObject span,
[data-theme="dark"] .mermaid svg foreignObject p,
[data-theme="dark"] .mermaid svg .edgeLabel .label {
	color: var(--wiko-mermaid-text) !important;
	background-color: transparent !important;
}

[data-theme="dark"] .mermaid svg .cluster rect {
	fill: color-mix(in srgb, var(--wiko-surface) 70%, transparent) !important;
	stroke: var(--wiko-mermaid-line) !important;
}

/* 其餘圖表文字（class / state / ER 等） */
[data-theme="dark"] .mermaid svg text {
	fill: var(--wiko-mermaid-text) !important;
}

[data-theme="dark"] .mermaid svg g.actor text {
	fill: var(--wiko-mermaid-actor-text) !important;
}

.wiko-mermaid-zoomable {
	cursor: zoom-in;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.wiko-mermaid-zoomable:hover,
.wiko-mermaid-zoomable:focus-visible {
	border-color: var(--wiko-btn-bg);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wiko-btn-bg) 35%, transparent);
	outline: none;
}

body.wiko-mermaid-lightbox-open {
	overflow: hidden;
}

.wiko-mermaid-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 2.5rem);
	background: color-mix(in srgb, var(--wiko-text) 72%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.wiko-mermaid-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wiko-mermaid-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 0;
	background: var(--wiko-surface);
	color: var(--wiko-text);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.wiko-mermaid-lightbox__close:hover,
.wiko-mermaid-lightbox__close:focus-visible {
	background: var(--wiko-btn-bg);
	color: var(--wiko-btn-text);
	outline: none;
}

.wiko-mermaid-lightbox__content {
	position: relative;
	z-index: 1;
	width: min(96vw, 1400px);
	max-width: min(96vw, 1400px);
	max-height: 90vh;
	overflow: auto;
	padding: 1.5rem;
	background: var(--wiko-surface);
	border: 1px solid var(--wiko-border);
	cursor: zoom-out;
	-webkit-overflow-scrolling: touch;
}

/* 保留與內文相同的 Mermaid 樣式 scope，但去掉外框與 flex 置中（避免左側被裁切） */
.wiko-mermaid-lightbox__stage {
	display: block;
	width: max-content;
	min-width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
}

.wiko-mermaid-lightbox__stage.entry-content .mermaid,
.wiko-mermaid-lightbox__stage.wiko-entry .mermaid {
	display: block;
	justify-content: unset;
	align-items: unset;
	width: max-content;
	min-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	cursor: default;
}

.wiko-mermaid-lightbox__stage .mermaid svg {
	display: block;
	flex-shrink: 0;
	max-width: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0;
}

.entry-content .wp-block-table,
.wiko-entry .wp-block-table,
.entry-content figure:has(> table),
.wiko-entry figure:has(> table) {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* 依內容決定欄寬：覆蓋 WP 預設 fixed layout 與 inline width:100% */
.entry-content table,
.wiko-entry table,
.wiko-main table,
.wp-block-table table,
figure.wp-block-table > table {
	--wp--preset--font-size--small: var(--wiko-table-font-size);
	--wp--preset--font-size--medium: var(--wiko-table-font-size);
	--wp--preset--font-size--large: var(--wiko-table-font-size);
	--wp--preset--font-size--x-large: var(--wiko-table-font-size);
	width: max-content !important;
	max-width: none;
	table-layout: auto !important;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: var(--wiko-table-font-size);
	line-height: var(--wiko-body-line-height);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.wp-block-table.has-fixed-layout table,
.wp-block-table table.has-fixed-layout,
figure.wp-block-table.has-fixed-layout > table,
.entry-content table.has-fixed-layout,
.wiko-entry table.has-fixed-layout {
	width: max-content !important;
	table-layout: auto !important;
}

.entry-content .wp-block-table col,
.wiko-entry .wp-block-table col,
.entry-content table col,
.wiko-entry table col {
	width: auto !important;
}

.entry-content table th,
.entry-content table td,
.wiko-entry table th,
.wiko-entry table td,
.wp-block-table table th,
.wp-block-table table td {
	width: auto !important;
	min-width: 0;
	max-width: none;
	padding: 0.4375rem 0.625rem;
	border: 1px solid var(--wiko-table-border);
	text-align: left;
	vertical-align: top;
	color: var(--wiko-text);
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.entry-content table th,
.entry-content table thead td,
.wiko-entry table th,
.wiko-entry table thead td,
.wp-block-table table th,
.wp-block-table table thead td {
	background-color: var(--wiko-table-header-bg);
	font-weight: 500;
}

.entry-content table tbody td,
.wiko-entry table tbody td,
.wp-block-table table tbody td {
	background-color: var(--wiko-surface);
}

/* 表格字級與內文一致 — 覆蓋 WP 巢狀區塊、字級 class、inline style */
.entry-content :is(table, .wp-block-table),
.wiko-entry :is(table, .wp-block-table),
.wiko-main :is(table, .wp-block-table),
figure.wp-block-table,
.wp-block-table {
	font-size: var(--wiko-table-font-size);
	line-height: var(--wiko-body-line-height);
}

.entry-content :is(table, .wp-block-table) :is(th, td),
.wiko-entry :is(table, .wp-block-table) :is(th, td),
.wiko-main :is(table, .wp-block-table) :is(th, td),
figure.wp-block-table :is(th, td),
.wp-block-table :is(th, td) {
	font-size: var(--wiko-table-font-size) !important;
	line-height: var(--wiko-body-line-height) !important;
	font-weight: 400;
	font-family: var(--wiko-font-serif-en), var(--wiko-font-sans);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.entry-content :is(table, .wp-block-table) :is(th, td) :is(*, *::before, *::after),
.wiko-entry :is(table, .wp-block-table) :is(th, td) :is(*, *::before, *::after),
.wiko-main :is(table, .wp-block-table) :is(th, td) :is(*, *::before, *::after),
figure.wp-block-table :is(th, td) :is(*, *::before, *::after),
.wp-block-table :is(th, td) :is(*, *::before, *::after) {
	font-size: var(--wiko-table-font-size) !important;
	line-height: var(--wiko-body-line-height) !important;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.entry-content :is(table, .wp-block-table) :is(th, td) :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
.wiko-entry :is(table, .wp-block-table) :is(th, td) :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
.wiko-main :is(table, .wp-block-table) :is(th, td) :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
figure.wp-block-table :is(th, td) :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
.wp-block-table :is(th, td) :is(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
	font-size: var(--wiko-table-font-size) !important;
	line-height: var(--wiko-body-line-height) !important;
	font-weight: 500;
	letter-spacing: normal;
	margin: 0;
}

.entry-content :is(table, .wp-block-table) :is(th, td) :is(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size, .wp-block-paragraph),
.wiko-entry :is(table, .wp-block-table) :is(th, td) :is(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size, .wp-block-paragraph),
.wiko-main :is(table, .wp-block-table) :is(th, td) :is(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size, .wp-block-paragraph),
figure.wp-block-table :is(th, td) :is(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size, .wp-block-paragraph),
.wp-block-table :is(th, td) :is(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size, .wp-block-paragraph) {
	font-size: var(--wiko-table-font-size) !important;
	line-height: var(--wiko-body-line-height) !important;
}

.entry-content :is(table, .wp-block-table) :is(th, td) [style*='font-size'],
.wiko-entry :is(table, .wp-block-table) :is(th, td) [style*='font-size'],
.wiko-main :is(table, .wp-block-table) :is(th, td) [style*='font-size'],
figure.wp-block-table :is(th, td) [style*='font-size'],
.wp-block-table :is(th, td) [style*='font-size'] {
	font-size: var(--wiko-table-font-size) !important;
}

.entry-content :is(table, .wp-block-table) :is(th, td) p,
.wiko-entry :is(table, .wp-block-table) :is(th, td) p,
.wiko-main :is(table, .wp-block-table) :is(th, td) p,
figure.wp-block-table :is(th, td) p,
.wp-block-table :is(th, td) p {
	margin: 0;
}

.entry-content :is(table, .wp-block-table) :is(th, td) code,
.wiko-entry :is(table, .wp-block-table) :is(th, td) code,
.wiko-main :is(table, .wp-block-table) :is(th, td) code,
figure.wp-block-table :is(th, td) code,
.wp-block-table :is(th, td) code {
	font-size: var(--wiko-table-code-font-size) !important;
	line-height: 1.45 !important;
}

.entry-content table th,
.entry-content table thead td,
.wiko-entry table th,
.wiko-entry table thead td,
.wp-block-table table th,
.wp-block-table table thead td {
	font-weight: 500;
}

.entry-content .alignfull,
.entry-content .alignwide,
.wiko-entry .alignfull,
.wiko-entry .alignwide,
.wp-block-cover.alignfull,
.wp-block-group.alignfull {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

blockquote,
.wp-block-quote,
.entry-content blockquote,
.wiko-entry blockquote {
	margin: 1rem 0;
	padding: 0.15rem 0 0.15rem 1rem;
	border: 0;
	border-left: 3px solid color-mix(in srgb, var(--wiko-text-muted) 60%, var(--wiko-border));
	border-radius: 0;
	background: transparent;
	color: var(--wiko-text);
	font-style: normal;
}

blockquote p,
.wp-block-quote p {
	margin: 0.45rem 0;
}

blockquote p:first-child,
.wp-block-quote p:first-child {
	margin-top: 0;
}

blockquote p:last-child,
.wp-block-quote p:last-child {
	margin-bottom: 0;
}

/* 內文排版 — Notion 手機版字級與行高 */
.entry-content,
.wiko-entry,
.wiko-post-list,
.wiko-landing-section,
.wiko-card,
.wiko-topic-card,
.wiko-footer__inner {
	font-size: 1rem;
	line-height: var(--wiko-body-line-height);
}

.entry-content :is(p, li, td, th, blockquote, figcaption, .wp-block-paragraph),
.wiko-entry :is(p, li, td, th, blockquote, figcaption, .wp-block-paragraph) {
	font-size: 1rem;
	line-height: var(--wiko-body-line-height);
}

.entry-content :is(h1, h2, h3, h4, h5, h6),
.wiko-entry :is(h1, h2, h3, h4, h5, h6) {
	font-family: var(--wiko-font-serif-en), var(--wiko-font-sans);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

blockquote cite,
.wp-block-quote cite {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.9em;
	color: var(--wiko-text-muted);
	font-style: normal;
}

.wiko-copy-btn {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	border: 0;
	background: transparent;
	color: var(--wiko-text);
	border-radius: 0;
	padding: 0.28rem 0.5rem;
	font-size: 0.72rem;
	cursor: pointer;
}

.wiko-copy-btn:hover,
.wiko-copy-btn:focus-visible {
	background: transparent;
	color: var(--wiko-link);
}

.wiko-offcanvas-overlay {
	position: fixed;
	inset: 0;
	background: color-mix(in srgb, var(--wiko-text) 20%, transparent);
	z-index: 899;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.wiko-nav-open .wiko-offcanvas-overlay,
body.wiko-docs-open .wiko-offcanvas-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

button,
input[type='button'],
input[type='reset'] {
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wiko-text);
	font: inherit;
	cursor: pointer;
}

button:hover,
button:focus-visible,
input[type='button']:hover,
input[type='button']:focus-visible,
input[type='reset']:hover,
input[type='reset']:focus-visible {
	background: transparent;
	color: var(--wiko-text);
}

input[type='submit'] {
	border: 0;
	border-radius: 0;
	font: inherit;
	cursor: pointer;
}

@media (min-width: 768px) {
	.wiko-sidebar__close {
		display: none !important;
	}

	.wiko-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.wiko-header__menu-toggle {
		display: none;
	}

	.wiko-primary-nav,
	.wiko-header__actions {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		position: static;
		inset: auto;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
		overflow: visible;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.wiko-primary-nav {
		flex: 1;
		justify-content: center;
	}

	.wiko-primary-nav__close {
		display: none !important;
	}

	.wiko-docs-layout-grid {
		grid-template-columns: minmax(300px, var(--wiko-layout-sidebar)) minmax(0, 1fr);
		gap: 0.75rem;
		justify-content: center;
	}

	.wiko-docs-layout-grid.wiko-docs-layout-grid--with-toc {
		grid-template-columns: minmax(300px, var(--wiko-layout-sidebar)) minmax(0, 1fr) minmax(160px, var(--wiko-layout-toc));
	}

	.wiko-docs-layout-grid.wiko-docs-layout-grid--reserve-right {
		grid-template-columns: minmax(300px, var(--wiko-layout-sidebar)) minmax(0, 1fr) minmax(160px, var(--wiko-layout-toc));
	}

	.wiko-docs-layout-grid__left {
		position: sticky;
		top: 80px;
		max-height: calc(100vh - 96px);
		overflow: auto;
	}

	.wiko-docs-toolbar {
		display: none;
	}

	.wiko-docs-layout-grid__right {
		display: none;
		position: sticky;
		top: 80px;
		max-height: calc(100vh - 96px);
		overflow: auto;
	}

	.wiko-docs-layout-grid.wiko-docs-layout-grid--with-toc .wiko-docs-layout-grid__right {
		display: block;
	}

	.wiko-toc-mobile {
		display: none;
	}

	.wiko-topic-grid,
	.wiko-doc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.wiko-posts-columns-2 .wiko-post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.wiko-landing-hero .wiko-container {
		grid-template-columns: 1.2fr 1fr;
		align-items: end;
	}
}

html:has(body.wiko-nav-open),
html:has(body.wiko-docs-open) {
	overflow: hidden;
	height: 100%;
	overscroll-behavior: none;
}

@media (max-width: 767px) {
	.wiko-primary-nav__list > li.menu-item-has-children::after {
		display: none;
	}

	html,
	body {
		overflow-x: clip;
		max-width: 100%;
	}

	.wiko-header__inner {
		min-width: 0;
		max-width: 100%;
		grid-template-columns: 1fr auto auto;
		align-items: center;
		gap: 0.75rem;
		padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
		padding-bottom: 0.75rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.wiko-brand {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
		max-width: 100%;
	}

	.wiko-header__actions {
		display: flex;
		align-items: center;
		justify-self: end;
		grid-column: 2;
		grid-row: 1;
		gap: 0.35rem;
	}

	.wiko-header__actions .wiko-search-form,
	.wiko-header__actions .wiko-header__github {
		display: none !important;
	}

	.wiko-header__menu-toggle {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.wiko-header {
		z-index: 1100;
	}

	.wiko-main:has(.wiko-docs-toolbar) {
		padding-top: 0;
	}

	.wiko-docs-toolbar {
		position: relative;
		z-index: 1;
		width: 100%;
		max-width: 100%;
		margin: 0 0 0.75rem;
		padding: 0.75rem 1rem;
		box-sizing: border-box;
		background: var(--wiko-surface);
	}

	.wiko-brand__title {
		overflow-wrap: anywhere;
	}

	.wiko-main,
	.wiko-landing-hero,
	.wiko-landing-section,
	.wiko-post-list,
	.wiko-topic-grid,
	.wiko-doc-grid,
	.wiko-footer__inner {
		min-width: 0;
		max-width: 100%;
	}

	.wiko-landing-hero {
		padding: 2rem 0 1.5rem;
	}

	.wiko-landing-hero .wiko-container {
		grid-template-columns: 1fr;
		min-width: 0;
	}

	.wiko-post-list .wiko-card,
	.wiko-card,
	.wiko-topic-card {
		min-width: 0;
		max-width: 100%;
		overflow-x: clip;
	}

	.wiko-post-list .wiko-card__thumb-link,
	.wiko-card__thumb-link {
		overflow: hidden;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.wiko-card__thumb,
	.wiko-post-list .wiko-card__thumb {
		max-width: 100%;
	}

	.wiko-card:hover .wiko-card__thumb,
	.wiko-card:focus-within .wiko-card__thumb {
		transform: none;
	}

	.wiko-card__title,
	.wiko-card__meta,
	.wiko-card h2,
	.wiko-card h3,
	.wiko-card p,
	.wiko-card a {
		overflow-wrap: anywhere;
	}

	.wiko-footer__widgets--2,
	.wiko-footer__widgets--3 {
		grid-template-columns: 1fr;
	}

	.wiko-main img,
	.wiko-main video,
	.wiko-main iframe,
	.wiko-landing-section img,
	.wiko-landing-section video,
	.wiko-landing-section iframe,
	.wiko-post-list img {
		max-width: 100%;
		height: auto;
	}

	.wiko-main .alignfull,
	.wiko-main .alignwide,
	.wiko-landing-section .alignfull,
	.wiko-landing-section .alignwide {
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.wiko-nav-open {
		overflow: hidden;
		width: 100%;
		overscroll-behavior: none;
		touch-action: none;
	}

	body.wiko-nav-open .wiko-main,
	body.wiko-nav-open .wiko-footer,
	body.wiko-nav-open .wiko-landing-hero {
		pointer-events: none;
		touch-action: none;
	}

	body.wiko-nav-open .wiko-header {
		position: fixed;
		inset: 0;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		border-bottom: 0;
		background-color: var(--wiko-surface);
		touch-action: auto;
	}

	body.wiko-nav-open .wiko-header__inner {
		display: grid;
		grid-template-columns: 1fr auto auto;
		grid-template-rows: auto minmax(0, 1fr);
		grid-template-areas:
			'nav-brand nav-theme nav-toggle'
			'nav-menu nav-menu nav-menu';
		align-items: center;
		gap: 0.75rem;
		flex: 1;
		width: 100%;
		height: 100%;
		height: 100dvh;
		max-width: none;
		margin: 0;
		padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem env(safe-area-inset-bottom, 0px);
		overflow: hidden;
	}

	body.wiko-nav-open .wiko-brand {
		grid-area: nav-brand;
		display: flex;
		align-items: center;
		align-self: center;
		padding: 0;
		margin: 0;
		min-width: 0;
		background: transparent;
		border-bottom: 0;
	}

	body.wiko-nav-open .wiko-header__actions {
		grid-area: nav-theme;
		display: flex !important;
		align-items: center;
		align-self: center;
		justify-self: end;
		gap: 0.35rem;
	}

	body.wiko-nav-open .wiko-header__actions .wiko-search-form,
	body.wiko-nav-open .wiko-header__actions .wiko-header__github {
		display: none !important;
	}

	body.wiko-nav-open .wiko-header__menu-toggle {
		grid-area: nav-toggle;
		display: inline-flex;
		align-items: center;
		justify-self: end;
		align-self: center;
		margin: 0;
		padding: 0.5rem;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	body.wiko-nav-open .wiko-header__menu-toggle span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	body.wiko-nav-open .wiko-header__menu-toggle span:nth-child(2) {
		opacity: 0;
		transform: scaleX(0);
	}

	body.wiko-nav-open .wiko-header__menu-toggle span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	body.wiko-nav-open .wiko-primary-nav {
		grid-area: nav-menu;
		align-self: stretch;
		display: flex;
		flex-direction: column;
		min-height: 0;
		max-height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		overscroll-behavior-x: none;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		margin: 0;
		padding: 0.25rem 0 0;
		border: 0;
		border-top: 1px solid var(--wiko-border);
		border-radius: 0;
		background: var(--wiko-surface);
	}

	body.wiko-nav-open .wiko-primary-nav__close {
		display: none;
	}

	body.wiko-nav-open .wiko-primary-nav__list {
		flex: 0 1 auto;
		flex-direction: column;
		gap: 0;
	}

	body.wiko-nav-open .wiko-primary-nav__list > li > a {
		display: block;
		padding: 0.95rem 0;
		font-size: 1.08rem;
		font-weight: 600;
		border-bottom: 1px solid var(--wiko-border);
	}

	body.wiko-nav-open .wiko-primary-nav__list > li:last-child > a {
		border-bottom: 0;
	}

	body.wiko-nav-open .wiko-primary-nav__list .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		margin-top: 0.25rem;
		margin-left: 0.6rem;
		border: 0;
		border-radius: 0;
		padding: 0;
		min-width: 0;
	}

	body.wiko-nav-open .wiko-primary-nav__list .sub-menu a {
		padding: 0.75rem 0;
		font-size: 1rem;
		font-weight: 500;
	}

	.wiko-docs-layout-grid {
		display: block;
		width: 100%;
		max-width: 100%;
		padding: 0 1rem 0.75rem;
		overflow-x: clip;
	}

	.wiko-docs-layout-grid > *:not(.wiko-docs-layout-grid__left):not(.wiko-docs-layout-grid__right) {
		min-width: 0;
		max-width: 100%;
	}

	body.wiko-docs-open {
		overflow: hidden;
		width: 100%;
		overscroll-behavior: none;
		touch-action: none;
	}

	body.wiko-docs-open .wiko-main,
	body.wiko-docs-open .wiko-footer {
		touch-action: none;
	}

	.wiko-docs-layout-grid__left {
		position: fixed;
		top: var(--wiko-mobile-header-h);
		left: 0;
		bottom: 0;
		width: min(85vw, 320px);
		max-width: 85vw;
		max-height: none;
		height: auto;
		margin: 0;
		border-radius: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		visibility: hidden;
		pointer-events: none;
		transform: translateX(-100%);
		transition:
			transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
			visibility 0.32s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 1050;
		box-shadow: 4px 0 24px color-mix(in srgb, var(--wiko-text) 8%, transparent);
	}

	body.wiko-docs-open .wiko-docs-layout-grid__left {
		visibility: visible;
		pointer-events: auto;
		transform: translateX(0);
	}

	@media (prefers-reduced-motion: reduce) {
		.wiko-docs-layout-grid__left {
			transition: none;
		}
	}

	.wiko-sidebar__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin: 0 0 0.85rem;
		border: 0;
		padding: 0.5rem 0.75rem;
		cursor: pointer;
		position: sticky;
		top: 0;
		z-index: 10;
	}

	.wiko-docs-layout-grid__right {
		display: none !important;
	}

	.wiko-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.wiko-entry {
		padding: 0.5rem 0;
	}

	.wiko-breadcrumbs li {
		min-width: 0;
		max-width: 100%;
	}
}

@media (min-width: 1025px) {
	.wiko-docs-layout-grid {
		grid-template-columns: minmax(320px, var(--wiko-layout-sidebar)) minmax(0, var(--wiko-layout-content-max));
		gap: 0.85rem;
		justify-content: center;
	}

	.wiko-docs-layout-grid.wiko-docs-layout-grid--with-toc,
	.wiko-docs-layout-grid.wiko-docs-layout-grid--reserve-right {
		grid-template-columns: minmax(320px, var(--wiko-layout-sidebar)) minmax(0, var(--wiko-layout-content-max)) minmax(160px, var(--wiko-layout-toc));
	}

	.wiko-docs-layout-grid__right {
		display: none;
		position: sticky;
		top: 80px;
		max-height: calc(100vh - 96px);
		overflow: auto;
	}

	.wiko-docs-layout-grid.wiko-docs-layout-grid--with-toc .wiko-docs-layout-grid__right {
		display: block;
	}

	.wiko-topic-grid,
	.wiko-doc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
/* 超長網址與內文自動斷行，避免撐破版面 */
.entry-content,
.wiko-entry,
.post-card {
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

.entry-content pre,
.entry-content pre code,
.wiko-entry pre,
.wiko-entry pre code {
	word-break: normal;
	overflow-wrap: normal;
	white-space: pre;
}

@media (max-width: 768px) {
	html {
		overflow-x: clip;
	}

	/* Notion 手機版：內文維持 16px / 1.5 行高 */
	p,
	.entry-summary,
	.wp-block-paragraph,
	.entry-content :is(p, li, blockquote, .wp-block-paragraph),
	.wiko-entry :is(p, li, blockquote, .wp-block-paragraph) {
		font-size: var(--wiko-font-size) !important;
		line-height: var(--wiko-body-line-height) !important;
	}

	.entry-content :is(table, .wp-block-table) :is(th, td),
	.wiko-entry :is(table, .wp-block-table) :is(th, td),
	.wiko-main :is(table, .wp-block-table) :is(th, td),
	.wp-block-table :is(th, td),
	.entry-content :is(table, .wp-block-table) :is(th, td) *,
	.wiko-entry :is(table, .wp-block-table) :is(th, td) *,
	.wiko-main :is(table, .wp-block-table) :is(th, td) *,
	.wp-block-table :is(th, td) * {
		font-size: var(--wiko-table-font-size) !important;
		line-height: var(--wiko-body-line-height) !important;
	}

	.entry-content :is(table, .wp-block-table) :is(th, td) code,
	.wiko-entry :is(table, .wp-block-table) :is(th, td) code,
	.wiko-main :is(table, .wp-block-table) :is(th, td) code,
	.wp-block-table :is(th, td) code {
		font-size: var(--wiko-table-code-font-size) !important;
	}

	/* 調整文章卡片的標題大小（僅直接子層，不含表格內） */
    h2.entry-title, 
    .post-card h2, 
    .entry-content > :is(h1, h2, h3),
    .wiko-entry > :is(h1, h2, h3),
    .entry-content > .wp-block-heading,
    .wiko-entry > .wp-block-heading {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        overflow-wrap: anywhere;
    }

	/* 表格內標題強制與內文同字級（覆蓋上方規則） */
	.entry-content table :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
	.wiko-entry table :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
	.wiko-main table :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
	.wp-block-table :is(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
		font-size: var(--wiko-table-font-size) !important;
		line-height: var(--wiko-body-line-height) !important;
	}

	.entry-content > *,
	.wiko-entry > * {
		max-width: 100%;
	}

	.wp-block-columns,
	.wp-block-group,
	.wp-block-media-text {
		max-width: 100%;
	}
	
}

a {
    text-decoration: none !important;
}

/* 滑鼠移上去（或手機點擊）時才出現底線 */
a:hover {
    text-decoration: underline !important;
}

/* 手機表格字級最終覆寫（置於檔案末尾，優先於 WP 與其他規則） */
@media (max-width: 768px) {
	.wiko-main :is(table, .wp-block-table) :is(th, td),
	.wiko-main :is(table, .wp-block-table) :is(th, td) *,
	.entry-content :is(table, .wp-block-table) :is(th, td),
	.entry-content :is(table, .wp-block-table) :is(th, td) *,
	.wiko-entry :is(table, .wp-block-table) :is(th, td),
	.wiko-entry :is(table, .wp-block-table) :is(th, td) *,
	figure.wp-block-table :is(th, td),
	figure.wp-block-table :is(th, td) *,
	.wp-block-table :is(th, td),
	.wp-block-table :is(th, td) * {
		font-size: 16px !important;
		line-height: 1.5 !important;
		-webkit-text-size-adjust: 100% !important;
		text-size-adjust: 100% !important;
	}

	.wiko-main :is(table, .wp-block-table) :is(th, td) code,
	.entry-content :is(table, .wp-block-table) :is(th, td) code,
	.wiko-entry :is(table, .wp-block-table) :is(th, td) code,
	figure.wp-block-table :is(th, td) code,
	.wp-block-table :is(th, td) code {
		font-size: 14px !important;
	}
}
.wiko-toc__item{
	list-style: none;
}