.spot-box .cf {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 -10px;
}
.spot-box .cf .dem {
  width: calc(25% - 5px);
  padding: 10px;
  margin-right: 5px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: all 0.3s;
}
.spot-box .cf .dem:hover {
  border-color: #ff6700;
}
.spot-box .cf .dem:hover .ap-name .ap-hover-name {
  display: block;
}
.spot-box .cf .dem:hover .hover-content {
  display: block;
}
.spot-box .cf .dem a {
  margin: 0;
}
.spot-box .cf .dem a:hover {
  text-decoration: none;
}
.spot-box .cf .dem a:hover .ap-name p:last-child {
  font-weight: 700;
  text-decoration: underline;
}
.spot-box .cf .dem a .hover-content {
  display: none;
  position: absolute;
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.spot-box .cf .dem a .hover-content .content {
  font-size: 12px;
  border-radius: 12px;
}
.spot-box .cf .dem a .hover-content .content p {
  margin: 0;
  margin-bottom: 5px;
  line-height: 15px;
}
.spot-box .cf .dem a img {
  width: 100%;
  height: 140px;
  max-width: initial;
  border-radius: 12px;
}
.spot-box .cf .dem .content-box {
  box-sizing: border-box;
  position: relative;
  margin-bottom: 10px;
}
.spot-box .cf .dem .ap-name {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.spot-box .cf .dem .ap-name .ap-hover-name {
  display: none;
  width: 100%;
  background: #fff;
  color: #000;
  position: absolute;
  top: calc(100% + 5px);
  padding: 2px;
  border-radius: 5px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  font-size: 12px;
  z-index: 2;
}
.spot-box .cf .dem .ap-name .ap-hover-name:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}
.spot-box .cf .dem .ap-name p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 20px;
  margin: 0;
}
.spot-box .cf .dem .ap-name p:last-child {
  color: red;
  white-space: nowrap;
  overflow: visible;
}
.panel-con {
  overflow: initial;
}
