/* Shared sidebar cards: warm panels, gold headers, dark contact header. */
.detail-sidebar,
.blog-sidebar,
.video-library__sidebar { display: grid; gap: 18px; align-content: start; }
.faq-page__sidebar-inner { gap: 18px; }
.industry-article .detail-sidebar,
.application-case-page .detail-sidebar,
.video-detail-page .detail-sidebar,
.information-detail-page .detail-sidebar { grid-template-columns: minmax(0, 1fr); gap: 18px; }

.sb-card { position: relative; display: block; margin: 0; padding: 0; overflow: hidden; border: 1px solid #ece6d6; border-radius: 16px; background: #fffdf7; box-shadow: 0 12px 30px rgba(28, 26, 20, .06); }
.sb-card__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: #fff; background: linear-gradient(120deg, #c08e05 0%, #e2aa00 55%, #f0bc06 100%); }
.sb-card__head--dark { background: #26292d; }
.sb-card__head > svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sb-card__head h2 { margin: 0; color: #fff; font-size: 16px; font-weight: 750; line-height: 1.35; letter-spacing: 0; }
.sb-card__body { padding: 12px 18px 16px; }
.sb-card__body--flush { padding: 2px 18px 8px; }

.sb-list { display: grid; margin: 0; padding: 0; list-style: none; }
.sb-list > li + li { border-top: 1px solid #efe8d8; }
.sb-list > li > a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--color-text); }
.sb-list img { flex: 0 0 auto; width: 60px; height: 46px; border-radius: 8px; object-fit: cover; }
.sb-list__symbol { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: #a37d00; background: #fbf3d9; }
.sb-list__symbol svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sb-list__text { min-width: 0; }
.sb-list__text small { display: block; margin-bottom: 2px; color: var(--color-muted); font-size: 11px; line-height: 1.4; }
.sb-list__text strong { display: block; overflow: hidden; color: var(--color-text); font-size: 13.5px; font-weight: 650; line-height: 1.45; }
.sb-list > li > a > svg { flex: 0 0 auto; width: 14px; height: 14px; margin-left: auto; color: #c9980b; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .16s ease; }
.sb-list > li > a:hover .sb-list__text strong { color: #8a6a00; }
.sb-list > li > a:hover > svg { transform: translateX(2px); }

.sb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 13px; border: 1px solid #e6cd7a; border-radius: 999px; color: #423c2b; background: #fffdf7; font-size: 12.5px; font-weight: 550; line-height: 1.3; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.sb-tags a:hover { border-color: var(--color-yellow); color: #17191b; background: var(--color-yellow-soft); }
.sb-tags a[aria-current] { border-color: var(--color-yellow); color: #17191b; background: var(--color-yellow-soft); font-weight: 700; }

.sb-nav { display: grid; margin: 0; padding: 0; list-style: none; }
.sb-nav > li + li { border-top: 1px solid #efe8d8; }
.sb-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--color-text); font-size: 13.5px; font-weight: 550; line-height: 1.4; }
.sb-nav a > svg { flex: 0 0 auto; width: 14px; height: 14px; margin-left: auto; color: #c9980b; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sb-nav a > span:first-child { flex: 0 0 auto; min-width: 14px; color: #b98a00; font-size: 12px; font-weight: 700; }
.sb-nav small { flex: 0 0 auto; min-width: 28px; margin-left: auto; padding: 2px 8px; border-radius: 999px; color: #5f5a4b; background: #f2eee1; font-size: 11px; font-weight: 650; line-height: 1.5; text-align: center; }
.sb-nav a:hover { color: #8a6a00; }
.sb-nav a[aria-current] { color: #8a6a00; font-weight: 700; }
.sb-nav a[aria-current] small { color: #17191b; background: #fff; }

.sb-links { display: grid; margin: 0; }
.sb-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #efe8d8; color: var(--color-text); font-size: 13.5px; font-weight: 550; line-height: 1.4; }
.sb-links a:last-child { border-bottom: 0; }
.sb-links a svg { flex: 0 0 auto; width: 15px; height: 15px; color: #c9980b; fill: none; stroke: currentColor; }
.sb-links a:hover { color: #8a6a00; }

.sb-search { display: grid; gap: 10px; }
.sb-search input[type="search"] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #e3dcc9; border-radius: 8px; color: var(--color-text); background: #fff; font-size: 13px; }
.sb-search input[type="search"]:focus-visible { border-color: var(--color-yellow); outline: 2px solid rgba(226, 170, 0, .3); outline-offset: 1px; }
.sb-search button { min-height: 44px; border: 0; border-radius: 8px; color: #17191b; background: var(--color-yellow); font-size: 13px; font-weight: 700; cursor: pointer; }
.sb-search button:hover { background: var(--color-yellow-bright); }

.sb-contact__intro { margin: 0 0 8px; color: var(--color-muted); font-size: 12.5px; line-height: 1.6; }
.sb-contact__team { margin: 0 0 14px; }
.sb-contact__team img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; object-fit: cover; }
.sb-contact__person { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; color: var(--color-muted); font-size: 11.5px; line-height: 1.5; }
.sb-contact__person svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sb-contact__row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #efe8d8; }
.sb-contact__row:last-of-type { border-bottom: 0; }
.sb-contact__icon { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e6cd7a; border-radius: 9px; color: #a37d00; background: #fffaf0; }
.sb-contact__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sb-contact__row > span:last-child { min-width: 0; }
.sb-contact__row small { display: block; color: var(--color-muted); font-size: 11px; line-height: 1.4; }
.sb-contact__row strong { display: block; overflow-wrap: anywhere; color: var(--color-text); font-size: 13px; font-weight: 650; line-height: 1.45; }
.sb-contact__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; margin-top: 16px; padding: 11px 16px; border-radius: 9px; color: #17191b; background: var(--color-yellow); font-size: 13px; font-weight: 700; line-height: 1.3; }
.sb-contact__cta:hover { color: #17191b; background: var(--color-yellow-bright); }
.sb-contact__cta svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; }

@media (max-width: 900px) {
	.detail-sidebar,
	.blog-sidebar,
	.faq-page__sidebar-inner,
	.video-library__sidebar { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.sb-list > li > a > svg,
	.sb-tags a { transition: none; }
}

/* Adapt existing page components to the shared cards. */
.sb-card.resource-contact { padding: 0; }
.sb-card .sb-nav a { border-bottom: 0; }
.sb-nav > a + a { border-top: 1px solid #efe8d8; }
.faq-page__topics { border-top: 0; }
.faq-page__topics a { min-height: 0; padding: 12px 0; gap: 10px; border-bottom: 0; }
.faq-page__topics a span { color: #b98a00; font-size: 12px; font-weight: 700; }
.video-library__filters { padding: 0; }
.video-library__filters > p { display: none; }
.video-library__filters nav { display: block; padding: 0; }
.video-library__filters .sb-nav a { min-height: 0; padding: 12px 0; border: 0; background: transparent; }
.video-library__filters .sb-nav a:hover,
.video-library__filters .sb-nav a[aria-current] { border: 0; background: transparent; }
.video-library__filters .sb-nav a > span:first-child { min-width: 0; color: var(--color-text); font-size: 13.5px; font-weight: 550; }
.video-library__filters .sb-nav a[aria-current] > span:first-child { color: #8a6a00; font-weight: 700; }
.video-library__filters .sb-nav small { color: #5f5a4b; }
