/* Photo Gallery ([salon_gallery]) - matches the former Smash Balloon Instagram grid */

.salon-gallery {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.salon-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.salon-gallery-item {
	margin: 0;
	padding: 0;
}

.salon-gallery-item a {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.salon-gallery-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 100ms ease-in;
}

.salon-gallery-item a:hover .salon-gallery-img,
.salon-gallery-item a:focus .salon-gallery-img {
	opacity: .85;
}

@media all and (max-width: 800px) {
	.salon-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Follow button */
.salon-gallery-follow {
	width: 100%;
	text-align: center;
}

.salon-gallery-follow-btn {
	display: inline-block;
	vertical-align: top;
	text-align: center;
}

.salon-gallery-follow-btn a {
	display: inline-block;
	vertical-align: top;
	padding: 7px 14px;
	margin: 5px auto 0 auto;
	background: rgb(64, 139, 209);
	border: none;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.5;
	box-sizing: border-box;
	transition: all 100ms ease-in;
}

.salon-gallery-follow-btn a:hover,
.salon-gallery-follow-btn a:focus {
	outline: none;
	color: #fff;
	box-shadow: inset 0 0 10px 20px #359dff;
}

.salon-gallery-follow-btn a:active {
	box-shadow: inset 0 0 10px 20px rgba(0, 0, 0, 0.3);
}

.salon-gallery-follow-btn svg {
	width: 15px;
	height: 15px;
	margin-bottom: -1px;
	margin-right: 7px;
	vertical-align: -.125em;
}
