/* ASDFL Topluluk — modern, erişilebilir sosyal akış katmanı */

.community-page {
  --community-surface: rgba(9, 24, 39, 0.82);
  --community-surface-strong: rgba(12, 31, 49, 0.96);
  --community-surface-soft: rgba(255, 255, 255, 0.045);
  --community-line: rgba(205, 222, 236, 0.12);
  --community-line-strong: rgba(212, 175, 55, 0.3);
  --community-shadow: 0 18px 55px rgba(0, 5, 12, 0.28);
  --community-shadow-raised: 0 24px 70px rgba(0, 5, 12, 0.38);
  background:
    radial-gradient(circle at 8% 13%, rgba(35, 132, 126, 0.11), transparent 27rem),
    radial-gradient(circle at 88% 8%, rgba(212, 175, 55, 0.09), transparent 25rem),
    var(--navy-950);
}

.community-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topluluk-layout {
  width: min(100%, 1240px);
  max-width: 1240px;
  grid-template-columns: minmax(200px, 220px) minmax(0, 640px) minmax(250px, 280px);
  justify-content: center;
  gap: clamp(0.85rem, 1.4vw, 1.1rem);
  padding: 6.6rem max(1rem, env(safe-area-inset-right)) 5rem max(1rem, env(safe-area-inset-left));
}

.feed-main {
  width: 100%;
  min-width: 0;
}

.feed-sidebar,
.feed-right-sidebar {
  position: sticky;
  top: 6rem;
  max-height: none;
  overflow: visible;
}

.feed-right-sidebar {
  align-self: start;
}

.sidebar-card,
.sidebar-widget,
.user-mini-card,
.compose-card,
.post-card,
.feed-filter-bar,
.login-prompt {
  background: linear-gradient(145deg, rgba(14, 35, 54, 0.91), var(--community-surface));
  border: 1px solid var(--community-line);
  box-shadow: var(--community-shadow);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.sidebar-card,
.sidebar-widget,
.user-mini-card {
  border-radius: 16px;
}

.sidebar-card {
  padding: 0.85rem;
}

.sidebar-title {
  margin: 0.25rem 0.5rem 0.75rem;
  padding-left: 0;
  border: 0;
  color: #aebdca;
  letter-spacing: 0.13em;
}

.feed-channel {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  line-height: 1.25;
}

.feed-channel:hover {
  background: rgba(255, 255, 255, 0.065);
  transform: translateX(3px);
}

.feed-channel.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(35, 132, 126, 0.11));
  border-color: var(--community-line-strong);
  color: #f4d77c;
  box-shadow: inset 3px 0 0 var(--gold-500), 0 8px 22px rgba(0, 0, 0, 0.14);
}

.user-mini-card {
  overflow: hidden;
  margin-bottom: 1rem;
}

.user-mini-card::before {
  content: "";
  display: block;
  height: 44px;
  background: linear-gradient(115deg, rgba(35, 132, 126, 0.65), rgba(212, 175, 55, 0.38));
}

.user-mini-avatar-container {
  margin-top: 0;
}

.user-mini-card {
  padding: 0.9rem;
}

.community-page .photo-frame.user-mini-avatar {
  width: 54px !important;
  height: 54px !important;
  border-width: 2px !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(0, 5, 12, 0.3) !important;
}

.community-page .photo-frame.user-mini-avatar:hover {
  transform: scale(1.025) !important;
}

.user-mini-info {
  margin-top: 0.5rem;
}

.user-mini-name {
  font-size: 0.98rem;
}

.user-mini-role-badge,
.user-mini-meta {
  margin-bottom: 0.25rem;
}

.user-mini-stats {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
}

.user-mini-badges {
  gap: 0.25rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
}

.user-mini-badge {
  padding: 0.2rem 0.45rem;
}

.user-mini-stats {
  border-top-color: var(--community-line);
}

.feed-filter-bar {
  position: sticky;
  top: 5.4rem;
  z-index: 20;
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  padding: 0.375rem;
  border-radius: 15px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper > i {
  left: 1rem;
  color: #aebdca;
}

.feed-search-input {
  min-height: 44px;
  padding: 0.62rem 0.9rem 0.62rem 2.65rem;
  background: rgba(1, 10, 19, 0.38);
  border-color: var(--community-line);
  color: var(--text-primary);
}

.feed-search-input::placeholder {
  color: #91a2b2;
}

.feed-search-input:focus {
  background: rgba(4, 16, 27, 0.76);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.11);
}

