/* Company profile page (/company-profile): read the brochure online, download the PDF. */
.cp-actions { margin-top: 28px; }
.cp-meta { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }
.cp-meta i { color: var(--brand); margin-right: 4px; }

.cp-section { padding-top: clamp(28px, 2vw + 16px, 48px); }

.cp-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 0 auto clamp(28px, 2vw + 16px, 44px); }
.cp-toc a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow-xs);
  font-size: .84rem; color: var(--text-2); transition: border-color .15s ease, color .15s ease;
}
.cp-toc a:hover { border-color: var(--brand-200); color: var(--ink); }
.cp-toc b { font-weight: var(--w-medium, 500); color: var(--brand); font-variant-numeric: tabular-nums; }

.cp-pages { display: flex; flex-direction: column; gap: clamp(22px, 2vw + 12px, 36px); max-width: 860px; margin: 0 auto; }
.cp-page { margin: 0; scroll-margin-top: 96px; }
.cp-page img {
  display: block; width: 100%; height: auto; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.cp-page figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.cp-page figcaption span:last-child { font-variant-numeric: tabular-nums; color: var(--brand); font-weight: var(--w-medium, 500); }

.cp-again { margin: clamp(28px, 2vw + 16px, 44px) 0 0; text-align: center; }

@media (max-width: 600px) {
  .cp-toc { justify-content: flex-start; }
  .cp-toc a { font-size: .8rem; }
  .cp-actions .btn { width: 100%; justify-content: center; }
}

/* Product brochures grid */
.cp-br-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cp-br-card { display: flex; gap: 18px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.cp-br-cover { flex: none; width: 96px; }
.cp-br-cover img { display: block; width: 100%; height: auto; aspect-ratio: 380 / 537; object-fit: cover; border-radius: 6px; border: 1px solid var(--border);
  box-shadow: 0 10px 20px -12px rgba(43, 16, 61, .35); transition: transform .25s var(--ease); }
.cp-br-cover:hover img { transform: translateY(-3px) rotate(-1deg); }
.cp-br-body { min-width: 0; display: flex; flex-direction: column; }
.cp-br-cat { margin: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--brand); }
.cp-br-body h3 { margin: 4px 0 6px; font-size: 1.05rem; line-height: 1.3; }
.cp-br-body h3 a { color: var(--ink); }
.cp-br-tag { margin: 0 0 12px; font-size: .86rem; color: var(--muted); line-height: 1.45; flex: 1; }
.cp-br-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-br-actions small { font-weight: 400; opacity: .8; margin-left: 2px; }
@media (max-width: 1100px) { .cp-br-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cp-br-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .cp-br-card { flex-direction: column; align-items: flex-start; }
  .cp-br-cover { width: 120px; }
  .cp-br-actions .btn { white-space: normal; }
}
