/* ==================================================================== *
 * 10. COMMUNITY / INSTAGRAM
 * ==================================================================== */

.wl-community {
	padding: 60px 0 70px;
	text-align: center;
	background: #fff;
}

.wl-community__title {
	font-family: var(--wl-font-display);
	font-size: clamp(28px, 3.2vw, 44px);
	margin: 0 0 22px;
	font-weight: 400;
}

.wl-community__follow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 34px;
	font-size: 16px;
	color: #2b2b2b;
	text-decoration: none;
}

.wl-community__handle {
	border: 1px solid #d9d5d1;
	border-radius: 999px;
	padding: 9px 20px;
	font-weight: 700;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.wl-community__follow:hover .wl-community__handle {
	border-color: var(--wl-rose);
	color: var(--wl-rose);
}

.wl-community .wl-track {
	gap: 20px;
	padding-bottom: 26px;
}

.wl-community .wl-track > * {
	width: var(--wl-ig-w, 300px);
}

.wl-community__feed {
	min-width: 0;
}

.wl-ig {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: #eee;
}

/* Out of flow so a zero-size lazy placeholder can't collapse the square.
   !important beats .elementor img { height: auto }. */
.wl-ig img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.wl-ig:hover img {
	transform: scale(1.08);
}

.wl-ig__hover {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.wl-ig:hover .wl-ig__hover {
	opacity: 1;
}

.wl-ig__hover svg {
	width: 34px;
	height: 34px;
	fill: #fff;
}

.wl-community .wl-dots,
.wl-ig-feed .wl-dots {
	position: static;
	transform: none;
	justify-content: center;
	margin-top: 10px;
}

.wl-ig-feed .wl-track > * {
	width: var(--wl-ig-w, 300px);
}

