body {
  background: #f4f6fa;
  color: #1f2937;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* ======================================================
   FEED LAYOUT
====================================================== */
#feed {
  max-width: 680px;              /* 👈 KEY: professional width */
  margin-left: auto;
  margin-right: auto;
}

/* ======================================================
   FEED CARD
====================================================== */
.feed-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

/* Hover (desktop) */
.feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  border-color: #d0d7e2;
}

/* Touch feedback (mobile) */
.feed-card:active {
  transform: scale(.985);
}

/* ======================================================
   CARD BODY
====================================================== */
.feed-card .card-body {
  padding: 1.1rem 1.15rem;
}

/* ======================================================
   AUTHOR
====================================================== */
.feed-card img.rounded-circle {
  object-fit: cover;
}

.feed-card strong {
  font-size: .95rem;
  font-weight: 600;
}

.feed-card small {
  font-size: .75rem;
  color: #6b7280;
}

/* ======================================================
   BADGES
====================================================== */
.feed-card .badge {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .35em .6em;
  border-radius: 999px;
}

/* ======================================================
   POST TEXT
====================================================== */
.feed-card .post-text,
.feed-card .mb-2 {
  font-size: .92rem;
  line-height: 1.45;
  color: #374151;
}

/* ======================================================
   MEDIA
====================================================== */
.feed-media {
  margin-top: .6rem;
}

/* Image grid */
.feed-media.images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.feed-media.images.single {
  grid-template-columns: 1fr;
}

/* Images */
.feed-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: #e5e7eb;
}

/* Videos */
.feed-media video {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}

/* ======================================================
   FOOTER ACTIONS
====================================================== */
.feed-card .reaction {
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}

.feed-card .reaction:hover {
  transform: scale(1.08);
}

.feed-card .text-muted {
  color: #6b7280 !important;
}

/* ======================================================
   CREATE BUTTON
====================================================== */
.sticky-create {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ======================================================
   MOBILE TUNING
====================================================== */
@media (max-width: 576px) {

  #feed {
    padding-left: 6px;
    padding-right: 6px;
  }

  .feed-card {
    border-radius: 14px;
  }

  .feed-media img {
    height: 180px;
  }

  .feed-media video {
    max-height: 260px;
  }

  .feed-card .card-body {
    padding: .95rem;
  }
}

.badge-experience { background:#e3f2fd !important; color:#0d6efd !important; }
.badge-dreamtrip  { background:#f3e5f5; color:#6f42c1 !important; }
.badge-offer      { background:#fff3cd; color:#856404 !important; }
.badge-event      { background:#e8f5e9; color:#2e7d32 !important; }
.badge-info       { background:#fdecea; color:#dc3545 !important; }

.badge-hotel      { background:#fff3cd; color:#856404 !important; }
.badge-tour       { background:#ffe5d0; color:#fd7e14 !important; }
.badge-traveller  { background:#e5e7eb; color:#374151 !important; }
.badge-travelladda{ background:#fdecea; color:#dc3545 !important; }
