/* ==========================================================
   Link in Bio — Libreria Fantastica
   ========================================================== */

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body.lf-bio-page {
	background: #F7F6F3;
	color: #111111;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* Wrap */
.lf-bio-wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 52px 20px 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
}

/* Admin bar offset */
body.admin-bar .lf-bio-wrap {
	padding-top: 84px;
}

/* ---- Header ---- */
.lf-bio-header {
	text-align: center;
	width: 100%;
}

.lf-bio-header .custom-logo-link {
	display: inline-block;
}

.lf-bio-header .custom-logo {
	max-width: 160px;
	height: auto;
}

.lf-bio-site-name {
	font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: 1.75rem;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: #111111;
}

/* ---- Link list ---- */
.lf-bio-links {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lf-bio-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffffff;
	border: 1px solid rgba(17, 17, 17, 0.09);
	border-radius: 12px;
	padding: 16px 20px;
	text-decoration: none;
	color: #111111;
	transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
	gap: 12px;
}

.lf-bio-link:hover,
.lf-bio-link:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(17, 17, 17, 0.09);
	border-color: rgba(17, 17, 17, 0.16);
	outline: none;
}

.lf-bio-link-inner {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
	min-width: 0;
}

.lf-bio-link-title {
	font-family: 'DM Serif Display', Georgia, serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.35;
	color: #111111;
}

.lf-bio-link-desc {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #666666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lf-bio-link-arrow {
	font-size: 1rem;
	color: #bbbbbb;
	flex-shrink: 0;
	transition: transform 0.14s ease, color 0.14s ease;
}

.lf-bio-link:hover .lf-bio-link-arrow,
.lf-bio-link:focus-visible .lf-bio-link-arrow {
	transform: translateX(3px);
	color: #111111;
}

/* ---- Empty state ---- */
.lf-bio-empty {
	font-size: 0.9rem;
	color: #999;
	text-align: center;
}

/* ---- Footer ---- */
.lf-bio-footer {
	text-align: center;
}

.lf-bio-home-link {
	font-size: 0.8125rem;
	color: #999999;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: color 0.14s ease;
}

.lf-bio-home-link:hover {
	color: #111111;
}
