/*
 * 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;
}

/* Visible only to connected administrators when a shortcode cannot render. */
.snah-shortcode-notice {
	display: grid;
	gap: 4px;
	width: min(100%, 1120px);
	margin: 18px auto;
	padding: 14px 16px;
	color: #5c4308;
	background: #fff8df;
	border: 1px solid #e8cf8c;
	border-left: 4px solid #b7790b;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
}

.snah-shortcode-notice strong {
	color: #173f39;
}

/* 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);
}

.snah-byline__reviewer {
	color: var(--snah-primary);
}

/* 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-bio-disclosure > summary {
	display: grid;
	gap: 9px;
	color: inherit;
	cursor: pointer;
	list-style: none;
}

.snah-bio-disclosure > summary::-webkit-details-marker {
	display: none;
}

.snah-bio-disclosure__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	color: var(--snah-primary);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .02em;
	line-height: 1.4;
}

.snah-bio-disclosure__toggle > span[aria-hidden="true"] {
	display: inline-block;
	font-size: 12px;
	transition: transform .2s ease;
}

.snah-bio-disclosure__less,
.snah-bio-disclosure__full {
	display: none;
}

.snah-bio-disclosure[open] .snah-bio-disclosure__preview,
.snah-bio-disclosure[open] .snah-bio-disclosure__more {
	display: none;
}

.snah-bio-disclosure[open] .snah-bio-disclosure__less,
.snah-bio-disclosure[open] .snah-bio-disclosure__full {
	display: block;
}

.snah-bio-disclosure[open] .snah-bio-disclosure__toggle > span[aria-hidden="true"] {
	transform: rotate(180deg);
}

.snah-bio-disclosure__full > p {
	margin: 0 !important;
	padding: 0;
	color: inherit !important;
	font: inherit;
}

.snah-bio-disclosure > summary:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--snah-accent) 70%, white);
	outline-offset: 4px;
	border-radius: 6px;
}

.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 {
	width: 16px;
	height: 16px;
	transition: transform .22s ease;
}

.snah-person-card__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 {
	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;
}

/* 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;
}

/* 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 {
		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;
	}
}

/* Public /auteurs/ directory and complete author profiles. */
.snah-public-template {
	min-height: 60vh;
	padding: clamp(34px, 5vw, 76px) 20px clamp(64px, 8vw, 120px);
	background: radial-gradient(circle at 10% 4%, rgba(247,184,75,.12), transparent 28%), linear-gradient(180deg, #f8fbfa 0, #fff 52%, #f5f9f8 100%);
}

.snah-public-hub {
	width: min(100%, var(--snah-max));
	margin-inline: auto;
	color: var(--snah-text);
}

.snah-public-hub h1,
.snah-public-hub h2,
.snah-public-hub h3,
.et_pb_section .snah-public-hub h1,
.et_pb_section .snah-public-hub h2,
.et_pb_section .snah-public-hub h3 {
	padding: 0;
	color: var(--snah-text);
	font-family: inherit;
}

.snah-public-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	color: var(--snah-muted);
	font-size: 12px;
	font-weight: 700;
}

.snah-public-breadcrumb a {
	color: var(--snah-primary) !important;
	text-decoration: none !important;
}

.snah-directory-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 42px;
	padding: clamp(34px, 6vw, 72px);
	overflow: hidden;
	background: radial-gradient(circle at 90% 0, rgba(247,184,75,.24), transparent 33%), linear-gradient(135deg, color-mix(in srgb, var(--snah-primary) 7%, white), white 72%);
	border: 1px solid var(--snah-border);
	border-radius: var(--snah-radius);
	box-shadow: var(--snah-shadow);
}

.snah-directory-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -100px;
	width: 250px;
	height: 250px;
	pointer-events: none;
	border: 42px solid color-mix(in srgb, var(--snah-primary) 7%, transparent);
	border-radius: 50%;
}

