.home-layout {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
  max-width: 1400px;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* Deliberately not sticky, unlike the sidebars on every other page — on
     Home both sidebars (ads and the widgets) scroll away with the page. */
  position: static;
}

.ad-slot-top {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.news-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1180px) {
  .home-layout {
    grid-template-columns: 220px 1fr 240px;
  }
}

@media (max-width: 980px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .home-sidebar > * {
    flex: 1 1 260px;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