.filter-chips-container {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.05rem 0 0.15rem;
  scrollbar-width: none;
}

.filter-chips-container::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  min-height: 44px;
  flex: 0 0 auto;
  border-color: transparent;
  background: transparent;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.065);
}

.filter-chip.active {
  background: rgba(212, 175, 55, 0.14);
  color: #f4d77c;
  border-color: rgba(212, 175, 55, 0.3);
}

.compose-card,
.post-card,
.login-prompt {
  border-radius: 16px;
}

.compose-card {
  position: relative;
  overflow: visible;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.compose-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.22), transparent 40%, rgba(35, 132, 126, 0.2));
  transition: opacity 220ms ease;
}

.compose-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: var(--community-shadow-raised);
}

.compose-card:focus-within::before {
  opacity: 1;
}

.compose-header {
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.community-page .photo-frame.compose-avatar {
  width: 44px !important;
  height: 44px !important;
  border-width: 1.5px !important;
  border-radius: 50% !important;
  font-size: 1rem !important;
}

.community-page .photo-frame.post-avatar {
  width: 44px !important;
  height: 44px !important;
  border-width: 1.5px !important;
  border-radius: 50% !important;
  font-size: 1rem !important;
}

.compose-avatar,
.post-avatar {
  border: 2px solid rgba(212, 175, 55, 0.58);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.06);
}

.compose-textarea {
  min-height: 68px;
  max-height: 180px;
  padding: 0.72rem 0.82rem;
  border-radius: 12px;
  background: rgba(1, 10, 19, 0.34);
  font-size: 0.92rem;
  line-height: 1.5;
}

.compose-textarea:focus {
  background: rgba(1, 10, 19, 0.56);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.09);
}

.compose-toolbar {
  gap: 0.12rem;
  margin-top: 0.4rem;
  padding-top: 0;
}

.compose-tool-btn {
  min-height: 44px;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  background: transparent;
  font: 600 0.76rem/1 'Inter', sans-serif;
}

.compose-footer {
  margin-top: 0.65rem;
  gap: 0.5rem;
}

.audience-hint {
  display: none;
}

.compose-tool-btn:hover {
  border-color: var(--community-line);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.audience-select select {
  min-height: 44px;
}

#toplulukPostBtn {
  min-height: 44px;
  padding-inline: 1.25rem;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.18);
}

#toplulukPostBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.27);
}

#feedPosts {
  position: relative;
}

.post-card {
  padding: 1rem;
  margin-bottom: 0.75rem;
  overflow: visible;
  animation: communityCardIn 480ms cubic-bezier(.2,.78,.25,1) both;
  transform-origin: center top;
}

.post-card:nth-child(2) { animation-delay: 50ms; }
.post-card:nth-child(3) { animation-delay: 90ms; }
.post-card:nth-child(4) { animation-delay: 120ms; }

.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.22), var(--community-shadow-raised);
  transition: opacity 240ms ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 222, 236, 0.2);
  box-shadow: none;
}

.post-card:hover::after {
  opacity: 1;
}

.post-header {
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-author-link {
  display: flex;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.post-author-link.post-meta {
  display: block;
  flex: 1 1 auto;
}

.post-read-more,
.active-alumni-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
}

.active-alumni-link {
  margin-left: 0.25rem;
  text-decoration: none;
}

.active-alumni-link:hover {
  background: rgba(212, 175, 55, 0.09);
}

.mention-suggest-item {
  width: 100%;
  min-height: 44px;
  border: 0;
  color: var(--text-primary);
  font: inherit;
  text-align: left;
}

.feeling-option {
  width: 100%;
  min-height: 88px;
  color: inherit;
  font: inherit;
}

.modal-close,
.preview-remove-btn {
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.event-attach-btn,
.poll-vote-btn,
.rsvp-btn {
  min-height: 44px;
}

.post-author {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.post-submeta,
.post-time {
  color: #9dafbd;
}

.post-body {
  margin-bottom: 0.75rem;
  color: #d2dbe3;
  font-size: 0.94rem;
  line-height: 1.62;
}

.post-media-attachment {
  margin-inline: -0.25rem;
  border-radius: 17px;
}

.post-media-attachment img {
  min-height: 180px;
  max-height: 560px;
  object-fit: cover;
}

.post-actions {
  gap: 0.35rem;
  padding-top: 0.55rem;
  border-top-color: var(--community-line);
}

.post-action-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.82rem;
  background: transparent;
  border-color: transparent;
}

.post-action-btn:hover {
  background: rgba(255,255,255,.065);
  border-color: var(--community-line);
  transform: translateY(-1px);
}

.post-report-btn {
  color: #fbbf6a;
  border-color: rgba(244, 168, 54, 0.18);
  background: rgba(244, 168, 54, 0.045);
}

.post-report-btn:hover {
  color: #ffd08a;
  border-color: rgba(244, 168, 54, 0.34);
  background: rgba(244, 168, 54, 0.11);
}

.post-report-btn.is-reported,
.post-report-btn:disabled {
  color: #75cfc5;
  border-color: rgba(45, 212, 191, 0.2);
  background: rgba(45, 212, 191, 0.07);
  cursor: default;
  opacity: 0.86;
  transform: none;
}

.report-modal {
  max-width: 520px;
}

.report-modal-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-right: 2.75rem;
  margin-bottom: 1.5rem;
}

.report-modal-header h3 {
  margin: 0 0 0.35rem;
}

.report-modal-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.report-modal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: var(--gold-400);
  border: 1px solid rgba(244, 168, 54, 0.28);
  background: rgba(244, 168, 54, 0.1);
}