.snah-directory-hero__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.snah-directory-hero h1,
.et_pb_section .snah-directory-hero h1 {
	margin: 0 0 18px;
	font-size: clamp(36px, 6vw, 70px);
	font-weight: 850;
	letter-spacing: -.055em;
	line-height: .99;
}

.snah-directory-hero__content > p {
	max-width: 700px;
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: clamp(15px, 1.6vw, 19px);
	line-height: 1.7;
}

.snah-directory-stats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(96px, 1fr));
	gap: 10px;
}

.snah-directory-stats span {
	display: grid;
	place-items: center;
	min-height: 106px;
	padding: 15px;
	color: var(--snah-muted);
	background: rgba(255,255,255,.76);
	border: 1px solid color-mix(in srgb, var(--snah-border) 82%, white);
	border-radius: 20px;
	box-shadow: 0 12px 34px rgba(8,59,52,.08);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.15;
	text-transform: uppercase;
}

.snah-directory-stats strong {
	color: var(--snah-primary);
	font-size: 32px;
	letter-spacing: -.04em;
}

.snah-public-section {
	margin-top: clamp(58px, 8vw, 100px);
}

.snah-public-section__heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.snah-public-section__heading > span,
.snah-directory-method > div > span {
	display: block;
	margin-bottom: 7px;
	color: var(--snah-primary);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.snah-public-section__heading h2,
.et_pb_section .snah-public-section__heading h2,
.snah-directory-method h2,
.et_pb_section .snah-directory-method h2 {
	margin: 0 0 10px;
	font-size: clamp(29px, 4vw, 46px);
	font-weight: 850;
	letter-spacing: -.045em;
	line-height: 1.08;
}

.snah-public-section__heading p,
.snah-directory-method p {
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: 15px;
	line-height: 1.7;
}

.snah-directory-grid,
.snah-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.snah-directory-person {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: rgba(255,255,255,.9);
	border: 1px solid var(--snah-border);
	border-radius: min(var(--snah-radius), 26px);
	box-shadow: 0 17px 48px rgba(8,59,52,.08);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.snah-directory-person:hover {
	border-color: color-mix(in srgb, var(--snah-primary) 35%, var(--snah-border));
	box-shadow: 0 22px 54px rgba(8,59,52,.13);
	transform: translateY(-4px);
}

.snah-directory-person__top {
	position: relative;
	height: 210px;
	overflow: hidden;
	background: linear-gradient(140deg, color-mix(in srgb, var(--snah-primary) 11%, white), var(--snah-surface));
}

.snah-directory-person__top > img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.snah-directory-person__top .snah-profile-roles {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
}

.snah-profile-roles {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

.snah-profile-roles span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 6px 9px;
	color: var(--snah-primary);
	background: rgba(255,255,255,.93);
	border: 1px solid color-mix(in srgb, var(--snah-primary) 17%, transparent);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(8,59,52,.09);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
}

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

.snah-directory-person__content {
	padding: 23px 23px 12px;
}

.snah-directory-person__content h3,
.et_pb_section .snah-directory-person__content h3 {
	margin: 0 0 5px;
	font-size: 24px;
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.12;
}

.snah-directory-person__content h3 a {
	color: var(--snah-text) !important;
	text-decoration: none !important;
}

.snah-directory-person__job {
	min-height: 38px;
	margin: 0 0 12px !important;
	color: var(--snah-primary) !important;
	font-size: 12px !important;
	font-weight: 800;
	line-height: 1.45 !important;
}

.snah-directory-person__content > p:last-child {
	margin: 0;
	padding: 0;
	color: var(--snah-muted);
	font-size: 13px;
	line-height: 1.65;
}

.snah-directory-person__topics,
.snah-profile-page-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.snah-directory-person__topics {
	padding: 0 23px 20px;
}

.snah-directory-person__topics span,
.snah-profile-page-topics a {
	display: inline-flex;
	padding: 5px 8px;
	color: var(--snah-primary) !important;
	background: var(--snah-surface);
	border: 1px solid var(--snah-border);
	border-radius: 999px;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none !important;
}

.snah-directory-person footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 16px 23px 20px;
	border-top: 1px solid color-mix(in srgb, var(--snah-border) 70%, transparent);
}

.snah-directory-person footer > span {
	color: var(--snah-muted);
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.snah-directory-person footer a,
.snah-article-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--snah-primary) !important;
	font-size: 10px;
	font-weight: 850;
	line-height: 1.35;
	text-align: right;
	text-decoration: none !important;
}

