/*
 * SN Authority Hub — public UI
 * Scoped to .snah-ui to coexist with Divi and other builders.
 */

.snah-ui,
.snah-ui *,
.snah-ui *::before,
.snah-ui *::after {
	box-sizing: border-box;
}

.snah-ui {
	--snah-primary: #0a3f38;
	--snah-accent: #f7b84b;
	--snah-surface: #f4f9f7;
	--snah-text: #17282d;
	--snah-muted: #52666b;
	--snah-border: #d7e5e1;
	--snah-radius: 28px;
	--snah-avatar: 96px;
	--snah-max: 1120px;
	--snah-shadow: 0 24px 70px rgba(6, 44, 39, 0.28);
	--snah-white: #fff;
	--snah-success: #197568;
	--snah-line: rgba(10, 63, 56, 0.13);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.snah-ui .snah-icon {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: -0.18em;
}

.snah-ui a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.snah-ui a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--snah-accent) 82%, white);
	outline-offset: 4px;
}

/* Compact line under the article title. */
.snah-byline {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	width: min(100%, var(--snah-max));
	margin: 18px auto 34px;
	padding: 12px 16px 12px 12px;
	color: var(--snah-text);
	background:
		linear-gradient(120deg, rgba(255,255,255,.93), rgba(244,249,247,.86)),
		var(--snah-surface);
	border: 1px solid color-mix(in srgb, var(--snah-border) 82%, white);
	border-radius: min(var(--snah-radius), 22px);
	box-shadow: 0 10px 36px rgba(8, 59, 52, .08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	isolation: isolate;
}

.snah-byline::before {
	content: "";
	position: absolute;
	inset: 8px auto 8px 0;
	width: 3px;
	border-radius: 99px;
	background: linear-gradient(180deg, var(--snah-accent), var(--snah-primary));
}

.snah-byline__person {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-width: max-content;
	color: inherit !important;
	text-decoration: none !important;
}

.snah-byline__person img {
	display: block;
	width: 44px;
	height: 44px;
	margin: 0;
	object-fit: cover;
	border: 2px solid var(--snah-white);
	border-radius: 50%;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--snah-primary) 20%, transparent);
}

.snah-byline__person span {
	display: grid;
	gap: 0;
}

.snah-byline__person small,
.snah-byline__person strong {
	display: block;
	line-height: 1.25;
}

.snah-byline__person small {
	margin: 0 0 2px;
	color: var(--snah-muted);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.snah-byline__person strong {
	color: var(--snah-primary);
	font-size: 14px;
	font-weight: 800;
}

.snah-byline__divider {
	width: 1px;
	height: 34px;
	background: var(--snah-border);
}

.snah-byline__facts {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	min-width: 0;
	color: var(--snah-muted);
	font-size: 12px;
	font-weight: 650;
}

.snah-byline__facts > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.snah-byline__facts .snah-icon {
	width: 15px;
	height: 15px;
	color: var(--snah-primary);
}

.snah-byline__verified {
	color: var(--snah-success);
}

/* Premium end-of-article card. */
.snah-authority-card {
	position: relative;
	width: min(100%, var(--snah-max));
	margin: clamp(48px, 7vw, 88px) auto 36px;
	padding: clamp(26px, 4.8vw, 58px);
	overflow: hidden;
	color: var(--snah-text);
	background:
		radial-gradient(circle at 12% 2%, color-mix(in srgb, var(--snah-accent) 13%, transparent) 0, transparent 31%),
		radial-gradient(circle at 100% 65%, color-mix(in srgb, var(--snah-primary) 10%, transparent) 0, transparent 36%),
		linear-gradient(145deg, color-mix(in srgb, var(--snah-surface) 95%, white), #fff);
	border: 1px solid color-mix(in srgb, var(--snah-border) 86%, white);
	border-radius: var(--snah-radius);
	box-shadow: var(--snah-shadow);
	isolation: isolate;
}

.snah-authority-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(8,59,52,.05);
}

.snah-card__grid {
	position: absolute;
	inset: 0;
	z-index: -3;
	opacity: .26;
	pointer-events: none;
	background-image:
		linear-gradient(var(--snah-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--snah-line) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: linear-gradient(120deg, black, transparent 72%);
	mask-image: linear-gradient(120deg, black, transparent 72%);
}

.snah-card__orb {
	position: absolute;
	z-index: -2;
	width: 260px;
	height: 260px;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(18px);
	opacity: 0;
}

.snah-has-glow .snah-card__orb {
	opacity: .26;
}

.snah-card__orb--one {
	top: -180px;
	right: 15%;
	background: var(--snah-accent);
}

.snah-card__orb--two {
	bottom: -190px;
	left: 2%;
	background: var(--snah-primary);
}

.snah-card__header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 28px;
	margin-bottom: 32px;
}

.snah-card__intro {
	max-width: 730px;
}

.snah-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 20px;
	padding: 7px 11px;
	color: var(--snah-primary);
	background: color-mix(in srgb, var(--snah-primary) 7%, white);
	border: 1px solid color-mix(in srgb, var(--snah-primary) 20%, transparent);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .105em;
	line-height: 1.2;
	text-transform: uppercase;
}