.report-modal-icon svg {
  width: 23px;
  height: 23px;
}

.report-optional {
  color: var(--text-muted);
  font-weight: 500;
}

.report-modal .form-textarea {
  min-height: 92px;
}

.report-privacy-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.report-privacy-note svg {
  width: 15px;
  height: 15px;
  color: #75cfc5;
}

.report-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 48px;
}

.report-submit-btn svg {
  width: 18px;
  height: 18px;
}

.report-submit-spinner {
  animation: reportSpinner 0.8s linear infinite;
}

@keyframes reportSpinner {
  to { transform: rotate(360deg); }
}

.post-action-btn.like-action {
  position: relative;
  gap: 0.38rem;
  color: #b8c7d4;
  border-color: rgba(184, 199, 212, 0.1);
}

.post-action-btn.like-action:hover {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(251, 113, 133, 0.24);
}

.like-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: currentColor;
  transform-origin: center;
}

.like-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: transparent;
  transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease, transform 180ms ease;
}

.like-count {
  min-width: 1ch;
  color: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.post-action-btn.like-action.liked {
  color: #fb7185;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(225, 29, 72, 0.08));
  border-color: rgba(251, 113, 133, 0.34);
  box-shadow: 0 6px 18px rgba(190, 24, 93, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.post-action-btn.like-action.liked .like-icon svg {
  fill: currentColor;
  filter: drop-shadow(0 3px 7px rgba(244, 63, 94, 0.42));
}

.like-icon.is-bursting {
  animation: communityLikeBurst 460ms cubic-bezier(.2, .9, .25, 1.2) both;
}

.like-icon.is-bursting::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: communityLikeRing 460ms ease-out both;
  pointer-events: none;
}

.comments-section {
  margin: 1rem -0.25rem -0.25rem;
  padding: 1rem 0.25rem 0.25rem;
  animation: communityCommentsIn 300ms cubic-bezier(.2,.75,.25,1) both;
}

.comment-item {
  background: rgba(1, 10, 19, 0.28);
  border-color: var(--community-line);
  animation: communityCommentIn 260ms ease-out both;
}

.comment-input {
  min-height: 44px;
  background: rgba(1, 10, 19, 0.34);
}

.sidebar-widget {
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}

.widget-title {
  padding-bottom: 0.75rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--community-line);
  color: #eef3f7;
}

.hashtag-item,
.active-alumni-item,
.mini-event-item {
  min-height: 48px;
  border-radius: 12px;
}

.hashtag-item:hover,
.active-alumni-item:hover,
.mini-event-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.feed-loading,
.feed-empty {
  min-height: 180px;
  border: 1px dashed var(--community-line);
  border-radius: 20px;
  background: rgba(7, 22, 35, 0.4);
}

.spinner {
  border-color: rgba(212, 175, 55, 0.16);
  border-top-color: var(--gold-500);
}

.new-posts-banner {
  position: sticky;
  top: 13.5rem;
  z-index: 18;
  min-height: 44px;
  margin: 0 auto 0.75rem;
  box-shadow: 0 14px 35px rgba(0,0,0,.32);
  animation: communityBannerIn 280ms cubic-bezier(.2,.8,.25,1) both;
}

.image-lightbox {
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(0, 5, 12, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.image-lightbox.open {
  display: grid;
  place-items: center;
  animation: communityLightboxIn 220ms ease-out both;
}

.image-lightbox img {
  max-width: min(94vw, 1180px);
  max-height: 88dvh;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
}

.lightbox-close-btn {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(7, 20, 32, 0.86);
  color: #fff;
  cursor: pointer;
}

.lightbox-close-btn:hover {
  background: rgba(255,255,255,.13);
  transform: rotate(4deg) scale(1.04);
}

.community-lightbox-open {
  overflow: hidden;
}

.community-page :where(button, input, textarea, select, a):focus-visible {
  outline: 3px solid #f2c95e;
  outline-offset: 3px;
}

@keyframes communityCardIn {
  from { opacity: 0; transform: translateY(16px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes communityCommentsIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes communityCommentIn {
  from { opacity: 0; transform: translateX(-7px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes communityBannerIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes communityLightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes communityLikeBurst {
  0% { transform: scale(.72) rotate(-8deg); }
  48% { transform: scale(1.38) rotate(5deg); }
  72% { transform: scale(.92) rotate(-2deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes communityLikeRing {
  0% { opacity: .62; transform: scale(.45); }
  68% { opacity: .2; }
  100% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .topluluk-layout {
    grid-template-columns: minmax(200px, 220px) minmax(0, 640px);
  }

  .feed-right-sidebar {
    display: none;
  }
}

@media (max-width: 900px) {
  .topluluk-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding-top: 5.85rem;
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }

  .feed-sidebar {
    position: relative !important;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .feed-right-sidebar {
    display: none;
  }

  .sidebar-card {
    margin: 0 !important;
  }

  #feedSidebar {
    margin-inline: -0.1rem;
    padding: 0.1rem 0.1rem 0.45rem;
    scroll-snap-type: x proximity;
  }

  .feed-channel {
    width: auto;
    min-height: 44px;
    scroll-snap-align: start;
  }

  .feed-channel:hover {
    transform: none;
  }

  .feed-filter-bar {
    top: 4.6rem;
    border-radius: 16px;
  }

  .new-posts-banner {
    top: 12.25rem;
  }
}

@media (max-width: 550px) {
  .topluluk-layout {
    gap: 0.65rem;
    padding-top: 5.35rem;
    padding-inline: max(0.65rem, env(safe-area-inset-left)) max(0.65rem, env(safe-area-inset-right));
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }

  .feed-filter-bar {
    top: 4.25rem;
    margin-inline: -0.15rem;
    padding: 0.6rem;
    border-radius: 15px;
  }

  .feed-search-input {
    min-height: 44px;
    font-size: 16px;
  }

  .compose-card,
  .post-card,
  .login-prompt {
    margin-inline: -0.15rem;
    padding: 1rem;
    border-radius: 18px;
  }

  .compose-card {
    padding: 0.8rem;
    border-radius: 16px;
  }

  .compose-header {
    gap: 0.75rem;
  }

  .compose-textarea {
    min-height: 92px;
    font-size: 16px;
  }

  .compose-toolbar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.15rem;
    margin-inline: -0.15rem;
    padding: 0 0.15rem 0.2rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .compose-toolbar::-webkit-scrollbar {
    display: none;
  }

  .compose-tool-btn {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 44px;
    padding-inline: 0.55rem;
  }

  .compose-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
  }

  .compose-footer > div,
  #toplulukPostBtn {
    width: auto;
  }

  .audience-select {
    display: flex;
    min-width: 0;
  }

  .audience-select label {
    display: none;
  }

  .audience-select select {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .post-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
  }

  .post-time-audience {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding-top: 0.65rem;
  }

  .post-body {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .post-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-action-btn {
    justify-content: center;
    min-height: 44px;
    padding-inline: 0.4rem;
  }

  .post-action-btn[style*="margin-left:auto"] {
    margin-left: 0 !important;
  }

  .report-modal-header {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.75rem;
    padding-right: 2.25rem;
  }

  .report-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .comment-compose {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .comment-compose .btn {
    grid-column: 2;
    min-height: 44px;
  }

  .new-posts-banner {
    top: 11.8rem;
    width: calc(100% - 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-page,
  .community-page * {
    scroll-behavior: auto !important;
  }

  .community-page *,
  .community-page *::before,
  .community-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .post-card:hover,
  .compose-card:focus-within,
  .compose-tool-btn:hover,
  .post-action-btn:hover,
  .lightbox-close-btn:hover {
    transform: none !important;
  }
}
