:root {
  --primary: #F4320B;
  --blue: #0077FF;
  --blue-light: #99CCFF;/*#00B2FF;*/
  --blue-dark: #1565C0;
  --blue-soft: #1E88E5;
  --yellow: #FFC857;
  --green: #149C07;/*#3CC47C;*/
  --orange: #FF6B35;
  --purple: #B388EB;
  --gray-bg: #F5F7FA;
  --red:  #B00020;
  --dark: #666666;
  --black: #000000;
  --white: #FFFFFF;
  --font-main: 'Urbanist', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/*-- Scroll-bar on Mobile --*/
@media (max-width: 1500px) {
  body {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  body::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  /* Optional: for a specific scrollable container */
  .hide-scroll-on-mobile {
    overflow: auto;
    scrollbar-width: none;
  }
  .hide-scroll-on-mobile::-webkit-scrollbar {
    display: none;
  }
}
input[readonly] {
    background-color: #f1f1f1;
}
h1 {
  margin: 15px 0;
}
a {
  color: var(--blue-dark);
}
.errRed {
    color: var(--red) !important;
}
/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.boxPlain {
    padding:5px;
    margin:1px;
    float:left;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo a {
  text-decoration: none;
  color: #fff;
}
/* ===== MAIN MENU (Desktop Only) ===== */
.main-menu {
  flex: 1;
  text-align: center;
}
.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.main-menu a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.main-menu a:hover {
  color: var(--yellow);
}
/* Hide on smaller screens */
@media (max-width: 600px) {
  .main-menu {
    display: none;
  }
}
@media (max-width: 610px) {
  #icon-usr-txt {
    display: none;
  }
}
@media (max-width: 750px) {
  .main-menu-b {
    display: none;
  }
}
@media (max-width: 900px) {
  .main-menu-c {
    display: none;
  }
}
.top-actions {
  display: flex;
  align-items: center;
}
.advt-section {
  width: 100%;
  margin: 10px 0;
  padding: 0px;
  text-align: center;
}
.advt-section ins {
  width: 100% !important;
  height: auto !important;
}
.icon-btn,
.icon-usr {
  background: none;
  border: none;
  color: white;
  margin-left: 1rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 600;
}
.icon-btn {
  font-size: 1rem;
  background-color:var(--white); color:var(--primary); padding: 0.5rem 1rem; border-radius: 5px;
}
.icon-usr {
  font-size: 1.5rem;
}
#icon-usr-txt {
  font-size: 22px;
  padding: 0 0 0 5px;
  vertical-align: text-top;
}
.icon-btn i {
  margin-right: 6px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  height: 100%;
  width: 53px;
  color: var(--primary);
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;          /* prevent horizontal scroll */
  overflow-y: auto;            /* allow vertical scroll */
  scrollbar-width: none;       /* Firefox hide scrollbar */
  -ms-overflow-style: none;    /* IE/Edge hide scrollbar */
  transition: width 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  z-index: 9;
}
.sidebar::-webkit-scrollbar {
  display: none;               /* Chrome/Safari hide scrollbar */
}
.sidebar:hover,
.sidebar.show {
  width: 280px;
}
.sidebar ul {
  list-style: none;
}
.sidebar li {
  display: flex;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
}
.sidebar li:hover {
  background: var(--blue-light);
  /*color: #fff;*/
}
.sidebar li i {
  font-size: 1.2rem;
  margin-right: 22px;
  width: 15px;
}
.sidebar li a {
  /*color: var(--primary);*/
  text-decoration: none;
}
/*.sidebar li a:hover {
  background: var(--primary);
  color: #fff;
}*/

/* ===== FILTER BAR ===== */
/* ==== ENHANCED SEARCH & FILTER BAR ==== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  border: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-radius: 50px;
  padding: 0.6rem 1rem;
  max-width: 1000px;
  margin: 0rem auto;
  transition: all 0.3s ease;
}
.filter-bar:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.filter-bar form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
}
.filter-bar input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  border: 1px solid #ddd;
  border-radius: 40px;
  font-size: 1rem;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center;
  background-size: 18px;
  transition: all 0.25s ease;
}
.filter-bar input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244,50,11,0.15);
}
.filter-bar select {
  padding: 0.55rem 0.9rem;
  border-radius: 40px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.filter-bar select:hover,
.filter-bar select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(244,50,11,0.1);
}
/* === City Autocomplete === */
.city-box {
  position: relative;
  flex: 1;
  min-width: 180px;
}
#citySearch {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border-radius: 40px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 6-9 13-9 13S3 16 3 10a9 9 0 1118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat 12px center;
  background-size: 16px;
}
#citySearch:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244,50,11,0.15);
}
#citySuggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  z-index: 20;
}
#citySuggest li {
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}
#citySuggest li:hover,
#citySuggest li.active {
  background: var(--primary);
  color: white;
}
/* === Mobile Expand/Collapse for Filter Bar === */
@media (max-width: 600px) {
  .filter-bar {
    position: sticky;
    top: 0;
    margin-top: 0;
    flex-direction: column;
    border-radius: 0px;
    padding: 0.6rem;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  .filter-bar:not(.expanded) form > *:not(#searchBox):not(button) {
    display: none;
  }
  .filter-bar.expanded form > * {
    display: block;
    width: 100%;
  }
  .filter-bar.expanded {
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  }
  .filter-bar form {
    flex-direction: column;
    gap: 0.7rem;
  }
  .filter-bar input[type="text"],
  .filter-bar select,
  .filter-bar button {
    width: 100%;
  }
  .phone-view {
      font-size: 9px !important;
  }
  .phone-width-50 {
      width: 50% !important;
      text-align:left !important;
  }
  .phone-width-45 {
      width: 45% !important;
  }
  .phone-width-49 {
      width: 49% !important;
  }
  .phone-width-38 {
      width: 38% !important;
  }
  .phone-width-32 {
      width: 30% !important;
  }
  .phone-width-33 {
      width: 32% !important;
  }
  .phone-width-27 {
      width: 27% !important;
      text-align:left !important;
  }
  .phone-width-23 {
      width: 23% !important;
      text-align:left !important;
  }
  .phone-width-18 {
      width: 18% !important;
      text-align:left !important;
  }
  .phone-width-14 {
      width: 14% !important;
      text-align:left !important;
  }
  .phone-width-10 {
      width: 10% !important;
      text-align:left !important;
  }
  .phone-width-5 {
      width: 5% !important;
      text-align:left !important;
  }
  .phone-width-80 {
      width: 80% !important;
  }
  .phone-full-width {
      width: 90% !important;
      text-align:left !important;
  }
  .phone-width-98 {
      width: 98% !important;
  }
  .phone-width-99, .phone-full-width-99 {
      width: 99% !important;
  }
}
.filter-bar button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-bar button:hover {
  background: #d92b05;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.filter-bar button:active {
  transform: scale(0.97);
}

/* Responsive stack */
/*@media (max-width: 600px) {
  .filter-bar {
    flex-direction: column;
    border-radius: 20px;
    padding: 0.8rem;
  }
  .filter-bar form {
    flex-direction: column;
    gap: 0.7rem;
  }
  .filter-bar input[type="text"],
  .filter-bar select,
  .filter-bar button {
    width: 100%;
  }
}*/
/* === STICKY FILTER BAR (Desktop Only) === */
@media (min-width: 601px) {
  .filter-bar {
    position: sticky;
    top: 0px; /* adjust if header height differs */
    z-index: 1000;
    margin-top: 0;
    border-radius: 0;
  }
}

.sidebar-toggle {
  display: none !important;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  margin-left: 1rem;
}

.no_result { font-size:150%; }

/* Responsive Sidebar */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    opacity: 0;
    width: 240px;
    display: block;
  }
  .sidebar.mobile-visible {
    transform: translateX(0);
    opacity: 1;
    z-index: 1000;
  }
  .sidebar-toggle {
    display: inline-block !important;
  }
}

