/* /thu-vien-ky-thuat/ — SEO content section (intro, FAQ, Main Tab links). Loaded only when the section is ON. All classes are tl-seo / tl-faq. */
.tl-page .tl-seo { margin-top: 28px; display: grid; gap: 20px; }
.tl-page .tl-seo__block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; min-width: 0; }
.tl-page .tl-seo h2 { font-size: 21px; line-height: 1.35; margin: 0 0 14px; color: #111827; }
.tl-page .tl-seo__text { max-width: 78ch; color: #2b3340; font-size: 15px; line-height: 1.75; }
.tl-page .tl-seo__text p { margin: 0; }
.tl-page .tl-seo__text p + p { margin-top: 12px; }
.tl-page .tl-seo__text ul, .tl-page .tl-seo__text ol, .tl-page .tl-faq__a ul, .tl-page .tl-faq__a ol { margin: 10px 0 0 20px; padding: 0; }
.tl-page .tl-seo__text ul, .tl-page .tl-faq__a ul { list-style: disc; }
.tl-page .tl-seo__text ol, .tl-page .tl-faq__a ol { list-style: decimal; }
.tl-page .tl-seo__text a, .tl-page .tl-faq__a a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tl-page .tl-seo__text a:hover, .tl-page .tl-faq__a a:hover { color: var(--red2); }

/* FAQ accordion: every item opens and closes on its own */
.tl-page .tl-faq { display: grid; gap: 10px; max-width: 920px; }
.tl-page .tl-faq__item { border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; }
.tl-page .tl-faq__q { margin: 0; font-size: 15px; line-height: 1.45; }
.tl-page .tl-faq__btn { display: flex; width: 100%; min-height: 48px; margin: 0; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 14px; background: transparent; border: 0; border-radius: 12px; box-shadow: none; color: #111827; font-size: 15px; font-weight: 700; line-height: 1.45; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.tl-page .tl-faq__btn:hover { color: var(--red); }
.tl-page .tl-faq__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tl-page .tl-faq__btn span { min-width: 0; overflow-wrap: anywhere; }
.tl-page .tl-faq__btn i { position: static; top: auto; flex: none; width: 9px; height: 9px; margin: -4px 4px 0 0; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s ease; }
.tl-page .tl-faq__btn[aria-expanded="true"] i { margin-top: 4px; transform: rotate(-135deg); }
.tl-page .tl-faq__a { padding: 0 16px 16px; color: #2b3340; font-size: 15px; line-height: 1.7; }
.tl-page .tl-faq__a p { margin: 0; }
.tl-page .tl-faq__a p + p { margin-top: 10px; }

/* Main Tab links: small chips, wrap on their own */
.tl-page .tl-seo__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tl-page .tl-seo__chips li { margin: 0; }
.tl-page .tl-seo__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid #e3c6cb; border-radius: 999px; background: #fff; color: var(--red); font-size: 14px; font-weight: 700; line-height: 1.3; }
.tl-page .tl-seo__chips a:hover { background: #fff3f4; border-color: var(--red); }
.tl-page .tl-seo__chips a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

@media (max-width: 700px) {
	.tl-page .tl-seo { margin-top: 20px; gap: 14px; }
	.tl-page .tl-seo__block { padding: 18px 16px; border-radius: 12px; }
	.tl-page .tl-seo h2 { font-size: 19px; }
	.tl-page .tl-faq__btn { padding: 12px 14px; }
	.tl-page .tl-faq__a { padding: 0 14px 14px; }
	.tl-page .tl-seo__chips { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .tl-page .tl-faq__btn i { transition: none; } }

/* intro with the 3D gallery: text 60% | gallery 40%; stacked (text first) on tablets and phones */
.tl-page .tl-seo__intro--dome { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 28px; align-items: stretch; }
.tl-page .tl-seo__intro-text { min-width: 0; }
.tl-page .tl-seo__intro--dome .tl-dome { min-height: 340px; max-height: 520px; }
@media (max-width: 900px) {
	.tl-page .tl-seo__intro--dome { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.tl-page .tl-seo__intro--dome .tl-dome { height: 300px; min-height: 0; max-height: none; }
}
@media (max-width: 520px) {
	.tl-page .tl-seo__intro--dome .tl-dome { height: 260px; }
}

/* the React engine's host (the component itself lives in a Shadow DOM with its own, unmodified stylesheet) */
.tl-page .tl-dome--react { position: relative; min-width: 0; border-radius: 14px; overflow: hidden; }
