/* ==========================================================================
   Shared 70/30 layout + sidebar widget styling — Hello Elementor Child
   Used by single.php AND archive.php / home.php / index.php so the
   sidebar (Author + Archives) looks identical everywhere.
   ========================================================================== */

/* ---------------- Layout: 70 / 30 ---------------- */

.spst-wrapper {
	max-width: var(--spst-max-width);
	margin: 0 auto;
	padding: 48px 24px 80px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.spst-main {
	width: var(--spst-main-width);
	box-sizing: border-box;
	padding-right: var(--spst-gap);
	min-width: 0;
}

.spst-sidebar {
	width: var(--spst-sidebar-width);
	box-sizing: border-box;
	min-width: 0;
}

.spst-sidebar__inner {
	position: sticky;
	top: 32px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* ---------------- Sidebar Widgets ---------------- */

.spst-widget {
	background: var(--spst-bg-soft);
	border-radius: var(--spst-radius);
	padding: 24px;
}

.widget-title {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 16px;
}

.spst-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.spst-widget__list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.spst-widget__list a {
	color: var(--spst-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.4;
}

.spst-widget__list a:hover {
	color: var(--spst-accent);
}

.spst-widget__list span {
	font-size: 12px;
	color: var(--spst-text-muted);
}

.spst-widget__author {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--spst-text);
}

.spst-widget__archives li {
	list-style: none;
}

.spst-widget__archives a {
	color: var(--spst-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
}

.spst-widget__archives a:hover {
	color: var(--spst-accent);
}

/* ---------------- Responsive ---------------- */

@media ( max-width: 960px ) {
	.spst-main,
	.spst-sidebar {
		width: 100%;
		padding-right: 0;
	}

	.spst-sidebar {
		margin-top: 48px;
	}

	.spst-sidebar__inner {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.spst-sidebar__inner .widget {
		flex: 1 1 260px;
	}
}

@media ( max-width: 600px ) {
	.spst-wrapper {
		padding: 32px 16px 56px;
	}

	.spst-sidebar__inner {
		flex-direction: column;
	}
}
