/* 本檔載入頁面：桃園市氣候變遷因應淨零排放自治條例 (news/cwms_taoyuan.html) */
/* 使用位置：主要內容區 */
.cwms-body {
  background: #e1f2ff;
}
/* 使用位置：主要內容區 */
.cwms-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* 使用位置：通用元素樣式：所有 <a>｜滑鼠移入時 */
a:hover {
  color: #919191;
}

/*表格*/

/* 使用位置：主要內容區 */
.cwms-body {
  background: #e1f2ff;
}

/* 使用位置：主要內容區 */
.cwms-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* 使用位置：「桃園市氣候變遷因應淨零排放自治條例章節導航」區塊 */
.chapter-nav {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* 使用位置：「桃園市氣候變遷因應淨零排放自治條例章節導航」標題 */
.chapter-nav h3 {
  color: #2c5686;
  margin-bottom: 15px;
}

/* 使用位置：「桃園市氣候變遷因應淨零排放自治條例章節導航」區塊 */
.chapter-nav ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

/* 使用位置：「桃園市氣候變遷因應淨零排放自治條例章節導航」區塊 */
.chapter-nav li a {
  display: block;
  padding: 8px 12px;
  color: #2c5686;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

/* 使用位置：「桃園市氣候變遷因應淨零排放自治條例章節導航」區塊｜滑鼠移入時 */
.chapter-nav li a:hover {
  background-color: #e9ecef;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.chapter {
  margin-bottom: 40px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}

/* 使用位置：「第1章 總則」標題、「第2章 產業及能源」標題、「第3章 城市及建築」標題…等 */
.chapter-header {
  background-color: #2c5686;
  color: white;
  padding: 15px 20px;
  margin: 0;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.chapter-content {
  padding: 20px;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.article {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 4px solid #17a2b8;
  background-color: #f8f9fa;
  border-radius: 0 8px 8px 0;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.article-title {
  color: #2c5686;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.article-content {
  line-height: 1.8;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.article-content p {
  margin-bottom: 10px;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.article-content ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* 使用位置：「第1章 總則」區塊、「第2章 產業及能源」區塊、「第3章 城市及建築」區塊…等 */
.article-content li {
  margin-bottom: 8px;
}

/* 使用位置：「第1章 總則」區塊、「第7章 罰則」區塊 */
.highlight-box {
  background-color: #fff5bc;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

/* 使用位置：「與CWMS水質監測系統的關聯性」區塊 */
.cwms-related {
  background-color: #ebf4fd;
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 4px solid #54779d;
}

/* 使用位置：「相關環保監測服務」區塊 */
.related-services {
  margin-top: 40px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* 使用位置：「相關環保監測服務」標題 */
.related-services h3 {
  color: #2c5686;
  margin-bottom: 20px;
}

/* 使用位置：「相關環保監測服務」區塊 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

/* 使用位置：「相關環保監測服務」區塊 */
.service-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* 使用位置：「相關環保監測服務」區塊｜滑鼠移入時 */
.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-color: #2c5686;
  text-decoration: none;
  color: inherit;
}

/* 使用位置：「相關環保監測服務」區塊 */
.service-item h4 {
  color: #2c5686;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

/* 使用位置：「相關環保監測服務」區塊 */
.service-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 使用位置：「相關環保監測服務」區塊 */
.service-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #2c5686;
  font-weight: bold;
  font-size: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* 使用位置：「相關環保監測服務」區塊｜滑鼠移入時 */
.service-item:hover .service-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* 使用位置：「相關環保監測服務」區塊｜滑鼠移入時 */
.service-item:hover h4 {
  color: #1a365d;
}
