/* Vintage Claire gallery: core [gallery] styled to match the old BWS Gallery
   grid (170px tiles: 150px thumbnail + 10px white border, 6px gap, caption
   underneath). Sits beside the floated intro image like the old grid did. */
.galleryid-415 {
	display: flow-root;
	margin: 0 auto 20px;
}
.galleryid-415 .gallery-item {
	float: left;
	width: 170px;
	margin: 5px 6px 0 0;
	text-align: left;
}
.galleryid-415 .gallery-icon a {
	display: block;
}
.galleryid-415 .gallery-icon img {
	display: block;
	box-sizing: content-box;
	width: 150px;
	height: 150px !important; /* beats the theme's .type-page img { height: auto !important } */
	max-width: none;
	object-fit: cover;
	border: 10px solid #fff;
}
.galleryid-415 .gallery-caption {
	width: 170px;
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: normal;
	color: #000;
	word-wrap: break-word;
}

/* Claire page: Responsive Lightbox masonry replacing the Gamma Gallery
   plugin. Column widths set here (4px gutter, like Gamma) because the
   plugin's own per-gallery inline CSS targets the wrong gallery number when
   the content is rendered twice. */
.page-id-15 .rl-basicmasonry-gallery {
	margin: 0 -2px;
	padding: 10px 0 20px;
}
.page-id-15 .rl-basicmasonry-gallery .rl-gallery-item,
.page-id-15 .rl-basicmasonry-gallery .rl-grid-sizer {
	width: calc(25% - 4px);
	margin: 2px;
}
@media all and (max-width: 992px) {
	.page-id-15 .rl-basicmasonry-gallery .rl-gallery-item,
	.page-id-15 .rl-basicmasonry-gallery .rl-grid-sizer {
		width: calc(50% - 4px);
	}
}
.page-id-15 .rl-basicmasonry-gallery .rl-gallery-item img {
	width: 100%;
}
