/**
 * WF Widgets Styles
 *
 * @package WF_Widgets
 */

/* WF Authorbox Widget - Horizontal Layout (Default) */
.wf-authorbox {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	background-color: hsl(0, 0%, 100%);
	padding: 2rem;
	border-radius: 0.75rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	border: 1px solid hsl(214, 32%, 91%); 
	width: 100%;
}

/* Profile Image Wrapper */
.wf-authorbox .wf-authorbox-avatar-wrapper {
	flex-shrink: 0;
}

.wf-authorbox .wf-authorbox-avatar img {
 
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* Content */
.wf-authorbox .wf-authorbox-content {
	flex: 1;
	min-width: 0;
	margin-top: 0 !important;
}

.wf-authorbox .wf-authorbox-header {
	margin-bottom: 0.5rem;
}

.wf-authorbox .wf-authorbox-name-title {
	margin: 0;
	line-height: 1.4;
	margin-bottom: 10px;
}

.wf-authorbox .wf-authorbox-name { 
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 150%;  
	color: #000000; 
	display: inline;
}

.wf-authorbox .wf-authorbox-surname {
	font-size: 1.25rem;
	font-weight: 600;
	color: hsl(222, 47%, 11%);
	margin: 0;
}

.wf-authorbox .wf-authorbox-title-separator {
	display: inline;
}

.wf-authorbox .wf-authorbox-title {
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 140%;
	color: #2A2D2D;
	display: inline;
}

.wf-authorbox .wf-authorbox-bio { 
font-family: 'Work Sans';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 150%; 
color: #000000; 
margin-bottom: 40px;

}

.wf-authorbox .wf-authorbox-bio a {
	color: hsl(221, 83%, 53%);
	font-weight: 500;
	text-decoration: none;
}

.wf-authorbox .wf-authorbox-bio a:hover {
	text-decoration: underline;
}

/* Custom Fields */
.wf-authorbox .wf-authorbox-field {
	margin-bottom: 0.5rem;
	line-height: 1.5;
	color: hsl(222, 47%, 11%);
}

.wf-authorbox .wf-authorbox-field-label {
	font-weight: 600;
}

.wf-authorbox .wf-authorbox-field-value {
	font-weight: normal;
}

/* Social Links */
.wf-authorbox .wf-authorbox-social {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.wf-authorbox .wf-authorbox-social a,
.wf-authorbox .wf-authorbox-social-link { 
	 color: #C12029;
}
.wf-authorbox .wf-authorbox-social a:hover,
.wf-authorbox .wf-authorbox-social-link:hover { 
	opacity: .6;
	background-color: transparent !important;
}

.wf-authorbox .wf-authorbox-social a:hover,
.wf-authorbox .wf-authorbox-social-link:hover { 
}
 
.wf-authorbox .wf-authorbox-social a svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Vertical Layout */
.wf-authorbox.layout-vertical {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.wf-authorbox.layout-vertical .wf-authorbox-avatar-wrapper {
	margin-bottom: 1rem;
}

.wf-authorbox.layout-vertical .wf-authorbox-social {
	justify-content: center;
}

/* Responsive Styles */
@media (max-width: 640px) {
	.wf-authorbox {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.5rem;
	}

	.wf-authorbox-social {
		justify-content: center;
	}
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
	.wf-authorbox {
		background-color: hsl(222, 47%, 11%);
		border-color: hsl(217, 33%, 18%);
	}

	.wf-authorbox-name,
	.wf-authorbox-surname {
		color: hsl(210, 40%, 98%);
	}

	.wf-authorbox-title {
		color: hsl(215, 20%, 65%);
	}

	.wf-authorbox-bio {
		color: hsl(210, 40%, 98%);
	}

	.wf-authorbox-field {
		color: hsl(210, 40%, 98%);
	}

	.wf-authorbox-social a,
	.wf-authorbox-social-link {
		background-color: hsl(210, 40%, 98%);
		color: hsl(222, 47%, 11%);
	}
}

