* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: #f0f2f5;
  color: #1c1e21;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  background: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo h1 {
  color: #2563eb;
  font-size: 24px;
  font-weight: 700;
}

.search-bar input {
  padding: 8px 16px;
  border: 1px solid #e4e6eb;
  border-radius: 20px;
  background: #f0f2f5;
  width: 240px;
  outline: none;
}

.search-bar input:focus {
  background: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Main Content Layout */
.main-content {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 20px;
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 20px;
  width: 100%;
}

/* Avatar Styles */
.user-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-tiny {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.default-avatar,
.default-avatar-large {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
}

.default-avatar-large {
  width: 80px;
  height: 80px;
  font-size: 32px;
}

/* Left Sidebar */
.sidebar-left {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-header h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.profile-username {
  color: #65676b;
  font-size: 14px;
  margin-bottom: 16px;
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  border-top: 1px solid #e4e6eb;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-weight: 700;
  font-size: 18px;
  color: #1c1e21;
}

.stat-label {
  font-size: 13px;
  color: #65676b;
}

.sidebar-menu {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #050505;
  text-decoration: none;
  transition: background 0.2s;
  font-weight: 500;
}

.menu-item:hover {
  background: #f0f2f5;
}

.menu-item.active {
  background: #e7f3ff;
  color: #2563eb;
}

.menu-item .icon {
  font-size: 20px;
}

.pages-section {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pages-section h4 {
  font-size: 12px;
  color: #65676b;
  margin-bottom: 12px;
  font-weight: 600;
}

.page-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
}

.page-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.view-all {
  display: block;
  text-align: center;
  padding: 8px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
}

/* Center Feed */
.feed-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.create-post-card,
.post-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.post-input-area {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.post-input-area textarea {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 15px;
  font-family: inherit;
  padding: 8px;
  background: #f0f2f5;
  border-radius: 20px;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e4e6eb;
}

.post-options {
  display: flex;
  gap: 16px;
}

.post-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #65676b;
  font-size: 14px;
}

.post-option:hover {
  color: #1c1e21;
}

.btn-post {
  background: #2563eb;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-post:hover {
  background: #1d4ed8;
}

/* Post Card */
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.btn-staff {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-staff:hover {
    background: #1d4ed8;
}
.post-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

#link_home {
  text-decoration: none;
}

#link_perfil {
  text-decoration: none;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 600;
}

.post-time {
  font-size: 13px;
  color: #65676b;
}

.post-menu {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #65676b;
  padding: 4px 8px;
}

.post-content {
  margin-bottom: 12px;
  line-height: 1.5;
}

.post-media {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.post-media img,
.post-media video {
  width: 100%;
  display: block;
}

.post-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e4e6eb;
  font-size: 14px;
  color: #65676b;
}

.post-interactions {
  display: flex;
  gap: 12px;
}

.post-actions-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
}

.action-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  color: #65676b;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.action-btn:hover {
  background: #f0f2f5;
}

.action-btn.liked {
  color: #e74c3c;
}

/* Comments Section */
.comments-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e4e6eb;
}

.comments-list {
  margin-bottom: 12px;
}

.comment {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.comment-content {
  background: #f0f2f5;
  padding: 8px 12px;
  border-radius: 16px;
  flex: 1;
}

.comment-content h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.comment-content p {
  font-size: 14px;
  line-height: 1.4;
}

.comment-time {
  font-size: 12px;
  color: #65676b;
  margin-top: 4px;
  display: block;
}

.comment-form {
  display: flex;
  gap: 8px;
}

.comment-form input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e4e6eb;
  border-radius: 20px;
  outline: none;
  background: #f0f2f5;
}

.comment-form button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

/* Right Sidebar */
.sidebar-right {
  position: sticky;
  top: 80px;
  height: fit-content;
}

.messages-section,
.events-section {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #65676b;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  background: none;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  color: #65676b;
  font-size: 13px;
  border-radius: 16px;
}

.tab.active {
  background: #e7f3ff;
  color: #2563eb;
}