.snah-status-badge.is-verified {
	color: #07584e;
	background: linear-gradient(120deg, #e5f7f1, #f5fbf9);
	border-color: rgba(25,117,104,.24);
}

.snah-status-badge .snah-icon {
	width: 15px;
	height: 15px;
}

.snah-card__eyebrow {
	display: block;
	margin: 0 0 9px;
	color: var(--snah-primary);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .17em;
	line-height: 1.3;
	text-transform: uppercase;
}

.snah-authority-card .snah-card__header h2,
.et_pb_post_content .snah-authority-card .snah-card__header h2 {
	margin: 0 0 12px;
	padding: 0;
	color: var(--snah-text);
	font-family: inherit;
	font-size: clamp(28px, 3.4vw, 46px);
	font-weight: 850;
	letter-spacing: -.045em;
	line-height: 1.04;
}

.snah-card__intro > p,
.et_pb_post_content .snah-card__intro > p {
	max-width: 650px;
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: clamp(14px, 1.5vw, 17px);
	line-height: 1.7;
}

.snah-card__seal {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 78px;
	width: 78px;
	height: 78px;
	color: var(--snah-primary);
	background: rgba(255,255,255,.68);
	border: 1px solid color-mix(in srgb, var(--snah-primary) 19%, transparent);
	border-radius: 24px;
	box-shadow: 0 14px 36px rgba(10,63,56,.1), inset 0 1px 0 white;
	transform: rotate(3deg);
}

.snah-card__seal::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px dashed color-mix(in srgb, var(--snah-primary) 26%, transparent);
	border-radius: 17px;
}

.snah-card__seal span {
	display: grid;
	place-items: center;
}

.snah-card__seal .snah-icon {
	width: 32px;
	height: 32px;
}

.snah-card__seal small {
	position: absolute;
	right: 8px;
	bottom: 5px;
	padding: 1px 4px;
	color: var(--snah-primary);
	background: var(--snah-accent);
	border-radius: 4px;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .08em;
}

.snah-people-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.snah-people-grid.has-reviewer {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snah-person-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(20px, 3vw, 28px);
	background: rgba(255,255,255,.76);
	border: 1px solid rgba(255,255,255,.95);
	border-radius: max(16px, calc(var(--snah-radius) - 9px));
	box-shadow: 0 16px 38px rgba(8,59,52,.075), 0 0 0 1px color-mix(in srgb, var(--snah-border) 52%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.snah-person-card::after {
	content: "";
	position: absolute;
	inset: auto 22px 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--snah-accent) 80%, white), transparent);
	opacity: .78;
}

.snah-person-card--reviewer::after {
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--snah-primary) 70%, white), transparent);
}

