/* Homepage-only composition; shared header and design tokens remain untouched. */
.home-layout { --home-column: 740px; }
.home-page .home-stories { width: min(var(--home-column), calc(100% - 3rem)); margin-inline: auto; }
/* Navigation clearance remains consistent with and without category filters. */
.home-page .home-stories { padding-top: 3rem; }
.home-page .home-stories .masonry,
.home-page .home-stories .site-feature-note { width: 100%; max-width: none; margin-inline: 0; }
.home-page .home-stories .masonry { padding-inline: 0; }
.home-page .home-stories .masonry > div > article:first-child { padding-top: 0; }
.home-page .home-stories #hash { margin: 0 0 1rem; }
.home-page .home-stories #hash:not(:empty) { display: block; text-align: center; }
.home-page .home-stories #hash:empty { display: none; }
.home-results-status { margin: 0 0 1.5rem; color: var(--vw-muted); font-size: .8125rem; text-align: center; }
.home-page .home-feed-feature { min-width: 0; margin: 0; padding: 2.5rem 0; border-bottom: 1px solid var(--vw-border); overflow-wrap: anywhere; }
.home-feed-feature > :first-child { margin-top: 0; }
.home-feed-feature > :last-child { margin-bottom: 0; }
.home-feed-feature:not(.home-timeline-feature) h2,
.home-timeline-heading h2 { margin: 0 0 1rem; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -.025em; }
.home-feed-feature:not(.home-timeline-feature) h3 { margin: 1rem 0 .5rem; font-size: 1.25rem; line-height: 1.4; }
.home-feed-feature:not(.home-timeline-feature) p,
.home-timeline-heading p { font-size: .875rem; line-height: 1.65; color: var(--vw-muted); }
.home-feed-feature .home-feature-handle { color: var(--vw-text); font-weight: 600; }
.home-feed-feature .home-feature-note { font-size: .75rem; }
.home-feature-link { display: block; margin-top: 1rem; font-size: .8125rem; text-decoration: underline; }
.home-tip-link { display: block; }
.home-tip-link img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--vw-radius); }
.home-feed-feature .vw-button { max-width: 100%; white-space: normal; }
[data-instagram-embed] iframe { display: block; width: 100%; height: 440px; margin-block: 1rem; border: 1px solid var(--vw-border); border-radius: var(--vw-radius); background: var(--vw-surface); }
[data-instagram-embed][hidden] { display: none; }

/* The Kulturkompass timeline breaks out of the centered reading column and
   spans the whole viewport; each day snaps fully into view while scrolling. */
.home-page .home-timeline-feature {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 2.5rem 0;
}
.home-page .home-timeline-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  width: min(740px, calc(100% - 3rem));
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.home-page .home-timeline-heading h2,
.home-page .home-timeline-heading p { margin: 0; }
.home-page .home-timeline-heading .home-feature-link { margin-top: 0; }

@media (max-width: 799px) {
  .home-page .home-stories .masonry article { display: block; }
  .home-page .home-timeline-heading { width: calc(100% - 2rem); }
}
@media (max-width: 599px) {
  .home-page .home-stories { width: calc(100% - 2rem); }
  .home-page .home-stories { padding-top: 2.25rem; }
}
