/* Author box styles ported from seonami-theme */
.sn-article-author-slot {
	margin: 2.75rem 0;
}

.sn-article-author-slot--top {
	margin-top: 0;
	margin-bottom: 2.75rem;
}

.sn-article-author-slot--bottom {
	margin: 3rem 1.25rem 0;
}

	.sn-article-author-slot--bottom {
		margin: 3rem 0 0;
	}

.sn-article-author__card {
	position: relative;
	border-radius: 22px;
	background: linear-gradient(165deg, #ffffff 0%, #fdfcff 55%, #fffafd 100%);
	border: 1px solid rgba(103, 61, 230, 0.14);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 1px 2px rgba(31, 19, 70, 0.04),
		0 20px 50px rgba(31, 19, 70, 0.1);
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.sn-article-author__card:hover {
	transform: translateY(-3px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 2px 4px rgba(31, 19, 70, 0.05),
		0 28px 60px rgba(31, 19, 70, 0.13);
}

.sn-article-author__card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #087f78 0%, #9b7dff 28%, #f59e42 62%, #b89cff 85%, #087f78 100%);
	background-size: 220% 100%;
	z-index: 3;
	animation: sn-author-shimmer 9s linear infinite;
}

	.sn-article-author__card {
		transition: none;
	}

	.sn-article-author__card:hover {
		transform: none;
	}

	.sn-article-author__card::before {
		animation: none;
	}

.sn-article-author__grain {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
	background-size: 128px 128px;
	pointer-events: none;
	z-index: 1;
	mix-blend-mode: soft-light;
}

.sn-article-author__decor {
	position: absolute;
	top: -35%;
	right: -18%;
	width: 55%;
	height: 95%;
	background: radial-gradient(circle, rgba(103, 61, 230, 0.09) 0%, transparent 68%);
	pointer-events: none;
	z-index: 0;
}

.sn-article-author__decor::after {
	content: "";
	position: absolute;
	bottom: -45%;
	left: -85%;
	width: 75%;
	height: 85%;
	background: radial-gradient(circle, rgba(252, 81, 133, 0.07) 0%, transparent 70%);
}

.sn-article-author__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
}

	.sn-article-author__inner {
		grid-template-columns: 210px 1fr;
		min-height: 240px;
	}

.sn-article-author__media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.85rem 1.25rem 1.65rem;
	background:
		linear-gradient(165deg, rgba(247, 244, 255, 0.95) 0%, rgba(250, 251, 255, 0.9) 50%, rgba(255, 246, 250, 0.92) 100%);
	border-bottom: 1px solid rgba(103, 61, 230, 0.08);
	backdrop-filter: blur(6px);
}

	.sn-article-author__media {
		padding: 2rem 1.15rem;
		border-bottom: none;
		border-left: 1px solid rgba(103, 61, 230, 0.08);
	}

