/* CRBF Instagram Grid */
.crbf-ig {
	box-sizing: border-box;
	max-width: 1240px;
	margin: 0 auto;
	padding: 8px 0 16px;
	text-align: center;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
}
.crbf-ig *,
.crbf-ig *::before,
.crbf-ig *::after {
	box-sizing: border-box;
}
.crbf-ig__head {
	margin: 0 0 28px;
}
.crbf-ig .crbf-ig__title {
	margin: 0 0 6px;
	padding: 0;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 30px;
	line-height: 1.25;
	font-weight: 400;
	text-transform: uppercase;
	text-wrap: balance;
	color: #404042;
}
.crbf-ig .crbf-ig__handle {
	font-size: 17px;
	font-weight: 500;
	color: #866b42;
	text-decoration: none;
}
.crbf-ig .crbf-ig__handle:hover,
.crbf-ig .crbf-ig__handle:focus-visible {
	text-decoration: underline;
}
.crbf-ig .crbf-ig__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.crbf-ig .crbf-ig__item {
	margin: 0;
	padding: 0;
	list-style: none;
}
.crbf-ig .crbf-ig__item::before {
	content: none;
}
.crbf-ig__item--mobile-only {
	display: none;
}
.crbf-ig__item a {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 4px;
	background: #ece6dc;
}
.crbf-ig__item img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.4s ease, filter 0.4s ease;
}
.crbf-ig__item a:hover img,
.crbf-ig__item a:focus-visible img {
	transform: scale(1.04);
	filter: brightness(0.9);
}
.crbf-ig__item a:focus-visible {
	outline: 3px solid #866b42;
	outline-offset: 2px;
}
.crbf-ig__reel {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}
.crbf-ig .crbf-ig__cta {
	margin: 28px 0 0;
	padding: 0;
}
.crbf-ig .crbf-ig__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border-radius: 5px;
	background: #866b42;
	color: #fff;
	font-family: Lato, Montserrat, sans-serif;
	font-size: 18px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.crbf-ig .crbf-ig__button:hover,
.crbf-ig .crbf-ig__button:focus-visible {
	background: #6e5735;
	color: #fff;
}
.crbf-ig__icon {
	width: 20px;
	height: 20px;
	flex: none;
}
/* The page builder wraps the shortcode in a paragraph, which leaves empty ones behind. */
.siteorigin-widget-tinymce > p:empty {
	display: none;
}

@media (max-width: 767px) {
	.crbf-ig {
		padding: 0 0 8px;
	}
	.crbf-ig .crbf-ig__title {
		font-size: 24px;
	}
	.crbf-ig__head {
		margin-bottom: 20px;
	}
	.crbf-ig .crbf-ig__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.crbf-ig__item--mobile-only {
		display: list-item;
	}
	.crbf-ig__item--no-mobile {
		display: none;
	}
	.crbf-ig .crbf-ig__cta {
		margin-top: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.crbf-ig__item img {
		transition: none;
	}
}
