.resizesa img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .item:hover img {
    transform: scale(1.05); 
  }
  
  .resizesa {
    height: 0;
    width: 100%;
    padding-bottom: 169px;
    position: relative;
    overflow: hidden;  
    border-radius: 40px 40px 0px 0px; 
    min-width:300px;
    /*
     width: 350px;
     left:50%;
     margin-left: -175px;
    */
  }
  .course_box{
    min-width:300px;
  }
  .container-xxl{
    width:1290px;
    margin:0 auto;
  }
  
/* 搜尋欄外層容器 */
.header-search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* 搜尋框本體(沿用input_box多加偏移給放大鏡圖示位置) */
.input_box {
    padding-left: 38px;
}

/* 放大鏡圖示 */
.search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #4285f4;
    font-size: 14px;
    pointer-events: none;
}

.font24 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: left !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 1.25em;
  max-height: 2.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  clear: both;
  height: 60px;
}

.tagBtn {
  padding: 4px 14px;
  font-size: 12px;
  border-radius: 7px 0;
  margin-top: 10px;
  margin-right: 5px;
  display: inline-block;
  font-weight: 700;
}

.tagBlue {
  background-color: #6CACE4;
  color: white;
}

.tagRed {
  background-color: #E75245;
  color: white;
}

.tagGray {
  background-color: #898989;
  color: white;
}

.txtBtn {
  font-size: 14px;
  margin-right: 12px;
  margin-bottom: 5px;
  font-weight: 700;
  display: inline-block;
  float: left;
}

.txtBlue {
  color: #6CACE4;
}

.txtRed {
  color: #E75245;
}

.txtGray {
  color: #898989;
}

.txtCount,
.txtDisCount {
  font-size: 21px;
  font-weight: 700;
  margin-right: 20px;
  margin-top: 10px;
  display: inline-block;
  float: left;
}

.txtDisCount {
  font-weight: 500;
  text-decoration: line-through;
}

@media screen and (max-width: 767px) {
  .container-xxl {
      width: 100%;
      padding-left: 15px;
      padding-right: 15px;
  }
}