/* Forum Ana Stil */
.forum-header {
  text-align: center;
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  padding-top: 0.1rem;
}

.forum-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
}

.forum-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  text-align: center;
}

/* Ana container - Genişletilmiş */
.container-fluid.mt-4 {
  max-width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Navbar genişliği ile uyumlu olması için */
@media (min-width: 1200px) {
  .container-fluid.mt-4 {
    max-width: 1320px;
    .sidebar .form-control {
      font-size: 0.9rem;
      padding: 0.4rem 0.9rem;
      height: 36px;
    }
  }

  .sidebar .btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
    height: 36px;
  }
}

@media (min-width: 1400px) {
  .container-fluid.mt-4 {
    max-width: 1520px;
  }
}

@media (min-width: 1600px) {
  .container-fluid.mt-4 {
    max-width: 1720px;
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Post Kartları - YATAY GENİŞLETME (daha fazla) */
.posts-container {
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  padding: 0 2px;
  margin-top: 0.1rem;
}

@media (min-width: 1600px) {
  .posts-container {
    max-width: 2200px;
  }
}

.post-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.post-card:not(.banned-content):hover {
  cursor: pointer;
}

/* Post Header */
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  word-wrap: break-word;
  max-width: 100%;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 10px;
}

.author-avatar-placeholder,
.author-avatar-placeholder-light {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
}

.author-avatar-placeholder-light {
  background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
  color: #6b7280;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.85rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.post-date {
  font-size: 0.7rem;
  color: #718096;
}

.preference-badge {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.18rem 0.5rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
}

/* Post İçerik */
.post-content {
  padding: 1.2rem 1.2rem 1rem 1.2rem;
}

.post-title {
  margin: -0.5rem 0 0.7rem 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  position: relative;
  top: -7px;
  max-width: 100%;
}

.post-link {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-link:hover {
  color: #667eea;
  text-decoration: none;
}

.post-excerpt {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  font-size: 0.85rem;
  max-width: 100%;
}

/* Etiketler */
.post-tags {
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.62rem;
  padding: 0.13rem 0.38rem;
  vertical-align: middle;
  position: relative;
  top: -9px;
  border-radius: 999px;
}

.tag:hover {
  background: #e2e8f0;
}

.tag-blue {
  background: #e3f0ff;
  color: #2563eb;
}
.tag-green {
  background: #e6ffed;
  color: #059669;
}
.tag-orange {
  background: #fff7e6;
  color: #f59e42;
}
.tag-purple {
  background: #f3e8ff;
  color: #8b5cf6;
}
.tag-red {
  background: #ffe4e6;
  color: #e11d48;
}
.tag-pink {
  background: #ffe3f3;
  color: #d72660;
}
.tag-yellow {
  background: #fffbe3;
  color: #eab308;
}
.tag-cyan {
  background: #e0fcff;
  color: #06b6d4;
}
.tag-brown {
  background: #f5e9e1;
  color: #a16207;
}
.tag-gray {
  background: #f3f4f6;
  color: #6b7280;
}
.tag-new {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px dashed #3730a3;
}

/* Tercih Listesi Önizlemesi */
.preferences-preview {
  background: #f7fafc;
  border-left: 4px solid #667eea;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
}

.preferences-preview h6 {
  margin: 0 0 0.75rem 0;
  color: #4a5568;
  font-weight: 600;
}

.preferences-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preference-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.preference-order {
  background: #667eea;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.preference-dept {
  font-weight: 600;
  color: #2d3748;
}

.preference-uni {
  color: #718096;
  font-size: 0.85rem;
}

/* Post Footer */
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  overflow: hidden;
  word-wrap: break-word;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-stats {
  display: flex;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #718096;
  font-size: 0.62rem;
}

.stat-item i {
  font-size: 0.8rem;
}

.post-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  background: none;
  border: 1px solid #e2e8f0;
  padding: 0.1rem 0.32rem;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.62rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.action-btn:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
  color: #2d3748;
  text-decoration: none;
}

.like-btn:hover {
  background: #c6f6d5;
  border-color: #68d391;
  color: #22543d;
}

.dislike-btn:hover {
  background: #fed7d7;
  border-color: #fc8181;
  color: #742a2a;
}

.comment-btn:hover {
  background: #bee3f8;
  border-color: #63b3ed;
  color: #2a4365;
}

.detail-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
}

