/**
 * She Know Style — front-end styles (Phase 0 baseline).
 *
 * Mobile-first. Everything references the global CSS custom properties defined
 * in inc/dynamic-css.php (sks_dynamic_css), generated from Customizer settings in
 * later phases. Nothing here hard-codes a color or size that the design system
 * exposes as a token.
 */

/* ---------- Base ---------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--sks-font-body);
	font-size: var(--sks-font-size);
	font-weight: var(--sks-body-weight);
	line-height: var(--sks-body-lh);
	letter-spacing: var(--sks-body-ls);
	text-transform: var(--sks-body-transform);
	color: var(--sks-color-4);
	background-color: var(--sks-color-8);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sks-font-heading);
	font-weight: var(--sks-heading-weight);
	line-height: var(--sks-heading-lh);
	letter-spacing: var(--sks-heading-ls);
	text-transform: var(--sks-heading-transform);
	color: var(--sks-color-3);
	margin: 0 0 var(--sks-space-md);
}

h1 { font-size: var(--sks-h1-size); }
h2 { font-size: var(--sks-h2-size); }
h3 { font-size: var(--sks-h3-size); }
h4 { font-size: var(--sks-h4-size); }
h5 { font-size: var(--sks-h5-size); }
h6 { font-size: var(--sks-h6-size); }

p { margin: 0 0 var(--sks-space-md); }

a {
	color: var(--sks-link-color);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

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

/* ---------- Link animations (scoped to content text links) ---------------- */
/* Applies to in-content links only, so nav and buttons keep their own styles. */
.sks-content-link,
.entry-content a:not(.wp-block-button__link):not(.more-link),
.entry-summary a,
.page-content a {
	transition: color 0.2s ease, background-size 0.3s ease, opacity 0.2s ease;
}

/* none: color change only */
.sks-link-anim-none .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-none .entry-summary a {
	text-decoration: none;
}

/* underline: always underlined */
.sks-link-anim-underline .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-underline .entry-summary a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* underline-slide: underline grows from the left on hover */
.sks-link-anim-underline-slide .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-underline-slide .entry-summary a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1.5px;
	background-position: 0 100%;
	background-repeat: no-repeat;
}
.sks-link-anim-underline-slide .entry-content a:not(.wp-block-button__link):not(.more-link):hover,
.sks-link-anim-underline-slide .entry-summary a:hover {
	background-size: 100% 1.5px;
}

/* underline-center: underline expands from the center on hover */
.sks-link-anim-underline-center .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-underline-center .entry-summary a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1.5px;
	background-position: 50% 100%;
	background-repeat: no-repeat;
}
.sks-link-anim-underline-center .entry-content a:not(.wp-block-button__link):not(.more-link):hover,
.sks-link-anim-underline-center .entry-summary a:hover {
	background-size: 100% 1.5px;
}

/* fade: dims slightly on hover */
.sks-link-anim-fade .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-fade .entry-summary a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sks-link-anim-fade .entry-content a:not(.wp-block-button__link):not(.more-link):hover,
.sks-link-anim-fade .entry-summary a:hover {
	opacity: 0.65;
}

/* highlight: soft tinted highlight sweeps in on hover */
.sks-link-anim-highlight .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-highlight .entry-summary a {
	text-decoration: none;
	background-image: linear-gradient(
		color-mix(in srgb, var(--sks-link-color) 18%, transparent),
		color-mix(in srgb, var(--sks-link-color) 18%, transparent)
	);
	background-size: 0% 100%;
	background-position: 0 0;
	background-repeat: no-repeat;
	border-radius: 2px;
	padding: 0 2px;
}
.sks-link-anim-highlight .entry-content a:not(.wp-block-button__link):not(.more-link):hover,
.sks-link-anim-highlight .entry-summary a:hover {
	background-size: 100% 100%;
}

/* color-shift: smooth color transition only (no underline) */
.sks-link-anim-color-shift .entry-content a:not(.wp-block-button__link):not(.more-link),
.sks-link-anim-color-shift .entry-summary a {
	text-decoration: none;
	font-weight: 600;
}

img { display: block; }

:focus-visible {
	outline: 2px solid var(--sks-color-1);
	outline-offset: 2px;
}