.snah-directory-person footer .snah-icon,
.snah-article-card__link .snah-icon,
.snah-reviewed-list .snah-icon {
	width: 15px;
	height: 15px;
}

.snah-silo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.snah-silo-card {
	padding: 24px;
	background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--snah-surface) 80%, white));
	border: 1px solid var(--snah-border);
	border-radius: min(var(--snah-radius), 24px);
	box-shadow: 0 14px 40px rgba(8,59,52,.07);
}

.snah-silo-card > header {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 18px;
}

.snah-silo-card > header > span {
	display: grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	color: var(--snah-primary);
	background: color-mix(in srgb, var(--snah-accent) 25%, white);
	border-radius: 14px;
}

.snah-silo-card > header small,
.snah-silo-people > strong {
	display: block;
	color: var(--snah-muted);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.snah-silo-card > header small {
	margin-bottom: 2px;
}

.snah-silo-card h3,
.et_pb_section .snah-silo-card h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.snah-silo-card h3 a {
	color: var(--snah-text) !important;
	text-decoration: none !important;
}

.snah-silo-people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
}

.snah-silo-people > strong {
	grid-column: 1 / -1;
}

.snah-silo-person {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	padding: 8px;
	color: var(--snah-text) !important;
	background: rgba(255,255,255,.76);
	border: 1px solid color-mix(in srgb, var(--snah-border) 75%, white);
	border-radius: 12px;
	text-decoration: none !important;
}

.snah-silo-person img {
	display: block;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	margin: 0;
	object-fit: cover;
	border-radius: 50%;
}

.snah-silo-person span {
	display: grid;
	min-width: 0;
}

.snah-silo-person b,
.snah-silo-person small {
	overflow: hidden;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.snah-silo-person b { font-size: 11px; }
.snah-silo-person small { color: var(--snah-muted); font-size: 9px; }

.snah-directory-method {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px;
	margin-top: clamp(58px, 8vw, 100px);
	padding: clamp(26px, 4vw, 42px);
	background: linear-gradient(130deg, color-mix(in srgb, var(--snah-primary) 8%, white), white);
	border: 1px solid var(--snah-border);
	border-radius: min(var(--snah-radius), 26px);
}

.snah-directory-method__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	color: var(--snah-primary);
	background: color-mix(in srgb, var(--snah-accent) 34%, white);
	border-radius: 17px;
}

.snah-public-empty {
	padding: 24px;
	color: var(--snah-muted);
	background: var(--snah-surface);
	border: 1px dashed var(--snah-border);
	border-radius: 18px;
	font-size: 14px;
}

.snah-profile-page-hero {
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	align-items: center;
	gap: clamp(30px, 6vw, 74px);
	padding: clamp(28px, 5vw, 62px);
	background: radial-gradient(circle at 0 100%, rgba(247,184,75,.18), transparent 36%), linear-gradient(140deg, white, var(--snah-surface));
	border: 1px solid var(--snah-border);
	border-radius: var(--snah-radius);
	box-shadow: var(--snah-shadow);
}

.snah-profile-page-hero__image { position: relative; }

.snah-profile-page-hero__image > img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin: 0;
	object-fit: cover;
	border: 7px solid rgba(255,255,255,.9);
	border-radius: min(var(--snah-radius), 30px);
	box-shadow: 0 22px 60px rgba(8,59,52,.18);
}

.snah-profile-page-hero__image > span {
	position: absolute;
	right: -10px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	color: white;
	background: var(--snah-primary);
	border: 5px solid white;
	border-radius: 50%;
}

