/* Single-post author bio — AppsInsight */

.appsinsight-author-bio {
	--appsinsight-author-bio-accent: var(--listeo-primary-color, #f91942);
	--appsinsight-author-bio-surface: #ffffff;
	--appsinsight-author-bio-border: color-mix(in srgb, #1a1a1a 8%, transparent);
	--appsinsight-author-bio-muted: #5c6370;
	--appsinsight-author-bio-shadow: 0 1px 2px rgba(15, 23, 42, 0.06),
		0 12px 32px -8px rgba(15, 23, 42, 0.12);
	margin: 1.25rem 0 3rem;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.appsinsight-author-bio__inner {
	position: relative;
	padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2rem);
	background: var(--appsinsight-author-bio-surface);
	border: 1px solid var(--appsinsight-author-bio-border);
	border-radius: 16px;
	box-shadow: var(--appsinsight-author-bio-shadow);
	overflow: hidden;
}

.appsinsight-author-bio__inner::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(
		180deg,
		var(--appsinsight-author-bio-accent),
		color-mix(in srgb, var(--appsinsight-author-bio-accent) 45%, transparent)
	);
	border-radius: 16px 0 0 16px;
}

/* Section label: same column as name, shared left edge */
.appsinsight-author-bio__title {
	margin: 0 0 0.35rem;
	padding: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.45;
	color: #3d4450;
	text-align: inherit;
}

.appsinsight-author-bio__body {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(1rem, 3vw, 1.5rem);
	align-items: start;
	padding-inline-start: 0.35rem;
}

.appsinsight-author-bio__media {
	margin: 0;
}

.appsinsight-author-bio__avatar-img {
	display: block;
	width: min(104px, 26vw) !important;
	height: min(104px, 26vw) !important;
	max-width: none !important;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
	margin: 0 !important;
	float: none !important;
}

.appsinsight-author-bio__main {
	min-width: 0;
}

.appsinsight-author-bio__name {
	margin: 0 0 0.25rem;
	font-size: 2.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.4;
	color: #1a1d24;
}

.appsinsight-author-bio__name-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.appsinsight-author-bio__name-link:hover,
.appsinsight-author-bio__name-link:focus,
.appsinsight-author-bio__name-link:focus-visible,
.appsinsight-author-bio__name-link:active {
	color: var(--appsinsight-author-bio-accent);
	text-decoration: none;
}

.appsinsight-author-bio__position {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--appsinsight-author-bio-muted);
	line-height: 1.45;
}

.appsinsight-author-bio__text {
	font-size: 0.98rem;
	line-height: 1.65;
	color: #3d4450;
}

.appsinsight-author-bio__text > *:first-child {
	margin-top: 0;
}

.appsinsight-author-bio__text > *:last-child {
	margin-bottom: 0;
}

