/* Synced from design/home/home.css by bin/sync-theme-assets.mjs. Edit the source, not this copy. */
/* BlogPsy home: an editorial front page (brief §5.1), not a landing. Sections are fixed blocks
   with manual picks and a fresh-post fallback (B8); asymmetric splits instead of equal rows. */

.home-page { display: grid; gap: var(--space-8); }

/* Main material + two compact (gene l_featured) */
.home-hero { display: grid; gap: var(--space-6); }
.home-hero__main .card__title { font-size: var(--fs-h2); line-height: var(--lh-heading); }
.home-hero__main .card__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.home-hero__side > li:last-child { border-bottom: 0; padding-bottom: 0; }
.home-hero__side .cover { aspect-ratio: 3 / 1; }
@media (min-width: 1000px) {
	.home-hero { align-items: start; gap: var(--space-7); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.home-section__title { border-top: 2px solid var(--color-ink); font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: var(--lh-heading); margin: 0 0 var(--space-5); padding-top: var(--space-3); }

/* Fresh posts (gene k_rowthumb) next to the rubric directory */
.home-split { display: grid; gap: var(--space-8); }
@media (min-width: 1000px) {
	.home-split { gap: var(--space-8); grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

.rubric-directory { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.rubric-directory > li { border-bottom: 1px solid var(--color-rule); padding-bottom: var(--space-4); }
.rubric-directory__name { color: var(--color-ink); font-size: var(--fs-block-title); font-weight: var(--fw-bold); line-height: var(--lh-tight); text-decoration: none; }
.rubric-directory__name:hover { color: var(--color-accent); text-decoration: underline; }
.rubric-directory__subs { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.rubric-directory__subs a { color: var(--color-ink-soft); font-size: var(--fs-meta); line-height: var(--lh-tight); }
.rubric-directory__subs a:hover { color: var(--color-accent); }

/* Editor's picks: four, never three identical in a row */
.home-picks { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }

/* Themed collection: a distinct object, so it gets a surface */
.home-collection {
	background: var(--color-surface);
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-m);
	display: grid;
	gap: var(--space-5);
	padding: var(--space-5);
}
@media (min-width: 1000px) {
	.home-collection { gap: var(--space-7); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: var(--space-6) var(--space-7); }
}
.home-collection__kicker { color: var(--color-accent); font-size: var(--fs-label); font-weight: var(--fw-semibold); letter-spacing: 0.06em; line-height: var(--lh-tight); margin: 0 0 var(--space-2); text-transform: uppercase; }
.home-collection__title { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: var(--lh-heading); margin: 0 0 var(--space-3); }
.home-collection__intro p { color: var(--color-ink-soft); font-size: var(--fs-small); line-height: 1.6; margin: 0 0 var(--space-3); }
.home-collection__intro a { font-weight: var(--fw-semibold); }
.home-collection__list > li:first-child { border-top: 0; padding-top: 0; }

/* How we work: prose, not three icon cards */
.home-method__text { max-width: var(--measure); }
.home-method__text p { margin: 0 0 1em; }
.home-method__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
