/* Match the News banner position without changing the forum content width. */
.forum-deck-promo {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 4% 0;
}

.forum-deck-promo a {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 5 / 1;
  max-height: 171.667px;
  overflow: hidden;
  border: 1px solid #292b30;
  border-radius: 10px;
  background: #17181c;
}

.forum-deck-promo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.forum-deck-promo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.forum-deck-promo a:focus-visible { outline: 3px solid #e4e6eb; outline-offset: 4px; }

.community-page .forum-deck-promo + main.forum-page { padding-top: 32px; }

@media (min-width: 696px) {
  .forum-deck-promo a { aspect-ratio: 2179 / 330; }
}

@media (max-width: 650px) {
  .forum-deck-promo { padding: 24px 6% 0; }
  .community-page .forum-deck-promo + main.forum-page { padding-top: 26px; }
}