/* ---------- Layout containers --------------------------------------------- */
.sks-container {
	width: 100%;
	max-width: var(--sks-container-width, 1140px);
	margin-inline: auto;
	padding-inline: var(--sks-gutter, 24px);
}

/* Content + main always fill their available width. */
.site-content__inner,
.site-main {
	width: 100%;
	min-width: 0;
}

/* Site layout: boxed / content-boxed (full-width is the default). */
.sks-layout-boxed {
	background: var(--sks-site-bg);
}

.sks-layout-boxed .site-wrapper {
	width: 100%;
	max-width: var(--sks-container-width);
	margin-inline: auto;
	overflow-x: hidden;
	background: var(--sks-color-8);
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.sks-layout-content-boxed .site-main {
	background: var(--sks-color-9);
	border: 1px solid var(--sks-color-6);
	border-radius: var(--sks-radius);
	padding: var(--sks-space-xl);
}

.site-content__inner {
	display: block;
	padding-block: var(--sks-space-xl);
}

/* Two-column layout once a sidebar is present and there's room. */
@media (min-width: 992px) {
	.sks-has-sidebar .site-content__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: var(--sks-space-xl);
		align-items: start;
	}
}

.site-main {
	min-width: 0;
}

.entry-single,
.entry-page {
	max-width: var(--sks-content-width);
	margin-inline: auto;
}

/* ---------- Skip link ----------------------------------------------------- */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 100000;
	padding: var(--sks-space-sm) var(--sks-space-md);
	background: var(--sks-color-9);
	color: var(--sks-color-3);
}

.skip-link:focus {
	left: var(--sks-space-sm);
	top: var(--sks-space-sm);
}

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

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	display: block;
	padding: var(--sks-space-sm) var(--sks-space-md);
	background: var(--sks-color-9);
}

/* ---------- Header builder ------------------------------------------------ */
.sks-header {
	background: var(--sks-hdr-bg);
	color: var(--sks-hdr-text);
	border-bottom: var(--sks-hdr-border-w) solid var(--sks-hdr-border-c);
}

.sks-header-row__inner {
	display: flex;
	align-items: center;
	gap: var(--sks-space-lg);
	padding-block: var(--sks-hdr-pad-y);
}

.sks-header-main .sks-header-row__inner {
	position: relative;
	justify-content: space-between;
}

.sks-header-topbar {
	background: var(--sks-hdr-topbar-bg);
	color: var(--sks-hdr-topbar-text);
	font-size: var(--sks-hdr-topbar-size);
}
.sks-header-topbar .sks-header-row__inner {
	padding-block: 6px;
	justify-content: space-between;
}
.sks-header-topbar a { color: var(--sks-hdr-topbar-text); }

/* Zones */
.sks-hzone {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--sks-space-md);
	min-width: 0;
}
/* Left/right zones take available space and align to their edges so the
 * elements spread out instead of bunching in the middle. */
.sks-header-main .sks-hzone--left { justify-content: flex-start; flex: 1 1 0; }
.sks-header-main .sks-hzone--right { justify-content: flex-end; flex: 1 1 0; }
.sks-header-main .sks-hzone--center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 60%;
	justify-content: center;
}
.sks-hzone.is-empty { gap: 0; }
.site-title { word-break: break-word; }

/* Branding */
.site-branding { display: flex; flex-direction: column; }
.site-title {
	font-family: var(--sks-font-heading);
	font-size: var(--sks-hdr-title-size);
	margin: 0;
	line-height: 1.1;
}
.site-title a { color: var(--sks-hdr-text); text-decoration: none; }
.site-description { margin: 0; font-size: 0.8rem; color: var(--sks-color-5); }
.sks-header .custom-logo {
	width: var(--sks-logo-w);
	max-width: 100%;
	height: auto;
}

/* Header navigation */
.sks-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sks-hdr-menu-gap);
}
.sks-nav li { position: relative; }
.sks-nav a {
	display: block;
	padding: var(--sks-space-sm);
	color: var(--sks-hdr-link);
	font-size: var(--sks-hdr-menu-size);
	font-weight: var(--sks-hdr-menu-weight);
	text-transform: var(--sks-hdr-menu-transform);
	text-decoration: none;
}
.sks-nav a:hover,
.sks-nav a:focus { color: var(--sks-hdr-link-hover); }

