.jvd-card-grid,
.jvd-shooting-cards {
	align-items: start;
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	margin-block: 1.5rem 3rem;
}

.jvd-card-grid .jvd-card,
.jvd-shooting-cards .jvd-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.jvd-card h2,
.jvd-card h3,
.jvd-card h4,
.jvd-card p,
.jvd-card a {
	overflow-wrap: anywhere;
}

.jvd-directory-tools {
	background: #f5f0e6;
	border-radius: .65rem;
	display: grid;
	gap: 1rem;
	margin-block: 1.5rem;
	padding: 1.25rem;
}

.jvd-directory-tools input {
	background: #fff;
	border: 1px solid #9b8e76;
	border-radius: .4rem;
	font: inherit;
	min-height: 44px;
	padding: .75rem .9rem;
	width: 100%;
}

.jvd-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
}

.jvd-filter-buttons button,
.jvd-button-row .wp-element-button {
	align-items: center;
	border: 1px solid #1f493a;
	border-radius: .4rem;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	min-height: 44px;
	max-width: 100%;
	padding: .7rem 1rem;
	text-align: center;
	text-decoration: none;
}

.jvd-filter-buttons button {
	background: #fff;
	color: #1f493a;
}

.jvd-filter-buttons button.is-active,
.jvd-button-row .wp-element-button:not(.is-secondary) {
	background: #1f493a;
	color: #fff;
}

.jvd-button-row .wp-element-button.is-secondary {
	background: #fff;
	color: #1f493a;
}

.jvd-filter-buttons button:hover,
.jvd-filter-buttons button:focus-visible,
.jvd-button-row .wp-element-button:hover,
.jvd-button-row .wp-element-button:focus-visible {
	background: #b7965a;
	border-color: #765f35;
	color: #12251d;
}

.jvd-result-count {
	font-weight: 700;
}

.jvd-card-tag {
	color: #526b60;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.jvd-button-row {
	display: grid;
	gap: .65rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	margin-top: auto;
	padding-top: 1rem;
	width: 100%;
}

.jvd-document-stand,
.jvd-result-meta {
	color: #526b60;
	font-size: .95rem;
	font-weight: 700;
}

.jvd-results-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
}

.jvd-result-sections {
	display: grid;
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.jvd-result-section {
	border-top: 1px solid #e2d4bc;
	padding-top: 1rem;
}

.jvd-result-section h4 {
	font-size: 1rem;
	margin: 0;
}

.jvd-text-link {
	border-bottom: 1px solid currentColor;
	font-weight: 700;
	text-decoration: none;
}

.jvd-translation {
	font-size: 1.12rem;
	font-weight: 700;
}

.jvd-break-image,
.jvd-news-image {
	aspect-ratio: 4 / 3;
	border-radius: .7rem;
	display: block;
	object-fit: contain;
	width: 100%;
}

.jvd-news-image {
	object-fit: cover;
}

.jvd-break-schematic {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: #f5f0e6;
	border-radius: .7rem;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.jvd-break-schematic span {
	background: #6d7d59;
	border-radius: 1rem;
	height: 10%;
	transform: rotate(-18deg);
	width: 75%;
}

.jvd-break-schematic i {
	background: #87694d;
	height: 60%;
	left: 48%;
	position: absolute;
	transform: rotate(26deg);
	width: 3%;
}

.jvd-context-note {
	border-left: 4px solid #b7965a;
	padding-left: 1rem;
}

.jvd-person {
	align-items: center;
	display: flex;
	gap: 1rem;
}

.jvd-person-avatar {
	align-items: center;
	background: #1f493a;
	border-radius: 50%;
	color: #fff;
	display: flex;
	flex: 0 0 4rem;
	font-size: 1.25rem;
	font-weight: 800;
	height: 4rem;
	justify-content: center;
}

.jvd-person h3,
.jvd-person p {
	margin: .2rem 0;
}

.jvd-empty {
	background: #f5f0e6;
	border-radius: .65rem;
	padding: 1rem;
}

.jvd-directory-item[hidden] {
	display: none !important;
}

@media (max-width: 700px) {
	.jvd-card-grid,
	.jvd-shooting-cards,
	.jvd-results-grid,
	.jvd-button-row {
		grid-template-columns: 1fr;
	}

	.jvd-button-row .wp-element-button {
		width: 100%;
	}
}
