/* 页面 */
/* #region 基本样式 */
body {
  background: #eee;
}

.breadcrumb {
  margin: 16px auto;
  background-color: white;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 12px;
}

.module:not(:first-child) {
  margin-top: 30px;
  padding: 36px;
  background: #fff;
  border-radius: 12px;
}

.module .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module .title h2 {
  color: #ff7a7d;
  font-size: 24px;
  font-weight: 500;
}

.module .title a {
  color: #666;
  font-size: 16px;
  font-weight: 300;
  transition: 0.3s;
}

.module .title a:hover {
  color: #ff7a7d;
  transition: 0.3s;
}

.module .content {
  margin-top: 36px;
}
/* #endregion */

/* #region 轮播 */
.banners {
  display: flex;
  justify-content: space-between;
}

.banner {
  width: 828px;
  height: 427px;
  margin: 0;
}

.banner .img {
  width: 100%;
  height: 100%;
}

.banners .news .box {
  box-sizing: border-box;
  display: block;
  width: 342px;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  border-radius: 12px;
}

.banners .news .box:not(:first-child) {
  margin-top: 26px;
}

.banners .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banners .news .img {
  overflow: hidden;
  width: 109px;
  height: 94px;
  border-radius: 12px;
}

.banners .text {
  width: calc(100% - 129px);
}

.banners .news h2 {
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.banners .news h2 > a {
  color: #666;
  transition: 0.3s;
}

.banners .news h2 > a:hover {
  color: #ff7a7d;
  transition: 0.3s;
}

.banners .news span {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  background: #ff7a7d;
  border-radius: 4px;
}

.banners .news p {
  margin-top: 16px;
  color: #999;
  font-size: 14px;
  font-weight: 300;
}

.banners .flex p {
  width: calc(100% - 76px);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.banners .news:first-child p {
  font-size: 16px;
}

/* #endregion */

/* #region 热门关注 */
.concern .content {
  display: flex;
  gap: 21px;
}

.concern .list {
  width: calc(100% / 8);
}

.concern .list li:not(:first-child) {
  margin-top: 16px;
}

.concern .list li:first-child a {
  box-sizing: border-box;
  padding: 20px 0;
  text-align: center;
  border-radius: 12px;
}

.concern .list li:first-child h3 {
  margin-top: 16px;
  color: #ff7a7d;
}

.concern .list a {
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  color: #666;
  font-size: 16px;
  font-weight: 300;
  padding: 17px 5px;
  text-align: center;
  background: #eee;
  border-radius: 4px;
  transition: 0.3s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.concern .list a:hover {
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.concern .list .img {
  width: 42px;
  height: 48px;
  margin: 0 auto;
}

/* #endregion */

/* #region 热门医院 */
.hospital .link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 30px;
}

.hospital .link > a {
  display: inline-block;
  width: calc(20% - 16px);
  color: #666;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
}

.hospital .link .img {
  overflow: hidden;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 12px;
}

.hospital .link h3 {
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.3s;
}

.hospital .link > a:hover h3 {
  color: #ff7a7d;
  transition: 0.3s;
}
/* #endregion */

/* #region 链接图 */
.columns-link-img {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 193px;
  margin-top: 30px;
}

.columns-link-img .img {
  overflow: hidden;
  width: calc(50% - 15px);
  height: 100%;
  border-radius: 12px;
}
/* #endregion */

/* #region 孕育百科 */
.gestation-encyclopedia .content {
  display: flex;
  justify-content: space-between;
}

.gestation-encyclopedia .list {
  width: calc(25% - 30px);
}

.gestation-encyclopedia .list li:not(:first-child) {
  margin-top: 16px;
}

.gestation-encyclopedia .list .img {
  overflow: hidden;
  width: 100%;
  height: 148px;
  border-radius: 12px;
}

.gestation-encyclopedia .list li > a {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  width: 100%;
  padding-left: 12px;
  color: #666;
  font-size: 16px;
  font-weight: 300;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.3s;
}

.gestation-encyclopedia .list li > a:hover {
  color: #ff7a7d;
  transition: 0.3s;
}

.gestation-encyclopedia .list li > a::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  content: "";
  background: #ff7a7d;
  border-radius: 50%;
  transition: 0.3s;
}
/* #endregion */