.snah-person-card__top {
	display: flex;
	align-items: center;
	gap: 17px;
}

.snah-person-card__avatar {
	position: relative;
	flex: 0 0 var(--snah-avatar);
	width: var(--snah-avatar);
	height: var(--snah-avatar);
}

.snah-person-card__avatar::before {
	content: "";
	position: absolute;
	inset: -5px;
	border: 1px solid color-mix(in srgb, var(--snah-primary) 20%, transparent);
	border-radius: 25px;
	transform: rotate(-4deg);
}

.snah-person-card__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border: 3px solid white;
	border-radius: 21px;
	box-shadow: 0 11px 28px rgba(10,63,56,.16);
}

.snah-person-card__avatar > span {
	position: absolute;
	right: -7px;
	bottom: -7px;
	display: grid;
	place-items: center;
	width: 29px;
	height: 29px;
	color: white;
	background: var(--snah-primary);
	border: 3px solid white;
	border-radius: 50%;
	box-shadow: 0 5px 14px rgba(10,63,56,.2);
}

.snah-person-card__avatar .snah-icon {
	width: 13px;
	height: 13px;
	stroke-width: 2.6;
}

.snah-person-card__identity {
	min-width: 0;
}

.snah-person-card__identity small {
	display: block;
	margin: 0 0 5px;
	color: var(--snah-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.snah-person-card__identity h3,
.et_pb_post_content .snah-person-card__identity h3 {
	margin: 0 0 6px;
	padding: 0;
	font-family: inherit;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.snah-person-card__identity h3 a {
	color: var(--snah-primary) !important;
	text-decoration: none !important;
}

.snah-person-card__identity h3 a:hover {
	text-decoration: underline !important;
}

.snah-person-card__identity p,
.et_pb_post_content .snah-person-card__identity p {
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.45;
}

.snah-person-card__bio,
.et_pb_post_content .snah-person-card__bio {
	margin: 20px 0 0;
	padding: 17px 0 0;
	color: var(--snah-text);
	border-top: 1px solid color-mix(in srgb, var(--snah-border) 72%, transparent);
	font-size: 13px;
	line-height: 1.72;
}

.snah-person-card__topics,
.snah-profile-hero__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 17px;
}

.snah-person-card__topics span,
.snah-profile-hero__topics span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 9px;
	color: var(--snah-primary);
	background: color-mix(in srgb, var(--snah-primary) 6%, white);
	border: 1px solid color-mix(in srgb, var(--snah-primary) 13%, transparent);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.3;
}

.snah-person-card__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: 19px;
	color: var(--snah-primary) !important;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none !important;
}

.snah-person-card__link .snah-icon,
.snah-method-link .snah-icon {
	width: 16px;
	height: 16px;
	transition: transform .22s ease;
}

.snah-person-card__link:hover .snah-icon,
.snah-method-link:hover .snah-icon {
	transform: translateX(4px);
}

/* Trace / review timeline. */
.snah-trace {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
	padding: 22px 22px 21px;
	background: color-mix(in srgb, var(--snah-primary) 4%, rgba(255,255,255,.72));
	border: 1px solid color-mix(in srgb, var(--snah-border) 76%, white);
	border-radius: max(15px, calc(var(--snah-radius) - 10px));
}

.snah-trace::before {
	content: "";
	position: absolute;
	top: 38px;
	left: calc(16.67% + 12px);
	right: calc(16.67% + 12px);
	height: 1px;
	background: linear-gradient(90deg, var(--snah-primary), color-mix(in srgb, var(--snah-primary) 18%, transparent), var(--snah-primary));
	opacity: .34;
}

.snah-trace__item {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 4px;
	min-width: 0;
	text-align: center;
}

.snah-trace__dot {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 3px;
	color: white;
	background: var(--snah-primary);
	border: 5px solid color-mix(in srgb, var(--snah-surface) 65%, white);
	border-radius: 50%;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--snah-primary) 18%, transparent);
}

