/*****************************************/
@media(max-width:768px) {
  .HTML_info{
    font-size: 1rem;
  }
}
/*****************************************/
@media(max-width:768px) {
  .course_calender_mode{
    display: none !important;
  }
  .course_list_mode.hide{
    display:block !important;
  }
}
/*****************************************/
@media screen and (max-width:768px) {
  .week_commend_list .box_active .pic{
  }
  .week_commend_list .box_active .pic,
  .week_commend_list .right_column{
    width:100%;
    clear: both;
    margin: 0;
  }
}
/*****************************************/
@media screen and (max-width:960px) {
  ul.lists-page{
    grid-template-columns: repeat(2,1fr);
  }
  ul.lists-page.mode-photo{
    grid-template-columns: repeat(3,1fr);
  }
}
@media screen and (max-width:480px) {
  ul.lists-page{
    grid-template-columns: repeat(1,1fr);
  }
  ul.lists-page.mode-photo{
    grid-template-columns: repeat(2,1fr);
  }
}
/*****************************************/
/**********************************************************/
/***20260729 DOC數位發展分群 start***/
@media(max-width:768px) {
  table.rwd thead {
    display: none;
  }
  table.custom1 thead._show {
    display: block;
  }
  table.rwd,
  table.rwd tbody,
  table.rwd tr,
  table.rwd th,
  table.rwd td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  table.rwd tr {
    margin-bottom: 16px;
    border: 1px solid #aaa;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
  }

  /* 縣市列標題：作為每張卡片的標題列 */
  table.rwd th[scope="row"] {
    background-color: #e0f1f0;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #aaa;
    text-align: left !important;
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1.4;
    width: 100%;
  }
  table.rwd th[scope="row"]::before {
    content: none !important;
  }

  table.rwd td {
    position: relative;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    text-align: left !important;
    min-height: 44px;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.5;
  }

  table.rwd td:last-child {
    border-bottom: none;
  }

  /* 標籤在上、內容在下：長 data-label 不會蓋住內容 */
  table.rwd td::before {
    content: attr(data-label);
    display: block;
    width: 100%;
    margin: 0 0 6px 0;
    padding: 0 0 6px 0;
    border-bottom: 1px dashed #ccc;
    font-weight: 700;
    color: #444;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.4;
  }

  table.rwd td .cell-empty {
    display: inline;
  }

}
@media(max-width:768px) {
  .table-responsive {
    overflow: visible;
    border: none;
  }
  .table-responsive:focus {
    outline: none;
  }
  .table-responsive table {
    min-width: 0;
  }
  .table-responsive-hint {
    display: none;
  }
}
/***20260729 DOC數位發展分群 end***/
/**********************************************************/