/**
 * External dependencies
 */

/* @define teft-viewport */

/**
 * Internal dependencies
 */

.wp-block-teft-link-list-item {
	margin: 0 auto;
	max-width: var(--teft-theme-content-width);
	width: 100%;
}

.block-editor .wp-block-teft-link-list-item,
.wp-block-teft-link-list-item.alignwide {
	margin: 0;
	max-width: 100%;
}

.teft-link-list-item__holder {
	align-items: center;
	border-bottom: 6px solid var(--color-grey);
	color: inherit;
	display: flex;
	justify-content: space-between;
	line-height: 24px;
	padding: 16px 0;
	position: relative;
	text-decoration: none
}

.teft-link-list-item__holder:hover,
	.teft-link-list-item__holder:active,
	.teft-link-list-item__holder:focus {
		color: var(--color-red)
	}

.teft-link-list-item__holder:hover svg path, .teft-link-list-item__holder:active svg path, .teft-link-list-item__holder:focus svg path {
			stroke: var(--color-red);
		}

.teft-link-list-item__holder svg {
		fill: currentColor;
		flex-shrink: 0;
		margin-left: 10px;
	}

.teft-link-list-item__content {
	align-items: center;
	display: flex;
	justify-content: flex-start;
}

.teft-link-list-item__icon {
	color: currentColor;
	display: block;
	flex-shrink: 0;
	height: auto;
	margin-right: 12px;
	max-width: 34px
}

.teft-link-list-item__icon img {
		display: block;
	}

.teft-link-list-item__title,
.teft-link-list-item__text {
	color: currentColor;
	display: block;
}

.teft-link-list-item__title {
	font-weight: 500;
}

.teft-link-list-item__text {
	font-size: 14px;
}

.teft-link-list-item__inline-link {
	background-color: #f3f3f4;
	margin-top: 15px;
	padding: 20px;
}

.wp-block-teft-link-list.alignwide .teft-link-list__title,
	.wp-block-teft-link-list.alignwide .teft-link-list__description {
		max-width: 66.66%;
	}

.entry-content .wp-block-teft-link-list.is-style-grid .wp-block-teft-link-list-item {
	margin: 25px 0;
}

.wp-block-teft-link-list.is-style-grid .teft-link-list-item__holder {
		border-top: none;
		padding: 0;
	}

.wp-block-teft-link-list.is-style-grid .teft-link-list-item__content {
		align-items: flex-start;
	}

.wp-block-teft-link-list.is-style-grid .teft-link-list-item__holder svg {
		display: none;
	}

.wp-block-teft-link-list.is-style-grid .teft-link-list-item__title {
		font-size: 20px;
		margin-bottom: 5px;
	}

.wp-block-teft-link-list.is-style-grid .teft-link-list-item__text {
		color: #666;
	}

.wp-block-teft-link-list.is-style-grid .teft-link-list-item__icon {
		max-width: 22px;
	}

@media (min-width: 961px) {
			.entry-content .wp-block-teft-link-list.is-style-grid .teft-link-list__items {
				display: flex;
				flex-wrap: wrap;
				justify-content: center;
				margin-left: -10px;
				width: calc(100% + 10px);
			}

			.entry-content .wp-block-teft-link-list.is-style-grid .wp-block-teft-link-list-item {
				margin: 25px 10px;
				width: calc(33.33% - 20px);
			}

	.wp-block-teft-link-list.is-style-grid .teft-link-list-item__text {
		max-width: 290px;
	}
}

.editor-styles-wrapper .person-grid,
.entry-content .person-grid {
	display: flex;
	flex-direction: column;
	max-width: 994px
}

@media (min-width: 783px) {

.editor-styles-wrapper .person-grid,
.entry-content .person-grid {
		flex-flow: row wrap
}
	}

.editor-styles-wrapper .person-grid .components-form-token-field, .entry-content .person-grid .components-form-token-field {
		flex-grow: 2;
	}

.editor-styles-wrapper .person-grid .components-form-token-field__label, .entry-content .person-grid .components-form-token-field__label {
		font-weight: 800;
		margin: 0.6em 0;
	}

.editor-styles-wrapper .person-grid .components-form-token-field__help, .entry-content .person-grid .components-form-token-field__help {
		font-size: 12px;
		margin: 0;
		padding: 5px;
	}

.editor-styles-wrapper .person-grid .person, .entry-content .person-grid .person {
		background-color: var(--color-white);
		margin: 1rem 0;
		padding: 16px;
		width: 100%
	}

@media (min-width: 783px) {

.editor-styles-wrapper .person-grid .person, .entry-content .person-grid .person {
			margin: 1.5rem 0;
			width: calc(50% - 48px)
	}

			.editor-styles-wrapper .person-grid .person:nth-child(2n+1), .entry-content .person-grid .person:nth-child(2n+1) {
				margin-right: 24px;
			}

			.editor-styles-wrapper .person-grid .person:nth-child(2n), .entry-content .person-grid .person:nth-child(2n) {
				margin-left: 24px;
			}
		}

.editor-styles-wrapper .person-grid .person .person_img, .entry-content .person-grid .person .person_img {
			height: 164px;
			width: 111px
		}

.editor-styles-wrapper .person-grid .person .person_img img, .entry-content .person-grid .person .person_img img {
				height: 100%;
				-o-object-fit: cover;
				   object-fit: cover;
				width: 100%;
			}

.editor-styles-wrapper .person-grid .person .person_content, .entry-content .person-grid .person .person_content {
			padding: 1rem 0
		}

@media (min-width: 783px) {

.editor-styles-wrapper .person-grid .person .person_content, .entry-content .person-grid .person .person_content {
				padding: 1rem 1rem 0 1rem
		}
			}

.editor-styles-wrapper .person-grid .person h3, .entry-content .person-grid .person h3 {
			margin: 0;
		}

.editor-styles-wrapper .person-grid .person p, .entry-content .person-grid .person p {
			font-size: var(--teft-typography-s);
			margin: 0;
		}

.editor-styles-wrapper .person-grid .person .line, .entry-content .person-grid .person .line {
			background-color: var(--color-black);
			display: block;
			height: 6px;
			margin: 16px 0;
			width: 32px;
		}

.editor-styles-wrapper .person-grid .person .phone,
		.editor-styles-wrapper .person-grid .person .email,
		.entry-content .person-grid .person .phone,
		.entry-content .person-grid .person .email {
			font-size: var(--teft-typography-xs);
		}

.editor-styles-wrapper .person-grid .person .phone, .entry-content .person-grid .person .phone {
			margin-bottom: 16px;
		}

.editor-styles-wrapper .person-grid .person a,
		.editor-styles-wrapper .person-grid .person .link,
		.entry-content .person-grid .person a,
		.entry-content .person-grid .person .link {
			display: block;
			font-size: var(--teft-typography-xs);
			word-wrap: anywhere;
			text-decoration: none;
		}

@media (min-width: 783px) {
		.editor-styles-wrapper .person-grid .person, .person-grid .person {
			align-items: flex-start;
			display: flex;
			margin-left: 0;
			margin-right: 0
		}

			.editor-styles-wrapper .person-grid .person .person_img, .person-grid .person .person_img {
				display: block;
				flex-shrink: 0;
				height: 200px;
				overflow: hidden;
			}
}