.snah-trace__item.is-pending .snah-trace__dot {
	color: var(--snah-muted);
	background: white;
}

.snah-trace__dot .snah-icon {
	width: 13px;
	height: 13px;
}

.snah-trace__item small {
	color: var(--snah-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .115em;
	line-height: 1.3;
	text-transform: uppercase;
}

.snah-trace__item strong {
	display: block;
	overflow: hidden;
	max-width: 100%;
	color: var(--snah-text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-overflow: ellipsis;
}

/* Method/footer. */
.snah-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 25px;
	padding-top: 24px;
	border-top: 1px solid color-mix(in srgb, var(--snah-border) 76%, transparent);
}

.snah-card__method {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.snah-card__method > span {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	color: var(--snah-primary);
	background: color-mix(in srgb, var(--snah-accent) 24%, white);
	border-radius: 12px;
}

.snah-card__method .snah-icon {
	width: 19px;
	height: 19px;
}

.snah-card__method strong {
	display: block;
	margin-bottom: 2px;
	color: var(--snah-text);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .06em;
	line-height: 1.25;
	text-transform: uppercase;
}

.snah-card__method p,
.et_pb_post_content .snah-card__method p {
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: 11px;
	line-height: 1.45;
}

.snah-card__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}

.snah-topic-pill,
.snah-method-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 37px;
	padding: 8px 11px;
	border-radius: 11px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.3;
}

.snah-topic-pill {
	max-width: 250px;
	color: var(--snah-primary);
	background: rgba(255,255,255,.72);
	border: 1px solid var(--snah-border);
}

.snah-topic-pill .snah-icon {
	width: 15px;
	height: 15px;
}

.snah-method-link {
	color: white !important;
	background: var(--snah-primary);
	border: 1px solid var(--snah-primary);
	box-shadow: 0 8px 20px rgba(10,63,56,.14);
	text-decoration: none !important;
}

/* Public author profile. */
.snah-profile-hero {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 54px);
	width: min(calc(100% - 32px), var(--snah-max));
	margin: 34px auto 48px;
	padding: clamp(26px, 5vw, 58px);
	color: var(--snah-text);
	background:
		radial-gradient(circle at 0 0, color-mix(in srgb, var(--snah-accent) 18%, transparent), transparent 31%),
		linear-gradient(135deg, var(--snah-surface), white);
	border: 1px solid var(--snah-border);
	border-radius: var(--snah-radius);
	box-shadow: var(--snah-shadow);
}

.snah-profile-hero__visual {
	position: relative;
	width: clamp(132px, 17vw, 192px);
	aspect-ratio: 1;
}

.snah-profile-hero__visual::before {
	content: "";
	position: absolute;
	inset: -9px;
	border: 1px solid color-mix(in srgb, var(--snah-primary) 24%, transparent);
	border-radius: 37% 63% 55% 45% / 48% 40% 60% 52%;
	transform: rotate(-5deg);
}

.snah-profile-hero__visual img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border: 5px solid white;
	border-radius: 34% 66% 52% 48% / 55% 42% 58% 45%;
	box-shadow: 0 18px 45px rgba(10,63,56,.18);
}

.snah-profile-hero__visual > span {
	position: absolute;
	right: 0;
	bottom: 5px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: white;
	background: var(--snah-primary);
	border: 4px solid white;
	border-radius: 50%;
}

.snah-profile-hero__visual .snah-icon {
	width: 17px;
	height: 17px;
}

.snah-profile-hero h1,
.snah-profile-hero h2,
.et_pb_post_content .snah-profile-hero h1,
.et_pb_post_content .snah-profile-hero h2 {
	margin: 0 0 5px;
	padding: 0;
	color: var(--snah-text);
	font-family: inherit;
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 850;
	letter-spacing: -.05em;
	line-height: 1.02;
}