/*-- Mobile Button / APK bar --*/
@media only screen and (min-width: 991px) {
    .mobile-button {
        display: none;
    }
    .apk-bar {
        display: none;
    }
}
.mobile-button {
    background: #732c54;
    width: 100%;
    color: #fff;
    position:fixed;
    bottom: 0px;
    left: 0px;
    padding: 0.7rem 0;
    text-align: center;
    z-index: 99;
}
.apk-bar {
    background:#f1f1f1;
    color:#555555;
    border-top: 2px solid #6e267c;
    width: 100%;
    position:fixed;
    overflow: hidden;
    bottom: 0px;
    left: 0px;
    padding: 0px;
    text-align: center;
    z-index: 99;
}
.apk-bar-box {
    padding: 0px;
}
.apk-bar-box a {
    display: inline-block;
    color:#555555;
    /*padding:10px 13px;
    border: 1px solid #6e267c;
    background: #6e267c;*/
    width: 18%;
    text-align: center;
    padding: 10px 0;
    transition: all 0.3s ease;
    font-size: 24px;
    line-height:16px;
}
.apk-bar-box a span {
    font-size: 12px;
}
.apk-bar-box .inactive {
    color:#545454 !important;
    background: #f1f1f1 !important;
}
.apk-bar-box .active {
    color:#6e267c !important;
    /*background: #6e267c !important;*/
}
/*-- Mobile Button / APK bar END --*/
.blur-up { filter: blur(12px); transform: scale(1.02); transition: filter .3s ease; }
.blur-up.is-loaded { filter: blur(0); transform: none; }
.box-show {
    display: block !important;
}
.box-hide {
    display: none !important;
}

