.home-section-title { font-weight: 700; letter-spacing: -0.02em; font-family: var(--font-family-display); }
.home-band { position: relative; padding: 40px 0; }
.home-band--first { padding-top: 8px; }
main > .home-band:last-of-type { margin-bottom: -24px; }
.home-band--alt::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  background: var(--color-surface-muted); z-index: -1;
}
.home-mono { font-family: var(--font-family-mono); }

.home-title-link {
  display: inline-flex; align-items: center; gap: 16px;
  text-decoration: none; color: inherit;
}
.home-title-link:hover .home-section-title { color: var(--color-primary); }
.home-title-arrow {
  width: 40px; height: 40px; flex-shrink: 0; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--color-border-strong);
  color: var(--color-text-primary);
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.home-title-link:hover .home-title-arrow {
  background: var(--color-text-primary); border-color: var(--color-text-primary); color: var(--color-surface);
}

.home-feed-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }

.home-post {
  background: var(--color-card-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 150ms, border-color 150ms;
}
.home-post:hover { transform: translateY(-2px); border-color: var(--color-text-primary); }

.home-post-media {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  font-size: 32px; position: relative; overflow: hidden;
}
.home-post--featured .home-post-media { aspect-ratio: 4 / 3.2; font-size: 44px; }
/* A post whose image carries its heading: a tall image whose foot is the picture and whose top is spare background. The
   slot takes the row's height and keeps the foot: a main card shows 25:28 of it, a secondary one more of the top.
   The date row's one height (the main card's) keeps the images of a row level. */
.home-post--no-heading .home-post-date { min-height: 37px; }
.home-post--no-heading .home-post-media { aspect-ratio: 25 / 28; flex: 1 0 auto; }
.home-post--no-heading .home-post-media img { position: absolute; inset: 0; object-position: bottom; }
.home-post--no-heading .home-post-body { flex: 0 0 auto; min-height: 107px; } /* The place's row is kept, with a place or without: the slot, and so the picture, stay the same. */
.home-post-media img { width: 100%; height: 100%; object-fit: cover; }
.home-post-media i { color: var(--color-text-faint); }
.home-post--tone-a .home-post-media {
  background: repeating-linear-gradient(135deg, var(--color-feed-tint) 0 14px, var(--color-surface-muted) 14px 28px);
}
.home-post--tone-b .home-post-media {
  background: repeating-linear-gradient(135deg, var(--color-cup-tint) 0 14px, var(--color-surface-muted) 14px 28px);
}
.home-post--tone-c .home-post-media {
  background: repeating-linear-gradient(135deg, var(--color-clubs-tint) 0 14px, var(--color-surface-muted) 14px 28px);
}

.home-post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.home-post-date { display: flex; align-items: flex-end; gap: 10px; line-height: 1; }
/* A narrow card keeps room for the badge beside the date. */
.home-post:not(.home-post--featured) .home-post-date { gap: 6px; }
.home-post-date-day {
  font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--color-text-primary); line-height: 0.85;
}
.home-post--featured .home-post-date-day { font-size: 44px; }
.home-post-date-rest { display: flex; flex-direction: column; gap: 1px; padding-bottom: 2px; }
.home-post-date-month { font-size: 13px; font-weight: 600; color: var(--color-text-primary); text-transform: lowercase; }
.home-post-date-year { font-size: 11px; color: var(--color-text-muted); font-family: var(--font-family-mono); }
.home-post-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.home-post--featured .home-post-title { font-size: 22px; }
.home-post-excerpt { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; margin: 0; }
.home-post-place {
  margin: auto 0 0; padding-top: 6px; font-size: 12px; color: var(--color-text-muted);
  display: flex; align-items: center; gap: 6px;
}

@media (max-width: 860px) {
  .home-feed-grid { grid-template-columns: 1fr; }
}

