* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.duan247-atv {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 60px 15px;
  overflow: hidden;
}

.duan247-atv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;

  margin-bottom: 35px;
}

.duan247-atv-title {
  flex: 1;
}

.duan247-atv-title small {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  border-radius: 50px;

  background: #eef7f6;

  color: #0c5563;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 18px;
}

.duan247-atv-title small span {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #00b894;
}

.duan247-atv-title h2 {
  font-size: 42px;
  line-height: 1.3;

  color: #083c4a;

  margin-bottom: 18px;

  font-weight: 800;
}

.duan247-atv-title p {
  max-width: 850px;

  font-size: 17px;

  line-height: 1.8;

  color: #666;
}

.duan247-atv-nav {
  display: flex;
  gap: 14px;
}

.duan247-atv-nav button {
  width: 58px;
  height: 58px;

  border: none;

  border-radius: 50%;

  background: #0c5563;

  color: #fff;

  font-size: 22px;

  cursor: pointer;

  transition: 0.3s ease;

  flex-shrink: 0;
}

.duan247-atv-nav button:hover {
  background: #062f39;

  transform: translateY(-3px);
}

.duan247-atv-slider {
  display: flex;
  gap: 24px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;

  cursor: grab;
}

.duan247-atv-slider::-webkit-scrollbar {
  display: none;
}

.duan247-atv-slider.dragging {
  cursor: grabbing;
}

.duan247-atv-card {
  flex: 0 0 320px;
}

.duan247-atv-card a {
  display: block;

  background: #fff;

  border-radius: 24px;

  overflow: hidden;

  text-decoration: none;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  transition: 0.35s ease;
}

.duan247-atv-card a:hover {
  transform: translateY(-6px);
}

.duan247-atv-image {
  position: relative;

  height: 220px;

  overflow: hidden;
}

.duan247-atv-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: 0.5s ease;
}

.duan247-atv-card:hover img {
  transform: scale(1.05);
}

.duan247-atv-image span {
  position: absolute;

  top: 15px;
  left: 15px;

  background: #ff3d5a;

  color: #fff;

  padding: 8px 16px;

  border-radius: 50px;

  font-size: 13px;
  font-weight: 700;
}

/* CONTENT */

.duan247-atv-content {
  padding: 22px;
}

.duan247-atv-content h3 {
  font-size: 24px;
  line-height: 1.4;
  color: #0c5563;
  margin-bottom: 10px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.duan247-atv-content p {
  color: #777;

  font-size: 15px;
}

@media (max-width: 991px) {
  .duan247-atv-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .duan247-atv-title h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .duan247-atv {
    padding: 40px 15px;
  }

  .duan247-atv-title h2 {
    font-size: 26px;
  }

  .duan247-atv-title p {
    font-size: 15px;
  }

  .duan247-atv-card {
    flex: 0 0 280px;
  }

  .duan247-atv-image {
    height: 190px;
  }

  .duan247-atv-nav button {
    width: 50px;
    height: 50px;
  }
}
