/* 首页特定样式 */
/* 仅首页去掉顶部白色内阴影 */
.media-header {
  box-shadow: 0px 4px 9px 1px rgba(1, 34, 76, 0.14);
}
.exam-card {
  height: auto;
  padding: 30px;
  width: 100%;
  min-height: 50vh;
  background: #ffffff;
  box-shadow: 0px 6px 15px 1px rgba(136, 139, 142, 0.06);
  border-radius: 4px;
}
.exam-card .title {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  line-height: 1;
  font-style: italic;
  padding-bottom: 18px;
  border-bottom: 1px solid #ecf0f4;
  margin-bottom: 30px;
}
.exam-card .title::before {
  display: inline-block;
  content: "";
  width: 64px;
  height: 14px;
  margin-right: 10px;
  background: url("../images/bg_title_left.png") left top no-repeat;
  background-size: contain;
}
.exam-card .title::after {
  display: inline-block;
  content: "";
  width: 64px;
  height: 14px;
  margin-left: 10px;
  background: url("../images/bg_title_right.png") right top no-repeat;
  background-size: contain;
}
.exam-card .city-item {
  width: 100%;
  background:
    url("../images/location.png") right -5px bottom / 45px 45px no-repeat,
    linear-gradient(
        to bottom right,
        #e4f2fe,
        #d8ecfe,
        #eef8ff,
        #e7f4ff,
        #f0f9ff
      )
      no-repeat;
  border-radius: 4px;
  text-align: center;
  box-sizing: border-box;
  padding: 20px;
  cursor: pointer;
  border: 1px solid #e1f1ff;
}
.exam-card .city-item-first {
  text-align: left;
  background:
    url("../images/location.png") right 25px bottom / 45px 45px no-repeat,
    linear-gradient(
        to bottom right,
        #e4f2fe,
        #d8ecfe,
        #eef8ff,
        #e7f4ff,
        #f0f9ff
      )
      no-repeat;
}
.exam-card .city-item:hover {
  border-color: #2e9cf7;
}

.exam-card .city-item span {
  font-weight: 500;
  font-size: 18px;
  color: #1d2129;
}
.exam-card .province-item {
  width: 100%;
  background:
    url("../images/bg_exam.png") right 110px bottom no-repeat,
    #f2f5f8;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 35px 0px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e1f1ff;
}
.exam-card .province-item:hover {
  border-color: #2e9cf7;
}

.exam-card .province-item p {
  font-weight: 500;
  font-size: 20px;
  line-height: 22px;
  padding-left: 40px;
  flex: 1;
}
.exam-card .province-item .border-left {
  width: 4px;
  height: 50px;
  background: #2e9cf7;
}
.exam-card .province-item .detail-more {
  width: 110px;
  height: 36px;
  background: #2e9cf7;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  box-sizing: border-box;
  margin-right: 24px;
}

/* 响应式设计 - 首页特定样式 */

/* 大屏幕 (1361px - 1576px) */
@media (max-width: 1576px) {
  .exam-card .title {
    font-size: 22px;
  }
  .exam-card .city-item span {
    font-size: 16px;
  }
  .exam-card .province-item p {
    font-size: 18px;
  }
}

/* 中屏幕 (1065px - 1360px) */
@media (max-width: 1360px) {
  .exam-card {
    padding: 25px;
  }
  .exam-card .title {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .exam-card .city-item {
    padding: 15px;
  }
  .exam-card .city-item span {
    font-size: 15px;
  }
  .exam-card .province-item {
    padding: 25px 0;
  }
  .exam-card .province-item p {
    font-size: 16px;
    padding-left: 30px;
  }
  .exam-card .province-item .detail-more {
    width: 90px;
    height: 32px;
    font-size: 13px;
  }
}

/* 小屏幕 (769px - 1064px) */
@media (max-width: 1064px) {
  .exam-card {
    padding: 20px;
    min-height: 30vh;
  }
  .exam-card .title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .exam-card .title::before,
  .exam-card .title::after {
    width: 40px;
    height: 10px;
  }
  .exam-card .city-item {
    padding: 12px;
    min-height: 80px;
  }
  .exam-card .city-item span {
    font-size: 14px;
  }
  .exam-card .province-item {
    padding: 20px 0;
    background-position: right 50px bottom;
    background-size:
      auto 60%,
      cover;
  }
  .exam-card .province-item p {
    font-size: 15px;
    padding-left: 20px;
  }
  .exam-card .province-item .border-left {
    height: 40px;
  }
  .exam-card .province-item .detail-more {
    width: 80px;
    height: 28px;
    font-size: 12px;
    margin-right: 15px;
  }
}

/* 平板 (481px - 768px) */
@media (max-width: 768px) {
  .exam-card {
    padding: 15px;
  }
  .exam-card .title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .exam-card .title::before,
  .exam-card .title::after {
    width: 30px;
    height: 8px;
  }
  .exam-card .city-item {
    padding: 10px;
    min-height: 70px;
  }
  .exam-card .city-item span {
    font-size: 13px;
  }
  .exam-card .province-item {
    padding: 15px 0;
    background-position: right 30px bottom;
  }
  .exam-card .province-item p {
    font-size: 14px;
    padding-left: 15px;
  }
  .exam-card .province-item .border-left {
    height: 30px;
  }
  .exam-card .province-item .detail-more {
    width: 70px;
    height: 24px;
    font-size: 11px;
  }
}

/* 手机 (480px 以下) */
@media (max-width: 480px) {
  .exam-card {
    padding: 12px;
    min-height: 25vh;
  }
  .exam-card .title {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .exam-card .title::before,
  .exam-card .title::after {
    width: 20px;
    height: 6px;
    margin: 0 5px;
  }
  .exam-card .city-item {
    padding: 8px;
    min-height: 60px;
    /* background-position: right -5px bottom; */
    background-size:
      30px 30px,
      cover;
  }
  .exam-card .city-item-first {
    /* background-position: right 10px bottom; */
    background-size:
      30px 30px,
      cover;
  }
  .exam-card .city-item span {
    font-size: 12px;
  }
  .exam-card .province-item {
    padding: 12px 0;
    background-position: right 20px bottom;
    background-size:
      30px 30px,
      cover;
  }
  .exam-card .province-item p {
    font-size: 13px;
    padding-left: 10px;
  }
  .exam-card .province-item .border-left {
    height: 25px;
  }
  .exam-card .province-item .detail-more {
    width: 60px;
    height: 20px;
    font-size: 10px;
    margin-right: 10px;
  }
}

/* 超小屏幕 (320px 以下) */
@media (max-width: 320px) {
  .exam-card {
    padding: 10px;
  }
  .exam-card .title {
    font-size: 13px;
  }
  .exam-card .city-item span {
    font-size: 11px;
  }
  .exam-card .province-item p {
    font-size: 12px;
  }
}
