/**
 * Strawman blog layout — tokens mapped from www.strawman.com light-mode SPA
 * (web/src/styles/tokens.ts + web/src/tailwind.css [data-theme="light"]).
 */

:root {
	--sm-color-primary: #3d51dc;
	--sm-color-primary-hover: #4f62e8;
	--sm-color-primary-dark: #2d3fbe;
	--sm-color-accent: #6070e8;
	--sm-color-header-start: #6272ea;
	--sm-color-header-mid: #3d51dc;
	--sm-color-header-end: #2e44cc;
	--sm-color-header-mobile: #2d3fc0;
	--sm-color-text: #1a1b2e;
	--sm-color-text-secondary: #44466a;
	--sm-color-text-muted: #6b7099;
	--sm-color-on-brand: #ffffff;
	--sm-color-page: #f5f6fa;
	--sm-color-section: #eef0f6;
	--sm-color-surface: #ffffff;
	--sm-color-border: rgba(0, 0, 0, 0.06);
	--sm-color-border-strong: rgba(0, 0, 0, 0.1);
	--sm-color-success: #7bcc2c;
	--sm-color-glow: rgba(61, 81, 220, 0.1);
	--sm-radius-sm: 8px;
	--sm-radius-md: 12px;
	--sm-radius-lg: 16px;
	--sm-radius-pill: 9999px;
	--sm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--sm-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	--sm-shadow-hover: 0 8px 24px rgba(61, 81, 220, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
	--sm-shadow-lift: 0 16px 40px rgba(61, 81, 220, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
	--sm-header-h: 77px;
	--sm-content-max: 1160px;
	--sm-read-max: 760px;
	--sm-ease-fast: 150ms ease;
	--sm-ease: 300ms ease-out;
	--sm-ease-slow: 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* Chrome — AppShell header / footer                                   */
/* ------------------------------------------------------------------ */

.sm-chrome-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	isolation: isolate;
	width: 100%;
	background: linear-gradient(
		180deg,
		var(--sm-color-header-start) 0%,
		var(--sm-color-header-mid) 55%,
		var(--sm-color-header-end) 100%
	);
	border-bottom: 1px solid rgba(0, 0, 0, 0.16);
	box-shadow: 0 2px 16px rgba(61, 81, 220, 0.055), 0 1px 4px rgba(0, 0, 0, 0.035);
}

.sm-chrome-header-inner {
	max-width: var(--sm-content-max);
	margin: 0 auto;
	padding: 0 24px;
	min-height: var(--sm-header-h);
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
}

.sm-chrome-logo-link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.sm-chrome-logo {
	display: block;
	height: 32px;
	width: auto;
	transform: translateY(-2px);
}

.sm-chrome-nav {
	display: none;
	align-items: center;
	gap: 4px;
	margin-left: 24px;
	flex: 1;
}

.sm-chrome-nav-link {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 17px;
	font-weight: 500;
	font-family: var(--sm-font);
	padding: 8px 12px;
	border-radius: var(--sm-radius-sm);
	line-height: 1.2;
	transition: background var(--sm-ease-fast), color var(--sm-ease-fast);
}

.sm-chrome-nav-link:hover,
.sm-chrome-nav-link.is-current {
	color: var(--sm-color-on-brand);
	background: rgba(255, 255, 255, 0.18);
}

.sm-chrome-mobile {
	display: none;
	margin-left: auto;
	position: relative;
}

.sm-chrome-mobile-toggle {
	list-style: none;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--sm-radius-sm);
}

.sm-chrome-mobile-toggle::-webkit-details-marker {
	display: none;
}

.sm-chrome-mobile-icon,
.sm-chrome-mobile-icon::before,
.sm-chrome-mobile-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--sm-color-on-brand);
	border-radius: 1px;
	position: relative;
}

.sm-chrome-mobile-icon::before,
.sm-chrome-mobile-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.sm-chrome-mobile-icon::before {
	top: -6px;
}

