/*
	Theme Name: legalab
	Theme URI: 
	Description: The theme for WordPress. 
	Author: 
	Version: 1.a
*/

/* custom CSS for FAQ --additional css */
.faq-block {
	margin: 40px 0;
}

.faq-title {
	font-size: 24px;
	margin-bottom: 20px;
}

.faq-item {
	border-bottom: 1px solid #eee;
}

.faq-question {
	color: #000;
	width: 100%;
	text-align: left;
	background: white;
	margin-bottom: 5px;
	border: none;
	padding: 15px;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-icon {
	font-size: 20px;
	transition: transform 0.3s;
	margin-left: 10px;
}

.faq-question[aria-expanded="true"] .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.3s ease;
	padding: 0 15px;
	font-size: 16px;
	line-height: 1.5;
}

.faq-answer.show {
	max-height: 1000px;
	/* достатньо велике значення, щоб умістилось */
	padding: 15px;
}


/* END custom CSS for FAQ --additional css */
.author-wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0 0 35px;
	padding: 20px;
	border: 1px solid #d8e0e6;
	border-radius: 5px;
	background-color: #fff;
}

.author-container {
	display: flex;
	gap: 25px;
}

.article-date-wrapper {
	display: flex;
	flex-direction: row;
	gap: 25px;
}

.article-date-wrapper {
	border-top: 1px solid #d8e0e6;
	padding-top: 10px;
}

.author-container .author-photo-wrapper .author-photo-main img {
	width: 100px;
	height: 100px;
}

.author-content-wrapper .author-name-wrapper {
	margin-bottom: 10px;
}

.author-name-block-wrapper .author-short-desc-wrapper .author-bio-wrapper p {
	margin: 0;
	/* font-size: 16px;
	line-height: 1.5; */
	color: #333;

}


@media (min-width: 992px) {

	#business-subnav,
	#private-subnav {
		display: none;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 0;
		width: 760px;
		max-width: min(760px, calc(100vw - 40px));
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		overflow-x: hidden;
	}

	.header-nav-list li:hover #business-subnav,
	.header-nav-list li:hover #private-subnav {
		display: grid;
	}

	#business-subnav li,
	#private-subnav li {
		margin: 0;
	}

	#business-subnav a,
	#private-subnav a {
		height: 100%;
		padding-right: 20px;
	}
}

.subnav {
	margin: 0 !important;
}

@media screen and (min-width: 1024px) {
	.header-nav {
		height: auto !important;
		padding: 0 !important;
	}

	.header-nav-list>li {
		height: 70px !important;
	}

	.header-nav-list>li>a {
		height: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	.subnav-parent:after {
		position: static !important;
		margin-left: 7px !important;
	}

}