/* ===== CONTENT ===== */
.content {
  padding: 0rem 1.5rem;
  margin-left: 60px;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.cards a {
  text-decoration: none;
  color: #000;
}
.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  animation: fadeInUp 0.6s ease both;
  min-height: 400px; /* ✅ Minimum height for all cards */
  display: flex;
  flex-direction: column;
  border: 1px solid #555;
}
.featured_box {
  border-right: 10px solid var(--yellow);
}
.exclusive_box {
  border-right: 10px solid var(--green);
}
.premium_box {
  border-right: 10px solid var(--purple);
}
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}
.cards .own_ad {
  background: var(--yellow);
}
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ Ensures top info + bottom price/button alignment */
  flex-grow: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: bold;
}
.card-content h3 { font-size: 1.1rem; margin: 0.5rem 0; font-weight:500; }
.card-content p { font-size: 0.95rem; color: #555; padding: 5px 0; }

.card-images { position: relative; width: 100%; height: 220px; overflow: hidden; }
.card-images img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.card-images img.active { opacity: 1; z-index: 1; }
/* Hide skeleton once image loads */
.card-images img.loaded + .img-skeleton,
.card-images img.loaded ~ .img-skeleton {
  display: none;
}
.card-images {
  position: relative;
  overflow: hidden;
}
/*.card-images img.loaded {
  opacity: 1;
}*/
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; /* ✅ Pushes it to bottom */
}
.cta-btn {
  float: right;
  background-color: var(--primary);
  color: white !important;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  font-size: 0.85rem;
  text-decoration: none;
}
.cta-btn i { margin-left: 6px; }

.tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  /*animation: pulse 1.5s infinite;*/
  z-index: 5;
}
.featured { background-color: var(--yellow); color: black; }
.exclusive { background-color: var(--green); }
.premium { background-color: var(--purple); }
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@media (max-width: 1024px) {
  .content { margin-left: 0; }
}

