


.header{
    display: none;
}

.backButton{
    display: flex;
}
.body-container {
    padding: 0px 0px 0px 0px;
}

/* Header row */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.sort-select {
  display: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px;
  background: #fff;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

/* Grid layout */
.cards-row {
  /* display: grid; */
  display: flex;
  /* display: f; */
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
        flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* ✅ FIX: Remove white gap between image and label */
.card img {
  width: 100%;
  height: 100px;
  /* object-fit: contain; */
  background: #f3f4f6;
  display: block;   /* removes inline spacing below img */
  margin: 0;
  padding: 0;
  border: none;
}

/* Label section directly touches the image */
.card-label {
      padding: 8px;
    text-align: center;
    background: #334155;
    color: #C5C6CC;
    line-height: 1.4;
    font-family: Lato;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 14px;
}
/* Responsive tweaks */
.inner-section-title{
    font-family: Lato;
font-weight: 700;
font-style: Bold;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: -0.24px;
vertical-align: middle;
color: #334155;
display: flex;
/* align-items: center; */
gap: 4px;

}

    @media (min-width: 991px) {
      .cards-row {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
      }

      .card {
        flex: 1 0 22%;
        max-width: 22%;
      }

      .myspace-card {
        flex: 1 0 48%;
      }
    }

@media (max-width: 768px) {
  .cards-row {
      display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .card img {
    height: 90px;
  }
      .body-hld {
        padding: 20px 10px 10px 10px;
    }
}

@media (max-width: 480px) {
  .section-header {
    align-items: center;
    gap: 8px;
  }
  
}
