/* Memorial wall-location diagram. Reconstructed from the live theme/css/memorial.css.
   Base wall images are hosted in this plugin (assets/inscriptions/). */

.wall-outer { font-size: 0; }
.wall-outer h2 { font-size: 1.5rem; margin-bottom: 0.6em !important; }
/* both images live on one light-gray card ($s-s padding) */
.wall-card {
	background: var(--wp--preset--color--lightgray, #eee);
	padding: var(--wp--preset--spacing--20, 1.75rem);
	border-radius: .35rem;
	margin-top: var(--wp--preset--spacing--10, 1rem);
}
.wall-card > h2 { margin: 0 0 .35rem !important; }
.wall-card > p { margin-bottom: var(--wp--preset--spacing--10, 1rem); }
.wall-card .detail { margin-bottom: var(--wp--preset--spacing--10, 1rem); }

.wall-outer h3 {
	text-align: center;
	text-transform: uppercase;
	color: #333;
	font-size: 1rem;
	margin: 0 0 0.5em 0;
}
.wall-outer p { font-size: var(--wp--preset--font-size--medium, 1.1875rem); margin-top: 0; }

.wall-outer.F .back { display: none; }
.wall-outer.B .front { display: none; }

.wall-labels h2 { text-align: left; font-size: 1.3rem; margin: var(--wp--preset--spacing--20, 1.75rem) 0 .35rem !important; }

/* tight meta block, red labels */
.single-cff_fallen .content-body-title { margin-bottom: .75rem !important; }
.cff-fallen-meta p { margin: 0 0 .2rem; }
.cff-fallen-meta strong { color: var(--wp--preset--color--red, #aa1f2e); }

.wall { position: relative; font-size: 0; }
.wall .front { background-image: url('inscriptions/wall-large-front.jpg'); }
.wall .back  { background-image: url('inscriptions/wall-large-back.jpg'); }
.wall > div {
	background-size: contain;
	background-repeat: no-repeat;
	padding-top: 55.75%;
	height: 0;
	margin: 0;
}

.wall-caption {
	text-align: left;
	font-size: var(--wp--preset--font-size--medium, 1.1875rem) !important;
	color: #555;
	margin: 0 0 .75rem;
}
.wall-side-pill {
	position: absolute;
	top: 5%;
	left: 3.5%;
	z-index: 2;
	background: var(--wp--preset--color--red, #aa1f2e);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: .35rem .9rem;
	border-radius: 999px;
}
@keyframes wall-ping {
	0%   { box-shadow: 0 0 0 0 rgba(252, 32, 3, 0.55); }
	100% { box-shadow: 0 0 0 18px rgba(252, 32, 3, 0); }
}
.wall .indicator {
	position: absolute;
	border: 2px solid #fc2003;
	background-color: rgba(255, 0, 0, 0.22);
	border-radius: 3px;
	width: 10.63%;
	top: 10px;
	left: 10px;
	height: 15.63%;
	animation: wall-ping 1.1s ease-out 2;
}
@media (prefers-reduced-motion: reduce) {
	.wall .indicator { animation: none; }
}

/* Columns (front C1-C10 and back C11-C20 share x positions). */
.wall .indicator.C1,  .wall .indicator.C11 { left: 2.08%; }
.wall .indicator.C2,  .wall .indicator.C12 { left: 11.69%; }
.wall .indicator.C3,  .wall .indicator.C13 { left: 21.29%; }
.wall .indicator.C4,  .wall .indicator.C14 { left: 30.9%; }
.wall .indicator.C5,  .wall .indicator.C15 { left: 40.5%; }
.wall .indicator.C6,  .wall .indicator.C16 { left: 50.1%; }
.wall .indicator.C7,  .wall .indicator.C17 { left: 59.71%; }
.wall .indicator.C8,  .wall .indicator.C18 { left: 69.31%; }
.wall .indicator.C9,  .wall .indicator.C19 { left: 78.92%; }
.wall .indicator.C10, .wall .indicator.C20 { left: 88.52%; }

/* Sections. */
.wall .indicator.S1 { top: 30.21%; height: 20.83%; }
.wall .indicator.S2 { top: 51.04%; }
.wall .indicator.S3 { top: 64.58%; }
.wall .indicator.S4 { top: 79.17%; height: 13.54%; }

.detail img { width: 100%; height: auto; }

/* fallen singles: the member's name is black, no yellow rule */
.single-cff_fallen .content-body-title {
	color: var(--wp--preset--color--black, #242424) !important;
}
.single-cff_fallen .content-body-title::after { display: none !important; }