.load-more-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
.load-more-btn:hover { background: #d92b05; }

/* ===== FOOTER ===== */
footer {
  background-color: #f1f3f5;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-column { flex: 1 1 200px; margin-bottom: 1.5rem; }
.footer-column h4 { margin-bottom: 1rem; font-size: 1rem; color: #333; }
.footer-column p { font-size: 0.9rem; color: #555; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; }
.footer-links li a { color: var(--blue-dark); text-decoration: none; font-size: 0.9rem; }
.footer-social { font-size: 1.5rem; color: var(--blue-dark); }
.footer-social a { margin-right: 12px; }
.footer-copy {
  text-align: center; font-size: 0.85rem; color: #777; margin-top: 1rem;
}

/* ===== LOADER ===== */
.spinner {
  display: inline-block;
  width: 32px; height: 32px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== LISTING PAGE ===== */
.listing-container {
  max-width: 1200px;
  margin: 0.5rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }

/* GALLERY */
.listing-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.listing-gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.listing-gallery img {
  width: 100%;
  flex: 0 0 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  gap: 6px;
}
.gallery-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}
.gallery-dots span.active { background: var(--primary); }

/* ===== FINAL: 3-ROW LISTING HEADER ===== */
.listing-header {
  background: #fff;
  color: #000;
  padding: 1.4rem 1rem 1rem;
  border-bottom: 1px solid #eee;
}

/* Row 1 */
.category-line {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: 0.4px;
}
.category-line .txn { color: var(--primary); }
.category-line .divider { color: #888; margin: 0 6px; }
.category-line .cat { color: #000; }

/* Row 2 */
.title-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.listing-title {
  flex: 1;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin: 0;
}
.listing-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  margin-left: 1rem;
  text-align: right;
}

/* Row 3 */
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.4rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-item i {
  color: var(--primary);
}
.meta-item.location {
  flex: 1;
}
.meta-item.posted {
  font-style: italic;
  color: #777;
}
/* Responsive Header */
@media (max-width: 768px) {
  .listing-gallery img { height: 360px; }
  .title-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .listing-title {
    font-size: 1.5rem;
  }
  .listing-price {
    font-size: 1.4rem;
    margin-left: 0;
  }
  .meta-row {
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
  }
}

/* ===== DESCRIPTION, TABLE, CTA ===== */
.specs-table {
  margin-top: 1.5rem;
  width: 100%;
  border-collapse: collapse;
}
.specs-table th, .specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.specs-table th {
  width: 180px;
  color: #333;
  background: #fafafa;
  font-weight: 600;
  text-align: left;
}
.listing-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-top: 1rem;
}

/* CTA Button */
.contact-seller {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.btn-contact {
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-contact:hover { background: #d92b05; }

/* ===== FLOATING CONTACT SELLER BUTTON ===== */
.floating-contact-btn {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  padding: 0.8rem 1.3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 999;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}
.floating-contact-btn i { font-size: 1.2rem; }
.floating-contact-btn:hover { background: #d92b05; transform: translateX(-50%) scale(1.05); }
.floating-contact-btn.static {
  position: static;
  display: inline-flex;
  transform: none;
  box-shadow: none;
  margin: 1.5rem auto;
  justify-content: center;
  width: auto !important;      /* ensure it doesn't stretch */
  max-width: max-content;      /* keeps it compact */
  text-align: center;
}
article .floating-contact-btn.static {
  display: flex;
  justify-content: center;
}
/* --- FINAL FIX: Force 3-row layout to header in listing page --- */
.listing-header {
  display: block !important;
  z-index: 0;
}
.listing-header > * {
  display: block !important;
  width: 100% !important;
}
.title-price {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
/* Override: allow the meta row to be flex so Posted can sit on the right */
.listing-header > .meta-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

/* Keep your intent: left grows, right hugs */
.meta-item.location { flex: 1 1 auto; min-width: 0; }
.meta-item.posted { margin-left: auto; font-style: italic; color: #777; }

/* === Image Skeleton Loader === */
.img-skeleton {
  width: 100%;
  height: 220px; /* match card-images height */
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.post-status { padding:0 15px; }
.post-error { color: var(--red); }
.post-ok { color: var(--green); }