/* «Siste fra slekta» on the front page (B398): the newest article large, three more as rows beside it, the one coming first
   with its countdown. One column on a phone. No inline styles (the CSP). */
.latest .block-head { align-items: flex-end; }
.latest-all { font-weight: 700; color: var(--link); text-decoration: none; }
.latest-all:hover { text-decoration: underline; }
.latest-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.latest-grid.single { grid-template-columns: minmax(0, 46rem); }
.latest a { color: inherit; text-decoration: none; }
.latest .cover.none { display: block; background: linear-gradient(135deg, var(--brass-soft), var(--chip)); }
.latest .title { font-family: var(--serif); font-weight: 600; color: var(--heading); line-height: 1.22; text-wrap: balance; }
.latest a:hover .title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.latest .meta { font-size: 0.9rem; color: var(--muted); }
.latest .new { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--leaf); color: #08223d; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.latest .ai-mark { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--brass-soft); color: var(--ink); font-weight: 700; font-size: 0.85em; }
.latest .ai-mark.none { background: var(--ok-soft); }

.latest-lead a { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.latest-lead img, .latest-lead .cover.none { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.latest-lead .text { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px 26px; }
.latest-lead .tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.latest-lead .tags .eyebrow { margin: 0; }
.latest-lead .title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.latest-lead .lede { font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.latest-more { display: flex; flex-direction: column; gap: 16px; }
.latest-more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.latest-more li + li { border-top: 1px solid var(--rule); }
.latest-more li a { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 16px 0; align-items: start; }
.latest-more li:first-child a { padding-top: 0; }
.latest-more img, .latest-more .cover.none { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.latest-more .text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.latest-more .title { font-size: 1.15rem; }
.latest-more .ai-badge { font-size: 0.7rem; padding: 2px 8px; left: 6px; bottom: 6px; }

.latest-next { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--brass); background: var(--brass-soft); }
.latest-next .text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.latest-next .label { font-size: 0.8rem; color: var(--muted); }
.latest-next strong { font-family: var(--serif); color: var(--heading); }
.latest-next time { margin-left: auto; font-weight: 700; color: var(--brass); white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .latest-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .latest-more li a { grid-template-columns: 104px minmax(0, 1fr); }
}