/* Dropdowns */
.sks-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: var(--sks-sub-width);
	background: var(--sks-sub-bg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	padding: var(--sks-space-xs) 0;
	border-radius: var(--sks-radius);
	z-index: 50;
}
.sks-nav li:hover > .sub-menu,
.sks-nav li:focus-within > .sub-menu { display: block; }
.sks-nav .sub-menu a { color: var(--sks-sub-text); }
.sks-nav .sub-menu a:hover,
.sks-nav .sub-menu a:focus {
	background: var(--sks-sub-hover-bg);
	color: var(--sks-sub-hover-text);
}
.sks-sub-divider .sks-nav .sub-menu li + li { border-top: 1px solid var(--sks-color-6); }
.sks-sub-accent .sks-nav .sub-menu { border-top: 3px solid var(--sks-color-1); }

/* Dropdown caret on parent items */
.sks-caret .sks-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.4em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	vertical-align: middle;
}

/* Dropdown animations */
.sks-sub-anim-fade .sks-nav li:hover > .sub-menu,
.sks-sub-anim-fade .sks-nav li:focus-within > .sub-menu { animation: sks-sub-fade 0.18s ease; }
.sks-sub-anim-slide .sks-nav li:hover > .sub-menu,
.sks-sub-anim-slide .sks-nav li:focus-within > .sub-menu { animation: sks-sub-slide 0.2s ease; }
@keyframes sks-sub-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sks-sub-slide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Top-level menu hover styles (presets) */
.sks-menu-hover-underline .sks-header .sks-nav > .menu > .menu-item > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sks-menu-hover-underline-grow .sks-header .sks-nav > .menu > .menu-item > a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.25s ease;
}
.sks-menu-hover-underline-grow .sks-header .sks-nav > .menu > .menu-item > a:hover { background-size: 100% 2px; }
.sks-menu-hover-highlight .sks-header .sks-nav > .menu > .menu-item > a {
	border-radius: var(--sks-radius);
	transition: background 0.2s ease;
}
.sks-menu-hover-highlight .sks-header .sks-nav > .menu > .menu-item > a:hover {
	background: color-mix(in srgb, var(--sks-hdr-link) 12%, transparent);
}
.sks-menu-hover-bottom-border .sks-header .sks-nav > .menu > .menu-item > a {
	border-bottom: 2px solid transparent;
}
.sks-menu-hover-bottom-border .sks-header .sks-nav > .menu > .menu-item > a:hover { border-bottom-color: currentColor; }

/* Mega menu: add the CSS class "sks-mega" to a top-level menu item. */
.sks-nav li.sks-mega { position: static; }
.sks-nav li.sks-mega > .sub-menu {
	left: 0;
	right: 0;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sks-space-lg);
	padding: var(--sks-space-lg);
}
.sks-nav li.sks-mega > .sub-menu > li { flex: 1 1 180px; }
.sks-nav li.sks-mega .sub-menu { position: static; display: block; box-shadow: none; min-width: 0; background: transparent; }

/* Header search */
.sks-header-search { position: relative; }
.sks-search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--sks-hdr-link);
	padding: 6px;
	display: inline-flex;
}
.sks-search-toggle svg {
	width: var(--sks-hdr-search-icon);
	height: var(--sks-hdr-search-icon);
}
.sks-search-dropdown {
	position: absolute;
	right: 0;
	top: 100%;
	background: var(--sks-color-9);
	padding: var(--sks-space-md);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	border-radius: var(--sks-radius);
	width: 260px;
	max-width: calc(100vw - 2 * var(--sks-gutter));
	z-index: 60;
}
.sks-search-dropdown .search-form,
.sks-search-dropdown input[type="search"] { max-width: 100%; }

/* Header social */
.sks-social {
	list-style: none;
	display: flex;
	gap: var(--sks-space-sm);
	margin: 0;
	padding: 0;
}
.sks-social__link { display: inline-flex; color: inherit; }
.sks-social svg {
	width: var(--sks-hdr-social-size);
	height: var(--sks-hdr-social-size);
}

/* Menu toggle (hamburger) — shown on mobile via the dynamic breakpoint query */
.menu-toggle,
.sks-drawer-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin-left: auto;
	background: transparent;
	border: 1px solid var(--sks-hdr-border-c);
	border-radius: var(--sks-radius);
	cursor: pointer;
}
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--sks-hdr-text);
	position: relative;
	transition: transform 0.2s ease;
}
.menu-toggle__bar::before,
.menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }

