/* 本檔載入頁面：實驗室分析儀 (products/environmental-monitoring/lab-analyzer.html) */
/* 基本頁面樣式 */
/* 使用位置：主要內容區 */
.laboratory-analyzer-body {
  background: #e1f2ff;
}

/* 使用位置：主要內容區 */
.laboratory-analyzer-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);
}

/* 標題與文字樣式 */
/* 使用位置：通用元素樣式：所有 <h1> */
h1 {
  color: #2c5686;
  margin-bottom: 20px;
  font-size: 28px;
}

/* 使用位置：通用元素樣式：所有 <h2> */
h2 {
  color: #2c5686;
  margin-bottom: 15px;
  font-size: 24px;
}

/* 使用位置：通用元素樣式：所有 <h3> */
h3 {
  color: #2c5686;
  margin-bottom: 10px;
  font-size: 20px;
}

/* 使用位置：通用元素樣式：所有 <p> */
p {
  margin: 10px 0;
  line-height: 1.6;
}

/* 產品分類導航卡片樣式 */
/* 使用位置：「層析法」區塊 */
.product-category-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* 使用位置：「層析法」區塊、「離子層析儀」區塊、「液相層析儀」區塊…等 */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

/* 使用位置：「層析法」區塊、「離子層析儀」區塊、「液相層析儀」區塊…等｜滑鼠移入時 */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  background: #e1f2ff;
}

/* 使用位置：「我們的分析技術與設備」區塊、「層析法」區塊、「離子層析儀」區塊…等 */
.category-card i {
  font-size: 2.5rem;
  color: #2c5686;
  margin-bottom: 15px;
}

/* 使用位置：「層析法」標題、「離子層析儀」標題、「液相層析儀」標題…等 */
.category-card h3 {
  margin: 10px 0;
  color: #2c5686;
}

/* 使用位置：「層析法」區塊、「離子層析儀」區塊、「液相層析儀」區塊…等 */
.category-card p {
  text-align: center;
  color: #666;
}

/* 實驗室量測儀器表格 */
/* 使用位置：「實驗室分析儀」區塊 */
.measurement-table-container {
  overflow-x: auto;
  margin: 20px 0;
}

/* 使用位置：「實驗室分析儀」區塊 */
.measurement-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* 使用位置：「實驗室分析儀」區塊 */
.measurement-table th {
  background-color: #4b4b4b;
  color: white;
  padding: 12px;
  border: 1px solid #e5e7eb;
}

/* 使用位置：「實驗室分析儀」區塊 */
.measurement-table td {
  padding: 12px;
  border: 1px solid #e5e7eb;
}

/* 使用位置：「實驗室分析儀」區塊｜第 even 個 */
.measurement-table tr:nth-child(even) {
  background-color: #f7f7f7;
}

/* 使用位置：「實驗室分析儀」區塊｜第 odd 個 */
.measurement-table tr:nth-child(odd) {
  background-color: #ffffff;
}

/* 實驗室自動化優勢 */
/* 使用位置：「提高分析效率」區塊 */
.advantages-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

/* 使用位置：「提高分析效率」區塊、「數據品質保證」區塊、「智慧數據管理」區塊…等 */
.advantage {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* 使用位置：「實驗室自動化管理優勢」區塊、「提高分析效率」區塊、「數據品質保證」區塊…等 */
.advantage i {
  font-size: 2.5rem;
  color: #2c5686;
  margin-bottom: 15px;
}

/* 技術諮詢服務 */
/* 使用位置：「專業技術諮詢服務」區塊 */
.technical-service {
  background: #f0f7ff;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

/* 使用位置：「專業技術諮詢服務」區塊 */
.contact-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #2c5686;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* 使用位置：「專業技術諮詢服務」區塊｜滑鼠移入時 */
.contact-btn:hover {
  background: #1d4573;
  transform: translateY(-2px);
}

/* 使用位置：「專業技術諮詢服務」區塊 */
.contact-btn i {
  margin-right: 8px;
}

/* 響應式調整 */
@media (max-width: 768px) {
  /* 使用位置：「層析法」區塊、「提高分析效率」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .product-category-nav,
  .advantages-container {
    grid-template-columns: 1fr;
  }

  /* 使用位置：主要內容區｜螢幕寬度 ≤768px（平板/手機）時 */
  .laboratory-analyzer-container {
    padding: 20px;
  }
}
