body{font-family:system-ui,Arial,sans-serif;margin:0;background:#f9fafb;color:#111}
nav{background:#2563eb;color:#fff;padding:0.75rem}
nav a{color:#fff;margin-right:1rem;text-decoration:none;font-weight:600}
main{max-width:820px;margin:2rem auto;padding:0 1rem}
form{background:#fff;padding:1rem;border-radius:0.5rem;box-shadow:0 0 4px rgba(0,0,0,.1)}
input,textarea{width:100%;padding:0.5rem;margin-bottom:0.75rem;border:1px solid #ccc;border-radius:0.25rem}
button{padding:0.5rem 1rem;border:none;border-radius:0.25rem;background:#2563eb;color:#fff;cursor:pointer}
.card{background:#fff;padding:1rem;border-radius:0.5rem;box-shadow:0 0 4px rgba(0,0,0,.05);margin-bottom:1rem}
.error{color:#b91c1c;margin-bottom:0.75rem}
.share-bar      {margin-top:1rem;display:flex;align-items:center;gap:.5rem}
.share-bar span {font-size:.875rem;color:#555}
.share-link     {display:inline-flex;width:34px;height:34px;border-radius:50%;
                 align-items:center;justify-content:center;background:#e5e7eb;
                 text-decoration:none;font-size:18px;transition:background .2s}
.share-link:hover{background:#d1d5db}
.share-link.facebook{color:#1877F2}
.share-link.x      {color:#000}
.share-link.linkedin{color:#0A66C2}
.mention{color:#2563eb;text-decoration:none;font-weight:600}
.mention:hover{text-decoration:underline}
/* comment styling */
.comment{margin-left:1rem;background:#fff;padding:.5rem .75rem;
         border-left:3px solid #2563eb;border-radius:.25rem;margin-bottom:.5rem}
.comment-form{margin-left:1rem;margin-top:.25rem}
.comment-form textarea{margin-bottom:.25rem}
.badge{
    background:#ef4444;color:#fff;border-radius:9999px;
    font-size:.75rem;font-weight:600;padding:0 .45rem;
    position:absolute;top:-0.4rem;right:-0.75rem;
}
.admin-table{width:100%;border-collapse:collapse;margin-bottom:1rem}
.admin-table th,.admin-table td{border:1px solid #e5e7eb;padding:.5rem;text-align:left}
.admin-table th{background:#f1f5f9}
a.danger{color:#b91c1c}
.text-ads{display:flex;gap:.5rem;margin:1rem 0;flex-wrap:wrap}
.text-ad{flex:1 1 calc(25% - .5rem);background:#fff;border:1px solid #e5e7eb;
         padding:.5rem;border-radius:.25rem;text-align:center;font-size:.875rem}
.text-ad a{color:#2563eb;text-decoration:none;font-weight:600}
.text-ad a:hover{text-decoration:underline}
/* make the whole ad block stand out */
.text-ads {
  display: flex;
  gap: .75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  padding: .75rem;
  background: #fefce8;              /* very light yellow */
  border: 1px solid #fde047;        /* bright yellow border */
  border-radius: .5rem;
  position: relative;
}

/* add a “Sponsored” badge in the corner */
.text-ads::before {
  content: "Sponsored";
  position: absolute;
  top: -.5rem;
  left: 1rem;
  background: #fde047;
  color: #92400e;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: .25rem;
}

/* individual ad card accents */
.text-ad {
  flex: 1 1 calc(25% - .75rem);
  background: #fff;      
  border: 1px solid #facc15;  /* golden border */
  padding: .75rem;
  border-radius: .5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: background .2s, box-shadow .2s;
  text-align: center;
}

/* hover highlights the ad card */
.text-ad:hover {
  background: #fffbeb;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* link style stays the same */
.text-ad a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

/* ------------- advertise page accents ------------- */
.ad-offer ul{list-style:disc;margin-left:1.25rem;margin-bottom:1rem}
.ad-buttons{display:flex;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}
.headline-with-icon{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;margin-top:0}
.headline-with-icon i{color:#2563eb}
.note{font-size:.875rem;color:#555}
.emoji-trigger{
    font-size:1.3rem;padding:.25rem .5rem;border:1px solid #ccc;border-radius:.25rem;
    background:#fff;cursor:pointer;
}
.emoji-trigger:hover{background:#f3f4f6}
.emoji-trigger{
    font-size:1.3rem;
    padding:.25rem .5rem;
    border:1px solid #ccc;
    border-radius:.25rem;
    background:#fff;
    cursor:pointer;
}
.emoji-trigger:hover{background:#f3f4f6}
/* emoji picker --------------------------------------------------- */
.emoji-trigger{
    font-size:1.3rem;padding:.25rem .6rem;border:1px solid #ccc;border-radius:.25rem;
    background:#fff;cursor:pointer;
}
.emoji-trigger:hover{background:#f3f4f6}

.emoji-picker{
    display:none;position:absolute;bottom:2.2rem;left:0;   /* below the button */
    background:#fff;border:1px solid #ccc;border-radius:.5rem;padding:.4rem;
    box-shadow:0 2px 6px rgba(0,0,0,.1);z-index:10;
    max-width:240px;line-height:1.4;user-select:none;
}
.emoji-picker span{
    font-size:22px;cursor:pointer;padding:.2rem .35rem;border-radius:.25rem;
    display:inline-block;
}
.emoji-picker span:hover{background:#f3f4f6}
/* profile avatar upload card */
.card img { max-width:100%; }

/* small nav‑avatar */
nav img { display:block; }
.post-header {display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}
.post-avatar {
  width:32px; height:32px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #e5e7eb;
}
.post-with-avatar .post-content {margin-left:2.5rem}
.comment {margin-left:2.5rem} /* adjust if you indent comments */
nav {
  display: flex;
  align-items: center;
  /* keep your existing properties */
  background: #2563eb;
  color: #fff;
  padding: 0.75rem;
}

