/* ============================================================================
   FILE: assets/css/warga_feed.css (v2.0 — Super-App Linimasa Warga 3 Kolom)
   Selaras design_system.css (Teal-Sky-Navy) — Modern, Keren, Responsif HP & PC
   ============================================================================ */

* { box-sizing: border-box; }

body.wf-body {
  margin: 0;
  padding: 0;
  background: #EEF2F6;
  color: var(--sl-text, #0F172A);
  font-family: var(--sl-font-body, 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  -webkit-font-smoothing: antialiased;
}

.wf-shell {
  min-height: 100vh;
  padding-bottom: 96px;
}

/* ==================== TOP BAR ALA FACEBOOK MODERN ==================== */
.wf-topbar {
  position: sticky;
  top: 0;
  z-index: var(--sl-z-header, 1050);
  background: linear-gradient(135deg, #0F172A 0%, #0F766E 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
}

.wf-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.wf-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.wf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  flex-shrink: 0;
}

.wf-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wf-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wf-brand-text strong {
  font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-size: 16.5px;
  font-weight: 800;
}

.wf-brand-text small {
  font-size: 11px;
  color: #99F6E4;
  font-weight: 600;
}

.wf-top-search {
  position: relative;
  flex: 1;
  max-width: 260px;
}

.wf-top-search i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.wf-top-search input {
  width: 100%;
  padding: 8px 14px 8px 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}

.wf-top-search input::placeholder { color: rgba(255, 255, 255, 0.72); }
.wf-top-search input:focus { background: rgba(255, 255, 255, 0.24); border-color: #5EEAD4; }

.wf-top-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-top-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.wf-top-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.wf-top-tab.active {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  box-shadow: inset 0 -2.5px 0 #5EEAD4;
}

.wf-top-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.wf-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}

.wf-pill-primary {
  background: #FFFFFF;
  color: #0F766E;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.wf-pill-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.wf-pill-btn:hover { transform: translateY(-1px); }

/* ==================== LAYOUT 3 KOLOM DESKTOP ==================== */
.wf-layout {
  max-width: 1320px;
  margin: 18px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 280px minmax(0, 660px) 310px;
  justify-content: center;
  gap: 20px;
  align-items: start;
}

.wf-sidebar-left,
.wf-sidebar-right {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wf-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* CARDS */
.wf-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  padding: 16px;
}

.wf-card-title,
.wf-card-title-row {
  font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

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

.wf-card-title-row a {
  font-size: 12px;
  color: #0284C7;
  text-decoration: none;
  font-weight: 700;
}

/* SIDEBAR KIRI */
.wf-pm-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.wf-pm-guest h3 {
  margin: 0 0 4px;
  font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-size: 16px;
}

.wf-pm-guest p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.45;
}

.wf-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  text-align: center;
}

.wf-stat-box {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 8px 4px;
}

.wf-stat-box strong {
  display: block;
  font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-size: 17px;
  color: #0F766E;
}

.wf-stat-box span {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.wf-side-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wf-side-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 12px;
  color: #1E293B;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}

.wf-side-menu a:hover {
  background: #F0FDFA;
  color: #0F766E;
  transform: translateX(2px);
}

.wf-sm-ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 13.5px;
  flex-shrink: 0;
}

.c-teal    { background: linear-gradient(135deg, #0F766E, #14B8A6); }
.c-sky     { background: linear-gradient(135deg, #0284C7, #38BDF8); }
.c-orange  { background: linear-gradient(135deg, #EA580C, #FB923C); }
.c-amber   { background: linear-gradient(135deg, #D97706, #FBBF24); }
.c-indigo  { background: linear-gradient(135deg, #4F46E5, #818CF8); }
.c-emerald { background: linear-gradient(135deg, #059669, #34D399); }
.c-cyan    { background: linear-gradient(135deg, #0891B2, #22D3EE); }
.c-purple  { background: linear-gradient(135deg, #7C3AED, #A78BFA); }

/* SIDEBAR KANAN */
.wf-side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wf-side-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 6px;
  border-radius: 12px;
  transition: background 0.15s;
}

.wf-side-item:hover { background: #F8FAFC; }

.wf-side-item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #E2E8F0;
}

.wf-side-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.wf-side-item-body strong {
  font-size: 13px;
  line-height: 1.3;
  color: #0F172A;
}

.wf-side-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #059669;
}

.wf-side-item-body small {
  font-size: 11px;
  color: #64748B;
}

.wf-side-empty {
  font-size: 12.5px;
  color: #94A3B8;
  margin: 4px 0;
}

/* ==================== STORIES STRIP ALA FACEBOOK ==================== */
.wf-stories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.wf-stories::-webkit-scrollbar { display: none; }

.wf-story-card {
  position: relative;
  flex: 0 0 132px;
  height: 182px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  background: #0F172A;
  transition: transform 0.2s;
}

.wf-story-card:hover { transform: translateY(-3px); }

.wf-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.wf-story-card:hover img { transform: scale(1.06); }

.wf-story-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 35%, rgba(15, 23, 42, 0.88) 100%);
}

.wf-story-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 800;
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.wf-story-title {
  position: absolute;
  bottom: 10px;
  left: 9px;
  right: 9px;
  z-index: 2;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ==================== ALERTS & GUEST CTA ==================== */
.wf-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
}
.wf-alert[hidden] { display: none; }
.wf-alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.wf-alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.wf-alert-info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

.wf-shared-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F0FDFA;
  border: 1px solid #99F6E4;
  color: #0F766E;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}
.wf-shared-banner a { color: #0284C7; text-decoration: none; font-weight: 700; }

.wf-guest-cta {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 60%, #E0F2FE 100%);
  border: 1px solid #99F6E4;
}

.wf-guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 118, 110, 0.12);
  color: #0F766E;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.wf-guest-head h2 {
  margin: 0 0 6px;
  font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-size: 19px;
  color: #0F172A;
}

.wf-guest-head p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

.wf-guest-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wf-btn-google,
.wf-btn-nik {
  flex: 1 1 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.wf-btn-full { width: 100%; }

.wf-btn-nik {
  background: linear-gradient(135deg, #0F766E, #0D9488);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.wf-btn-google {
  background: #FFFFFF;
  color: #1E293B;
  border: 1.5px solid #CBD5E1;
}

.wf-btn-google .fa-google { color: #EA4335; }
.wf-btn-nik:hover, .wf-btn-google:hover { transform: translateY(-1px); }

/* AVATAR & BADGES */
.wf-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F766E, #0284C7);
  color: #FFFFFF;
  font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.wf-avatar-lg { width: 48px; height: 48px; font-size: 19px; }
.wf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wf-verified-icon { color: #0284C7; font-size: 14px; margin-left: 4px; }

.wf-user-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 2px;
}
.wf-badge-pemdes { background: #FEF3C7; color: #B45309; }
.wf-badge-warga  { background: #E0F2FE; color: #0369A1; }
.wf-badge-google { background: #F1F5F9; color: #475569; }

/* COMPOSER */
.wf-composer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.wf-user-line { display: flex; align-items: center; font-size: 14.5px; }

.wf-composer textarea {
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  resize: vertical;
  min-height: 82px;
  background: #F8FAFC;
  color: #0F172A;
  outline: none;
}
.wf-composer textarea:focus { border-color: #0F766E; background: #FFFFFF; }

.wf-photo-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.wf-preview-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid #E2E8F0; }
.wf-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.wf-preview-remove {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px;
  border-radius: 50%; border: none; background: rgba(15, 23, 42, 0.78); color: #FFFFFF; cursor: pointer;
}

.wf-composer-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.wf-composer-meta select, .wf-composer-meta input {
  width: 100%; padding: 9px 12px; border: 1px solid #E2E8F0; border-radius: 10px;
  font-family: inherit; font-size: 13px; background: #FFFFFF; outline: none;
}
.wf-composer-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid #F1F5F9;
}
.wf-upload-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border-radius: 10px; background: #F0FDFA; color: #0F766E; font-size: 13.5px;
  font-weight: 700; cursor: pointer; border: 1px dashed #5EEAD4;
}
.wf-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #0F766E, #0D9488); color: #FFFFFF;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.24);
}
.wf-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* FILTER CHIPS */
.wf-filter-bar { display: flex; flex-direction: column; gap: 10px; }
.wf-search-mobile { display: none; position: relative; }
.wf-search-mobile i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #64748B; font-size: 14px; }
.wf-search-mobile input {
  width: 100%; padding: 10px 14px 10px 38px; border-radius: 999px;
  border: 1px solid #E2E8F0; background: #FFFFFF; font-family: inherit; font-size: 13.5px; outline: none;
}

.wf-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.wf-chips::-webkit-scrollbar { display: none; }
.wf-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid #E2E8F0;
  background: #FFFFFF; color: #334155; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.16s;
}
.wf-chip.active {
  background: #0F766E; color: #FFFFFF; border-color: #0F766E;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.22);
}

/* ==================== FEED CARDS (WARGA, BERITA & LAPAK) ==================== */
.wf-feed-list { display: flex; flex-direction: column; gap: 14px; }

.wf-post-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.wf-post-card.is-pinned { border-color: #FCD34D; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.1); }
.wf-pin-ribbon {
  background: #FFFBEB; color: #B45309; font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-bottom: 1px solid #FEF3C7; display: flex; align-items: center; gap: 6px;
}

.wf-post-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.wf-post-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wf-post-author-info { min-width: 0; }
.wf-post-name { font-weight: 700; font-size: 14.5px; color: #0F172A; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.wf-post-sub { font-size: 12px; color: #64748B; margin-top: 2px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

.wf-kat-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px;
  border-radius: 999px; font-size: 11px; font-weight: 700; color: #FFFFFF;
}

.wf-post-menu { display: flex; align-items: center; gap: 4px; }
.wf-mini-btn {
  border: none; background: transparent; color: #64748B; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.wf-mini-btn:hover { background: #F1F5F9; color: #0F172A; }
.wf-mini-btn.danger:hover { background: #FEF2F2; color: #DC2626; }

.wf-post-body { padding: 2px 16px 12px; font-size: 14.5px; line-height: 1.6; color: #1E293B; white-space: pre-wrap; word-break: break-word; }

/* BERITA CARD RICH STYLE */
.wf-berita-cover { position: relative; display: block; overflow: hidden; max-height: 330px; background: #0F172A; }
.wf-berita-cover img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.3s; }
.wf-berita-cover:hover img { transform: scale(1.03); }
.wf-berita-content { padding: 14px 16px 12px; }
.wf-berita-title {
  display: block; font-family: var(--sl-font-heading, 'Outfit', sans-serif);
  font-size: 18px; font-weight: 800; color: #0F172A; text-decoration: none; line-height: 1.3; margin-bottom: 6px;
}
.wf-berita-title:hover { color: #0F766E; }
.wf-berita-excerpt { margin: 0; font-size: 13.5px; color: #475569; line-height: 1.55; }

/* LAPAK UMKM MARKETPLACE CARD STYLE */
.wf-lapak-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 12px 16px; background: #FFF7ED; border-top: 1px solid #FFEDD5; border-bottom: 1px solid #FFEDD5;
}
.wf-lapak-title { font-family: var(--sl-font-heading, 'Outfit', sans-serif); font-size: 16.5px; font-weight: 800; color: #0F172A; }
.wf-lapak-price { font-family: var(--sl-font-heading, 'Outfit', sans-serif); font-size: 17px; font-weight: 800; color: #059669; }
.wf-stok-pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #DCFCE7; color: #166534; }
.wf-stok-pill.po { background: #FEF3C7; color: #92400E; }

/* PHOTO GRID */
.wf-photo-grid { display: grid; gap: 3px; background: #E2E8F0; }
.wf-photo-grid.count-1 { grid-template-columns: 1fr; }
.wf-photo-grid.count-2 { grid-template-columns: 1fr 1fr; }
.wf-photo-grid.count-3 { grid-template-columns: 1fr 1fr; }
.wf-photo-grid img { width: 100%; max-height: 380px; object-fit: cover; display: block; cursor: zoom-in; }
.wf-photo-grid.count-2 img, .wf-photo-grid.count-3 img { height: 220px; }
.wf-photo-grid.count-3 img:first-child { grid-column: span 2; height: 250px; }

/* ACTION BARS */
.wf-post-actions { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #F1F5F9; padding: 4px 8px; }
.wf-post-actions.cols-2 { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px; }

.wf-act-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 6px; border: none; background: transparent; border-radius: 10px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: #475569; text-decoration: none; cursor: pointer;
}
.wf-act-btn:hover { background: #F8FAFC; color: #0F172A; }
.wf-act-btn.liked { color: #DC2626; }
.wf-act-cta-primary { background: #0F766E; color: #FFFFFF; font-weight: 700; }
.wf-act-cta-primary:hover { background: #115E59; color: #FFFFFF; }
.wf-act-cta-wa { background: #16A34A; color: #FFFFFF; font-weight: 700; }
.wf-act-cta-wa:hover { background: #15803D; color: #FFFFFF; }
.wf-act-cta-soft { background: #F1F5F9; color: #1E293B; font-weight: 700; }

/* SKELETON, EMPTY, LOAD MORE */
.wf-skeleton-card {
  height: 180px; border-radius: 18px;
  background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
  background-size: 200% 100%; animation: wfShimmer 1.3s infinite;
}
@keyframes wfShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.wf-empty {
  text-align: center; padding: 40px 20px; background: #FFFFFF;
  border-radius: 18px; border: 1px dashed #CBD5E1; color: #64748B;
}
.wf-empty i { font-size: 36px; color: #94A3B8; margin-bottom: 10px; }
.wf-load-more-wrap { text-align: center; margin-top: 4px; }
.wf-load-more-btn {
  padding: 11px 26px; border-radius: 999px; border: 1px solid #CBD5E1;
  background: #FFFFFF; color: #0F766E; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}

/* MODALS & QUICK LOGIN */
.wf-modal {
  position: fixed; inset: 0; z-index: var(--sl-z-modal, 10100);
  display: flex; align-items: flex-end; justify-content: center;
}
.wf-modal[hidden] { display: none; }
.wf-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.58); backdrop-filter: blur(2px); }
.wf-modal-sheet {
  position: relative; width: 100%; max-width: 600px; max-height: 85vh;
  background: #FFFFFF; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 -10px 35px rgba(15, 23, 42, 0.25);
}
.wf-modal-sm { max-width: 440px; }
.wf-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid #E2E8F0; }
.wf-modal-head h3 { margin: 0; font-size: 16px; font-family: var(--sl-font-heading, 'Outfit', sans-serif); }
.wf-modal-close { border: none; background: #F1F5F9; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; }

.wf-login-form { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.wf-login-desc { margin: 0; font-size: 13px; color: #475569; line-height: 1.5; }
.wf-field { display: flex; flex-direction: column; gap: 5px; }
.wf-field label { font-size: 12.5px; font-weight: 700; color: #334155; }
.wf-field input {
  padding: 11px 13px; border-radius: 10px; border: 1.5px solid #CBD5E1;
  font-family: inherit; font-size: 14px; outline: none;
}
.wf-field input:focus { border-color: #0F766E; }
.wf-login-divider { text-align: center; font-size: 12px; color: #94A3B8; position: relative; }
.wf-login-foot { text-align: center; font-size: 12.5px; color: #64748B; }
.wf-login-foot a { color: #0F766E; font-weight: 700; text-decoration: none; }

.wf-comment-list { flex: 1; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.wf-comment-item { display: flex; gap: 10px; align-items: flex-start; }
.wf-comment-item .wf-avatar { width: 34px; height: 34px; font-size: 14px; }
.wf-comment-bubble { flex: 1; background: #F1F5F9; border-radius: 14px; padding: 9px 13px; }
.wf-comment-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.wf-comment-text { margin-top: 4px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.wf-comment-meta { font-size: 11px; color: #64748B; margin-top: 4px; }
.wf-comment-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid #E2E8F0; }
.wf-comment-form input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid #CBD5E1; font-family: inherit; font-size: 13.5px; outline: none; }
.wf-comment-form button { width: 42px; height: 42px; border-radius: 50%; border: none; background: #0F766E; color: #FFFFFF; cursor: pointer; }
.wf-comment-login-note { padding: 14px 18px; text-align: center; background: #F8FAFC; border-top: 1px solid #E2E8F0; font-size: 13px; }
.wf-link-btn { border: none; background: none; color: #0F766E; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 13px; text-decoration: underline; }

/* LIGHTBOX & TOAST */
.wf-lightbox {
  position: fixed; inset: 0; z-index: var(--sl-z-zoom, 10200);
  background: rgba(15, 23, 42, 0.92); display: flex; align-items: center; justify-content: center; padding: 20px;
}
.wf-lightbox[hidden] { display: none; }
.wf-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.wf-lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.18); color: #FFFFFF; font-size: 24px; cursor: pointer;
}

.wf-toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 10300;
  background: #0F172A; color: #FFFFFF; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}
.wf-toast[hidden] { display: none; }

/* ==================== RESPONSIF TABLET & MOBILE ==================== */
@media (min-width: 640px) {
  .wf-modal { align-items: center; padding: 20px; }
  .wf-modal-sheet { border-radius: 20px; max-height: 82vh; }
}

@media (max-width: 1120px) {
  .wf-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .wf-sidebar-right { display: none; }
}

@media (max-width: 820px) {
  .wf-topbar-inner { grid-template-columns: auto auto; }
  .wf-top-search, .wf-top-tabs { display: none; }
  .wf-layout { grid-template-columns: 1fr; padding: 0 12px; margin-top: 12px; }
  .wf-sidebar-left { display: none; }
  .wf-search-mobile { display: block; }
  .wf-composer-meta { grid-template-columns: 1fr; }
}