.sm-chrome-mobile-icon::after {
	top: 6px;
}

.sm-chrome-mobile-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 220px;
	background: var(--sm-color-header-mobile);
	border-radius: var(--sm-radius-md);
	padding: 8px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
	display: flex;
	flex-direction: column;
}

.sm-chrome-mobile-link {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	padding: 10px 12px;
	border-radius: var(--sm-radius-sm);
	font-size: 15px;
	font-family: var(--sm-font);
}

.sm-chrome-mobile-link:hover,
.sm-chrome-mobile-link.is-current {
	background: rgba(255, 255, 255, 0.18);
	color: var(--sm-color-on-brand);
}

.sm-chrome-footer {
	background: var(--sm-color-page);
	border-top: 1px solid var(--sm-color-border);
	margin-top: 48px;
}

.sm-chrome-footer-inner {
	max-width: var(--sm-content-max);
	margin: 0 auto;
	padding: 32px 24px;
	box-sizing: border-box;
}

.sm-chrome-footer-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.sm-chrome-footer-logo {
	height: 28px;
	width: auto;
	filter: brightness(0) saturate(100%);
	opacity: 0.72;
}

.sm-chrome-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.sm-chrome-footer-links a {
	color: var(--sm-color-text-muted);
	text-decoration: none;
	font-size: 14px;
	font-family: var(--sm-font);
}

.sm-chrome-footer-links a:hover {
	text-decoration: underline;
}

.sm-chrome-copy {
	margin: 16px 0 0;
	font-size: 12px;
	color: var(--sm-color-text-muted);
	text-align: center;
	font-family: var(--sm-font);
}

body.sm-chrome #header,
body.sm-chrome #stax-footer,
body.sm-chrome .hb-sticky-wrapper,
body.sm-chrome .stax-sidemenu-wrapper,
body.sm-chrome .header-section.stax-hs,
#svq-register-modal,
.svq-ajax-register-nav,
#svq-login-modal,
.svq-login-modal,
.login-form-modal {
	display: none !important;
}

body.sm-chrome,
body.sm-chrome #page-wrapper,
body.sm-layout {
	background: var(--sm-color-page);
	font-family: var(--sm-font);
	color: var(--sm-color-text);
}

@media (min-width: 992px) {
	.sm-chrome-nav {
		display: flex;
	}

	.sm-chrome-mobile {
		display: none !important;
	}

	.sm-chrome-footer-row {
		flex-direction: row;
		align-items: center;
	}

	.sm-chrome-footer-links {
		margin-left: auto;
		justify-content: flex-end;
	}

	.sm-chrome-copy {
		text-align: left;
	}
}

@media (max-width: 991px) {
	.sm-chrome-nav {
		display: none;
	}

	.sm-chrome-mobile {
		display: block;
	}

	.sm-chrome-header-inner {
		padding: 0 12px;
	}
}

/* ------------------------------------------------------------------ */
/* Layout shell                                                        */
/* ------------------------------------------------------------------ */

.sm-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	z-index: 1100;
	background: var(--sm-color-on-brand);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
	pointer-events: none;
	transform-origin: left center;
}

.sm-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--sm-color-surface);
	color: var(--sm-color-text);
	padding: 8px 12px;
	z-index: 1200;
}

.sm-skip:focus {
	left: 12px;
	top: 12px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sm-layout-main {
	max-width: var(--sm-content-max);
	margin: 0 auto;
	padding: 24px 24px 64px;
	box-sizing: border-box;
}

.sm-page-head {
	margin: 0 0 20px;
}

.sm-page-head h1 {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--sm-color-text);
}

.sm-page-head p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--sm-color-text-muted);
}

.sm-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 8px 0 28px;
}

.sm-toolbar .sm-filters {
	margin: 0;
}

