.iaew-post-search__heading {
	margin: 0 0 20px;
}

.iaew-post-search__form {
	display: flex;
	align-items: stretch;
	width: 100%;
	gap: 8px;
}

.iaew-post-search__field {
	min-width: 0;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid #e2e4ea;
	border-radius: 8px;
	background: #fff;
	color: #1d2433;
	box-sizing: border-box;
	appearance: none;
}

.iaew-post-search__field::-webkit-search-cancel-button {
	appearance: none;
}

.iaew-post-search__field:focus {
	position: relative;
	z-index: 1;
	outline: 0;
	border-color: #4f2df5;
}

.iaew-post-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 64px;
	width: 64px;
	min-height: 64px;
	margin: 0;
	padding: 12px;
	border: 0;
	border-radius: 8px;
	background: #4f2df5;
	color: #fff;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.iaew-post-search__button:hover,
.iaew-post-search__button:focus {
	background: #3d1ed4;
	color: #fff;
}

.iaew-post-search__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.iaew-post-search__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
}

.iaew-post-search__button-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.iaew-post-categories {
	padding: 28px 20px 10px;
	border: 1px solid #edf0f4;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
	overflow: hidden;
}

.iaew-post-categories__heading {
	margin: 0 0 24px;
}

.iaew-post-categories__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iaew-post-categories__item {
	margin: 0;
	padding: 0;
	border-bottom: 0 solid #edf0f4;
}

.iaew-post-categories__item:not(:last-child) {
	border-bottom-width: 1px;
}

.iaew-post-categories__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 18px 0;
	color: #111827;
	text-decoration: none;
	box-sizing: border-box;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.iaew-post-categories__link:hover,
.iaew-post-categories__link:focus {
	color: #4f2df5;
	text-decoration: none;
}

.iaew-post-categories__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

.iaew-post-categories__name {
	min-width: 0;
}

.iaew-post-categories__meta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.iaew-post-categories__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	padding: 7px 12px;
	border-radius: 50px;
	background: #f4f5f7;
	color: #667085;
	line-height: 1;
	box-sizing: border-box;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.iaew-post-categories__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 14px;
	color: #111827;
	font-size: 14px;
	line-height: 1;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.iaew-post-categories__arrow svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.iaew-post-categories__empty {
	padding: 12px 0 18px;
	color: #667085;
}

.iaew-post-tags {
	padding: 24px 18px;
	border: 1px solid #edf0f4;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.iaew-post-tags__heading {
	margin: 0 0 14px;
}

.iaew-post-tags__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	column-gap: 8px;
	row-gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iaew-post-tags__item {
	margin: 0;
	padding: 0;
}

.iaew-post-tags__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 50px;
	background: #fff;
	color: #111827;
	line-height: 1.2;
	text-decoration: none;
	box-sizing: border-box;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.iaew-post-tags__link:hover,
.iaew-post-tags__link:focus {
	border-color: #4f2df5;
	background: #4f2df5;
	color: #fff;
	text-decoration: none;
}

.iaew-post-tags__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.iaew-post-tags__count {
	margin-left: 5px;
}

.iaew-post-tags__empty {
	color: #667085;
}

.iaew-post-related {
	padding: 32px;
	border: 1px solid #edf0f4;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.iaew-post-related__heading {
	margin: 0 0 28px;
}

.iaew-post-related__list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.iaew-post-related--grid .iaew-post-related__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.iaew-post-related__item {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	gap: 20px;
	box-sizing: border-box;
}

.iaew-post-related--clip-items .iaew-post-related__item {
	overflow: hidden;
}

.iaew-post-related--preset-feature {
	padding: 0;
	border: 0;
	background: transparent;
}

.iaew-post-related--preset-feature .iaew-post-related__list {
	gap: 32px;
}

.iaew-post-related--preset-feature .iaew-post-related__item {
	align-items: stretch;
	gap: 0;
	overflow: hidden;
	border: 1px solid #e6e9ef;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.09);
}

.iaew-post-related--preset-feature.iaew-post-related--card-horizontal .iaew-post-related__image {
	flex-basis: 40%;
	width: 40%;
}

.iaew-post-related--preset-feature .iaew-post-related__image img {
	height: 100%;
	min-height: 100%;
	border-radius: 0;
}

.iaew-post-related--preset-feature .iaew-post-related__content {
	justify-content: center;
	padding: 48px;
}

.iaew-post-related--preset-feature .iaew-post-related__badge {
	margin-bottom: 26px;
}

.iaew-post-related--preset-feature .iaew-post-related__meta {
	margin-bottom: 24px;
}

.iaew-post-related--preset-feature .iaew-post-related__title {
	margin-bottom: 24px;
}

.iaew-post-related--preset-feature .iaew-post-related__excerpt {
	margin-top: 0;
	margin-bottom: 26px;
}

.iaew-post-related--preset-feature .iaew-post-related__read-more {
	align-self: flex-start;
	margin-top: 0;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.iaew-post-related--list .iaew-post-related__item:not(:last-child) {
	border-bottom: 0 solid #edf0f4;
}

.iaew-post-related--card-vertical .iaew-post-related__item {
	flex-direction: column;
}

.iaew-post-related--image-after .iaew-post-related__image {
	order: 2;
}

.iaew-post-related--image-after .iaew-post-related__content {
	order: 1;
}

.iaew-post-related__image {
	display: block;
	flex: 0 0 130px;
	width: 130px;
	line-height: 0;
}

.iaew-post-related--card-vertical .iaew-post-related__image {
	flex-basis: auto;
	width: 100%;
}

.iaew-post-related__image img {
	display: block;
	width: 100%;
	height: 120px;
	border-radius: 10px;
	object-fit: cover;
}

.iaew-post-related--stretch-image .iaew-post-related__item {
	align-items: stretch;
}

.iaew-post-related--stretch-image .iaew-post-related__image,
.iaew-post-related--stretch-image .iaew-post-related__image img {
	height: auto;
	min-height: 100%;
}

.iaew-post-related__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.iaew-post-related__title {
	display: block;
	margin: 0 0 10px;
	color: #111827;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
	transition: color 0.2s ease;
}

.iaew-post-related__title:hover,
.iaew-post-related__title:focus {
	color: #4f2df5;
	text-decoration: none;
}

.iaew-post-related__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	color: #8a94a6;
	font-size: 15px;
	line-height: 1.4;
}

.iaew-post-related__meta a {
	color: inherit;
	text-decoration: none;
}

.iaew-post-related__badge {
	display: inline-flex;
	align-self: flex-start;
	padding: 7px 14px;
	border-radius: 999px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.iaew-post-related__excerpt {
	margin-top: 10px;
	color: #667085;
}

.iaew-post-related__excerpt--clamped {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--iaew-excerpt-lines);
}

.iaew-post-related__read-more {
	display: inline-flex;
	margin-top: 12px;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.iaew-post-related__empty {
	color: #667085;
}

@media (max-width: 767px) {
	.iaew-post-related {
		padding: 22px;
	}

	.iaew-post-related__item {
		gap: 14px;
	}

	.iaew-post-related--card-horizontal .iaew-post-related__item {
		flex-direction: column;
	}

	.iaew-post-related--card-horizontal .iaew-post-related__image {
		order: 0;
		flex-basis: auto;
		width: 100%;
	}

	.iaew-post-related--card-horizontal .iaew-post-related__image img {
		height: 220px;
	}

	.iaew-post-related__title {
		font-size: 17px;
	}

	.iaew-post-related--preset-feature .iaew-post-related__content {
		padding: 28px;
	}
}
