/* Team block styles */
.team {
	padding: 40px 0;
}

.team__profiles {
	display: flex;
	gap: 30px;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.team__profile {
	position: relative;
	cursor: pointer;
}

.team__profile:hover .profile-card {
	display: block;
}

/* Profile styles */
.profile {
	display: flex;
	align-items: center;
	gap: 12px;
}

.profile__image {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.profile__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile__info {
	flex: 1;
}

.profile__name {
	margin: 0 0 4px 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	text-decoration: underline;
	text-decoration-color: #446eeb;
	text-underline-offset: 2px;
}

.profile__role {
	margin: 0;
	font-size: 13px;
	color: #666;
	font-weight: 500;
}

/* Profile card styles */
.profile-card {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 320px;
	background: white;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
	display: none;
	z-index: 1000;
	margin-top: 8px;
}

.profile-card:hover {
	display: block;
}

.profile-card::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid white;
}

.profile-card::after {
	content: '';
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
	height: 8px;
	background: transparent;
}

.profile-card__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.profile-card__image {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.profile-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-card__info {
	flex: 1;
}

.profile-card__name {
	margin: 0 0 4px 0;
	font-size: 18px;
	font-weight: 700;
	color: #333;
}

.profile-card__role {
	margin: 0;
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.profile-card__social {
	display: flex;
	gap: 6px;
}

.profile-card__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #446eeb;
	color: white;
	text-decoration: none;
}

.profile-card__social-link:hover {
	background: #3a5fd8;
}

.profile-card__social-link svg {
	width: 14px;
	height: 14px;
	fill: #fff;
	stroke: #fff;
}

.profile-card__description p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

/* Author block styles */
.author-block {
	padding: 40px 0;
}



.author-card {
	background: white;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
}

.author-card__profile {
	display: flex;
	align-items: center;
	gap: 16px;
}

.author-card__image {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.author-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-card__info {
	flex: 1;
}

.author-card__name {
	margin: 0 0 4px 0;
	font-size: 18px;
	font-weight: 600;
	color: #446eeb;
}

.author-card__role {
	margin: 0;
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.author-card__button {
	background: #e91e63;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.author-card__button:hover {
	background: #c2185b;
}

.author-card__content p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #333;
}

/* Q&A Section styles */
.qa-section {
	padding: 40px 0;
}



.qa-section__title {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin: 0 0 32px 0;
	text-align: center;
}

.qa-block {
	background: white;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qa-block:last-child {
	margin-bottom: 0;
}

.qa-block__question {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.qa-block__question p {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	line-height: 1.5;
}

.qa-block__question-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: #e74c3c;
	color: white;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 2px;
}

.qa-block__answer {
	margin-left: 36px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.qa-block__answer-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.qa-block__answer-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qa-block__answer-content {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 12px;
	border-left: 3px solid #27ae60;
	flex: 1;
}

.qa-block__answer-content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

/* New Author Section styles */
.author-section {
	padding: 40px 0;
}


.author-section__card {
	background: white;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.author-section__header {
	margin-bottom: 20px;
}

.author-section__profile {
	display: flex;
	align-items: center;
	gap: 16px;
}

.author-section__image {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.author-section__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-section__info {
	flex: 1;
}

.author-section__name {
	margin: 0 0 4px 0;
	font-size: 18px;
	font-weight: 600;
	color: #446eeb;
}

.author-section__role {
	margin: 0;
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.author-section__content {
	margin-bottom: 20px;
}

.author-section__content p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #333;
}

.author-section__divider {
	height: 1px;
	background: #e9ecef;
	margin-bottom: 20px;
}

.author-section__social {
	display: flex;
	gap: 8px;
}

.author-section__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: #446eeb;
	color: white;
	text-decoration: none;
	transition: background 0.2s ease;
}

.author-section__social-link:hover {
	background: #3a5fd8;
}

.author-section__social-link svg {
	width: 16px;
	height: 16px;
	fill: #fff;
	stroke: #fff;
}

/* Responsive styles */
@media (max-width: 768px) {
	.team__profiles {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.profile-card {
		width: 280px;
		left: 0;
		transform: translateX(0);
	}

	.profile-card::before {
		left: 25px;
		transform: translateX(0);
	}

	.profile-card::after {
		left: 25px;
		transform: translateX(0);
		width: 140px;
	}

	.author-card__header {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}

	.author-card__button {
		align-self: flex-start;
	}

	.qa-section {
		padding: 32px 0;
	}



	.qa-section__title {
		font-size: 20px;
		margin-bottom: 24px;
	}

	.qa-block {
		padding: 20px;
		margin-bottom: 20px;
	}

	.qa-block__question {
		gap: 10px;
		margin-bottom: 14px;
	}

	.qa-block__question p {
		font-size: 15px;
	}

	.qa-block__question-icon {
		width: 22px;
		height: 22px;
		font-size: 11px;
	}

	.qa-block__answer {
		margin-left: 32px;
		gap: 8px;
	}

	.qa-block__answer-avatar {
		width: 26px;
		height: 26px;
	}

	.qa-block__answer-content {
		padding: 10px;
	}

	.qa-block__answer-content p {
		font-size: 13px;
	}

	.author-section {
		padding: 32px 0;
	}



	.author-section__card {
		padding: 20px;
	}

	.author-section__profile {
		gap: 12px;
	}

	.author-section__image {
		width: 56px;
		height: 56px;
	}

	.author-section__name {
		font-size: 16px;
	}

	.author-section__role {
		font-size: 13px;
	}

	.author-section__content {
		margin-bottom: 16px;
	}

	.author-section__content p {
		font-size: 14px;
	}

	.author-section__divider {
		margin-bottom: 16px;
	}

	.author-section__social {
		gap: 6px;
	}

	.author-section__social-link {
		width: 28px;
		height: 28px;
	}

	.author-section__social-link svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 480px) {
	.team__profiles {
		gap: 16px;
	}

	.profile {
		gap: 10px;
	}

	.profile__image {
		width: 50px;
		height: 50px;
	}

	.profile__name {
		font-size: 14px;
	}

	.profile__role {
		font-size: 12px;
	}

	.qa-section {
		padding: 24px 0;
	}



	.qa-section__title {
		font-size: 18px;
		margin-bottom: 20px;
	}

	.qa-block {
		padding: 16px;
		margin-bottom: 16px;
	}

	.qa-block__question {
		gap: 8px;
		margin-bottom: 12px;
	}

	.qa-block__question p {
		font-size: 14px;
	}

	.qa-block__question-icon {
		width: 20px;
		height: 20px;
		font-size: 10px;
	}

	.qa-block__answer {
		margin-left: 0px;
		gap: 6px;
	}

	.qa-block__answer-avatar {
		width: 24px;
		height: 24px;
	}

	.qa-block__answer-content {
		padding: 8px;
	}

	.qa-block__answer-content p {
		font-size: 12px;
	}
}