/* Homepage news: one chronological feed across the three news channels. */
.home-news { padding: 76px 0 80px; background: #f5f8fc; }
.home-news > .container { width: calc(100% - 80px); max-width: 1440px; overflow: visible; }
.home-news-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.home-news-heading h2 { margin: 0 0 14px; color: var(--blue, #0067d0); font-size: 32px; }
.home-news-heading p { margin: 0; color: #68788b; font-size: 15px; }
.home-news-more {
  display: inline-flex; align-items: center; gap: 20px; flex-shrink: 0;
  min-height: 44px; padding: 10px 18px; border: 1px solid #ccd9e9; border-radius: 4px;
  color: var(--blue, #0067d0); font-size: 14px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.home-news-more span { font-size: 20px; line-height: 1; }
.home-news-more:hover { border-color: var(--blue, #0067d0); color: #fff; background: var(--blue, #0067d0); }
.home-news-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: repeat(5, auto); column-gap: 40px;
}
.home-news-card { min-width: 0; border-bottom: 1px solid #dde5ee; }
.home-news-card:last-child { border-bottom: 0; }
.home-news-link { position: relative; display: block; height: 100%; padding: 18px 52px 18px 0; color: #22354b; }
.home-news-image { display: none; }
.home-news-content { min-width: 0; }
.home-news-content time { display: block; margin-bottom: 7px; color: #68788b; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.home-news-content h3 {
  display: -webkit-box; overflow: hidden; margin: 0 0 8px; color: #22354b;
  font-size: 17px; font-weight: 500; line-height: 1.55;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; transition: color .2s;
}
.home-news-content p {
  display: -webkit-box; overflow: hidden; margin: 0; color: #68788b; font-size: 13px;
  line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
}
.home-news-read {
  position: absolute; top: 50%; right: 0; display: flex; align-items: center; gap: 14px;
  color: var(--blue, #0067d0); transform: translateY(-50%);
}
.home-news-read-label { display: none; }
.home-news-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid #d5e0ed; border-radius: 50%; font-size: 20px; line-height: 1;
  transition: color .2s, background-color .2s, border-color .2s;
}
.home-news-link:hover h3 { color: var(--blue, #0067d0); }
.home-news-link:hover .home-news-arrow { border-color: var(--blue, #0067d0); color: #fff; background: var(--blue, #0067d0); }
.home-news a:focus-visible { outline: 3px solid #0067d0; outline-offset: 5px; }
.home-news-card:first-child {
  grid-row: 1 / span 5; align-self: start; overflow: hidden;
  border: 1px solid #e4ebf3; border-radius: 10px; background: #fff;
  box-shadow: 0 8px 28px rgba(24, 63, 110, .05);
}
.home-news-card:first-child .home-news-link { padding: 0; }
.home-news-card:first-child .home-news-link:focus-visible { outline-offset: -3px; }
.home-news-card:first-child .home-news-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e8eef5; }
.home-news-image img { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; transition: transform .35s; }
.home-news-card:first-child .home-news-link:hover img { transform: scale(1.035); }
.home-news-badge { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 3px; color: #fff; background: var(--blue, #0067d0); font-size: 12px; }
.home-news-card:first-child .home-news-content { padding: 24px 26px; }
.home-news-card:first-child h3 { margin: 10px 0 12px; font-size: 21px; font-weight: 600; }
.home-news-card:first-child p { font-size: 14px; -webkit-line-clamp: 2; }
.home-news-card:first-child .home-news-read { position: static; margin-top: 22px; transform: none; }
.home-news-card:first-child .home-news-read-label { display: inline; font-size: 14px; }
.home-news-card:first-child .home-news-arrow { width: auto; height: auto; border: 0; background: none; }
.home-news-card:first-child .home-news-link:hover .home-news-arrow { color: var(--blue, #0067d0); }
@media (max-width: 991.98px) {
  .home-news > .container { width: calc(100% - 48px); }
  .home-news-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 24px; }
  .home-news-card:first-child .home-news-content { padding: 20px; }
  .home-news-card:first-child h3 { font-size: 19px; }
  .home-news-content h3 { font-size: 16px; }
}
@media (max-width: 767.98px) {
  .home-news { padding: 44px 0 48px; }
  .home-news > .container { width: calc(100% - 40px); }
  .home-news-heading { flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
  .home-news-heading h2 { font-size: 27px; }
  .home-news-heading p { font-size: 14px; }
  .home-news-more { gap: 12px; padding: 8px 14px; }
  .home-news-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .home-news-card:first-child { grid-row: auto; margin-bottom: 10px; }
  .home-news-card:first-child .home-news-image { aspect-ratio: 16 / 9; }
  .home-news-card:first-child .home-news-content { padding: 20px; }
  .home-news-card:first-child .home-news-read { margin-top: 16px; }
  .home-news-link { padding: 20px 46px 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-news a, .home-news h3, .home-news img, .home-news-arrow { transition: none; }
  .home-news-card:first-child .home-news-link:hover img { transform: none; }
}
