/* Dial2Day V6.1 business listing forced layout fix */
body .listing-hero {
  padding: 54px 0 !important;
  background: linear-gradient(135deg,#f3f8ff,#f4fff9) !important;
  border-bottom: 1px solid #e4eaf2 !important;
}

body .listing-search {
  display: grid !important;
  grid-template-columns: minmax(220px,1.4fr) minmax(170px,1fr) minmax(170px,1fr) auto auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid #e4eaf2 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(18,32,51,.08) !important;
}

body .listing-search input:not([type="checkbox"]),
body .listing-search select {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  padding: 0 13px !important;
  border: 1px solid #d8e0eb !important;
  border-radius: 9px !important;
  background: #fff !important;
  font: inherit !important;
}

body .listing-search .verified-check {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
}

body .listing-search .verified-check input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

body .listing-search .btn {
  height: 48px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body .listing-toolbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}

body .listing-toolbar h2 {
  text-align: left !important;
  margin: 0 !important;
}

body .listing-toolbar .small-note {
  margin: 4px 0 0 !important;
  color: #637083 !important;
}

body .listing-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 24px !important;
}

body .listing-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #e4eaf2 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 26px rgba(18,32,51,.07) !important;
}

body .listing-cover {
  position: relative !important;
  width: 100% !important;
  height: 185px !important;
  overflow: hidden !important;
  background: #edf2f8 !important;
}

body .listing-cover > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

body .listing-content {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  padding: 18px !important;
}

body .listing-logo-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: -48px !important;
  margin-bottom: 8px !important;
}

body img.listing-logo {
  position: relative !important;
  z-index: 2 !important;
  width: 78px !important;
  height: 78px !important;
  max-width: 78px !important;
  object-fit: cover !important;
  border: 5px solid #fff !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(18,32,51,.18) !important;
}

body .listing-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: auto !important;
}

@media (max-width: 1050px) {
  body .listing-search {
    grid-template-columns: 1fr 1fr !important;
  }
  body .listing-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 650px) {
  body .listing-search,
  body .listing-grid {
    grid-template-columns: 1fr !important;
  }
  body .listing-toolbar {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}