.snah-back-directory {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 24px;
	color: var(--snah-primary) !important;
	font-size: 11px;
	font-weight: 850;
	text-decoration: none !important;
}

.snah-back-directory .snah-icon { width: 15px; height: 15px; }

.snah-profile-page-hero h1,
.et_pb_section .snah-profile-page-hero h1 {
	margin: 0 0 8px;
	font-size: clamp(38px, 6vw, 70px);
	font-weight: 850;
	letter-spacing: -.055em;
	line-height: 1;
}

.snah-profile-page-hero__job {
	margin: 0 0 16px !important;
	padding: 0;
	color: var(--snah-primary) !important;
	font-size: clamp(15px, 2vw, 19px);
	font-weight: 800;
}

.snah-profile-page-hero__content > .snah-profile-roles { margin-bottom: 18px; }

.snah-profile-page-hero__bio {
	max-width: 740px;
	margin: 0 0 20px !important;
	padding: 0;
	color: var(--snah-muted) !important;
	font-size: 15px;
	line-height: 1.75;
}

.snah-article-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: white;
	border: 1px solid var(--snah-border);
	border-radius: min(var(--snah-radius), 22px);
	box-shadow: 0 15px 42px rgba(8,59,52,.07);
}

.snah-article-card__image {
	display: grid;
	place-items: center;
	height: 188px;
	overflow: hidden;
	color: var(--snah-primary) !important;
	background: linear-gradient(135deg, var(--snah-surface), rgba(247,184,75,.16));
}

.snah-article-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .35s ease;
}

.snah-article-card:hover .snah-article-card__image img { transform: scale(1.035); }
.snah-article-card__image .snah-icon { width: 42px; height: 42px; }

.snah-article-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 21px;
}

.snah-article-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--snah-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.snah-article-card__meta a { color: var(--snah-primary) !important; text-decoration: none !important; }

.snah-article-card h3,
.et_pb_section .snah-article-card h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.24;
}

.snah-article-card h3 a { color: var(--snah-text) !important; text-decoration: none !important; }

.snah-article-card__content > p {
	margin: 0 0 18px;
	padding: 0;
	color: var(--snah-muted);
	font-size: 12px;
	line-height: 1.65;
}

.snah-article-card__link { margin-top: auto; align-self: flex-start; }

.snah-reviewed-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.snah-reviewed-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 18px;
	color: var(--snah-text) !important;
	background: white;
	border: 1px solid var(--snah-border);
	border-radius: 14px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none !important;
}

.snah-reviewed-list a .snah-icon { color: var(--snah-primary); }

.snah-pagination { margin-top: 32px; }

.snah-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snah-pagination .page-numbers a,
.snah-pagination .page-numbers span {
	display: grid;
	place-items: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 11px;
	color: var(--snah-primary) !important;
	background: white;
	border: 1px solid var(--snah-border);
	border-radius: 11px;
	font-size: 11px;
	font-weight: 850;
	text-decoration: none !important;
}

.snah-pagination .page-numbers .current {
	color: white !important;
	background: var(--snah-primary);
	border-color: var(--snah-primary);
}

@media (max-width: 980px) {
	.snah-directory-grid,
	.snah-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.snah-directory-hero { grid-template-columns: 1fr; align-items: start; }
	.snah-directory-stats { width: min(100%, 330px); }
	.snah-profile-page-hero { grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); }
}

@media (max-width: 700px) {
	.snah-public-template { padding: 24px 14px 70px; }
	.snah-directory-hero,
	.snah-profile-page-hero { padding: 25px 20px; }
	.snah-directory-grid,
	.snah-silo-grid,
	.snah-article-grid,
	.snah-reviewed-list,
	.snah-profile-page-hero { grid-template-columns: 1fr; }
	.snah-profile-page-hero__image { width: min(76vw, 260px); }
	.snah-silo-people { grid-template-columns: 1fr; }
	.snah-directory-method { grid-template-columns: 1fr; }
	.snah-directory-person footer { align-items: flex-start; flex-direction: column; }
	.snah-directory-person footer a { text-align: left; }
}