.sm-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--sm-color-border-strong);
	border-radius: var(--sm-radius-pill);
	color: var(--sm-color-text-secondary);
	background: var(--sm-color-surface);
	font-family: var(--sm-font);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	padding: 8px 16px 8px 12px;
	text-decoration: none;
	transition: background var(--sm-ease-fast), border-color var(--sm-ease-fast), color var(--sm-ease-fast);
}

.sm-back::before {
	content: "←";
	font-size: 14px;
	line-height: 1;
}

.sm-back:hover {
	border-color: var(--sm-color-primary);
	color: var(--sm-color-primary);
	background: rgba(61, 81, 220, 0.06);
}

.sm-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 8px 0 28px;
}

.sm-filters a,
.sm-pill {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--sm-color-primary);
	border-radius: var(--sm-radius-pill);
	color: var(--sm-color-primary);
	background: transparent;
	font-family: var(--sm-font);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	padding: 8px 16px;
	text-decoration: none;
	transition: background var(--sm-ease-fast), color var(--sm-ease-fast);
}

.sm-filters a:hover,
.sm-filters a.is-active,
.sm-pill:hover {
	background: rgba(61, 81, 220, 0.12);
}

/* ------------------------------------------------------------------ */
/* Cards + mosaic + masonry feed                                       */
/* ------------------------------------------------------------------ */

.sm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--sm-color-surface);
	border: 1px solid var(--sm-color-border);
	border-radius: var(--sm-radius-md);
	box-shadow: var(--sm-shadow);
	overflow: hidden;
	height: 100%;
	transition: transform var(--sm-ease), box-shadow var(--sm-ease);
}

.sm-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sm-shadow-lift);
}

.sm-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #dfe4fb 0%, var(--sm-color-section) 55%, #d5daf0 100%);
}

.sm-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 700ms ease-out;
}

.sm-card:hover .sm-card__media img {
	transform: scale(1.06);
}

.sm-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 20px 18px;
	gap: 8px;
}

.sm-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.sm-card__title a {
	color: var(--sm-color-text);
	text-decoration: none;
}

.sm-card:hover .sm-card__title a {
	color: var(--sm-color-primary);
}

.sm-card__excerpt {
	margin: 0;
	color: var(--sm-color-text-muted);
	font-size: 14px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sm-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
}

.sm-card__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.sm-card__byline {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sm-card__author {
	font-size: 13px;
	font-weight: 600;
	color: var(--sm-color-text-secondary);
}

.sm-card__date {
	font-size: 12px;
	color: var(--sm-color-text-muted);
}

.sm-mosaic {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 40px;
}

.sm-mosaic__item {
	min-width: 0;
}

.sm-card--hero {
	display: grid;
	grid-template-columns: 1fr;
}

.sm-card--hero .sm-card__media {
	aspect-ratio: 16 / 9;
}

.sm-card--hero .sm-card__body {
	justify-content: center;
	padding: 24px 24px 22px;
}

.sm-card--hero .sm-card__title {
	font-size: 26px;
	line-height: 1.22;
}

.sm-card--hero .sm-card__excerpt {
	-webkit-line-clamp: 3;
	font-size: 15px;
}

.sm-feed-label {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sm-color-text-muted);
}

