/* ==========================================================================
   Social Media page — loaded on that page only (after stories.css, which styles "Never Miss an Update").
   Layout from "Sushi Hiro Social Media Page - 01".
   ========================================================================== */

/* ---------- Follow the Fun + Instagram feed (Smash Balloon) ---------- */
.follow-fun { position: relative; background: #FFF8EE; padding-top: clamp(3.5rem, 7vw, 7rem); }
.follow-fun__title { font-weight: 900; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.01em; text-align: center; }
.follow-fun__lead { max-width: 62ch; margin: 1rem auto 0; text-align: center; font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.6; }
/* The feed sits half on the cream, half on the yellow band, like the design. */
.follow-fun__band {
	margin-top: clamp(2.5rem, 4.5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
	background: linear-gradient(#FFF8EE 0, #FFF8EE clamp(110px, 12vw, 190px), var(--yellow) 0);
}
.follow-fun__cta { display: flex; justify-content: center; margin-top: clamp(1.2rem, 2.4vw, 2rem); }
.follow-fun__cta .btn__icon { width: 1.5em; border-radius: 6px; }
.follow-fun__edge { height: clamp(40px, 5vw, 70px); margin-top: -1px; color: var(--yellow); }
.follow-fun__fallback { text-align: center; font-weight: 800; }

/* Smash Balloon renders a grid; restyle it as the design's row of tall, rounded posts that scrolls sideways. */
.follow-fun #sb_instagram { width: 100% !important; max-width: none; padding: 0 !important; }
.follow-fun #sb_instagram #sbi_images {
	display: flex !important; gap: clamp(.8rem, 1.6vw, 1.4rem) !important; overflow-x: auto; scroll-snap-type: x mandatory;
	width: 100% !important; padding: .5rem max(4vw, calc((100vw - 1320px) / 2)) 1.2rem !important;
	scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.follow-fun #sb_instagram .sbi_item {
	flex: 0 0 clamp(210px, 21vw, 290px); width: auto !important; max-width: none; padding: 0 !important; margin: 0 !important;
	scroll-snap-align: center;
}
.follow-fun #sb_instagram .sbi_photo_wrap { border: 5px solid var(--white); border-radius: clamp(22px, 2.4vw, 34px); overflow: hidden; box-shadow: 0 10px 24px rgba(120, 70, 10, .16); transition: translate .3s var(--ease-pop); }
.follow-fun #sb_instagram .sbi_item:hover .sbi_photo_wrap { translate: 0 -6px; }
.follow-fun #sb_instagram .sbi_photo { display: block; aspect-ratio: 3 / 4; height: auto !important; }
.follow-fun #sb_instagram .sbi_photo img { width: 100%; height: 100%; object-fit: cover; }
.follow-fun #sb_instagram #sbi_load, .follow-fun #sb_instagram .sb_instagram_header { display: none; } /* our own Follow button replaces them */

/* ---------- Join Hiro Rewards ---------- */
.rewards { position: relative; z-index: 2; background: #FFF8EE; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(5rem, 10vw, 9rem); }
.subscribe--cream { padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.rewards__art { position: relative; }
.rewards__coin { position: absolute; right: 4%; top: 6%; width: clamp(56px, 7vw, 96px); rotate: 18deg; }
.rewards__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.rewards__hiro { width: min(100%, 560px); margin-inline: auto; }
.rewards__title { margin-top: .8rem; font-weight: 900; font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.08; letter-spacing: -.01em; }
.rewards__lead { margin-top: .8rem; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.55; }
.rewards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 1.8vw, 1.6rem); max-width: 560px; margin-top: 1.6rem; }
/* Each card's art is a full tile (white top for the words, the object bottom-right) — the text sits on it. */
.reward-card {
	position: relative; aspect-ratio: 700 / 760; overflow: hidden;
	padding: clamp(1rem, 1.6vw, 1.4rem); border-radius: clamp(20px, 2.4vw, 32px); background: #fff;
}
.reward-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reward-card p { position: relative; max-width: 13ch; font-weight: 700; font-size: clamp(.95rem, 1.3vw, 1.2rem); line-height: 1.2; text-align: left; }
.rewards__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.8rem; }
.rewards__store img { height: clamp(40px, 3.4vw, 48px); width: auto; opacity: .55; filter: grayscale(.2); }
.rewards__note { max-width: 46ch; margin-top: 1rem; font-size: .92rem; font-weight: 700; color: #7a5a2e; }

@media (max-width: 767px) {
	.follow-fun #sb_instagram .sbi_item { flex-basis: 62vw; }
	.rewards__inner { grid-template-columns: 1fr; text-align: center; }
	.reward-card p { font-size: .86rem; } /* keep the words clear of the objects in the small cards */
	.rewards__hiro { width: 72vw; }
	.rewards__grid { margin-inline: auto; text-align: left; }
	.rewards__actions { justify-content: center; }
	.rewards__note { margin-inline: auto; }
}
