        .xcontainer {
            width: 90%;
            max-width: 1200px;
            margin: auto;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .xheader {
            text-align: center;
            background: #475e71;
            padding: 20px;
        }
        .xheader img {
            max-width: 100%;
            height: auto;
        }
        .xcontent {
            padding: 20px;
            line-height: 1.6;
        }
        .xarticle-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        .xarticle-item {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .xarticle-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }
        .xarticle-content {
            padding: 15px;
        }
        .xarticle-title {
            font-weight: bold;
            font-size: 18px;
            margin-top: 10px;
        }
        .xarticle-description {
            font-size: 14px;
            color: #555;
            margin-top: 5px;
        }
/* =========================
   LISTINGS ONLY (SAFE)
========================= */

/* Desktop layout */
.xlisting-item {
  display: flex;
  gap: 10px; /* tighter spacing since image is smaller */
  text-align: left;
  align-items: flex-start;
}

/* Thumbnail wrapper */
.xlisting-item .xarticle-thumb {
  flex-shrink: 0;
}

/* Thumbnail image (SMALLER SIZE) */
.xlisting-item .xarticle-thumb img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  padding: 10px;
  border-radius: 6px;
  border: none;
  display: block;
}

/* Prevent ONLY global image rule from interfering */
.xlisting-item > img {
  width: auto;
  height: auto;
}

/* Content */
.xlisting-item .xarticle-content {
  flex: 1;
  padding: 0;
}

/* Title */
.xlisting-item .xarticle-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
}

/* Description */
.xlisting-item .xarticle-description {
  font-size: 13px;
  color: #555;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {

  .xlisting-item {
    flex-direction: column;
    gap: 10px;
    align-items: center;   /* 👈 ADD THIS */
    text-align: center;    /* 👈 ADD THIS */
  }

  .xlisting-item .xarticle-thumb img {
    width: 100%;
    height: auto;
  }

  .xlisting-item .xarticle-content {
    padding: 10px 0;
    text-align: center;   /* 👈 ADD THIS (ensures text centers) */
  }

}