/* Home-only styling; the News & Projects route and article dialogs remain unchanged. */
.home-news .home-news-head {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: clamp(26px, 4vw, 46px);
  margin-bottom: clamp(22px, 3vw, 32px);
  gap: 12px 28px;
}
.home-news .home-news-head h2 { margin: 0; }
.home-news .home-news-head p { margin: 12px 0 0; }
.home-news .home-news-all {
  flex-shrink: 0;
  padding: 5px 15px;
  border: 1px solid #c4cdc2;
  border-radius: 999px;
}
.home-news .home-news-all:hover { border-color: var(--accent); background: var(--surface); }
.home-news .home-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.home-news .home-news-card {
  display: flex;
  flex-direction: column;
  border-color: #dce3db;
  min-width: 0;
}
.home-news .home-news-art {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 640 / 274;
  background: #dce7d1;
}
.home-news .home-news-art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.home-news .home-news-card .home-news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: clamp(18px, 2.8vw, 34px);
}
.home-news .home-news-card .home-news-title {
  max-width: 36ch;
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.29;
  letter-spacing: -.028em;
  overflow-wrap: anywhere;
}
.home-news .home-news-card .home-news-read {
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  text-align: start;
}
.home-news .home-news-read > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9eeea;
  color: #234b40;
  font-size: 20px;
  line-height: 1;
  transition: color .2s, background-color .2s;
}
.home-news .home-news-read:hover > span,
.home-news .home-news-read:focus-visible > span { background: #234b40; color: #fff; }
@media (max-width: 780px) {
  .home-news .home-news-head { align-items: flex-start; }
}
@media (max-width: 650px) {
  .home-news .home-news-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .home-news .home-news-read > span { transition: none; }
}
