/*
 * CiviCRM UI Boost – [cub_member_links] header login / account links.
 * The links use the surrounding text colour (e.g. Kadence's top bar
 * colour). Override any of this in Appearance → Customize → Additional CSS.
 */

.aln-member-links {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
}

.aln-member-links a {
	color: inherit;
	text-decoration: none;
}

.aln-member-links a:hover,
.aln-member-links a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Thin divider between "My account" and "Log out" */
.aln-member-account::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 1em;
	margin-left: 1.25rem;
	vertical-align: middle;
	background: currentColor;
	opacity: 0.4;
}

/* Member links inside Kadence's mobile slide-in menu
   (a mobile HTML element in the Off Canvas area) */
#mobile-drawer .aln-member-links {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-top: 1rem;
	border-top: 1px solid rgba(128, 128, 128, 0.3);
}

#mobile-drawer .aln-member-links a {
	display: block;
	padding: 0.9em 0 0.9em 0.5rem;
	border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

/* No divider line between the links here */
#mobile-drawer .aln-member-account::after {
	display: none;
}