.sm-feed {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.sm-feed .sm-card {
	height: auto;
}

.sm-load {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 12px 0 0;
}

.sm-load__btn {
	appearance: none;
	border: 0;
	border-radius: var(--sm-radius-pill);
	background: var(--sm-color-primary);
	color: var(--sm-color-on-brand);
	font-family: var(--sm-font);
	font-size: 14px;
	font-weight: 600;
	padding: 12px 28px;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(61, 81, 220, 0.25);
	transition: background var(--sm-ease-fast), transform var(--sm-ease-fast);
}

.sm-load__btn:hover:not(:disabled) {
	background: var(--sm-color-primary-hover);
	transform: translateY(-1px);
}

.sm-load__btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.sm-load__status {
	min-height: 1.2em;
	font-size: 13px;
	color: var(--sm-color-text-muted);
}

@media (min-width: 768px) {
	.sm-mosaic {
		grid-template-columns: 1fr 1fr;
	}

	.sm-mosaic__item:nth-child(1) {
		grid-column: 1 / -1;
	}

	.sm-card--hero {
		grid-template-columns: 1.25fr 1fr;
		min-height: 300px;
		max-height: 380px;
	}

	.sm-card--hero .sm-card__media {
		aspect-ratio: auto;
		height: 100%;
		min-height: 300px;
		max-height: 380px;
	}

	.sm-card--hero .sm-card__body {
		padding: 28px 32px;
	}

	.sm-feed {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 992px) {
	.sm-mosaic {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.sm-mosaic__item:nth-child(1) {
		grid-column: 1 / -1;
	}

	.sm-card--hero {
		min-height: 340px;
		max-height: 400px;
	}

	.sm-card--hero .sm-card__media {
		min-height: 340px;
		max-height: 400px;
	}

	.sm-card--hero .sm-card__title {
		font-size: 32px;
	}

	.sm-card--hero .sm-card__body {
		padding: 36px 40px;
	}

	.sm-feed {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

/* ------------------------------------------------------------------ */
/* Single — reading zone, TOC, Up Next                                 */
/* ------------------------------------------------------------------ */

.sm-article-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.sm-toc {
	display: none;
}

.sm-toc__label {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sm-color-accent);
}

.sm-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--sm-color-border-strong);
}

.sm-toc__item a {
	display: block;
	padding: 6px 0 6px 14px;
	color: var(--sm-color-text-muted);
	text-decoration: none;
	font-size: 13px;
	line-height: 1.4;
	border-left: 2px solid transparent;
	margin-left: -1px;
}

.sm-toc__item--h3 a {
	padding-left: 22px;
	font-size: 12px;
}

.sm-toc__item a:hover,
.sm-toc__item a.is-active {
	color: var(--sm-color-primary);
	border-left-color: var(--sm-color-primary);
}

.sm-article {
	max-width: var(--sm-read-max);
	margin: 0 auto;
	width: 100%;
}

.sm-article__hero {
	margin: 0 0 28px;
}

.sm-article__title {
	margin: 12px 0 18px;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--sm-color-text);
}

.sm-article__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}

.sm-article__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.sm-article__author {
	font-size: 14px;
	font-weight: 600;
	color: var(--sm-color-text-secondary);
	text-decoration: none;
}

.sm-article__author:hover {
	color: var(--sm-color-primary);
}

.sm-article__date {
	display: block;
	font-size: 13px;
	color: var(--sm-color-text-muted);
	margin-top: 2px;
}

.sm-article__figure {
	margin: 0 0 28px;
	border-radius: var(--sm-radius-md);
	overflow: hidden;
	box-shadow: var(--sm-shadow);
	background: var(--sm-color-section);
	max-height: 360px;
}

.sm-article__figure img {
	display: block;
	width: 100%;
	height: 360px;
	object-fit: cover;
}

.sm-article__content {
	font-size: 18px;
	line-height: 1.65;
	color: var(--sm-color-text);
}

.sm-article__content p {
	margin: 0 0 1.15em;
}

.sm-article__content a {
	color: var(--sm-color-primary);
	text-underline-offset: 2px;
}

.sm-article__content a:hover {
	color: var(--sm-color-primary-dark);
}

.sm-article__content h2,
.sm-article__content h3,
.sm-article__content h4 {
	color: var(--sm-color-text);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 1.6em 0 0.6em;
}

.sm-article__content h2 {
	font-size: 28px;
}

.sm-article__content h3 {
	font-size: 22px;
}

.sm-article__content h4 {
	font-size: 18px;
}

.sm-article__content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--sm-color-primary);
	font-style: italic;
	color: var(--sm-color-text-secondary);
}

.sm-article__content img {
	border-radius: var(--sm-radius-md);
	max-width: 100%;
	height: auto;
}