.honor-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 860px) {
  .honor-grid { grid-template-columns: 1fr; }
}
.honor-card {
  background: var(--color-card-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; transition: transform 150ms; cursor: pointer;
}
.honor-card:hover { transform: translateY(-2px); }
.honor-card-media { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.honor-card-media img { width: 100%; height: 100%; object-fit: cover; }
.honor-card-media-label {
  font-family: var(--font-family-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-text-faint);
}
.honor-card-media--tone-a {
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 8px, rgba(0,0,0,0.05) 8px 16px), var(--color-surface-muted);
}
.honor-card-media--tone-b {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 8px, rgba(255,255,255,0.06) 8px 16px), var(--color-text-primary);
}
.honor-card-media--tone-b .honor-card-media-label { color: rgba(255, 255, 255, 0.45); }
.honor-card-body { padding: 14px 16px 16px; flex: 1; }
.honor-card-name { font-weight: 700; font-size: 15px; line-height: 1.25; margin: 0 0 2px; }
.honor-card-years { font-family: var(--font-family-mono); font-size: 12px; color: var(--color-text-muted); margin: 0 0 8px; }
.honor-card-badge { display: inline-block; margin-bottom: 8px; }
.honor-card-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; margin: 0; }
.home-badge { font-weight: 600; letter-spacing: 0.02em; white-space: normal; max-width: 100%; }
.home-badge--good { background: rgba(25, 135, 84, 0.12); color: var(--color-success); }
.home-badge--warm { background: var(--color-cup-tint); color: var(--color-cup); }
.home-badge--none { display: none; }

.sponsor-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 32px; }
.sponsor-feat-card {
  background: var(--color-card-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; transition: transform 150ms;
}
.sponsor-feat-card:hover { transform: translateY(-2px); }
a.text-decoration-none { color: inherit; }
.sponsor-feat-media {
  aspect-ratio: 1 / 1; width: 100%; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--color-border); overflow: hidden; background: var(--color-surface);
}
.sponsor-feat-media--placeholder {
  background: repeating-linear-gradient(135deg, oklch(0.88 0.04 232) 0 14px, oklch(0.85 0.05 232) 14px 28px);
}
.sponsor-feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sponsor-feat-body { padding: 14px 16px 16px; text-align: left; background: var(--color-surface-muted); }
.sponsor-feat-name { font-family: var(--font-family-display); font-weight: 700; font-size: 19px; letter-spacing: -0.025em; }
.sponsor-feat-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.4; margin-top: 4px; }

.sponsor-tier { margin-top: 32px; }

.sponsor-strip {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--color-border-strong); border-bottom: 1px solid var(--color-border-strong);
  padding: 20px 0;
}
.sponsor-strip::before, .sponsor-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none;
}
.sponsor-strip::before { left: 0; background: linear-gradient(90deg, var(--color-surface-light), transparent); }
.sponsor-strip::after { right: 0; background: linear-gradient(270deg, var(--color-surface-light), transparent); }

.sponsor-strip-track { display: flex; gap: 56px; width: max-content; animation: sponsor-strip-slide 130s linear infinite; }
.sponsor-strip--reverse .sponsor-strip-track { animation-direction: reverse; }
.sponsor-strip:hover .sponsor-strip-track { animation-play-state: paused; }
@keyframes sponsor-strip-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .sponsor-strip-track { animation: none; flex-wrap: wrap; width: auto; }
  .sponsor-strip { overflow: visible; }
}

.sponsor-row { display: flex; align-items: center; flex: none; }
.sponsor-row-name {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-family-display);
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; color: var(--color-text-primary);
  opacity: 0.72; transition: opacity 150ms;
}
a.text-decoration-none:hover .sponsor-row-name { opacity: 1; }
.sponsor-row-name img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.sponsor-row-name .smark { width: 22px; height: 22px; }

.smark { flex: none; display: inline-block; }
.smark.shape-dot { border-radius: 50%; background: currentColor; }
.smark.shape-ring { border-radius: 50%; border: 3px solid currentColor; box-sizing: border-box; }
.smark.shape-square { border-radius: 5px; background: currentColor; }
.smark.shape-diamond { background: currentColor; border-radius: 3px; transform: rotate(45deg) scale(0.75); }
.smark.shape-bars { background: repeating-linear-gradient(90deg, currentColor 0 28%, transparent 28% 45%); }
.smark.shape-pie { border-radius: 50%; background: conic-gradient(currentColor 0 60%, rgba(255,255,255,0.55) 60% 100%); }

@media (max-width: 860px) {
  .sponsor-feat-grid { grid-template-columns: 1fr; }
}

/* The object's type before its name, the second line, and the heading's spacing (FEED-CUP-CARD.md, decisions 5, 6). */
.feed-type, .feed-type-sep { color: var(--color-text-muted); font-weight: 500; }
.home-post-subtitle { font-size: 14px; font-weight: 500; color: var(--color-text-secondary); line-height: 1.3; margin: 2px 0 0; }
.home-post--featured .home-post-subtitle { font-size: 16px; }
.home-post-heading { margin: 8px 0; }
