/*所有公告的內容區塊*/
.fullcontent {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body.mission-detail .work-block {
  background-image: url("../images/work-bk.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 50%;
  height: 100%;
}

.content-area {
  margin-top: 5%;
}

.content-area p {
  width: 100%;
}

/*公告列表*/
body.info-list .info-list a {
  font-size: 1.25rem;
  /* 放大字體 */
  text-decoration: none;
  display: block;
  padding: 1rem 0;
  color: #212529;
  border-bottom: 1px solid #e9ecef;
  transition: color 0.2s ease;
}

body.info-list .info-list a:hover {
  color: #0d6efd;
  /* Bootstrap primary 藍 */
}

body.info-list .info-pagination {
  display: flex;
  justify-content: flex-end;
}

body.info-list .work-block {
  /* height:100%; */
}

/*針對quill設計圖片對齊樣式*/
p.ql-align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

p.ql-align-right {
  display: block;
  margin-left: auto;
}

p.ql-align-left {
  display: block;
  margin-right: auto;
}

p img {
  width: auto !important;
}

/*公告內頁*/
.work-block {
  background: linear-gradient(to bottom right, #f0faff, #ffffff);
  position: relative;
}

.cover-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*內文標題*/
.fullcontent h1 span,
.fullcontent h2 span,
.fullcontent h3 span {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/*內文清單*/
.fullcontent ol,
.fullcontent ul {
  padding-left: 2em; /* 控制縮排寬度 */
  margin-left: 1em;
}

.fullcontent li {
  margin: 0.3em 0; /* 清單項目間距 */
  font-size:1.8rem;
}

.fullcontent {
  color: #333;
}



.text-primary {
  color: #003366;
}

@media (max-width: 768px) {
  .fullcontent {
    font-size: 1rem;
  }

  .text-primary {
    font-size: 1.5rem;
  }
}

/*卡片圖片*/
.card-item img {
  width: 100%;
  min-height: 300px;
  /* 統一高度，可依需求調整 */
  object-fit: cover;
  /* 保持比例並裁切 */
  display: block;
}