.messages-list,
.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-item,
.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.messages-list {
  overflow-y: auto;
  flex: 1;
  padding-right: 5px;
}
.clique {
  cursor: pointer;
  text-decoration: none;
}

.mensagem-item {
  background-color: #fff;
  border: #0044ff75 1px solid;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mensagem-item:hover {
  background-color: #f3f4f6;
  transform: scale(1.003);
}

/* Avatar */
.mensagem-item img,
.mensagem-item .default-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.message-item:hover,
.event-item:hover {
  background: #f0f2f5;
}

.event-icon {
  font-size: 24px;
}

.event-info h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.event-info p {
  font-size: 12px;
  color: #65676b;
}

.no-posts {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.no-posts p {
  color: #65676b;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .sidebar-left,
  .sidebar-right {
    display: none;
  }
}

/* Media Preview Styles */
.media-preview {
  margin: 12px 0;
  padding: 12px;
  background: #f7f7f7;
  border-radius: 8px;
}

.preview-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.preview-image,
.preview-video {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  display: block;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e4e6eb;
}

.file-preview .icon {
  font-size: 24px;
}

.file-preview .file-name {
  flex: 1;
  font-weight: 500;
  color: #2563eb;
}

.remove-preview {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-preview .remove-preview {
  position: static;
}

.remove-preview:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Post File Attachment */
.post-file {
  margin-top: 12px;
  padding: 12px;
  background: #f0f2f5;
  border-radius: 8px;
  border: 1px solid #e4e6eb;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
}

.file-link:hover {
  text-decoration: underline;
}

.file-link .icon {
  font-size: 24px;
}

/* Hashtag and Mention Links */
.post-content a.hashtag,
.post-content a.mention {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.post-content a.hashtag:hover,
.post-content a.mention:hover {
  text-decoration: underline;
}

.post-content a.hashtag {
  color: #1d4ed8;
}

.post-content a.mention {
  color: #7c3aed;
}

/* Media Preview Styles */
.media-preview {
  margin: 15px 0;
  padding: 15px;
  background: #f5f7fa;
  border-radius: 8px;
}

.preview-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.preview-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  display: block;
}

.preview-video {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: 6px;
}

.file-preview .icon {
  font-size: 24px;
}

.file-preview .file-name {
  flex: 1;
  font-weight: 500;
  color: #333;
}

.remove-preview {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.remove-preview:hover {
  background: rgba(0, 0, 0, 0.8);
}

.file-preview .remove-preview {
  position: static;
  background: #f0f0f0;
  color: #666;
}

.file-preview .remove-preview:hover {
  background: #e0e0e0;
  color: #333;
}

/* Autocomplete Suggestions */
#autocomplete-suggestions {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

#autocomplete-suggestions > div {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

#autocomplete-suggestions > div:hover {
  background: #f0f0f0;
}

/* Hashtag and Mention Links */
.hashtag {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.hashtag:hover {
  text-decoration: underline;
}

.mention {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.mention:hover {
  text-decoration: underline;
}

/* Texto */
.chat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.chat-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-info strong {
  font-size: 1rem;
  color: #111827;
  font-weight: 600;
}

.chat-time {
  font-size: 0.75rem;
  color: #9ca3af;
}

.chat-preview {
  font-size: 0.9rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.eventos-container {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.eventos-container .section-header {
  padding: 0;
  margin-bottom: 16px;
}

.eventos-container .section-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
}

.evento-card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  padding: 12px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  overflow: hidden;
}

.evento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.evento-foto {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0;
}

.evento-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.evento-placeholder svg {
  opacity: 0.9;
}

.evento-info {
  flex: 1;
  min-width: 0;
}

.evento-titulo {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1c1e21;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evento-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evento-data {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
}

.sem-eventos {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 20px;
  font-size: 0.9rem;
}

.ver-todos-container {
  text-align: center;
  margin-top: 16px;
}

.btn-ver-todos {
  display: block;
  text-align: center;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.btn-ver-todos:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ========================================
   MOBILE RESPONSIVE & BOTTOM NAVIGATION
   ======================================== */

/* Bottom Navigation - Hidden on Desktop */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 4px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  text-decoration: none;
  color: #65676b;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  gap: 4px;
  min-width: 0;
  max-width: 80px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
}

.bottom-nav-item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav-item:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.bottom-nav-item.active {
  color: #2563eb;
}

.bottom-nav-item.active svg {
  stroke: #2563eb;
}

.bottom-nav-item span {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: block;
  }
  
  .main-content {
    padding-bottom: 80px;
  }
}

.bottom-nav-item svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item.active {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.08);
}

.bottom-nav-item.active svg {
  stroke: #1877f2;
  transform: scale(1.1);
}

.bottom-nav-item:hover:not(.active) {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.05);
}

.bottom-nav-item:active {
  transform: scale(0.95);
}

.bottom-nav-item span:not(.icon) {
  font-size: 10px;
  margin-top: 2px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Mobile Responsive - Tablets and smaller */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  .container {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .main-content {
    grid-template-columns: 1fr;
    padding: 0 12px;
    margin: 12px auto;
    margin-bottom: 80px;
    gap: 12px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sidebar-left,
  .sidebar-right {
    display: none !important;
  }

  .bottom-nav {
    display: block;
  }

  .header {
    padding: 10px 16px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .logo h1 {
    font-size: 20px;
  }

  .search-bar {
    display: none;
  }

  .feed-center {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }

  .create-post-card,
  .post-card {
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .post-media img,
  .post-media video {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
  }

  .post-options {
    flex-wrap: wrap;
  }
}

/* Mobile Responsive - Phones */
@media (max-width: 640px) {
  .main-content {
    padding: 0 8px;
    margin: 8px auto;
    gap: 10px;
    margin-bottom: 85px;
    max-width: 100%;
  }

  .header {
    padding: 8px 12px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .header-right .btn-staff {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
  }

  .user-info span {
    display: none;
  }

  .user-avatar-small {
    width: 35px;
    height: 35px;
  }

  .create-post-card,
  .post-card {
    padding: 14px;
    border-radius: 12px;
    max-width: 100%;
  }

  .post-input-area {
    gap: 10px;
  }

  .post-input-area textarea {
    font-size: 14px;
    padding: 10px 14px;
    width: 100%;
    max-width: 100%;
  }

  .btn-post {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 8px;
  }

  .post-options {
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 4px;
  }

  .post-option {
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .post-option .icon {
    font-size: 18px;
  }

  .post-header h4 {
    font-size: 14px;
  }

  .post-time {
    font-size: 12px;
  }

  .post-content {
    font-size: 15px;
    line-height: 1.6;
  }

  .post-stats {
    font-size: 13px;
  }

  .action-btn {
    font-size: 13px;
    padding: 10px 14px;
  }

  .action-btn .icon {
    font-size: 16px;
  }

  .comment {
    gap: 10px;
  }

  .comment-content {
    padding: 10px 14px;
  }

  .comment-form input {
    font-size: 14px;
    padding: 10px 14px;
  }

  .comment-form button {
    padding: 10px 18px;
    font-size: 13px;
  }

  .bottom-nav {
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  }

  .bottom-nav-item {
    padding: 8px 4px;
  }

  .bottom-nav-item .icon {
    font-size: 20px;
  }

  .bottom-nav-item span:not(.icon):not(.icon-create) {
    font-size: 9px;
  }

  .bottom-nav-create {
    width: 52px;
    height: 52px;
    margin-top: -26px;
  }

  .bottom-nav-create .icon-create {
    font-size: 28px;
  }
}

/* Extra Small Devices */
@media (max-width: 380px) {
  .bottom-nav-item span:not(.icon) {
    display: none;
  }

  .bottom-nav-item {
    padding: 8px 4px;
  }

  .main-content {
    padding: 0 4px;
  }
}

/* Hide bottom nav on large screens */
@media (min-width: 1025px) {
  .bottom-nav {
    display: none !important;
  }
}
