.group-news-section {
  margin: 14px 0 18px;
}

.group-news-feed {
  border: 1px solid #b9cddd;
  border-radius: 14px;
  overflow: hidden;
}

.group-news-feed-inner {
  padding: 10px 0 0;
}

.group-news-feed-title {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.group-news-feed-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 8px;
  padding: 0 12px;
}

.group-news-feed-add {
  font-size: 0.92rem;
  font-weight: 600;
}

.group-settings-field--nested {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.group-news-empty {
  margin: 0;
  padding: 8px 12px 14px;
  font-size: 14px;
  color: #64748b;
}

.group-news-feed .profile-feed-item {
  margin-bottom: 10px !important;
}

.group-news-feed .profile-feed-actions {
  display: none !important;
}

.group-news-feed .profile-feed-grid {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.group-news-feed .profile-feed-thumb-slot {
  width: 128px !important;
  height: 128px !important;
}

.group-news-feed .profile-feed-body {
  min-width: 0;
}

.group-news-feed .profile-hashtag-row {
  display: none !important;
}

.group-news-feed-track {
  box-sizing: border-box;
  width: 100%;
  padding: 0 12px 12px;
}

.group-news-swipe-hint {
  display: none;
  margin: 0 12px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  text-align: right;
  line-height: 1;
  user-select: none;
}

.group-news-swipe-hint.is-visible {
  display: block;
}

@media (min-width: 721px) {
  .group-news-feed-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: max-content;
    align-content: start;
    gap: 10px;
    max-height: min(560px, calc(100vh - 280px));
    min-height: 180px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .group-news-carousel-page {
    display: contents;
  }

  .group-news-swipe-hint {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .group-news-feed-track {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .group-news-feed-track::-webkit-scrollbar {
    display: none;
  }

  .group-news-carousel-page {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    gap: 8px;
    padding: 0 2px;
  }

  .group-news-feed .profile-feed-grid {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  .group-news-feed .profile-feed-thumb-slot {
    width: 96px !important;
    height: 96px !important;
  }

  .group-news-feed .profile-feed-preview.is-collapsed {
    -webkit-line-clamp: 3;
  }
}
