/* Half Skull — Instagram section: raised panel, tidy tile grid (swipe strip on phones), brand buttons. */

.hs-ig {
	--ig-red: #e3001c;
	--ig-ink: #131316;
	max-width: 1320px;
	margin: 0 auto;
	padding: 48px 16px;
	text-align: center;
	color: var(--ig-ink);
}

/* ---------- header ---------- */
.hs-ig__chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--ig-ink); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .06em; box-shadow: 4px 4px 0 var(--ig-red); }
.hs-ig__title { margin: 16px 0 6px; font-weight: 800; font-size: clamp(30px, 6vw, 52px); line-height: 1.05; letter-spacing: -.03em; }
.hs-ig__title em { font-style: normal; color: var(--ig-red); }
.hs-ig__sub { margin: 0 auto 22px; max-width: 520px; color: #55515a; font-size: 15px; line-height: 1.5; }

/* ---------- panel + grid ---------- */
.hs-ig__panel { padding: 14px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px rgba(19, 19, 22, .06), 0 14px 40px rgba(19, 19, 22, .12); }
.hs-ig #sb_instagram { padding: 0 !important; width: 100% !important; background: none !important; }
.hs-ig #sb_instagram .sbi_header,
.hs-ig #sb_instagram #sbi_load,
.hs-ig #sb_instagram .sbi_follow_btn,
.hs-ig #sb_instagram .sb_instagram_header { display: none !important; }
.hs-ig #sb_instagram #sbi_images {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px !important;
	padding: 0 !important;
	width: 100% !important;
}
.hs-ig #sb_instagram .sbi_item { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; display: block !important; }
.hs-ig #sb_instagram .sbi_item:nth-child(n+9) { display: none !important; }
.hs-ig #sb_instagram .sbi_photo_wrap { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 6px 18px rgba(19, 19, 22, .16); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.hs-ig #sb_instagram .sbi_item:hover .sbi_photo_wrap { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 18px 40px rgba(19, 19, 22, .3); }
.hs-ig #sb_instagram .sbi_photo { display: block; width: 100% !important; height: 100% !important; border-radius: 0 !important; }
.hs-ig #sb_instagram .sbi_photo img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hs-ig #sb_instagram .sbi_item:hover .sbi_photo img { transform: scale(1.07); }
.hs-ig #sb_instagram .sbi_photo_wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='1' fill='white'/%3E%3C/svg%3E") center / 34px no-repeat,
		linear-gradient(180deg, rgba(19, 19, 22, 0) 40%, rgba(19, 19, 22, .55) 100%);
	opacity: 0;
	transition: opacity .25s;
	pointer-events: none;
}
.hs-ig #sb_instagram .sbi_item:hover .sbi_photo_wrap::after { opacity: 1; }

/* ---------- buttons ---------- */
.hs-ig__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hs-ig__btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid var(--ig-ink);
	background: #fff;
	color: var(--ig-ink) !important;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(19, 19, 22, .12);
	transition: transform .18s, box-shadow .18s;
}
.hs-ig__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(19, 19, 22, .2); }
.hs-ig__btn.is-primary { background: var(--ig-red); border-color: var(--ig-red); color: #fff !important; box-shadow: 4px 4px 0 var(--ig-ink), 0 10px 24px rgba(227, 0, 28, .3); }

/* ---------- tablet + phone ---------- */
@media (max-width: 991px) {
	.hs-ig #sb_instagram #sbi_images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hs-ig #sb_instagram .sbi_item:nth-child(n+7) { display: none !important; }
}
@media (max-width: 640px) {
	.hs-ig { padding: 34px 0; }
	.hs-ig__head, .hs-ig__cta { padding: 0 16px; }
	.hs-ig__panel { margin: 0 12px; padding: 10px; border-radius: 24px; }
	.hs-ig #sb_instagram #sbi_images {
		display: grid !important;
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: 62%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 6px !important;
	}
	.hs-ig #sb_instagram #sbi_images::-webkit-scrollbar { display: none; }
	.hs-ig #sb_instagram .sbi_item { scroll-snap-align: start; }
	.hs-ig #sb_instagram .sbi_item:nth-child(n+7) { display: block !important; }
	.hs-ig #sb_instagram .sbi_item:nth-child(n+9) { display: none !important; }
	.hs-ig__btn { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.hs-ig #sb_instagram .sbi_photo_wrap, .hs-ig #sb_instagram .sbi_photo img, .hs-ig__btn { transition: none; }
}