.snah-profile-hero__title,
.et_pb_post_content .snah-profile-hero__title {
	margin: 0 0 18px;
	padding: 0;
	color: var(--snah-primary);
	font-size: clamp(15px, 2vw, 19px);
	font-weight: 750;
}

.snah-profile-hero__bio,
.et_pb_post_content .snah-profile-hero__bio {
	max-width: 760px;
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: 15px;
	line-height: 1.75;
}

.snah-profile-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 17px;
	margin-top: 20px;
	color: var(--snah-primary);
	font-size: 12px;
	font-weight: 750;
}

.snah-profile-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.snah-profile-hero__meta .snah-icon {
	width: 16px;
	height: 16px;
}

/* Presets. */
.snah-style--glass.snah-authority-card,
.snah-style--glass.snah-profile-hero {
	background: rgba(255,255,255,.72);
	backdrop-filter: blur(22px) saturate(125%);
	-webkit-backdrop-filter: blur(22px) saturate(125%);
}

.snah-style--minimal.snah-authority-card,
.snah-style--minimal.snah-profile-hero {
	background: #fff;
	box-shadow: 0 14px 42px rgba(10,63,56,.09);
}

.snah-style--minimal .snah-card__grid,
.snah-style--minimal .snah-card__orb,
.snah-style--minimal .snah-card__seal::before {
	display: none;
}

.snah-style--minimal .snah-person-card {
	box-shadow: none;
	border-color: var(--snah-border);
}