/* Mobile drawer */
.sks-mobile-drawer { position: fixed; inset: 0; z-index: 9999; }
.sks-mobile-drawer[hidden] { display: none; }
.sks-mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.sks-mobile-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 82%;
	max-width: 330px;
	background: var(--sks-color-9);
	padding: var(--sks-space-xl) var(--sks-space-lg);
	overflow-y: auto;
	z-index: 1;
}
.sks-drawer-right .sks-mobile-drawer__panel { right: 0; }
.sks-drawer-left .sks-mobile-drawer__panel { left: 0; }
.sks-mobile-menu { list-style: none; margin: 0 0 var(--sks-space-lg); padding: 0; }
.sks-mobile-menu a {
	display: block;
	padding: var(--sks-space-sm) 0;
	color: var(--sks-color-3);
	text-decoration: none;
	border-bottom: 1px solid var(--sks-color-6);
}
.sks-mobile-menu .sub-menu { list-style: none; padding-left: var(--sks-space-md); }
.sks-drawer-close {
	position: absolute;
	top: 8px;
	right: 14px;
	font-size: 30px;
	line-height: 1;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--sks-color-3);
}
.sks-drawer-open { overflow: hidden; }

/* ---------- Post grid & cards --------------------------------------------- */
/* auto-fit keeps cards a sensible minimum width and fills the row in any
 * container, so they never collapse into a tiny column. */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--sks-space-xl);
}

/* With a sidebar the main column is narrower, so allow a smaller minimum. */
.sks-has-sidebar .posts-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Single column only on small screens. */
@media (max-width: 600px) {
	.posts-grid { grid-template-columns: 1fr; }
}

.entry-card {
	background: var(--sks-color-9);
	border: 1px solid var(--sks-color-6);
	border-radius: var(--sks-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.post-thumbnail {
	display: block;
	aspect-ratio: 768 / 461; /* reserve space, low CLS */
	background: var(--sks-color-7);
	overflow: hidden;
}

.post-thumbnail__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-card__body {
	padding: var(--sks-space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--sks-space-sm);
}

.entry-title {
	font-size: 1.3rem;
	margin: 0;
}

.entry-title a {
	color: var(--sks-color-3);
	text-decoration: none;
}

.entry-title a:hover { color: var(--sks-color-1); }

.entry-meta {
	font-size: 0.85rem;
	color: var(--sks-color-5);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sks-space-sm);
}

.entry-meta a { color: var(--sks-color-5); }

.cat-links a {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sks-color-1);
	text-decoration: none;
}

.more-link {
	align-self: flex-start;
	margin-top: var(--sks-space-sm);
	font-weight: 600;
	text-decoration: none;
	color: var(--sks-color-1);
}

/* ---------- Single / page ------------------------------------------------- */
.entry-single .entry-header { margin-bottom: var(--sks-space-lg); }
.entry-single .post-thumbnail {
	border-radius: var(--sks-radius);
	margin-bottom: var(--sks-space-xl);
	aspect-ratio: 16 / 9;
}

.entry-content > * { margin-bottom: var(--sks-space-lg); }
.entry-content img { border-radius: var(--sks-radius); }
.entry-content blockquote {
	border-left: 3px solid var(--sks-color-1);
	margin-left: 0;
	padding-left: var(--sks-space-lg);
	color: var(--sks-color-3);
	font-style: italic;
}

.entry-footer {
	margin-top: var(--sks-space-xl);
	padding-top: var(--sks-space-lg);
	border-top: 1px solid var(--sks-color-6);
	font-size: 0.85rem;
	color: var(--sks-color-5);
}

.page-header { margin-bottom: var(--sks-space-xl); }
.page-title { margin: 0; }

/* ---------- Sidebar & widgets --------------------------------------------- */
.widget-area .widget {
	margin-bottom: var(--sks-space-xl);
}

.widget-title {
	font-size: 1.1rem;
	margin-bottom: var(--sks-space-md);
	padding-bottom: var(--sks-space-sm);
	border-bottom: 2px solid var(--sks-color-1);
}

@media (min-width: 992px) {
	.widget-area.sidebar { position: sticky; top: var(--sks-space-lg); }
}

