@charset "UTF-8";
/* ========================================
   公司介紹內頁樣式
   主色 #1d50a2 | 點綴色 #4dbbaa
   ======================================== */

/* --- 麵包屑 --- */
.co-breadcrumb {
  padding: 14px 0;
  font-size: 0.76em;
  color: #999;
  border-bottom: 1px solid #eee;
}
.co-breadcrumb a { color: #1d50a2; text-decoration: none; }
.co-breadcrumb a:hover { color: #4dbbaa; }
.co-breadcrumb span { margin: 0 5px; }

/* --- 公司英雄區 --- */
.co-hero {
  /* background: linear-gradient(135deg, #0e2f6a 0%, #1d50a2 45%, #2b8fa8 80%, #4dbbaa 100%); */
  background: url(../images/primary/company-hero.webp) no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 48px;
  color: #fff;
}
.co-hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.co-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.co-hero-badge i { font-size: 1em; }
.co-hero h1 {
  font-size: 2.2em;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.25;
}
.co-hero-en {
  font-size: 0.88em;
  opacity: 0.7;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.co-hero-tagline {
  font-size: 0.9em;
  opacity: 0.88;
  line-height: 1.6;
  max-width: 580px;
  border-left: 3px solid rgba(77,187,170,0.8);
  padding-left: 14px;
}
@media (max-width: 767px) {
  .co-hero { padding: 100px 0 36px; }
  .co-hero h1 { font-size: 1.6em; }
}

/* --- 返回按鈕（電腦版）--- */
.co-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8em;
  font-weight: 700;
  color: #1d50a2;
  border: 1.5px solid #1d50a2;
  border-radius: 20px;
  padding: 6px 16px;
  text-decoration: none;
  transition: all 0.2s;
  margin: 1em 0;
}
.co-back-btn:hover { background: #1d50a2; color: #fff; text-decoration: none; }

/* --- 返回按鈕（手機版浮動）--- */
.co-back-btn-float {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 999;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #1d50a2, #2b8fa8);
  border-radius: 30px;
  padding: 13px 28px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(29,80,162,0.38);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.28s;
  white-space: nowrap;
  pointer-events: none;
}
.co-back-btn-float.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.co-back-btn-float:hover { color: #fff; text-decoration: none; opacity: 0.88; }

@media (max-width: 767px) {
  .co-back-btn { display: none !important; }
  .co-back-btn-float { display: inline-flex; }
}

/* --- 主體區 --- */
.co-main {
  padding: 42px 0 72px;
  background: url(../images/primary/company-bg.webp) no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* --- 兩欄版型 --- */
.co-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 991px) {
  .co-layout { grid-template-columns: 1fr; }
  .co-sidebar { order: -1; }
}

/* --- 內容區卡片 --- */
.co-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 2px 16px rgba(29,80,162,0.06);
  margin-bottom: 28px;
}
@media (max-width: 767px) {
  .co-card { padding: 24px 20px; }
}

/* --- 段落標題 --- */
.co-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05em;
  font-weight: 800;
  color: #1d50a2;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8eef8;
}
.co-section-title i {
  color: #4dbbaa;
  font-size: 1.1em;
}

/* --- 文章內文 --- */
.co-body-text p {
  color: #444;
  line-height: 1.95;
  margin-bottom: 1.2em;
  font-size: 0.92em;
}
.co-body-text h4 {
  color: #1d50a2;
  font-weight: 700;
  font-size: 0.95em;
  margin: 1.6em 0 0.5em;
}
.co-body-text ul {
  color: #444;
  padding-left: 1.4em;
  font-size: 0.9em;
}
.co-body-text ul li { margin-bottom: 0.5em; line-height: 1.7; }

/* --- YouTube embed --- */
.co-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 0 0 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.co-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.co-video-caption {
  font-size: 0.75em;
  color: #aaa;
  text-align: right;
  margin-top: 6px;
}

/* --- 相片 Gallery --- */
.co-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.co-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background: #e8eef8;
  aspect-ratio: 4/3;
}
.co-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.co-gallery-item:hover img { transform: scale(1.04); }
.co-gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1d50a2;
  opacity: 0.25;
  font-size: 0.75em;
}
.co-gallery-placeholder i { font-size: 2em; }
@media (max-width: 767px) {
  .co-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- 側邊欄：基本資料卡 --- */
.co-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(29,80,162,0.06);
  margin-bottom: 20px;
}
.co-info-card-title {
  font-size: 0.78em;
  font-weight: 800;
  color: #1d50a2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8eef8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.co-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
.co-logo-wrap img { max-width: 100%; object-fit: contain; border-radius: 10px; }
.co-info-list { list-style: none; padding: 0; margin: 0; }
.co-info-list li {
  padding: 9px 0;
  border-bottom: 1px solid #f2f4f8;
  font-size: 0.82em;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.co-info-list li:last-child { border-bottom: none; }
.co-info-list .info-label {
  color: #999;
  font-weight: 600;
  min-width: 54px;
  flex-shrink: 0;
  padding-top: 1px;
}
.co-info-list .info-value {
  color: #333;
  font-weight: 500;
  flex: 1;
}
.co-info-list .info-value a {
  color: #1d50a2;
  word-break: break-all;
}
.co-info-list .info-value a:hover { color: #4dbbaa; }

/* 黑科技標籤 */
.co-type-badge {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  background: #1d50a2;
  color: #fff;
  letter-spacing: 0.05em;
}

/* 官網按鈕 */
.co-website-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(90deg, #1d50a2, #4dbbaa);
  color: #fff;
  font-size: 0.82em;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 30px;
  margin-top: 18px;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.04em;
}
.co-website-btn:hover { opacity: 0.88; color: #fff; text-decoration: none; }

/* --- 媒體曝光區 --- */
.co-media-section {
  margin-top: 8px;
}
.co-media-list { list-style: none; padding: 0; margin: 0; }
.co-media-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f8;
}
.co-media-item:last-child { border-bottom: none; }
.co-outlet-badge {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #1d50a2;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 80px;
  text-align: center;
}
.co-media-right { flex: 1; }
.co-media-title {
  display: block;
  font-size: 0.88em;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
  line-height: 1.5;
}
.co-media-title a { color: #333; }
.co-media-title a:hover { color: #1d50a2; }
.co-media-date {
  font-size: 0.76em;
  color: #bbb;
}
