/* aprilsun.co: what this site adds to the old site's theme. Loaded after the theme's own stylesheets. */

/* The Instagram strip, redrawn from the old Smash Balloon feed: six across on desktops, two across on tablets
   (as the old site), and a row to swipe on phones, where the old site hid it (TD, 21 Oct 2026). */
.as-ig {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	width: 100%;
	padding-top: 12px; /* the feed plugin's own gap above the tiles */
}
.as-ig__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f6eee9;
}
.as-ig__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease-in-out;
}
.as-ig__icon {
	position: absolute;
	z-index: 1;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	color: rgba(255, 255, 255, 0.9);
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}
.as-ig__icon--video {
	top: 50%;
	left: 50%;
	right: auto;
	width: 38px;
	height: 48px;
	margin: -24px 0 0 -19px;
}
.as-ig__item:focus-visible {
	outline: 3px solid #000;
	outline-offset: -3px;
}
@media (max-width: 800px) {
	.as-ig {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	#Footer .footer_action {
		display: block !important;
	}
	/* edge to edge, as the strip is on larger screens (the theme pads its containers with !important on phones) */
	#Footer .footer_action .container {
		max-width: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	#Footer .footer_action .column {
		width: 100%;
		margin: 0;
	}
	.as-ig {
		display: flex;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.as-ig::-webkit-scrollbar {
		display: none;
	}
	.as-ig__item {
		flex: 0 0 44%;
		scroll-snap-align: start;
	}
	.as-ig__icon {
		top: 8px;
		right: 8px;
		width: 18px;
		height: 18px;
	}
}

/* Where the contact and wholesale forms were: the email address (TD, 21 Oct 2026). */
.as-email {
	margin-top: 30px;
}
/* drawn as the old forms' Submit button was */
#Content a.button.as-email__button,
#Content a.button.as-email__button:hover {
	display: inline-block;
	padding: 11px 20px;
	background: #000;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	word-break: break-word;
}
#Content a.button.as-email__button:hover {
	opacity: 0.85;
}