.sn-article-author__avatar-ring {
	position: relative;
	padding: 4px;
	border-radius: 50%;
	background: conic-gradient(from 210deg, #087f78, #f59e42, #d4c2ff, #087f78);
	box-shadow:
		0 0 0 6px rgba(103, 61, 230, 0.06),
		0 16px 40px rgba(103, 61, 230, 0.24);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.sn-article-author__card:hover .sn-article-author__avatar-ring {
	transform: scale(1.03);
	box-shadow:
		0 0 0 8px rgba(103, 61, 230, 0.08),
		0 20px 48px rgba(103, 61, 230, 0.28);
}

	.sn-article-author__avatar-ring {
		margin-left: -12px;
	}

.sn-article-author__avatar-wrap {
	position: relative;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
}

	.sn-article-author__avatar-wrap {
		width: 132px;
		height: 132px;
	}

.sn-article-author__avatar {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sn-article-author__shine {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: linear-gradient(
		125deg,
		rgba(255, 255, 255, 0.5) 0%,
		rgba(255, 255, 255, 0.08) 40%,
		transparent 58%
	);
	pointer-events: none;
}

.sn-article-author__verified {
	position: absolute;
	bottom: 4px;
	left: 4px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, #087f78, #4f2db8);
	border: 2.5px solid #fff;
	box-shadow: 0 4px 12px rgba(103, 61, 230, 0.35);
}

.sn-article-author__verified svg {
	width: 14px;
	height: 14px;
}

.sn-article-author__body {
	position: relative;
	padding: 1.45rem 1.4rem 1.55rem;
}

	.sn-article-author__body {
		padding: 1.7rem 1.85rem 1.75rem 1.65rem;
	}

.sn-article-author__mark {
	position: absolute;
	top: 0.65rem;
	left: 1rem;
	width: 52px;
	height: 52px;
	opacity: 0.07;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23673de6'%3E%3Cpath d='M6 17h3l7-7-3-3-7 7v3zm12-9.5a1.5 1.5 0 0 0 0-2.12l-2.38-2.38a1.5 1.5 0 0 0-2.12 0l-1.59 1.59 3.5 3.5 1.59-1.59z'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

.sn-prose .sn-article-author__body p,
.sn-prose .sn-article-author__body h3,
.sn-prose .sn-article-author__body blockquote {
	color: inherit;
	margin-bottom: 0;
}

.sn-article-author__head {
	position: relative;
	margin-bottom: 0.9rem;
	padding-left: 0.15rem;
}

.sn-article-author__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.6rem;
	padding: 0.32rem 0.78rem 0.32rem 0.65rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #fff;
	background: linear-gradient(135deg, #5f32e0, #7c55eb);
	box-shadow: 0 4px 14px rgba(103, 61, 230, 0.32);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.sn-article-author__badge-icon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	opacity: 0.95;
}

.sn-article-author__name {
	margin: 0 0 0.4rem;
	font-size: 1.48rem;
	font-weight: 900;
	line-height: 1.32;
	color: #1f1346;
	letter-spacing: -0.025em;
}

.sn-article-author__tagline {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.6;
	color: #5c538a;
}

.sn-article-author__bio {
	position: relative;
	margin: 0 0 1.05rem;
	padding: 0.95rem 1rem 0.95rem 0;
	border: none;
	border-top: 1px solid rgba(103, 61, 230, 0.1);
	border-right: 3px solid rgba(103, 61, 230, 0.35);
	border-radius: 0 12px 12px 0;
	background: linear-gradient(90deg, rgba(103, 61, 230, 0.04) 0%, transparent 100%);
}

.sn-article-author__bio::before {
	content: "\201C";
	position: absolute;
	top: -0.15rem;
	right: 0.35rem;
	font-size: 2.6rem;
	line-height: 1;
	font-weight: 900;
	color: rgba(103, 61, 230, 0.14);
	font-family: Georgia, "Times New Roman", serif;
	pointer-events: none;
}

.sn-article-author__bio p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.9;
	color: #3d3560;
	font-style: normal;
}

.sn-article-author__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.45rem 0.55rem;
	margin-bottom: 1.15rem;
}

.sn-article-author__tags-label {
	flex: 0 0 100%;
	font-size: 0.7rem;
	font-weight: 800;
	color: #8a82b0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sn-article-author__tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
}

.sn-article-author__tag {
	display: inline-flex;
	padding: 0.34rem 0.78rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #4a3d8f;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(103, 61, 230, 0.14);
	box-shadow: 0 2px 6px rgba(103, 61, 230, 0.06);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sn-article-author__tag:hover {
	transform: translateY(-1px);
	border-color: rgba(103, 61, 230, 0.28);
	box-shadow: 0 4px 10px rgba(103, 61, 230, 0.1);
}

.sn-article-author__connect {
	padding-top: 0.35rem;
	border-top: 1px dashed rgba(103, 61, 230, 0.16);
}

.sn-article-author__connect-label {
	display: block;
	margin-bottom: 0.65rem;
	font-size: 0.7rem;
	font-weight: 800;
	color: #8a82b0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sn-article-author__viewport-mobile {
	display: none;
}

.sn-article-author__socials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

	.sn-article-author__socials {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}

.sn-article-author__social {
	display: flex;
	align-items: center;
	gap: 0.62rem;
	padding: 0.58rem 0.72rem;
	border-radius: 13px;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	color: #1f1346;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(103, 61, 230, 0.12);
	box-shadow: 0 2px 8px rgba(31, 19, 70, 0.05);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.sn-article-author__social::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-right: auto;
	opacity: 0;
	transform: translateX(4px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23673de6'%3E%3Cpath d='M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.sn-article-author__social:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(31, 19, 70, 0.11);
	color: #1f1346;
}

.sn-article-author__social:hover::after {
	opacity: 0.55;
	transform: translateX(0);
}

.sn-article-author__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	flex-shrink: 0;
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 4px 10px rgba(31, 19, 70, 0.12);
	transition: transform 0.22s ease;
}

.sn-article-author__social:hover .sn-article-author__social-icon {
	transform: scale(1.06);
}

.sn-article-author__social-icon svg {
	width: 17px;
	height: 17px;
}

.sn-article-author__social-text {
	line-height: 1.25;
}

.sn-article-author__social--ig .sn-article-author__social-icon {
	background: linear-gradient(135deg, #f77737, #e1306c, #c13584);
}

.sn-article-author__social--ig:hover {
	border-color: rgba(225, 48, 108, 0.35);
	background: #fff8fc;
}

.sn-article-author__social--in .sn-article-author__social-icon {
	background: linear-gradient(135deg, #0a66c2, #004182);
}

.sn-article-author__social--in:hover {
	border-color: rgba(10, 102, 194, 0.35);
	background: #f5faff;
}

.sn-article-author__social--tg .sn-article-author__social-icon {
	background: linear-gradient(135deg, #2aabee, #229ed9);
}

.sn-article-author__social--tg:hover {
	border-color: rgba(34, 158, 217, 0.35);
	background: #f0faff;
}

.sn-article-author__social--web .sn-article-author__social-icon {
	background: linear-gradient(135deg, #087f78, #4f2db8);
}

.sn-article-author__social--web:hover {
	border-color: rgba(103, 61, 230, 0.35);
	background: #f8f6ff;
}

	.sn-article-author-slot--bottom {
		margin-top: 2.25rem;
	}

	.sn-article-author__viewport-desktop {
		display: none !important;
	}

	.sn-article-author__viewport-mobile {
		display: block;
	}

	.sn-article-author__accordions {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		margin-top: 0.75rem;
	}

	.sn-article-author__accordion {
		border: 1px solid rgba(103, 61, 230, 0.14);
		border-radius: 12px;
		background: #fff;
		overflow: hidden;
		box-shadow: 0 2px 10px rgba(31, 19, 70, 0.05);
	}

	.sn-article-author__accordion-btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.65rem;
		width: 100%;
		padding: 0.78rem 0.9rem;
		font-size: 0.84rem;
		font-weight: 800;
		color: #1f1346;
		background: linear-gradient(180deg, #ffffff 0%, #f9f8ff 100%);
		cursor: pointer;
		list-style: none;
		user-select: none;
		-webkit-tap-highlight-color: transparent;
		transition: background 0.2s ease;
	}

	.sn-article-author__accordion-btn::-webkit-details-marker {
		display: none;
	}

	.sn-article-author__accordion-label {
		line-height: 1.35;
	}

	.sn-article-author__accordion-chevron {
		flex-shrink: 0;
		width: 9px;
		height: 9px;
		margin-top: -3px;
		border-right: 2.5px solid var(--sn-purple);
		border-bottom: 2.5px solid var(--sn-purple);
		transform: rotate(45deg);
		transition: transform 0.25s ease;
	}

	.sn-article-author__accordion[open] .sn-article-author__accordion-chevron {
		transform: rotate(-135deg);
		margin-top: 3px;
	}

	.sn-article-author__accordion[open] .sn-article-author__accordion-btn {
		background: rgba(103, 61, 230, 0.07);
		box-shadow: inset 0 -1px 0 rgba(103, 61, 230, 0.1);
	}

	.sn-article-author__accordion-panel {
		padding: 0.75rem 0.85rem 0.85rem;
		border-top: 1px solid rgba(103, 61, 230, 0.08);
		background: rgba(250, 251, 255, 0.85);
		animation: sn-author-accordion-in 0.22s ease;
	}

		.sn-article-author__accordion-panel {
			animation: none;
		}

		.sn-article-author__accordion-chevron {
			transition: none;
		}

	.sn-article-author__socials {
		grid-template-columns: 1fr;
	}

	.sn-article-author__social-text {
		font-size: 0.78rem;
	}

	.sn-article-author__tags {
		margin-bottom: 0;
	}