/* ---------- Buttons / forms ----------------------------------------------- */
/* ---------- Buttons (token-driven, with style presets) -------------------- */
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.more-link,
.sks-button {
	display: inline-block;
	background: var(--sks-btn-bg);
	color: var(--sks-btn-color);
	border: 2px solid transparent;
	border-radius: var(--sks-btn-radius);
	padding: var(--sks-btn-pad-y) var(--sks-btn-pad-x);
	font-family: inherit;
	font-size: var(--sks-btn-size);
	font-weight: var(--sks-btn-weight);
	letter-spacing: var(--sks-btn-ls);
	text-transform: var(--sks-btn-transform);
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover,
.more-link:hover,
.sks-button:hover,
button:focus-visible,
.wp-block-button__link:focus-visible,
.more-link:focus-visible,
.sks-button:focus-visible {
	background: var(--sks-btn-bg-hover);
	color: var(--sks-btn-color-hover);
}

/* Preset: Outline */
.sks-btn-style-outline button,
.sks-btn-style-outline input[type="submit"],
.sks-btn-style-outline .wp-block-button__link,
.sks-btn-style-outline .more-link,
.sks-btn-style-outline .sks-button {
	background: transparent;
	color: var(--sks-btn-bg);
	border-color: var(--sks-btn-bg);
}
.sks-btn-style-outline button:hover,
.sks-btn-style-outline .wp-block-button__link:hover,
.sks-btn-style-outline .more-link:hover,
.sks-btn-style-outline .sks-button:hover {
	background: var(--sks-btn-bg);
	color: var(--sks-btn-color);
}

/* Preset: Soft (tinted) */
.sks-btn-style-soft button,
.sks-btn-style-soft input[type="submit"],
.sks-btn-style-soft .wp-block-button__link,
.sks-btn-style-soft .more-link,
.sks-btn-style-soft .sks-button {
	background: color-mix(in srgb, var(--sks-btn-bg) 16%, transparent);
	color: var(--sks-btn-bg);
}
.sks-btn-style-soft button:hover,
.sks-btn-style-soft .wp-block-button__link:hover,
.sks-btn-style-soft .more-link:hover,
.sks-btn-style-soft .sks-button:hover {
	background: var(--sks-btn-bg);
	color: var(--sks-btn-color);
}

/* Preset: Text */
.sks-btn-style-text button,
.sks-btn-style-text input[type="submit"],
.sks-btn-style-text .wp-block-button__link,
.sks-btn-style-text .more-link,
.sks-btn-style-text .sks-button {
	background: transparent;
	color: var(--sks-btn-bg);
	padding-inline: 0;
	border-color: transparent;
}
.sks-btn-style-text .more-link:hover,
.sks-btn-style-text .wp-block-button__link:hover,
.sks-btn-style-text .sks-button:hover {
	color: var(--sks-btn-bg-hover);
	background: transparent;
}

/* Preset: Gradient */
.sks-btn-style-gradient button,
.sks-btn-style-gradient input[type="submit"],
.sks-btn-style-gradient .wp-block-button__link,
.sks-btn-style-gradient .more-link,
.sks-btn-style-gradient .sks-button {
	background: linear-gradient(135deg, var(--sks-btn-bg), var(--sks-btn-bg-hover));
	color: var(--sks-btn-color);
}
.sks-btn-style-gradient .more-link:hover,
.sks-btn-style-gradient .wp-block-button__link:hover,
.sks-btn-style-gradient .sks-button:hover {
	filter: brightness(1.06);
	color: var(--sks-btn-color);
}

/* Preset: Underline */
.sks-btn-style-underline button,
.sks-btn-style-underline input[type="submit"],
.sks-btn-style-underline .wp-block-button__link,
.sks-btn-style-underline .more-link,
.sks-btn-style-underline .sks-button {
	background: transparent;
	color: var(--sks-btn-bg);
	padding-inline: 0;
	border-bottom: 2px solid var(--sks-btn-bg);
	border-radius: 0;
}
.sks-btn-style-underline .more-link:hover,
.sks-btn-style-underline .wp-block-button__link:hover,
.sks-btn-style-underline .sks-button:hover {
	background: transparent;
	color: var(--sks-btn-bg-hover);
	border-bottom-color: var(--sks-btn-bg-hover);
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid var(--sks-color-6);
	border-radius: var(--sks-radius);
	font: inherit;
	background: var(--sks-color-9);
}

/* ---------- Pagination ---------------------------------------------------- */
.pagination,
.comments-pagination,
.post-navigation {
	margin-top: var(--sks-space-xl);
}

.pagination .page-numbers {
	display: inline-block;
	padding: var(--sks-space-sm) var(--sks-space-md);
	border: 1px solid var(--sks-color-6);
	border-radius: var(--sks-radius);
	text-decoration: none;
	color: var(--sks-color-3);
	margin: 0 2px;
}

.pagination .page-numbers.current {
	background: var(--sks-color-1);
	color: var(--sks-color-9);
	border-color: var(--sks-color-1);
}

/* ---------- Footer builder ------------------------------------------------ */
.sks-footer {
	margin-top: var(--sks-space-xxl);
	background: var(--sks-ftr-bg);
	color: var(--sks-ftr-text);
	border-top: var(--sks-ftr-border-w) solid var(--sks-ftr-border-c);
}
.sks-footer a { color: var(--sks-ftr-link); }
.sks-footer a:hover,
.sks-footer a:focus { color: var(--sks-ftr-link-hover); }

/* Widget columns */
.sks-footer-widgets {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sks-ftr-col-gap);
	padding-block: var(--sks-ftr-pad-y);
}
@media (min-width: 600px) {
	.sks-footer-cols-2 .sks-footer-widgets,
	.sks-footer-widgets.sks-footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 782px) {
	.sks-footer-widgets.sks-footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.sks-footer-widgets.sks-footer-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.sks-footer-widgets.sks-footer-cols-5 { grid-template-columns: repeat(3, 1fr); }
	.sks-footer-widgets.sks-footer-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.sks-footer-widgets.sks-footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
	.sks-footer-widgets.sks-footer-cols-5 { grid-template-columns: repeat(5, 1fr); }
	.sks-footer-widgets.sks-footer-cols-6 { grid-template-columns: repeat(6, 1fr); }
}
.sks-footer .widget-title { color: var(--sks-ftr-title-color); font-size: var(--sks-ftr-title-size); }
.sks-footer-col-placeholder { opacity: 0.6; font-size: 0.85rem; }

