.wk-instagram-feed {
	position: relative;
	max-width: 1340px;
	margin: 0 auto;
	padding: 0 56px;
	font-family: "Trebuchet MS", Trebuchet, sans-serif;
}

.wk-instagram-feed__viewport {
	overflow: hidden;
}

.wk-instagram-feed__track {
	display: flex;
	gap: 28px;
	transition: transform 0.35s ease;
	will-change: transform;
}

.wk-instagram-feed__slide {
	flex: 0 0 calc((100% - 56px) / 3);
	min-width: 0;
}

.wk-instagram-feed__link {
	position: relative;
	display: block;
	overflow: hidden;
	background: #d3ccc3;
	color: inherit;
	text-decoration: none;
}

.wk-instagram-feed__image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.wk-instagram-feed__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px;
	background: linear-gradient(180deg, rgba(20, 17, 15, 0.02) 15%, rgba(20, 17, 15, 0.82) 100%);
	color: #f7f2eb;
	font-family: "Trebuchet MS", Trebuchet, sans-serif;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.wk-instagram-feed__link:hover .wk-instagram-feed__overlay,
.wk-instagram-feed__link:focus-visible .wk-instagram-feed__overlay {
	opacity: 1;
}

.wk-instagram-feed__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 12px;
}

.wk-instagram-feed__caption {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.92);
	font-family: "Trebuchet MS", Trebuchet, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	letter-spacing: normal;
	text-transform: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.wk-instagram-feed__likes {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: "Trebuchet MS", Trebuchet, sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
}

.wk-instagram-feed__likes::before {
	content: "\2665";
	display: inline-block;
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
}

.wk-instagram-feed__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 999px;
	background: #2e2925;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s ease, opacity 0.2s ease;
}

.wk-instagram-feed__nav:hover,
.wk-instagram-feed__nav:focus-visible {
	background: #1f1b18;
}

.wk-instagram-feed__nav[disabled] {
	opacity: 0.35;
	cursor: default;
}

.wk-instagram-feed__nav--prev {
	left: 0;
}

.wk-instagram-feed__nav--next {
	right: 0;
}

.wk-instagram-feed__notice {
	padding: 14px 18px;
	border-left: 4px solid #8b7355;
	background: #f7f2eb;
	color: #403c3a;
}

@media (max-width: 980px) {
	.wk-instagram-feed {
		padding: 0 42px;
	}

	.wk-instagram-feed__track {
		gap: 20px;
	}

	.wk-instagram-feed__slide {
		flex-basis: calc((100% - 20px) / 2);
	}

	.wk-instagram-feed__nav {
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 767px) {
	.wk-instagram-feed {
		padding: 0 18px 62px;
	}

	.wk-instagram-feed__slide {
		flex-basis: 100%;
	}

	.wk-instagram-feed__nav {
		top: auto;
		bottom: 0;
		transform: none;
	}

	.wk-instagram-feed__nav--prev {
		left: calc(50% - 56px);
	}

	.wk-instagram-feed__nav--next {
		right: calc(50% - 56px);
	}
}
