.ws-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: .72rem 1.1rem;
	border: 1px solid var(--ws-accent);
	border-radius: 10px;
	background: var(--ws-accent);
	color: #fff;
	font-weight: 760;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease;
}

.ws-button:hover {
	transform: translateY(-1px);
	background: var(--ws-accent-dark);
	color: #fff;
}

.ws-button--secondary {
	background: transparent;
	color: var(--ws-accent);
}

.ws-icon-button {
	display: inline-grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid var(--ws-border);
	border-radius: 10px;
	background: var(--ws-surface);
	color: var(--ws-ink);
}

.ws-eyebrow,
.ws-badge {
	display: inline-flex;
	margin-bottom: .75rem;
	color: var(--ws-accent);
	font-size: .76rem;
	font-weight: 850;
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
}

.ws-card {
	overflow: hidden;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-md);
	background: var(--ws-surface);
	box-shadow: var(--ws-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ws-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ws-shadow-md);
}

.ws-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ws-surface-alt);
}

.ws-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.ws-card:hover .ws-card__media img {
	transform: scale(1.025);
}

.ws-card__body {
	padding: 1.2rem;
}

.ws-card__title {
	margin-bottom: .55rem;
	font-size: 1.22rem;
}

.ws-card__title a {
	color: var(--ws-ink);
	text-decoration: none;
}

.ws-card__excerpt {
	color: var(--ws-muted);
	font-size: .94rem;
	line-height: 1.6;
}

.ws-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	color: var(--ws-muted);
	font-size: .79rem;
}

.ws-post-meta a {
	color: inherit;
	text-decoration: none;
}

.ws-review-line {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem .65rem;
	align-items: center;
	margin-top: .8rem;
	color: var(--ws-success);
	font-size: .84rem;
	font-weight: 650;
}

.ws-review-line a {
	color: var(--ws-muted);
	font-weight: 600;
}

.ws-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
}

.ws-section-heading h2 {
	margin: 0;
}

.ws-text-link {
	font-weight: 720;
	text-decoration: none;
}

.ws-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin-bottom: 1.5rem;
	color: var(--ws-muted);
	font-size: .8rem;
}

.ws-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.ws-search-dialog {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: start center;
	padding-top: 12vh;
	background: rgba(15, 23, 42, .72);
	backdrop-filter: blur(10px);
}

.ws-search-dialog[hidden] {
	display: none;
}

.ws-search-dialog__panel {
	position: relative;
	width: min(calc(100% - 2rem), 680px);
	padding: 2rem;
	border-radius: var(--ws-radius-lg);
	background: var(--ws-surface);
	box-shadow: var(--ws-shadow-md);
}

.ws-search-dialog__close {
	position: absolute;
	top: .8rem;
	right: .8rem;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	color: var(--ws-ink);
	font-size: 2rem;
}

.ws-search-form {
	display: flex;
	gap: .65rem;
}

.ws-search-form__field {
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	border: 1px solid var(--ws-border);
	border-radius: 10px;
	background: var(--ws-surface);
	color: var(--ws-ink);
}

.ws-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1100;
	width: 0;
	height: 3px;
	background: var(--ws-accent);
}

.ws-toc {
	padding: 1rem 1.15rem;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-md);
	background: var(--ws-surface-alt);
}

.ws-toc__toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ws-ink);
	font-weight: 800;
	text-align: left;
}

.ws-toc__list {
	margin: .9rem 0 0;
	padding-left: 1.2rem;
}

.ws-toc__list li + li {
	margin-top: .4rem;
}

.ws-toc__list .is-subheading {
	margin-left: .8rem;
}

.ws-toc__list a {
	color: var(--ws-muted);
	text-decoration: none;
}

.ws-toc-mobile {
	display: none;
	margin: 1.5rem 0;
}

.ws-disclaimer {
	margin: 1.5rem 0 2rem;
	padding: .95rem 1.1rem;
	border: 1px solid #fdb022;
	border-radius: 12px;
	background: #fffaeb;
	color: #7a2e0e;
	font-size: .9rem;
	line-height: 1.55;
}

body.ws-dark .ws-disclaimer {
	background: #3b2f12;
	color: #fedf89;
}

.ws-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .55rem;
}

.ws-share a {
	padding: .4rem .65rem;
	border: 1px solid var(--ws-border);
	border-radius: 8px;
	color: var(--ws-ink);
	font-size: .82rem;
	text-decoration: none;
}

.ws-author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.2rem;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-md);
	background: var(--ws-surface-alt);
}

.ws-author-box img,
.ws-author-hero img {
	border-radius: 50%;
}

.ws-sources {
	margin-top: 2.5rem;
	padding: 1.2rem;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-md);
	background: var(--ws-surface-alt);
}

.ws-sources h2 {
	font-size: 1.2rem;
}

.ws-sources ul {
	margin-bottom: 0;
}

.widget {
	padding: 1.1rem;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-md);
	background: var(--ws-surface);
}

.widget + .widget {
	margin-top: 1rem;
}

.widget-title {
	font-size: 1.05rem;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-top: 2.5rem;
}

.page-numbers {
	display: inline-grid;
	min-width: 40px;
	height: 40px;
	place-items: center;
	padding: 0 .7rem;
	border: 1px solid var(--ws-border);
	border-radius: 9px;
	background: var(--ws-surface);
	color: var(--ws-ink);
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--ws-accent);
	background: var(--ws-accent);
	color: #fff;
}

.ws-comments {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ws-border);
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-body {
	margin-bottom: 1rem;
	padding: 1rem;
	border: 1px solid var(--ws-border);
	border-radius: 12px;
	background: var(--ws-surface);
}
