.mason-investigation-links ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mason-investigation-links a {
	background: #fff;
	border: 1px solid rgba(15, 61, 46, 0.16);
	border-left: 5px solid #0f3d2e;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(15, 61, 46, 0.1);
	color: #0f3d2e;
	display: grid;
	gap: 5px;
	padding: 16px;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mason-investigation-links a:hover,
.mason-investigation-links a:focus {
	border-color: #0f3d2e;
	box-shadow: 0 14px 30px rgba(15, 61, 46, 0.18);
	color: #0f3d2e;
	transform: translateY(-1px);
}

.mason-investigation-links span {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.mason-investigation-links small {
	color: rgba(15, 61, 46, 0.72);
	font-size: 0.85rem;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.mason-investigation-empty {
	background: #f3fff8;
	border: 1px dashed #a6ddb9;
	border-radius: 8px;
	color: #43564b;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	padding: 16px;
}

.mason-investigation-gallery-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.mason-investigation-gallery-item {
	aspect-ratio: 1;
	background: #08271d;
	border: 0;
	border-radius: 8px;
	cursor: zoom-in;
	display: block;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.mason-investigation-gallery-item img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.18s ease, transform 0.24s ease;
	width: 100%;
}

.mason-investigation-gallery-item:hover img,
.mason-investigation-gallery-item:focus img {
	opacity: 0.9;
	transform: scale(1.025);
}

.mason-investigation-lightbox {
	background: rgba(0, 0, 0, 0.92);
	border: 0;
	height: 100vh;
	margin: 0;
	max-height: none;
	max-width: none;
	padding: 56px 24px 24px;
	width: 100vw;
}

.mason-investigation-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.86);
}

.mason-investigation-lightbox img {
	display: block;
	height: 100%;
	margin: auto;
	max-height: calc(100vh - 80px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.mason-investigation-lightbox-close {
	align-items: center;
	background: #beedd7;
	border: 0;
	border-radius: 999px;
	color: #08271d;
	cursor: pointer;
	display: flex;
	font-size: 2rem;
	font-weight: 700;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 16px;
	top: 12px;
	width: 44px;
}
