/**
 * HOME参考 - 新闻动态（rno-developer-section / rno-5-media-panel）
 */
.home-qcloud-ref .rno-developer-section {
  position: relative;
  padding: 80px 10px;
  margin-bottom: 0;
  overflow: hidden;
}

.home-qcloud-ref .rno-developer-section .rno-2-section-inner {
  position: relative;
  z-index: 2;
}

.home-qcloud-ref .rno-developer-section .home-developer-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: url(/static/home/images/qcloud/home-developer-bg.png) top center no-repeat #f7f8fa;
  background-size: cover;
  pointer-events: none;
}

.home-qcloud-ref .rno-5-media-panel {
  display: block;
  position: relative;
  top: 0;
  transition: all 0.2s linear;
  box-shadow: 0 2px 4px rgba(3, 27, 78, 0.06);
  border: 1px solid #e5e8ed;
  box-sizing: border-box;
  border-radius: 2px;
  background-color: #fff;
  text-decoration: none;
}

.home-qcloud-ref .rno-5-media-panel:hover {
  box-shadow: 0 4px 8px rgba(3, 27, 78, 0.12);
}

.home-qcloud-ref .rno-5-media-panel.hand {
  cursor: pointer;
}

.home-qcloud-ref .rno-5-media-panel-main {
  padding: 22px 32px 0;
  min-height: 220px;
  box-sizing: border-box;
}

.home-qcloud-ref .rno-5-media-panel-title {
  font-size: 24px;
  line-height: 32px;
  position: relative;
}

.home-qcloud-ref .rno-developer-section .rno-icon-title {
  width: auto;
  height: auto;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  color: #000;
  display: block;
  background: none;
}

.home-qcloud-ref .rno-5-media-panel-title-link {
  display: none;
}

.home-qcloud-ref .rno-5-media-panel-links {
  margin-top: 18px;
}

.home-qcloud-ref .rno-5-media-panel-text {
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 8px;
  color: #666;
}

.home-qcloud-ref .rno-5-media-panel-text a {
  color: #666;
  text-decoration: none;
}

.home-qcloud-ref .rno-5-media-panel-text a:hover {
  color: #0089ff;
}

.home-qcloud-ref .rno-5-media-panel-text a::before {
  content: '';
  width: 2px;
  height: 2px;
  background-color: #666;
  display: inline-block;
  vertical-align: 4px;
  margin-left: 2px;
  margin-right: 8px;
}

.home-qcloud-ref .rno-5-media-panel-empty::before {
  display: none;
}

.home-qcloud-ref .rno-5-media-panel-details {
  line-height: 48px;
  border-top: 1px solid #e5e8ed;
  padding: 0 30px;
}

.home-qcloud-ref .rno-5-media-panel-details .rno-link {
  font-size: 14px;
}

/* 三列栅格（桌面） */
@media (min-width: 769px) {
  .home-qcloud-ref .rno-developer-section .rno-lattice-card > .rno-lattice-cell {
    margin-right: 60px;
    width: calc((100% - 60px * 2 - 1px) / 3);
    margin-bottom: 0;
    vertical-align: top;
  }

  .home-qcloud-ref .rno-developer-section .rno-lattice-card > .rno-lattice-cell:nth-child(3n) {
    margin-right: 0;
  }
}

/* 平板 */
@media (min-width: 601px) and (max-width: 768px) {
  .home-qcloud-ref .rno-developer-section .rno-lattice-card > .rno-lattice-cell {
    margin-right: 40px;
    width: calc((100% - 40px * 2 - 1px) / 3);
    margin-bottom: 0;
  }

  .home-qcloud-ref .rno-developer-section .rno-lattice-card > .rno-lattice-cell:nth-child(3n) {
    margin-right: 0;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .home-qcloud-ref .rno-developer-section {
    padding: 40px 0 0;
    box-shadow: 0 2px 4px rgba(3, 27, 78, 0.06);
  }

  .home-qcloud-ref .rno-developer-section .rno-2-section-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .home-qcloud-ref .rno-developer-section .home-developer-bg {
    display: none;
  }

  .home-qcloud-ref .rno-developer-section .rno-lattice-card > .rno-lattice-cell {
    display: block;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 0;
  }

  .home-qcloud-ref .rno-developer-section .rno-5-media-panel {
    box-shadow: none;
    border: none;
    border-radius: 0;
  }

  .home-qcloud-ref .rno-developer-section .rno-5-media-panel::before {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 1px;
    border-bottom: 1px solid #e5e5e5;
    transform: scaleY(0.5);
    transform-origin: 0 0;
    z-index: 10;
  }

  .home-qcloud-ref .rno-developer-section .rno-5-media-panel-details {
    display: none;
  }

  .home-qcloud-ref .rno-developer-section .rno-5-media-panel:hover {
    top: auto;
    box-shadow: none;
  }

  .home-qcloud-ref .rno-5-media-panel-main {
    padding: 20px 16px 16px;
    min-height: 0;
  }

  .home-qcloud-ref .rno-5-media-panel-title {
    position: relative;
    padding-right: 56px;
  }

  .home-qcloud-ref .rno-5-media-panel-title-link {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
    color: #02a3ff;
    line-height: 24px;
  }

  .home-qcloud-ref .rno-developer-section .rno-icon-title {
    font-size: 18px;
  }

  .home-qcloud-ref .rno-5-media-panel-links .rno-5-media-panel-text {
    margin-bottom: 4px;
  }

  .home-qcloud-ref .rno-developer-section .rno-lattice-cell:last-child .rno-5-media-panel-main {
    padding-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .home-qcloud-ref .rno-developer-section .rno-lattice-card > .rno-lattice-cell {
    width: 100% !important;
  }
}