.appsinsight-author-bio__links {
	margin-top: 1.25rem;
	padding-top: 1.15rem;
	border-top: 1px solid color-mix(in srgb, #1a1a1a 8%, transparent);
}

.appsinsight-author-bio__links-label {
	display: block;
	margin-bottom: 0.65rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8b909a;
}

.appsinsight-author-bio__links-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.appsinsight-author-bio__links-item {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	line-height: 0;
}

.appsinsight-author-bio__social {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	--social-bg: var(--appsinsight-author-bio-accent);
	--social-fg: var(--appsinsight-author-bio-accent);
	--social-soft: color-mix(in srgb, var(--appsinsight-author-bio-accent) 14%, #fff);
	background: var(--social-soft);
	color: var(--social-fg);
	text-decoration: none;
	line-height: 1;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease,
		box-shadow 0.2s ease, filter 0.2s ease;
}

/* Platform brand colors: soft tint at rest, full brand + white icon on hover */
.appsinsight-author-bio__social--facebook {
	--social-bg: #1877f2;
	--social-fg: #1877f2;
	--social-soft: rgba(24, 119, 242, 0.12);
}

.appsinsight-author-bio__social--instagram {
	--social-bg: #e4405c;
	--social-fg: #e4405c;
	--social-soft: rgba(228, 64, 92, 0.14);
}

.appsinsight-author-bio__social--linkedin {
	--social-bg: #0a66c2;
	--social-fg: #0a66c2;
	--social-soft: rgba(10, 102, 194, 0.12);
}

.appsinsight-author-bio__social--youtube {
	--social-bg: #ff0000;
	--social-fg: #ff0000;
	--social-soft: rgba(255, 0, 0, 0.12);
}

.appsinsight-author-bio__social--pinterest {
	--social-bg: #e60023;
	--social-fg: #e60023;
	--social-soft: rgba(230, 0, 35, 0.12);
}

.appsinsight-author-bio__social--x {
	--social-bg: #000000;
	--social-fg: #1a1a1a;
	--social-soft: rgba(0, 0, 0, 0.08);
}

.appsinsight-author-bio__social--mastodon {
	--social-bg: #6364ff;
	--social-fg: #6364ff;
	--social-soft: rgba(99, 100, 255, 0.14);
}

.appsinsight-author-bio__social--tiktok {
	--social-bg: #000000;
	--social-fg: #1a1a1a;
	--social-soft: rgba(0, 0, 0, 0.08);
}

.appsinsight-author-bio__social--twitch {
	--social-bg: #9146ff;
	--social-fg: #9146ff;
	--social-soft: rgba(145, 70, 255, 0.14);
}

.appsinsight-author-bio__social--github {
	--social-bg: #24292f;
	--social-fg: #24292f;
	--social-soft: rgba(36, 41, 47, 0.12);
}

.appsinsight-author-bio__social--whatsapp {
	--social-bg: #25d366;
	--social-fg: #25d366;
	--social-soft: rgba(37, 211, 102, 0.14);
}

.appsinsight-author-bio__social--telegram {
	--social-bg: #26a5e4;
	--social-fg: #0088cc;
	--social-soft: rgba(0, 136, 204, 0.12);
}

.appsinsight-author-bio__social--medium {
	--social-bg: #000000;
	--social-fg: #1a1a1a;
	--social-soft: rgba(0, 0, 0, 0.08);
}

.appsinsight-author-bio__social--substack {
	--social-bg: #ff6719;
	--social-fg: #ff6719;
	--social-soft: rgba(255, 103, 25, 0.14);
}

.appsinsight-author-bio__social--chain {
	--social-bg: var(--appsinsight-author-bio-accent);
	--social-fg: var(--appsinsight-author-bio-accent);
	--social-soft: color-mix(in srgb, var(--appsinsight-author-bio-accent) 14%, #fff);
}

.appsinsight-author-bio__social:hover,
.appsinsight-author-bio__social:focus-visible {
	background: var(--social-bg);
	color: #fff;
	filter: none;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--social-bg) 42%, transparent);
}

.appsinsight-author-bio__social--instagram:hover,
.appsinsight-author-bio__social--instagram:focus-visible {
	background: linear-gradient(
		45deg,
		#f09433 0%,
		#e6683c 25%,
		#dc2743 50%,
		#cc2366 75%,
		#bc1888 100%
	);
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(225, 48, 108, 0.4);
}

/* Font Awesome: flex centers ::before glyph inside fixed box (consistent vertical alignment) */
.appsinsight-author-bio__social i {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.0625rem;
	line-height: 1;
	font-style: normal;
	font-weight: inherit;
	width: 1em;
	height: 1em;
	margin: 0;
	padding: 0;
	pointer-events: none;
	-webkit-font-smoothing: antialiased;
}

.appsinsight-author-bio__social i::before {
	line-height: 1;
}

/* FA5 Free: brands vs solid need correct font-weight or glyphs mis-render */
.appsinsight-author-bio__social i.fab {
	font-weight: 400;
}

.appsinsight-author-bio__social i.fas {
	font-weight: 900;
}

@media (max-width: 576px) {
	.appsinsight-author-bio__body {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.appsinsight-author-bio__media {
		justify-self: center;
	}

	.appsinsight-author-bio__links-list {
		justify-content: center;
	}
}

/* Listeo dark mode */
body#dark-mode .appsinsight-author-bio__inner {
	--appsinsight-author-bio-surface: #232323;
	--appsinsight-author-bio-border: rgba(255, 255, 255, 0.08);
	background: #232323;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

body#dark-mode .appsinsight-author-bio__title {
	color: #b8bcc4;
}

body#dark-mode .appsinsight-author-bio__name {
	color: #f2f2f2;
}

body#dark-mode .appsinsight-author-bio__name-link:hover,
body#dark-mode .appsinsight-author-bio__name-link:focus-visible {
	color: #fff;
}

body#dark-mode .appsinsight-author-bio__position {
	color: #a8adb8;
}

body#dark-mode .appsinsight-author-bio__text {
	color: #c5c9d1;
}

body#dark-mode .appsinsight-author-bio__links {
	border-top-color: rgba(255, 255, 255, 0.08);
}

body#dark-mode .appsinsight-author-bio__links-label {
	color: #8f96a3;
}

body#dark-mode .appsinsight-author-bio__social--facebook {
	--social-soft: rgba(24, 119, 242, 0.22);
}
body#dark-mode .appsinsight-author-bio__social--instagram {
	--social-soft: rgba(228, 64, 92, 0.22);
}
body#dark-mode .appsinsight-author-bio__social--linkedin {
	--social-soft: rgba(10, 102, 194, 0.22);
}
body#dark-mode .appsinsight-author-bio__social--youtube {
	--social-soft: rgba(255, 0, 0, 0.2);
}
body#dark-mode .appsinsight-author-bio__social--pinterest {
	--social-soft: rgba(230, 0, 35, 0.22);
}
body#dark-mode .appsinsight-author-bio__social--x,
body#dark-mode .appsinsight-author-bio__social--tiktok,
body#dark-mode .appsinsight-author-bio__social--medium {
	--social-fg: #e8e8e8;
	--social-soft: rgba(255, 255, 255, 0.12);
}
body#dark-mode .appsinsight-author-bio__social--mastodon {
	--social-soft: rgba(99, 100, 255, 0.25);
}
body#dark-mode .appsinsight-author-bio__social--twitch {
	--social-soft: rgba(145, 70, 255, 0.25);
}
body#dark-mode .appsinsight-author-bio__social--github {
	--social-fg: #e8eaed;
	--social-bg: #2f343b;
	--social-soft: rgba(232, 234, 237, 0.12);
}
body#dark-mode .appsinsight-author-bio__social--whatsapp {
	--social-soft: rgba(37, 211, 102, 0.22);
}
body#dark-mode .appsinsight-author-bio__social--telegram {
	--social-soft: rgba(38, 165, 228, 0.22);
}
body#dark-mode .appsinsight-author-bio__social--substack {
	--social-soft: rgba(255, 103, 25, 0.22);
}

body#dark-mode .appsinsight-author-bio__avatar-img {
	border-color: #2d2d2d;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
