/* Keep campaign header replacements and the mobile section navigation in their final slots.
   Only the campaign banner reserves its tall slot; the ordinary notice rotator sizes to its text (R11 ideas fix). */
body#typewriterWorkshop #view-community > :is(.cd-intro, .cd-community-banner, .cw-contest-banner) {
  box-sizing: border-box; margin-bottom: 32px !important;
}
body#typewriterWorkshop #view-community > .cw-contest-banner { min-height: 260px !important; }
@media (max-width: 760px) {
  body#typewriterWorkshop #view-community > .cw-contest-banner { min-height: 344px !important; }
}
@media (max-width: 820px) {
  body#typewriterWorkshop #view-community:not(:has(> .p2-section-links)) > .cd-discover { margin-top: 88px !important; }
}

/* Seasonal replacement owns the notice slot; its art CSS determines height. */
body#typewriterWorkshop #view-community > #cwThanksgivingCommunityEntry { margin-bottom:32px; min-height:0!important; }

/* FE1 11/12 operator: the Special offers strip drifts exactly as before; its two edges fade out instead of cutting cards and copy. */
body#typewriterWorkshop #view-community #communityShelf.cd-shelf-viewport{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)}
@media(max-width:760px){body#typewriterWorkshop #view-community #communityShelf.cd-shelf-viewport{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}}