.snah-style--night.snah-authority-card,
.snah-style--night.snah-profile-hero,
.snah-style--night.snah-byline {
	--snah-line: rgba(255,255,255,.08);
	color: var(--snah-text);
	background:
		radial-gradient(circle at 12% 0, rgba(247,184,75,.12), transparent 28%),
		linear-gradient(145deg, color-mix(in srgb, var(--snah-primary) 72%, #001b18), var(--snah-surface));
	border-color: rgba(255,255,255,.13);
}

.snah-style--night .snah-person-card,
.snah-style--night .snah-trace {
	background: rgba(255,255,255,.065);
	border-color: rgba(255,255,255,.11);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.snah-style--night .snah-person-card__avatar img,
.snah-style--night .snah-byline__person img {
	border-color: color-mix(in srgb, var(--snah-surface) 82%, white);
}

.snah-style--night .snah-person-card__avatar > span {
	color: #082f2a;
	background: var(--snah-accent);
	border-color: var(--snah-surface);
}

.snah-style--night .snah-status-badge,
.snah-style--night .snah-person-card__topics span,
.snah-style--night .snah-profile-hero__topics span {
	color: #f3fbf8;
	background: rgba(255,255,255,.075);
	border-color: rgba(255,255,255,.13);
}

.snah-style--night .snah-card__seal,
.snah-style--night .snah-topic-pill {
	color: #f3fbf8;
	background: rgba(255,255,255,.07);
	border-color: rgba(255,255,255,.14);
}

.snah-style--night .snah-trace__dot {
	color: #082f2a;
	background: var(--snah-accent);
	border-color: color-mix(in srgb, var(--snah-surface) 82%, white);
}

.snah-style--night .snah-trace__item.is-pending .snah-trace__dot {
	color: var(--snah-muted);
	background: color-mix(in srgb, var(--snah-surface) 82%, white);
}

.snah-style--night .snah-byline__person strong,
.snah-style--night .snah-byline__facts .snah-icon,
.snah-style--night .snah-card__eyebrow,
.snah-style--night .snah-person-card__identity h3 a,
.snah-style--night .snah-person-card__link,
.snah-style--night .snah-profile-hero__title,
.snah-style--night .snah-profile-hero__meta {
	color: var(--snah-text) !important;
}

.snah-style--night .snah-method-link {
	color: #082f2a !important;
	background: var(--snah-accent);
	border-color: var(--snah-accent);
}

/* Restrained motion, only when explicitly enabled. */
@media (hover: hover) {
	.snah-has-motion.snah-authority-card {
		transition: transform .32s ease, box-shadow .32s ease;
	}

	.snah-has-motion.snah-authority-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 30px 82px rgba(6,44,39,.23);
	}

	.snah-has-motion .snah-person-card {
		transition: transform .26s ease, border-color .26s ease;
	}

	.snah-has-motion .snah-person-card:hover {
		transform: translateY(-4px);
		border-color: color-mix(in srgb, var(--snah-accent) 48%, white);
	}

	.snah-has-motion .snah-card__seal {
		animation: snah-float 5.5s ease-in-out infinite;
	}
}

@keyframes snah-float {
	0%, 100% { transform: translateY(0) rotate(3deg); }
	50% { transform: translateY(-6px) rotate(1deg); }
}

/* Tablet and mobile — card remains usable inside narrow Divi columns. */
@media (max-width: 900px) {
	.snah-people-grid.has-reviewer {
		grid-template-columns: 1fr;
	}

	.snah-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.snah-card__actions {
		justify-content: flex-start;
		width: 100%;
	}
}

@media (max-width: 680px) {
	.snah-byline {
		align-items: flex-start;
		flex-direction: column;
		gap: 11px;
		margin: 14px auto 26px;
		padding: 12px 14px;
	}

	.snah-byline__divider {
		display: none;
	}

	.snah-byline__facts {
		gap: 7px 12px;
		padding-left: 55px;
	}

	.snah-byline__facts > span {
		white-space: normal;
	}

	.snah-authority-card {
		margin-top: 44px;
		padding: 23px 17px;
		border-radius: min(var(--snah-radius), 22px);
	}

	.snah-card__header {
		gap: 12px;
		margin-bottom: 23px;
	}

	.snah-card__seal {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
		border-radius: 16px;
	}

	.snah-card__seal::before,
	.snah-card__seal small {
		display: none;
	}

	.snah-card__seal .snah-icon {
		width: 24px;
		height: 24px;
	}

	.snah-person-card {
		padding: 18px 15px;
	}

	.snah-person-card__top {
		align-items: flex-start;
		gap: 14px;
	}

	.snah-person-card__avatar {
		--snah-avatar: 70px;
	}

	.snah-person-card__identity h3,
	.et_pb_post_content .snah-person-card__identity h3 {
		font-size: 19px;
	}

	.snah-trace {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 17px;
	}

	.snah-trace::before {
		top: 31px;
		bottom: 31px;
		left: 33px;
		right: auto;
		width: 1px;
		height: auto;
	}

	.snah-trace__item {
		grid-template-columns: 34px minmax(0, 1fr);
		grid-template-rows: auto auto;
		justify-items: start;
		column-gap: 12px;
		text-align: left;
	}

	.snah-trace__dot {
		grid-row: 1 / 3;
		margin: 0;
	}

	.snah-trace__item small {
		align-self: end;
	}

	.snah-trace__item strong {
		align-self: start;
	}

	.snah-card__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.snah-topic-pill,
	.snah-method-link {
		justify-content: center;
		max-width: none;
		width: 100%;
		text-align: center;
	}

	.snah-profile-hero {
		grid-template-columns: 1fr;
		justify-items: center;
		padding: 28px 20px;
		text-align: center;
	}

	.snah-profile-hero__meta,
	.snah-profile-hero__topics {
		justify-content: center;
	}
}

@media (max-width: 410px) {
	.snah-card__seal {
		display: none;
	}

	.snah-status-badge {
		align-items: flex-start;
		white-space: normal;
	}

	.snah-person-card__top {
		align-items: center;
	}

	.snah-person-card__avatar {
		--snah-avatar: 62px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.snah-ui *,
	.snah-ui *::before,
	.snah-ui *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.snah-authority-card,
	.snah-byline,
	.snah-profile-hero {
		break-inside: avoid;
		box-shadow: none !important;
		background: white !important;
	}

	.snah-card__orb,
	.snah-card__grid {
		display: none;
	}
}