/* Hiç Post Yok */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: #718096;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0 !important;
  z-index: 2;
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  display: block !important;
}

.sidebar-box {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.5rem;
  margin-top: 16px;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  display: block !important;
}

.sidebar-title {
  margin: 0 0 0.8rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d3748;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 0.4rem;
}

/* Hızlı Eylemler Butonları */
.sidebar-card .btn {
  font-size: 0.6rem;
  padding: 0.35rem 0.8rem;
  min-width: 160px;
  min-height: 40px;
  white-space: normal !important;
  line-height: 1.1;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sidebar-card .btn i {
  font-size: 0.95rem;
  margin-right: 0.5rem;
}

.sidebar-card .btn.mb-2 {
  margin-bottom: 0.6rem !important;
}

/* İstatistikler */
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  color: #4a5568;
  font-size: 0.9rem;
}

.stat-value {
  background: #667eea;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Popüler Etiketler */
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.popular-tags .tag {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  cursor: pointer;
}

.popular-tags .tag:hover {
  background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

/* Sayfalama */
.pagination .page-link {
  color: #667eea;
  border-color: #e2e8f0;
}

.pagination .page-item.active .page-link {
  background-color: #667eea;
  border-color: #667eea;
  color: #fff !important;
}

.pagination .page-link:hover {
  color: #5a67d8;
  background-color: #edf2f7;
  border-color: #cbd5e0;
}

/* Banlı İçerik Stilleri */
.banned-content {
  position: relative;
  opacity: 0.7;
}

.banned-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 12px;
}

.banned-message {
  text-align: center;
  color: #dc3545;
  padding: 2rem;
}

.banned-message i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.banned-message p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.banned-message small {
  color: #6c757d;
  font-style: italic;
}

/* Post Header Actions */
.post-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dropdown-toggle {
  border: none !important;
  box-shadow: none !important;
}

.dropdown-toggle:focus {
  box-shadow: none !important;
}

.dropdown-menu {
  min-width: 180px !important;
  white-space: normal !important;
  border: 1px solid #dee2e6;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  white-space: normal !important;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item.text-danger:hover {
  background-color: #f8d7da;
  color: #721c24 !important;
}

/* En Çok Yorum Alanlar */
.top-commented-posts {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  max-width: 100%;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.top-commented-posts h5 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #e25822;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 0.5rem;
}

.top-commented-posts .list-group-item {
  border: none;
  border-bottom: 1px solid #f1f1f1;
  background: none;
  padding: 0.55rem 0.5rem;
  font-size: 0.775rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.top-commented-posts .list-group-item:last-child {
  border-bottom: none;
}

.top-commented-posts .list-group-item:hover {
  background: #f9f9f9;
}

.top-commented-posts .list-group-item span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 1.25;
  /* Tek satır yerine 2 satır göster */
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.top-commented-posts .list-group-item:hover span:first-child {
  text-decoration: underline;
}

.top-commented-posts .list-group-item a {
  color: #2d3748;
  text-decoration: none;
  flex: 1;
  font-weight: 500;
}

.top-commented-posts .list-group-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.top-commented-posts .badge {
  background: linear-gradient(135deg, #fef3e2 0%, #fde7d3 100%);
  color: #d97706;
  font-size: 0.7rem;
  border-radius: 20px;
  font-weight: 600;
  padding: 0.2em 0.75em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.15em;
  margin-left: 0.3em;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-commented-posts .badge i {
  font-size: 0.8em;
  margin-right: 0.1em;
}

.post-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.post-tags .tag {
  text-decoration: none !important;
  color: inherit;
}

/* Bootstrap column padding'lerini ayarla */
.col-xl-3 {
  padding-left: 15px;
  padding-right: 10px;
}

.col-xl-9 {
  padding-left: 25px;
  padding-right: 15px;
}

/* Geniş ekranlar için özel düzenlemeler - 2 kolonlu düzen */
@media (min-width: 1200px) {
  /* Ana içerik alanını ayarla */
  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%; /* Ana içerik %75 */
    padding-left: 35px !important;
  }

  /* Sol sidebar - Hızlı eylemler, Arama ve En çok yorum alan postlar için */
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%; /* Sol sidebar %25 */
    padding-right: 15px !important;
  }
}

/* Sidebar düzenlemeleri */
.sidebar,
.sidebar-card,
.top-commented-posts,
.sidebar form,
.sidebar .input-group {
  margin-left: 0;
  margin-right: 0;
}

.sidebar > form,
.mb-3.d-none.d-lg-block.sidebar-box {
  margin-top: 0 !important;
}

.sidebar > form,
.top-commented-posts {
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  max-width: 100%;
}

/* Sidebar bölümleri için minimum genişlik */
.sidebar-box,
.sidebar > form,
.top-commented-posts {
  min-width: 280px;
}

@media (max-width: 575px) {
  .sidebar-box,
  .sidebar > form,
  .top-commented-posts {
    min-width: 100%;
  }
}

/* Arama kutusu input ve buton boyutları */
.sidebar .input-group {
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sidebar form .form-control,
.sidebar .form-control {
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  height: 34px;
  border-radius: 6px 0 0 6px;
  line-height: 1.1;
  vertical-align: middle;
  box-sizing: border-box;
}

.sidebar form .form-control::placeholder,
.sidebar .form-control::placeholder {
  font-size: 0.775rem;
}

.sidebar form .btn,
.sidebar .input-group .btn {
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  height: 34px;
  border-radius: 0 6px 6px 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 1199px) {
  .container-fluid.mt-4 {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .posts-container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 992px) {
  .container-fluid.mt-4 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .forum-header,
  .post-header,
  .post-content,
  .post-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sidebar-box {
    padding: 0.8rem;
    margin-bottom: 1.2rem !important;
  }

  .sidebar-title {
    font-size: 0.875rem;
    margin-bottom: 0.7rem;
  }

  .sidebar-card .btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }

  .sidebar-card .btn i {
    font-size: 0.75rem;
  }
}

.forum-header {
  margin-bottom: 1.2rem;
}

.posts-container {
  margin-bottom: 1.2rem;
  padding-left: 4px;
  padding-right: 4px;
}

.sidebar > form {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 0.6rem 0.4rem;
}

.top-commented-posts {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 0.6rem 0.4rem;
}

.col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

.post-footer {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.7rem;
  min-width: 0;
}

.post-stats {
  gap: 0.5rem;
  margin-bottom: 0;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}

.stat-item {
  font-size: 0.75rem;
  gap: 0.15rem;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}

.post-actions {
  gap: 0.5rem;
}

.action-btn {
  font-size: 0.75rem;
  padding: 0.18rem 0.5rem;
  flex: 1 1 0;
  width: 100%;
  text-align: center;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-commented-posts h5 {
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.top-commented-posts .list-group-item {
  font-size: 0.85rem;
  padding: 0.6rem 0.5rem;
}

.top-commented-posts .badge {
  font-size: 0.75rem;
  padding: 0.25em 0.7em;
}

.sidebar .form-control,
.sidebar .btn {
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
  height: 38px;
  border-radius: 6px;
}

/* Mobilde de daha ferah görünüm için */
@media (max-width: 575px) {
  .posts-container {
    padding: 0 15px;
  }
  .post-content {
    padding: 1.2rem 1.2rem 1rem 1.2rem;
  }
  .post-title {
    font-size: 1.35rem;
  }
  .post-excerpt {
    font-size: 0.85rem;
  }
  .action-btn {
    font-size: 0.62rem;
    padding: 0.1rem 0.32rem;
  }
}

.col-xl-3.col-lg-12.order-xl-1.order-2.mb-4 {
  margin-top: 0 !important;
}

.sidebar-box > form,
.sidebar-box:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ana gridde üstten boşlukları sıfırla */
.container-fluid,
.row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* --- YAN PANEL ÜST BOŞLUKLARI TAMAMEN KALDIR --- */
.sidebar,
.sidebar > *,
.sidebar-box,
.top-commented-posts,
.sidebar .sidebar-card,
.sidebar .sidebar-box,
.sidebar .top-commented-posts {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Sidebar içindeki ilk kutunun üstten boşluğunu da sıfırla */
.sidebar > .sidebar-box:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Sol sidebar için flex davranışı */
.col-xl-3.col-lg-12.order-xl-1.order-2 {
  align-self: flex-start !important;
  display: block !important;
  height: auto !important;
}

@media (min-width: 768px) {
  .container-fluid > .row {
    align-items: flex-start !important;
  }
  .col-xl-3.col-lg-12.order-xl-1.order-2 {
    align-self: flex-start !important;
    height: auto !important;
  }
}

@media (max-width: 991px) {
  .sidebar,
  .sidebar > * {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  .sidebar-card,
  .sidebar-box,
  .top-commented-posts {
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .col-xl-3.col-lg-12.order-xl-1.order-2,
  .col-xl-9.col-lg-12.order-xl-2.order-1 {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
  .sidebar,
  .sidebar-box,
  .sidebar-card,
  .top-commented-posts {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* 1200px ve üstü için 2 kolon düzeni */
@media (min-width: 1200px) {
  .col-xl-3.col-lg-12.order-xl-1.order-2 {
    width: 25% !important;
    max-width: 350px;
  }
  .col-xl-9.col-lg-12.order-xl-2.order-1 {
    width: 75% !important;
  }
}

/* 991px ve altı için kutular en altta, tam genişlikte */
@media (max-width: 991px) {
  .col-xl-3.col-lg-12.order-xl-1.order-2,
  .col-xl-9.col-lg-12.order-xl-2.order-1 {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
  .sidebar,
  .sidebar-box,
  .sidebar-card,
  .top-commented-posts {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Sol sidebar ve ana içerik arasındaki boşluğu artır - 1150px ve üstü */
@media (min-width: 1150px) {
  .col-xl-3 {
    padding-right: 20px !important;
    max-width: 300px !important;
  }

  .col-xl-9 {
    padding-left: 20px !important;
  }

  .sidebar {
    max-width: 100%;
    margin-right: 15px;
  }
}

/* Mobilde tercih listesi badge'ini daha küçük yap */
@media (max-width: 768px) {
  .preference-badge {
    padding: 0.06rem 0.25rem !important;
    font-size: 0.5rem !important;
    border-radius: 10px !important;
    z-index: -1 !important;
    margin-right: 0.6rem !important;
    max-width: 60px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .preference-badge i {
    font-size: 0.55rem !important;
    margin-right: 0.1rem !important;
  }

  /* Custom dropdown support */
  .post-header-actions {
    z-index: 10;
  }
}

/* Çok küçük ekranlar için daha da küçük yap */
@media (max-width: 480px) {
  .preference-badge {
    padding: 0.08rem 0.3rem !important;
    font-size: 0.55rem !important;
    border-radius: 12px !important;
  }

  .preference-badge i {
    font-size: 0.6rem !important;
    margin-right: 0.15rem !important;
  }
}

/* Post header mobil responsive düzenlemeleri - sağ üstte kalacak şekilde */
@media (max-width: 768px) {
  .post-header {
    padding: 0.6rem 0.8rem !important;
    align-items: flex-start !important;
    min-height: 50px !important;
    z-index: 1 !important;
    position: relative !important;
  }

  /* Post elements z-index for custom dropdown */
  .post-content,
  .post-title,
  .post-card {
    z-index: 1;
    position: relative;
  }

  .author-info {
    flex: 1 !important;
    min-width: 0 !important;
    margin-right: 0.5rem !important;
  }

  .author-name {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.1rem !important;
  }

  /* Kendi gönderim yazısını inline tutup daha küçük yap */
  .author-name span {
    font-size: 0.65em !important;
    margin-left: 0.3rem !important;
    white-space: nowrap !important;
  }

  .post-date {
    font-size: 0.65rem !important;
  }

  .post-header-actions {
    flex-shrink: 0 !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    z-index: 10;
    position: relative;
  }
}

/* Çok küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
  .post-header {
    padding: 0.5rem 0.7rem !important;
  }

  .author-name {
    font-size: 0.75rem !important;
  }

  .author-name span {
    font-size: 0.6em !important;
    margin-left: 0.2rem !important;
  }

  .post-date {
    font-size: 0.6rem !important;
  }
}

/* CUSTOM DROPDOWN SUPPORT */
.post-card {
  position: relative;
  z-index: 1;
}

.post-header-actions {
  position: relative;
  z-index: 10;
}

.post-content,
.post-header,
.post-footer,
.post-title,
.post-excerpt {
  position: relative;
  z-index: 1;
}
