/* In the Field (Epic 3.5): the poster wall + the catalog teaser band.
   Loads after alloway-bold (dependency), so the Bold pill classes are
   already dressed; this file owns only the gallery shapes. */

.alloway-field__pills {
	margin-bottom: 0.6rem;
}

/* Pills sit on the light surface here: ink outlines, gold active. */
.alloway-field__pills .bold-filter__btn {
	border-color: rgb(19 17 17 / 30%);
	color: var(--bold-ink);
}

.alloway-field__pills .bold-filter__btn:hover {
	border-color: var(--bold-dark);
	color: var(--bold-dark);
}

.alloway-field__count {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	color: var(--wp--preset--color--muted, #4a4a4a);
	margin: 0 0 1.6rem;
}

/* The wall: masonry-ish columns keep mixed aspect ratios tight. */
.alloway-field__wall {
	columns: 3 340px;
	column-gap: clamp(1rem, 2vw, 1.5rem);
}

.alloway-field__card {
	break-inside: avoid;
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	border: 2px solid var(--bold-dark);
	border-radius: 3px;
	overflow: hidden;
	background: #fff;
}

.alloway-field__card.is-hidden {
	display: none;
}

.alloway-field__media {
	display: block;
	width: 100%;
	height: auto;
}

.alloway-field__bar {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.7rem 0.9rem;
	border-top: 2px solid var(--bold-dark);
}

.alloway-field__chip {
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.66rem;
	background: var(--bold-gold);
	color: var(--bold-ink);
	padding: 0.25rem 0.55rem;
	border-radius: 3px;
	white-space: nowrap;
}

.alloway-field__through {
	margin-left: auto;
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.78rem;
	color: var(--bold-ink);
	text-decoration: none;
	transition: color 0.18s var(--bold-ease);
}

.alloway-field__through:hover,
.alloway-field__through:focus-visible {
	color: var(--bold-gold-deep);
}

.alloway-field__empty {
	color: var(--wp--preset--color--muted, #4a4a4a);
}

/* ---- The lightbox: click a photo to enlarge; the catalog door
   rides inside (Jack's dogfood ask). Sits above everything,
   including the page-transition wipe (9999). ---- */
:root.fieldlite-open {
	overflow: hidden;
}

.alloway-field__zoom {
	display: block;
	cursor: zoom-in;
}

.alloway-fieldlite {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2.5rem);
}

.alloway-fieldlite[hidden] {
	display: none;
}

.alloway-fieldlite__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(19 17 17 / 96%);
}

.alloway-fieldlite__panel {
	position: relative;
	margin: 0;
	max-width: min(1100px, 94vw);
	display: flex;
	flex-direction: column;
	border: 2px solid var(--bold-dark);
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
}

.alloway-fieldlite__img {
	display: block;
	max-width: 100%;
	max-height: 74vh;
	width: auto;
	height: auto;
	object-fit: contain;
	background: var(--bold-dark);
}

.alloway-fieldlite__bar {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.8rem 1rem;
	border-top: 2px solid var(--bold-dark);
}

.alloway-fieldlite__chip {
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.66rem;
	background: var(--bold-gold);
	color: var(--bold-ink);
	padding: 0.25rem 0.55rem;
	border-radius: 3px;
	white-space: nowrap;
}

.alloway-fieldlite__title {
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
	color: var(--bold-ink);
	min-width: 0;
}

.alloway-fieldlite__door {
	margin-left: auto;
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	background: var(--bold-gold);
	color: var(--bold-ink);
	text-decoration: none;
	padding: 0.55rem 0.9rem;
	border-radius: 3px;
	white-space: nowrap;
	transition: background 0.18s var(--bold-ease);
}

.alloway-fieldlite__door::after {
	content: " \2197";
}

.alloway-fieldlite__door:hover,
.alloway-fieldlite__door:focus-visible {
	background: var(--bold-gold-deep);
}

.alloway-fieldlite__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 1;
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 3px;
	background: rgb(19 17 17 / 55%);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.alloway-fieldlite__close:hover,
.alloway-fieldlite__close:focus-visible {
	background: var(--bold-dark);
}

@media (max-width: 600px) {
	.alloway-fieldlite__bar {
		flex-wrap: wrap;
	}

	.alloway-fieldlite__door {
		margin-left: 0;
	}
}

/* ---- The catalog teaser band. ---- */
.alloway-fieldband {
	display: block;
	position: relative;
	border: 2px solid var(--bold-dark);
	border-radius: 3px;
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	background: var(--bold-dark);
}

.alloway-fieldband__strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	opacity: 0.55;
	transition: opacity 0.25s var(--bold-ease);
}

.alloway-fieldband:hover .alloway-fieldband__strip,
.alloway-fieldband:focus-visible .alloway-fieldband__strip {
	opacity: 0.75;
}

.alloway-fieldband__thumb {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.alloway-fieldband__label {
	position: absolute;
	left: clamp(1.2rem, 3vw, 2rem);
	bottom: 2.6rem;
	font-family: var(--bold-display);
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1;
}

.alloway-fieldband__arr {
	color: var(--bold-gold);
}

.alloway-fieldband__sub {
	position: absolute;
	left: clamp(1.2rem, 3vw, 2rem);
	bottom: 1rem;
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: #c9c6bf;
}

@media (max-width: 905px) {
	.alloway-field__wall {
		columns: 2 220px;
	}

	.alloway-fieldband__thumb {
		height: 110px;
	}
}

@media (max-width: 600px) {
	.alloway-field__wall {
		columns: 1;
	}

	.alloway-fieldband__strip {
		grid-template-columns: repeat(2, 1fr);
	}
}