/* Bottom bar */
.sks-footer-bottom {
	background: var(--sks-ftr-bottom-bg);
	color: var(--sks-ftr-bottom-text);
	border-top: 1px solid rgba(127, 127, 127, 0.18);
}
.sks-footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sks-space-md);
	padding-block: var(--sks-space-lg);
}
.sks-footer-bottom--split .sks-footer-bottom__inner { justify-content: space-between; }
.sks-footer-bottom--centered .sks-footer-bottom__inner { justify-content: center; text-align: center; }
.sks-fzone { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sks-space-md); }
.sks-fzone--center { justify-content: center; flex-direction: column; }
.footer-menu-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sks-space-md);
	margin: 0;
	padding: 0;
}
.site-info { margin: 0; font-size: 0.85rem; }

/* ---------- Comments ------------------------------------------------------ */
.comments-area { margin-top: var(--sks-space-xxl); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: var(--sks-space-lg); }

/* ---------- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ---------- Post meta: icons, avatar, separators -------------------------- */
.entry-meta--items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sks-space-sm);
}
.entry-meta--items > * {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
}
/* Separator between meta items (driven by --sks-meta-sep). */
.entry-meta--items > * + *::before {
	content: var(--sks-meta-sep, "\2022");
	margin-right: 0.2em;
	opacity: 0.5;
}
.sks-meta-icon {
	display: inline-flex;
	align-items: center;
	opacity: 0.7;
}
.sks-meta-label {
	opacity: 0.85;
}
.sks-author-avatar {
	border-radius: 50%;
	vertical-align: middle;
}

/* ---------- Breadcrumbs --------------------------------------------------- */
.sks-breadcrumbs-wrap {
	margin-bottom: var(--sks-space-md);
}
.sks-breadcrumbs {
	font-size: var(--sks-bc-size);
}
.sks-bc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
}
.sks-bc-align-center .sks-bc-list { justify-content: center; }
.sks-bc-align-right .sks-bc-list { justify-content: flex-end; }

