.daily-news-preview {
  display: grid;
  gap: 24px;
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 24rem),
    var(--section-bg);
  box-shadow: var(--shadow);
}

.daily-news-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.daily-news-preview-head h2,
.daily-news-preview-head p {
  margin: 0;
}

.daily-news-preview-head h2 {
  margin-top: 8px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
}

.daily-news-preview-head #dailyNewsMeta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.daily-news-preview-head .primary-link {
  flex: 0 0 auto;
}

.daily-news-top-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-news-top-three li {
  min-width: 0;
}

.daily-news-top-three a,
.daily-news-loading {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: color-mix(in srgb, var(--soft) 88%, transparent);
}

.daily-news-top-three a:hover,
.daily-news-top-three a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
  outline: 0;
  box-shadow: var(--focus);
}

.daily-news-top-three .preview-rank {
  color: var(--accent-strong);
  font: 900 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.daily-news-top-three h3,
.daily-news-top-three p {
  margin: 0;
}

.daily-news-top-three h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.daily-news-top-three p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.daily-news-top-three footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.daily-news-top-three footer strong {
  color: var(--accent-strong);
}

.daily-news-loading {
  grid-column: 1 / -1;
  place-items: center;
  min-height: 120px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .daily-news-top-three {
    grid-template-columns: 1fr;
  }

  .daily-news-top-three a {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .daily-news-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .daily-news-preview-head .primary-link {
    width: 100%;
  }
}
