:root {
	--etcf-gold: #b89043;
	--etcf-gold-dark: #9d772f;
	--etcf-text: #24211e;
	--etcf-muted: #77726c;
	--etcf-border: #ddd9d2;
	--etcf-paper: #ffffff;
	--etcf-page: #faf8f4;
}

.etcf-filter {
	width: min(100%, 742px);
	margin: 0 auto 42px;
}

.etcf-filter__frame {
	position: relative;
	background: var(--etcf-paper);
	border: 1px solid var(--etcf-gold);
	box-shadow: inset 0 0 0 2px rgba(184, 144, 67, 0.15);
}

.etcf-filter__input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 66px;
	margin: 0;
	padding: 0 27px;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--etcf-text);
	font: inherit;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.01em;
	-webkit-appearance: none;
	appearance: none;
}

.etcf-filter__input::placeholder {
	color: #777b84;
	opacity: 1;
}

.etcf-filter__input:focus-visible {
	box-shadow: inset 0 0 0 2px var(--etcf-gold) !important;
}

.etcf-filter__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.etcf-filter__message {
	margin: 22px 0 0;
	padding: 18px 20px;
	border: 1px solid var(--etcf-border);
	background: var(--etcf-paper);
	color: var(--etcf-muted);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
}

.etcf-is-filtered-out {
	display: none !important;
}

/*
 * Optional card skin.
 * Add "etcf-card-grid" to the parent Elementor container and "team-card"
 * to each card. The remaining class names can be assigned to the nested
 * Elementor containers/widgets described in README.md.
 */
.etcf-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.etcf-card-grid > .team-card,
.etcf-card-grid > .e-con-inner > .team-card,
.etcf-card-grid > .elementor-container > .team-card {
	box-sizing: border-box;
	min-width: 0;
	padding: 32px 30px 30px;
	border: 1px solid var(--etcf-border);
	background: var(--etcf-paper);
}

.etcf-card-grid .team-card {
	height: 100%;
}

.etcf-card-grid .team-card > .e-con-inner,
.etcf-card-grid .team-card__body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.etcf-card-grid .team-card__header {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
}

.etcf-card-grid .team-card__logo img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.etcf-card-grid .team-card__name,
.etcf-card-grid .team-card__name .elementor-heading-title {
	margin: 0;
	color: #1f1c19;
	font-family: var(--e-global-typography-primary-font-family, Georgia, serif);
	font-size: clamp(24px, 1.55vw, 29px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.etcf-card-grid .team-card__city,
.etcf-card-grid .team-card__city p,
.etcf-card-grid .team-card__city .elementor-heading-title {
	margin: 7px 0 0;
	color: var(--etcf-gold-dark);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.etcf-card-grid .team-card__divider {
	width: 100%;
	height: 1px;
	margin: 26px 0 22px;
	background: var(--etcf-border);
}

.etcf-card-grid .team-card__details {
	display: grid;
	gap: 12px;
}

.etcf-card-grid .team-card__row {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.etcf-card-grid .team-card__label,
.etcf-card-grid .team-card__label p,
.etcf-card-grid .team-card__label .elementor-heading-title {
	margin: 0;
	color: #514d48;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.etcf-card-grid .team-card__value,
.etcf-card-grid .team-card__value p,
.etcf-card-grid .team-card__value .elementor-heading-title {
	margin: 0;
	color: #706c66;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.45;
}

.etcf-card-grid .team-card__value--muted,
.etcf-card-grid .team-card__value--muted p {
	color: #c0bdb8;
	font-style: italic;
}

.etcf-card-grid .team-card__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: auto;
	padding-top: 28px;
}

.etcf-card-grid .team-card__button .elementor-button,
.etcf-card-grid a.team-card__button,
.etcf-card-grid .team-card__button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	padding: 13px 18px;
	border: 1px solid var(--etcf-gold);
	border-radius: 0;
	background: var(--etcf-paper);
	color: var(--etcf-gold-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.16em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.etcf-card-grid .team-card__button--primary .elementor-button,
.etcf-card-grid a.team-card__button--primary,
.etcf-card-grid .team-card__button--primary a {
	background: var(--etcf-gold);
	color: #ffffff;
}

.etcf-card-grid .team-card__button .elementor-button:hover,
.etcf-card-grid a.team-card__button:hover,
.etcf-card-grid .team-card__button a:hover {
	border-color: var(--etcf-gold-dark);
	background: var(--etcf-gold-dark);
	color: #ffffff;
}

@media (max-width: 1024px) {
	.etcf-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.etcf-filter {
		margin-bottom: 30px;
	}

	.etcf-filter__input {
		height: 58px;
		padding: 0 19px;
		font-size: 16px;
	}

	.etcf-card-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.etcf-card-grid > .team-card,
	.etcf-card-grid > .e-con-inner > .team-card,
	.etcf-card-grid > .elementor-container > .team-card {
		padding: 26px 22px 24px;
	}

	.etcf-card-grid .team-card__header {
		grid-template-columns: 66px minmax(0, 1fr);
		gap: 17px;
	}

	.etcf-card-grid .team-card__logo img {
		width: 62px;
		height: 62px;
	}

	.etcf-card-grid .team-card__row {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 12px;
	}
}
