/* Homepage feed: lost/found accordion after the first post row. */
html body .index__posts > .index__post.cotinder-city-ads {
  display: block !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 100%;
  margin: 0;
  grid-column: 1 / -1;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  html body .cotinder-index-feed[data-cotinder-feed-tab="last"] .index__posts > .index__post.cotinder-city-ads,
  html body .tabs__content[data-target="last"] .index__posts > .index__post.cotinder-city-ads {
    display: none !important;
  }
}

html body .cotinder-city-ads__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(45, 45, 45, 0.08);
}

html body .cotinder-city-ads__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 10px 148px 10px 16px;
  cursor: pointer;
  list-style: none;
}

html body .cotinder-city-ads__summary::-webkit-details-marker {
  display: none;
}

html body .cotinder-city-ads__summary::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  transform: rotate(-45deg);
}

html body .cotinder-city-ads__details[open] > .cotinder-city-ads__summary::before {
  transform: rotate(45deg);
  margin-top: -4px;
}

html body .cotinder-city-ads__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

html body .cotinder-city-ads__all {
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 48px;
  color: #fd7728;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

html body .cotinder-city-ads__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px 12px;
}

html body .cotinder-city-ads__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #faf8f6;
}

html body .cotinder-city-ads__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #efeae4;
  overflow: hidden;
}

html body .cotinder-city-ads__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html body .cotinder-city-ads__badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

html body .cotinder-city-ads__badge--lost {
  background: #e85d4c;
}

html body .cotinder-city-ads__badge--found {
  background: #2f9e6b;
}

html body .cotinder-city-ads__test {
  margin: 8px 10px 0;
  color: #fd7728;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

html body .cotinder-city-ads__text {
  padding: 4px 10px 10px;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  html body .cotinder-city-ads__summary {
    flex-wrap: wrap;
  }

  html body .cotinder-city-ads__all {
    margin-left: auto;
  }

  html body .cotinder-city-ads__body {
    grid-template-columns: 1fr;
  }
}