.sm-article__content ul,
.sm-article__content ol {
	padding-left: 1.25rem;
	margin-bottom: 1.15em;
}

.sm-article__content p.has-drop-cap:not(:focus)::first-letter {
	float: none;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	margin: 0;
	padding: 0;
}

.sm-upnext {
	position: relative;
	display: grid;
	margin: 56px auto 0;
	max-width: var(--sm-read-max);
	border-radius: var(--sm-radius-lg);
	overflow: hidden;
	min-height: 280px;
	box-shadow: var(--sm-shadow-lift);
	text-decoration: none;
	color: var(--sm-color-on-brand);
}

.sm-upnext__media {
	grid-area: 1 / 1;
	min-height: 280px;
	background: linear-gradient(135deg, var(--sm-color-header-start), var(--sm-color-header-end));
}

.sm-upnext__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	transform: scale(1);
	transition: transform 800ms ease-out;
}

.sm-upnext:hover .sm-upnext__media img {
	transform: scale(1.05);
}

.sm-upnext__body {
	grid-area: 1 / 1;
	align-self: end;
	padding: 32px 28px 24px;
	background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 32, 0.82) 100%);
}

.sm-upnext__kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #dfe4fb;
}

.sm-upnext__title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--sm-color-on-brand);
}

.sm-upnext__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.86);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sm-article--incoming {
	opacity: 0;
	transform: translateY(28px);
	margin-top: 72px;
	padding-top: 32px;
	border-top: 1px solid var(--sm-color-border);
	transition: opacity var(--sm-ease-slow), transform var(--sm-ease-slow);
}

.sm-article--incoming.is-in {
	opacity: 1;
	transform: none;
}

@media (min-width: 1200px) {
	.sm-article-shell {
		grid-template-columns: 1fr minmax(0, var(--sm-read-max)) 220px;
		max-width: 1200px;
		margin: 0 auto;
	}

	.sm-article-shell [data-sm-article-stack] {
		grid-column: 2;
		min-width: 0;
	}

	.sm-article-shell .sm-article {
		margin: 0;
		max-width: none;
	}

	.sm-toc {
		display: block;
		position: sticky;
		top: calc(var(--sm-header-h) + 24px);
		grid-column: 3;
		grid-row: 1;
		max-height: calc(100vh - var(--sm-header-h) - 48px);
		overflow: auto;
	}

	.sm-toc[hidden] {
		display: none;
	}

	.sm-article-shell:not(:has(.sm-toc:not([hidden]))) {
		grid-template-columns: minmax(0, 1fr);
	}

	.sm-article-shell:not(:has(.sm-toc:not([hidden]))) [data-sm-article-stack] {
		grid-column: 1;
		max-width: var(--sm-read-max);
		margin: 0 auto;
		width: 100%;
	}

	.sm-layout-main:has(.sm-article-shell) {
		max-width: 1200px;
	}
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

.sm-article__content .like-and-share,
.sm-article__content .svq-post-nav {
	display: none !important;
}

.sm-js .sm-enter {
	opacity: 0;
	transform: translateY(18px);
}

.sm-js .sm-enter.is-in {
	animation: sm-rise var(--sm-ease-slow) both;
}

.sm-js .sm-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity var(--sm-ease-slow), transform var(--sm-ease-slow);
}

.sm-js .sm-reveal.is-in {
	opacity: 1;
	transform: none;
}

@keyframes sm-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sm-enter,
	.sm-reveal,
	.sm-article--incoming,
	.sm-card,
	.sm-card__media img,
	.sm-upnext__media img,
	.sm-load__btn {
		animation: none !important;
		transition: none !important;
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 639px) {
	.sm-layout-main {
		padding: 16px 16px 48px;
	}

	.sm-article__title {
		font-size: 28px;
	}

	.sm-card--hero .sm-card__title,
	.sm-upnext__title {
		font-size: 22px;
	}

	.sm-article__figure img {
		height: 220px;
	}
}
