/* HKOG Instagram-Feed */
.hkog-ig {
	--hkog-ig-gap: 16px;
	--hkog-ig-dark: var(--wpex-accent-alt, #152751);
	--hkog-ig-accent: var(--wpex-accent, #ffcf00);
	container-type: inline-size;
}
.hkog-ig__grid {
	display: grid;
	grid-template-columns: repeat(var(--hkog-ig-cols, 4), minmax(0, 1fr));
	gap: var(--hkog-ig-gap);
}
.hkog-ig__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--hkog-ig-dark);
	color: #fff;
	text-decoration: none !important;
	container-type: inline-size;
}
.hkog-ig__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.hkog-ig__item:hover img,
.hkog-ig__item:focus-visible img {
	transform: scale(1.05);
}
.hkog-ig__icon {
	position: absolute;
	top: 4.5cqw;
	right: 4.5cqw;
	width: 10cqw;
	height: 10cqw;
	min-width: 20px;
	min-height: 20px;
	color: #fff;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55));
	z-index: 3;
}
.hkog-ig__icon svg,
.hkog-ig__play svg {
	display: block;
	width: 100%;
	height: 100%;
}
.hkog-ig__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	z-index: 2;
	pointer-events: none;
}
.hkog-ig__play > span {
	display: grid;
	place-items: center;
	width: 22cqw;
	height: 22cqw;
	border-radius: 50%;
	background: var(--hkog-ig-accent);
	color: var(--hkog-ig-dark);
}
.hkog-ig__play svg {
	width: 40%;
	height: 40%;
	margin-left: 6%;
}
.hkog-ig__date {
	position: absolute;
	left: 4.5cqw;
	bottom: 4.5cqw;
	z-index: 3;
	padding: .15em .7em;
	background: var(--hkog-ig-dark);
	color: #fff;
	font-family: var(--wpex-heading-font-family, inherit);
	font-style: italic;
	font-weight: 700;
	font-size: max(12px, 5cqw);
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.5;
}
.hkog-ig__overlay {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
	padding: 9cqw;
	background: rgba(21, 39, 81, .92);
	opacity: 0;
	transition: opacity .25s ease;
}
.hkog-ig__item:hover .hkog-ig__overlay,
.hkog-ig__item:focus-visible .hkog-ig__overlay {
	opacity: 1;
}
.hkog-ig__caption {
	font-size: 15px;
	line-height: 1.45;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}
.hkog-ig__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: var(--hkog-ig-accent);
	font-family: var(--wpex-heading-font-family, inherit);
	font-style: italic;
	font-weight: 700;
	font-size: 16px;
}
@media (max-width: 767px) {
	.hkog-ig { --hkog-ig-gap: 10px; }
	.hkog-ig__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hkog-ig__overlay { display: none; }
}
