/* ===== MOBILE RESPONSIVE ===== */

.mob-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #374151;
  flex-shrink: 0;
}
.mob-menu-btn:hover { background: #f1f5f9; }

.sb-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 49;
}

@media (max-width: 1023px) {
  .mob-menu-btn { display: flex; }

  .sidebar {
    position: fixed !important;
    left: 0; top: 0; bottom: 0;
    height: 100dvh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    width: 260px !important;
    min-width: 260px !important;
  }
  .sidebar.mob-open { transform: translateX(0); }
  .sb-backdrop.mob-open { display: block; }

  #searchWrap { display: none; }
  .topbar { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
}

@media (max-width: 767px) {
  /* Hero */
  .hero {
    flex-direction: column !important;
    align-items: flex-start !important;
    min-height: unset !important;
    padding: 1rem !important;
    gap: 0.75rem !important;
  }

  /* Hızlı erişim butonları */
  .quick-btn { font-size: 11px; padding: 7px 10px; }

  /* Ana 3 kolonlu grid tek kolona iner */
  .grid.lg\:grid-cols-3 { grid-template-columns: 1fr !important; }
  .grid.lg\:grid-cols-2 { grid-template-columns: 1fr !important; }

  /* Banner yükseklik */
  #bannerSection { height: 140px !important; }

  /* Sosyal medya kartları */
  .sosyal-post-card { width: 180px !important; }

  /* İletişim rehberi grid */
  .grid.md\:grid-cols-2 { grid-template-columns: 1fr !important; }
  .grid.md\:grid-cols-3 { grid-template-columns: 1fr !important; }
  .grid.sm\:grid-cols-2 { grid-template-columns: 1fr !important; }

  /* Topbar kullanıcı adını gizle */
  #userName { display: none; }
  .topbar .text-sm.font-medium { font-size: 0; }
  .topbar .text-sm.font-medium span { font-size: 0; }
}
