.fhc-card,
.wp-block-details {
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	padding: 28px;
}

.fhc-card {
	margin-bottom: 20px;

	> :last-child,
	.wp-block-group__inner-container > :last-child,
	ul,
	ol {
		margin-bottom: 0;
	}
}

h4,
.wp-block-details summary {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.1;
}

ul.wp-block-list,
.fhc-card ul {
	list-style-type: disc;
	padding-left: 30px;
}

ol.wp-block-list {
	list-style-type: decimal;
	padding-left: 30px;
}

.wp-block-list li,
.fhc-card ul li {
	padding-bottom: 10px;

	&:last-of-type {
		padding-bottom: 0;
	}
}

.wp-block-details {
	margin: 0 0 12px;

	&:last-child {
		margin-bottom: 0;
	}

	summary {
		cursor: pointer;
		list-style: none;
		padding: 0 36px 0 0;
		position: relative;

		&::-webkit-details-marker {
			display: none;
		}

		&::after {
			content: "+";
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%);
			color: #ff2f00;
			font-size: 24px;
			font-weight: 400;
			line-height: 1;
		}
	}

	&[open] summary {
		padding-bottom: 10px;

		&::after {
			content: "–";
		}
	}

	p,
	ul {
		padding-top: 0;
		padding-bottom: 0;
		margin: 0;
	}

	ul {
		list-style-type: disc;
		padding-left: 30px;

		li {
			padding-bottom: 10px;

			&:last-of-type {
				padding-bottom: 0;
			}
		}
	}

	a {
		color: #ff2f00;

		&:hover {
			color: #313131;
		}
	}
}

.wpcf7-form-control-wrap {
	display: block;
	padding-bottom: 14px;

	input:not([type="checkbox"]):not([type="radio"]),
	select,
	textarea {
		width: 100%;
		border: 1px solid #dddddd;
		padding: 12px 14px;
		border-radius: 10px;
		font-size: 16px;
		line-height: 1.4;
		color: #313131;
		background-color: #ffffff;
	}

	textarea {
		min-height: 140px;
		resize: vertical;
	}
}

.wpcf7-form-control.wpcf7-submit {
	background-color: #ff2f00;
	width: 200px;
	height: 50px;
	border: 0;
	border-radius: 3px;
	color: #ffffff;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	cursor: pointer;
}

.wpcf7-acceptance {
	display: block;
	padding: 4px 0 18px;

	.wpcf7-list-item {
		margin: 0;
	}

	label {
		display: flex;
		align-items: flex-start;
		gap: 10px;
		font-size: 15px;
		line-height: 1.45;
		color: #313131;
		cursor: pointer;
	}

	input[type="checkbox"] {
		width: 18px;
		height: 18px;
		margin: 2px 0 0;
		flex: 0 0 18px;
		accent-color: #ff2f00;
		cursor: pointer;
	}

	a {
		color: #ff2f00;

		&:hover {
			color: #313131;
		}
	}
}

.wpcf7 form > p:first-of-type {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;

	.wpcf7-form-control-wrap {
		flex: 1 1 240px;
	}
}
