/* ==========================================================================
   Master of Ink — tattoo idea pages + hub (builds on home.css)
   ========================================================================== */

.moi-full .site.grid-container { max-width: none; }
.moi-full .site-content { display: block; padding: 0; }
.moi-full .moi-footer { margin-top: 0; }

/* Hero ------------------------------------------------------------------- */

.moi-idea-hero {
	padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
	background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%);
	text-align: center;
}

.moi-crumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
	color: var(--moi-bone-dim);
	font-size: 13px;
}

.moi-crumbs a { color: var(--moi-bone-dim); text-decoration: none; }
.moi-crumbs a:hover { color: var(--moi-bone); }
.moi-crumbs [aria-current] { color: var(--moi-bone); }

.moi-idea-hero__title {
	margin: 0 0 14px;
	font-family: var(--moi-font-display);
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.moi-idea-hero__lede {
	max-width: 680px;
	margin: 0 auto 28px;
	color: var(--moi-bone-dim);
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.55;
}

.moi-prompt--compact { max-width: 680px; }

/* Gallery: tiles are links here (home uses buttons). */
.moi-idea-gallery { padding-top: clamp(16px, 3vw, 32px); }
.moi-idea-gallery .moi-tile { text-decoration: none; }
.moi-idea-gallery .moi-tile__prompt { color: #fff; }

/* Touch screens: keep the art visible, show only the small label. */
@media (hover: none), (max-width: 640px) {
	.moi-idea-gallery .moi-tile__prompt { display: none; }
	.moi-idea-gallery .moi-tile__use { top: auto; bottom: 10px; right: 10px; padding: 4px 9px; font-size: 11px; opacity: 1; transform: none; }
}

/* Written sections -------------------------------------------------------- */

.moi-idea-body { padding: 0 0 clamp(48px, 6vw, 72px); }

/* Text and FAQ use the full width of the image grid. */
.moi-prose { max-width: var(--moi-wrap); }
.moi-idea-page .moi-faq__inner { max-width: var(--moi-wrap); }

/* 10 designs = 2 rows of 5 on desktop. */
.moi-idea-gallery .moi-gallery__grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .moi-idea-gallery .moi-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .moi-idea-gallery .moi-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

.moi-prose h2 { margin: 40px 0 12px; }
.moi-prose h2:first-child { margin-top: 0; }

.moi-prose h3 {
	margin: 28px 0 8px;
	font-family: var(--moi-font-ui);
	font-size: 19px;
	font-weight: 700;
}

.moi-prose p,
.moi-prose li { color: #d4d4d4; font-size: 17px; line-height: 1.7; }
.moi-prose p { margin: 0 0 16px; }
.moi-prose ul { margin: 0 0 16px; padding-left: 20px; }
.moi-prose li { margin-bottom: 6px; }
.moi-prose strong { color: var(--moi-bone); }
.moi-prose a { color: var(--moi-bone); text-underline-offset: 3px; }

/* CTA band ---------------------------------------------------------------- */

.moi-idea-cta { padding: 0 0 clamp(48px, 6vw, 72px); }

.moi-idea-cta__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: clamp(24px, 4vw, 40px);
	background: var(--moi-ink-2);
	border: 1px solid var(--moi-line);
	border-radius: 20px;
}

.moi-idea-cta__box h2 { margin-bottom: 6px; }
.moi-idea-cta__box p { max-width: 560px; margin: 0; color: var(--moi-bone-dim); font-size: 15px; }

/* Related ----------------------------------------------------------------- */

.moi-idea-related { padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--moi-line); }

.moi-link { color: var(--moi-bone-dim); font-size: 15px; font-weight: 600; text-decoration: none; }
.moi-link:hover { color: var(--moi-bone); }

/* Hub --------------------------------------------------------------------- */

.moi-idea-hub { padding: 0 0 clamp(40px, 5vw, 64px); }

.moi-hub__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.moi-hub__card {
	display: block;
	overflow: hidden;
	background: var(--moi-ink-2);
	border: 1px solid var(--moi-line);
	border-radius: 16px;
	color: var(--moi-bone);
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.moi-hub__card:hover { transform: translateY(-4px); border-color: #404040; color: var(--moi-bone); }

.moi-hub__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #fff; }

.moi-hub__name { display: block; padding: 14px 16px; font-size: 16px; font-weight: 700; }

@media (max-width: 640px) {
	.moi-hub__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.moi-hub__name { padding: 10px 12px; font-size: 14px; }
	.moi-idea-cta__box .moi-btn { width: 100%; justify-content: center; }
}