.sks-bc-item { display: inline-flex; align-items: center; }
.sks-bc-item a {
	color: var(--sks-bc-link);
	text-decoration: none;
}
.sks-bc-item a:hover { text-decoration: underline; }
.sks-bc-current { color: var(--sks-bc-current); }
.sks-bc-sep { color: var(--sks-bc-current); opacity: 0.5; }
.sks-bc-prefix { color: var(--sks-bc-current); opacity: 0.7; margin-right: 0.25em; }
.sks-bc-home-icon {
	display: inline-flex;
	vertical-align: -0.1em;
	margin-right: 0.3em;
}

/* Style: Pills */
.sks-bc-style-pill .sks-bc-item {
	background: var(--sks-bc-bg);
	padding: 0.15em 0.65em;
	border-radius: 999px;
}
.sks-bc-style-pill .sks-bc-sep { display: none; }

/* Style: Bordered bar */
.sks-bc-style-bordered .sks-bc-list,
.sks-breadcrumbs.sks-bc-style-bordered {
	background: var(--sks-bc-bg);
	border: 1px solid var(--sks-color-6);
	border-radius: var(--sks-radius);
	padding: 0.5em 0.8em;
}

/* Style: Arrow chain */
.sks-bc-style-arrow .sks-bc-sep { font-weight: 700; opacity: 0.65; }

/* Style: Minimal */
.sks-bc-style-minimal {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.85;
	font-size: calc(var(--sks-bc-size) - 1px);
}

/* ---------- Sticky & Transparent header ----------------------------------- */
/* Sticky positioning, gated per device. */
@media (min-width: 1025px) {
	.sks-header.sks-has-sticky.sks-sticky-d { position: sticky; top: 0; z-index: 100; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.sks-header.sks-has-sticky.sks-sticky-t { position: sticky; top: 0; z-index: 100; }
}
@media (max-width: 767px) {
	.sks-header.sks-has-sticky.sks-sticky-m { position: sticky; top: 0; z-index: 100; }
}

/* Give rows a background so a stuck/sticky header is opaque over content. */
.sks-header-main { background: var(--sks-hdr-bg); }

.sks-header-row__inner { transition: padding 0.2s ease; }

/* Stuck appearance (added by JS once scrolled). */
.sks-header.is-stuck {
	--sks-hdr-bg: var(--sks-hdr-sticky-bg);
	--sks-hdr-text: var(--sks-hdr-sticky-text-c);
	--sks-hdr-link: var(--sks-hdr-sticky-link-c);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.sks-header.is-stuck.sks-no-shadow { box-shadow: none; }
.sks-shrink.sks-header.is-stuck .sks-header-main .sks-header-row__inner {
	padding-block: calc(var(--sks-hdr-pad-y) * 0.55);
}

/* Transparent overlay header. */
body.sks-header-transparent .sks-header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 100;
}
body.sks-header-transparent .sks-header-main { background: transparent; }

/* Transparent + sticky: once scrolled, become a fixed solid bar (sticky colors win). */
.sks-header.sks-fixed {
	position: fixed !important;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1000;
	animation: sks-slide-down 0.3s ease;
}
body.sks-header-transparent .sks-header.is-stuck {
	--sks-hdr-bg: var(--sks-hdr-sticky-bg);
	--sks-hdr-text: var(--sks-hdr-sticky-text-c);
	--sks-hdr-link: var(--sks-hdr-sticky-link-c);
}
body.sks-header-transparent .sks-header.is-stuck .sks-header-main { background: var(--sks-hdr-sticky-bg); }

@keyframes sks-slide-down {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.sks-header.sks-fixed { animation: none; }
}

/* ---------- Header social shapes ------------------------------------------ */
.sks-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	transition: color 0.2s ease, background 0.2s ease;
}
.sks-social__link:hover { color: var(--sks-social-hover); }
.sks-social-circle .sks-social__link,
.sks-social-rounded .sks-social__link,
.sks-social-square .sks-social__link {
	width: calc(var(--sks-hdr-social-size) + 16px);
	height: calc(var(--sks-hdr-social-size) + 16px);
	background: var(--sks-social-bg);
}
.sks-social-circle .sks-social__link { border-radius: 50%; }
.sks-social-rounded .sks-social__link { border-radius: var(--sks-radius); }
.sks-social-square .sks-social__link { border-radius: 0; }
